besteon / Ironmon-Tracker

A Lua script for the Bizhawk/mGBA emulator compatible with Pokemon Fire Red, Leaf Green, Ruby, Sapphire, and Emerald that tracks relevant data for the IronMon challenge.
MIT License
124 stars 44 forks source link

Error and freeze in new version #162

Closed brdy1 closed 2 years ago

brdy1 commented 2 years ago

Ironmon-Tracker v0.6.0a Waiting for ROM to be loaded... ROM Detected: Pokemon Fire Red v1.1 No Tracker data found for this ROM. Initializing new data. NLua.Exceptions.LuaScriptException: ironmon_tracker/Utils.lua:320: attempt to perform arithmetic on a nil value

Ran into this error upon resetting using the A+B+Start+Select feature in the tracker. The data for the pokemon loaded, but one of the moves didn't load and the tracker is frozen at level 5. When I try to toggle it off and on, the level updates but the last move is still empty and I get the same error:

Ironmon-Tracker v0.6.0a Waiting for ROM to be loaded... ROM Detected: Pokemon Fire Red v1.1 Tracker data loaded from file: Pokemon FireRed AutoSave.tdat NLua.Exceptions.LuaScriptException: ironmon_tracker/Utils.lua:320: attempt to perform arithmetic on a nil value

brdy1 commented 2 years ago

Oh and I'm sure you will figure this out but the move is Eruption.

UTDZac commented 2 years ago

Thanks for the report. This was an issue with one of the recent feature supports included for reading in ability/move data. It should been fixed as of now, and that fixed version is available in the same latest release download link.

Here is the fix: #158

EDIT: I'm going to close this for now since I believe it to be fixed. If you find otherwise, let me know and I can investigate further.