Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: Sin86 on March 28, 2013, 12:35:48 pm

Title: A sudden error
Post by: Sin86 on March 28, 2013, 12:35:48 pm
"Script 'Game_Map' line 305: NoMethodError occurred.

undefined method `>' for nil:NilClass"

Ok, so all I do is walk into a map. I have no terrain tags being used for this map. Sure, the tileset settings use terrain tags but in the map, none of the tiles with terrain tags are used and there are no parallel processes other than a sound fx at all. There are some blizz ABS enemies in that map(about 2) and when I get rid of them, the error is gone but if I add them back, the error returns too. The enemies are just basic. They have no custom set route and they do not have any event commands either.

I do not know what is causing this. I never even messed with Game_Map either.
Title: Re: A sudden error
Post by: Blizzard on March 28, 2013, 02:11:05 pm
Make sure you are not using old save games.
Title: Re: A sudden error
Post by: KK20 on March 28, 2013, 03:53:59 pm
Is this after you had put in the Custom Resolution script?
Title: Re: A sudden error
Post by: Sin86 on April 16, 2013, 12:37:24 am
Nevermind, I found out what I did wrong. It was a map that used to have one tileset but then I changed it and I did not erase every tile used from the old tileset. The first tileset used in the map was more big and when I changed it, part of the map had some remains of the old tileset that were left off and I had to erase them and now they work again.