[Ohrrpgce] [ohrrpgce:bugs] #2014 fat_frog.rpg fails with numerous script errors

Bob the Hamster bob_the_hamster at users.sf.net
Tue Sep 8 11:06:12 PDT 2015


Okay. so I have two copies of fat_frog.rpg

I have the "demo" version, which has gen(genVersion) = 2
I have the "full" version that matski sent me, which has gen(genVersion) = 3

gen(genVersion) = 2 is "June 18 1999 format"
gen(genVersion) = 3 is "July 8 1999 format"

The next version after that is:

gen(genVersion) = 4 is "Sept 15 2000 format"

That means that we don't have any simple way to detect the changes that happened in the ELEVEN versions that went in-between July 8 1999 and Sept 15 2000, including the Nov 9 1999 version which added plotscripting (and therefore also added a script trigger to the .map record)

Now I can very easily add some code that zeroes out the unused .map records when upgrading from "June 18 1999 format". I feel that would be safe, and it would solve the bug for the Fat Frog demo (andy any other games older than July 8 1999)

But it does not solve the problem for the Fat Frog full-version, nor does it solve the problem for any other games released in that unfortunate 14-month span.

I can't simply zero out the .map records for games in that range, because I have no idea whether or not they have added script triggers to their maps.

Even an IF gamename = "fat_frog" THEN fix would be problematic, because the full version of fat_frog actually does have a fat_frog.hsp lump, indicating that there are actually some plotscripts in it.

Not giving up hope yet, but good lord! what am mess I made! (in my defense I had 15 years less experience)


---

** [bugs:#2014] fat_frog.rpg fails with numerous script errors**

**Status:** open
**Milestone:** OHRRPGCE
**Created:** Tue Sep 08, 2015 04:20 PM UTC by Bob the Hamster
**Last Updated:** Tue Sep 08, 2015 05:31 PM UTC
**Owner:** nobody


matski reports that when running fat_frog.rpg in recent versions of the ohrrpgce, it fails frequently with script error messages. http://www.slimesalad.com/forum/viewtopic.php?t=6703

"Script error! Script data may be corrupt or unsupported: script id 30069 does not exist"
"Funny... no scripts running!"

g_debug.txt logs many instances of:

Scripterr(6): script 30069 [id 30069] does not exist
Scripterr(6): Failed to load eachstep script 30069 [id 30069]




---

Sent from sourceforge.net because ohrrpgce at lists.motherhamster.org is subscribed to https://sourceforge.net/p/ohrrpgce/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/ohrrpgce/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20150908/fac1432f/attachment.htm>


More information about the Ohrrpgce mailing list