g64 icon indicating copy to clipboard operation
g64 copied to clipboard

g64 ceases to function on gm_br_pitfalls

Open 0x5066 opened this issue 2 years ago • 0 comments

When entering the map gm_br_pitfalls, g64 seemingly works fine, processing the map and reporting no errors, when spawning Mario however is when things go bad.

[G64] lua/entities/g64_mario.lua:718: bad argument #1 to 'StaticSurfacesLoad' (table expected, got nil)
  1. StaticSurfacesLoad - [C]:-1
   2. StartLocalMario - lua/entities/g64_mario.lua:718
    3. v - lua/entities/g64_mario.lua:181
     4. unknown - lua/includes/modules/hook.lua:96

is spit out in the console, and you can no longer press R to exit out of Mario, since he was never spawned presumably, and you're stuck in this state until you reset the map completely.

Here's what is dumped into the console when loading that particular map, no errors or nothing.

[G64] Loaded G64 binary module! (Package version 0.1.1)
[G64] Loading map geometry from cache...
[G64] Loaded cached map geometry!

Edit: It works in the map's pitfalls section, outside of that area, it'll either spit out the error, or crash outright.

0x5066 avatar Jul 11 '22 02:07 0x5066