Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: poxy on May 03, 2010, 02:56:30 am

Title: [Resolved] Two scripts handling save files
Post by: poxy on May 03, 2010, 02:56:30 am
Hey guys. I've been trying to figure this one out but I'm not too good at scripting. The problem is I have two scripts reading and loading script data. The scripts causing problems are Chrono Trigger CMS by Raziel and Hermes message system. Hermes tries to save and load its global settings by trying to save $msg to the file and CTMS has a chapter saving thing and also saves to the file. If I load the save data it gives "Hermes script EOF error." If I try to remove the saving and loading of either script I get undefined method errors.
If someone could take a look I'd really appreciate it and give credit in my game.

Here are the scripts: (they're ~2k lines each)

http://www.sendspace.com/file/hi7fk5   <- CTCMS

http://www.sendspace.com/file/ofbadh  <- Hermes

Edit: fixed it. (Just put the marshal.dump and .load in ctsms and removed it from hermes.)
Note to self: delete old save files when testing code that modifies save files.
Title: Re: Two scripts handling save files
Post by: Blizzard on May 03, 2010, 03:10:35 am
STCMS doesn't add or handle any save data.
Title: Re: Two scripts handling save files
Post by: Sacred Nym on May 03, 2010, 03:52:17 am
CTCMS Blizz. Stands for Chrono Trigger Custom Menu System.
Title: Re: Two scripts handling save files
Post by: Blizzard on May 03, 2010, 04:06:06 am
Oh, my bad. :^_^':