You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The value of the TextStart property on the IS_MSO packet is incorrect because the message gets converted from LFS encoding into UTF-8, which strips language escape characters.
Solution:
Convert the raw player name into UTF-8 (everything before the actual message)
Get the length of that string and set that as the TextStart property value
mkapal
changed the title
IS_MSO TextStart property value is incorrect
IS_MSO TextStart property value is incorrect if player name is included
Jul 16, 2024
The value of the
TextStart
property on theIS_MSO
packet is incorrect because the message gets converted from LFS encoding into UTF-8, which strips language escape characters.Solution:
TextStart
property valueSee how it is done in InSim.NET: https://github.com/alexmcbride/insimdotnet/blob/781027af4b06f15c67184bfe33228b64cd15600c/InSimDotNet/Packets/IS_MSO.cs#L81
The text was updated successfully, but these errors were encountered: