Save-Point
error with MrMo Ultimate ABS - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: Code Support (https://www.save-point.org/forum-20.html)
+--- Thread: error with MrMo Ultimate ABS (/thread-4276.html)



error with MrMo Ultimate ABS - Argol228 - 07-20-2012

So, I just finished creating a test map for my project and I get this error when I try to run the game.

Script 'Game_Map' line 305L NoMethodError occured
Undefined Method `>' for nil:nillclass

As I understand the game tried to call a script and failed. I ported my map over to the ABS demo and moved the player start position and still get that error. but if I put the start point back at it's default it will work again.


RE: error with MrMo Ultimate ABS - DerVVulfman - 07-21-2012

I took a look after unpacking mah download of the system, I figure you mean line 305 of Game_Map (there is no 305L) Winking with a tongue sticking out

Line 305 is a part of the terrain_tag method within the Game_Map class, and I did a search in the demo for the statements that used $game_map.terrain_tag(x, y).

Of MrMo's ABS, the ABS Engine script called that method only within the player_perform_ranged, player_perform_skill, and player_perform_explode methods only called when you fire a missile of some sort. Likewise, the Ballistics Script only called the $game_map.terrain_tag(x, y) in the update methods of the Range_Base, Game_Ranged_Explode, and Game_Ranged_Kaboom class. Likewise, none of those become active unless you fire a missile.

However, the MiniMap DVV script calls forth the $game_map.terrain_tag(x, y) call in Spriteset_Minimap's draw_map method. Perhaps it involves something misconfigured in the Minimap script. And if you're not using that particular minimap, you need to go into the MrMo ABS config script to turn 'off' the minimap switch.


RE: error with MrMo Ultimate ABS - Argol228 - 07-22-2012

Ahh that is what it was, thank you.