nicknlsn / MarioKart64NEAT

NEAT implementation in Lua for Mario Kart 64 and the BizHawk emulator
182 stars 15 forks source link

Unknown Object 2.2 error near finishing line #1

Open UnforeseenOcean opened 7 years ago

UnforeseenOcean commented 7 years ago

Setup:

It was okay for 7 hours but it suddenly produced that error and it makes the game run very slowly when the finish line is nearby. image 259

EDIT: The object seems to be a background object or null object.

UnforeseenOcean commented 7 years ago

Also blue shell causes the "unknown object 4.2" error.

nicknlsn commented 7 years ago

The unknown object print out is more for debugging, and since it prints every frame it causes lots of lag. The quick fix is to just comment out that line of code, but ideally I would want to find out what that object is and add it to the list of known objects, or black list it if it turns out to be something weird in the RAM after running for so long, which does happen sometimes. Sometimes something in the RAM gets interpreted as an object somewhere to the right of the screen under the stands as you're driving through the finish line. But every time I paused it to take a look there was no visible object there. From what I could tell it had something to do with the item box hanging from the hot air balloon that goes up and down, but I'm not really sure. For the blue shell I think I just never got around to figuring out that item's number.

I haven't done anything with this project is several months, and I'm thinking about porting the project to python to run on a different emulator (mupen64plus), so I'm not sure if i'll be making any changes to this lua code.

Btw, really cool to see that others are doing stuff with this project!