Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: Sleepy Weasel on March 10, 2009, 09:17:48 pm

Title: [RESOLVED]Error with BlizzAbs
Post by: Sleepy Weasel on March 10, 2009, 09:17:48 pm
I'm having an error with the second part of the Blizz Abs v 2.23, script. I get around 4 squares away from around 8 enemies, and then the screen goes black and gets the following message::

Script 'BlizzAbs2' line 3929: NoMethodError occurred undefined method 'x' for nil:NilClass

It only happens when I actually play the game, with the .exe. Not when I'm play testing the game. I'm using Rpg Maker Xp on Vista. This error doesn't occur however, in the map I have before, when I only have 1 enemy (it's a tutorial to the battle system). I'm not exactly the best at scripting  :uhm: I was wondering if anyone knows how to fix this.
Title: Re: Error with BlizzAbs
Post by: Landith on March 10, 2009, 09:27:02 pm
It sounds like there is an end missing, try re-copying the script part 2 and see if that works.
Title: Re: Error with BlizzAbs
Post by: fugibo on March 10, 2009, 09:43:53 pm
No, it doesn't. That throws a SyntaxError, and it throws it 100% of the time if the error exists.

This is something assigning nil to the list of enemies. nil is basically a filler object; all variables are nil by default, and it does nothing other than being nil.
Title: Re: Error with BlizzAbs
Post by: Landith on March 10, 2009, 11:14:33 pm
No, sometimes it doesn't have a syntax error, if there is more than one end in a certain spot it will end that current class making the class nil bringing up that error.

I've had it more than once when making my cms.
Although you might be right and It couldn't be that... I'm not sure...
Title: Re: Error with BlizzAbs
Post by: tSwitch on March 11, 2009, 08:07:08 am
Quote from: Sleepy Weasel on March 10, 2009, 09:17:48 pm
I'm having an error with the second part of the Blizz Abs v 2.23, script. I get around 4 squares away from around 8 enemies, and then the screen goes black and gets the following message::

Script 'BlizzAbs2' line 3929: NoMethodError occurred undefined method 'x' for nil:NilClass

It only happens when I actually play the game, with the .exe. Not when I'm play testing the game. I'm using Rpg Maker Xp on Vista. This error doesn't occur however, in the map I have before, when I only have 1 enemy (it's a tutorial to the battle system). I'm not exactly the best at scripting  :uhm: I was wondering if anyone knows how to fix this.


what is the enemy AI set to?
Title: Re: Error with BlizzAbs
Post by: Sleepy Weasel on March 11, 2009, 04:18:28 pm
Hmm. I got it to work, I reinstalled the script and decided to use the config (the .exe) file for BlizzAbs instead of doing everything manually (I don't actually know why I didn't use it in the first place). Everything is working fine now, no error(besides some speed problems but I probably just accidentally enabled something or another).
Title: Re: Error with BlizzAbs
Post by: tSwitch on March 12, 2009, 10:19:57 am
Quote from: Sleepy Weasel on March 11, 2009, 04:18:28 pm
Hmm. I got it to work, I reinstalled the script and decided to use the config (the .exe) file for BlizzAbs instead of doing everything manually (I don't actually know why I didn't use it in the first place). Everything is working fine now, no error(besides some speed problems but I probably just accidentally enabled something or another).


then the error was likely configuring something incorrectly
glad it's working now.