Split topic from XPA - KK20
I have a compatibility problem with the Nathmatt MCES script. The error occurs while saving the game: no marshall_dump is defined for class MCES::Msg_Sprite. I don't know what to do with it.
MCES link (https://forum.chaos-project.com/index.php?topic=5909.0)
Did you confirm this isn't a problem in XP? Are you using other scripts that affect save data? I'll take a look later today.
Yes i am sure. I checked on a clean project, only XPA + Mouse Controller by Blizzard v2.3 + MCES v1.74
I am unable to reproduce the issue in both XP and XPA. Send me your Scripts.rxdata file.
Issue is caused by Game_Event having an instance variable containing a Sprite object. This Sprite is only created when the \msg[Name] command is used in MCES.
Overall, the script is poorly designed and should be rewritten. I managed to at least remove the instance variable from Game_Event and have Sprite_Character be solely responsible for it, as it should.
For whatever reason, CP screams at me for a hacking attempt when posting the script, so pastebin link it is...
https://pastebin.com/raw/zRqc9R0r
Thanks. You're irreplaceable.