[RESOLVED]Error with BlizzAbs

Started by Sleepy Weasel, March 10, 2009, 09:17:48 pm

Previous topic - Next topic

Sleepy Weasel

March 10, 2009, 09:17:48 pm Last Edit: March 11, 2009, 04:18:44 pm by Sleepy Weasel
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.

Landith

It sounds like there is an end missing, try re-copying the script part 2 and see if that works.

fugibo

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.

Landith

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...

tSwitch

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?


FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: tSwitch.us | Twitter | Tumblr

Sleepy Weasel

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).

tSwitch

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.


FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: tSwitch.us | Twitter | Tumblr