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
I love the debugger! Thank you for all the work you put into it and sharing it for others to use as well!
Only, there seems to be a bug related to TTS Object names saving incorrectly when the name contains "special characters."
The effect is that you can "Save" the TTS game to disk. Then when you "Load" the saved game, the StateScript for the object is empty.
Here is what I think is going on. The JSON is encoding and decoding properly. I think (but am not certain), that the game is saving the encoded JSON into a field in a table, but the field name is taken from the object name and it isn't a valid Lua identifier so it balks. There is no error and Save and Load seem to go okay, only the object's state doesn't get restored and the JSON is empty.
Save and Load work with the regular game, but breaks as above with the Debugger .dll.
The object I detected this with has the following object name pilotName = '"Howlrunner"', his call-sign has double-quotes in the name. If I strip the double-quotes (or convert them to '_'), it works. If I don't use the Debugger, it works. Hence why I'm reporting here.
Thanks again!
The text was updated successfully, but these errors were encountered:
I love the debugger! Thank you for all the work you put into it and sharing it for others to use as well!
Only, there seems to be a bug related to TTS Object names saving incorrectly when the name contains "special characters."
The effect is that you can "Save" the TTS game to disk. Then when you "Load" the saved game, the StateScript for the object is empty.
Here is what I think is going on. The JSON is encoding and decoding properly. I think (but am not certain), that the game is saving the encoded JSON into a field in a table, but the field name is taken from the object name and it isn't a valid Lua identifier so it balks. There is no error and Save and Load seem to go okay, only the object's state doesn't get restored and the JSON is empty.
Save and Load work with the regular game, but breaks as above with the Debugger .dll.
The object I detected this with has the following object name
pilotName = '"Howlrunner"'
, his call-sign has double-quotes in the name. If I strip the double-quotes (or convert them to '_'), it works. If I don't use the Debugger, it works. Hence why I'm reporting here.Thanks again!
The text was updated successfully, but these errors were encountered: