Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: Lackalackalack on August 10, 2009, 08:30:36 pm

Title: Help with Easy Level Up Notifier
Post by: Lackalackalack on August 10, 2009, 08:30:36 pm
For some reason, after I defeat the last enemy, I get this error:
Script 'Easy Lvlup Notifier' line 264: NoMethodError occured. undefined method '[]' for nil:NilClass
I haven't done too much testing, but it seems that I only get the error if I load a save, but works if I start a new game. I think it may be because I use the call script, "$game_variables[26].each {|act| $game_party.actors.push(act)}" before the battle to call a memorized party, but I'm not sure. Thanks in advance.
Title: Re: Help with Easy Level Up Notifier
Post by: Aqua on August 10, 2009, 08:34:41 pm
Corrupted save file

Just use a new game...
Title: Re: Help with Easy Level Up Notifier
Post by: Lackalackalack on August 10, 2009, 08:41:21 pm
I'm pretty sure it's not a corrupted save file, because I started a new game, saved, reloaded the game immediately, and the error happens.
Title: Re: Help with Easy Level Up Notifier
Post by: Aqua on August 10, 2009, 08:53:09 pm
You could just use this for memorized parties.
http://forum.chaos-project.com/index.php?topic=164.0

Scroll down to the Unlimted Parties section
Title: Re: Help with Easy Level Up Notifier
Post by: Lackalackalack on August 10, 2009, 09:15:30 pm
Normally I would, but I wanted to memorize just the party members and not clear the inventory for a new party.