smcameron / space-nerds-in-space

Multi-player spaceship bridge simulator game. Captain your starship through adventures with your friends. See https://smcameron.github.io/space-nerds-in-space
GNU General Public License v2.0
724 stars 73 forks source link

Errors encountered with STURNVULF mission #329

Open smcameron opened 1 year ago

smcameron commented 1 year ago

These errors were logged:

snis_server.c:3739:24: runtime error: index -1 out of bounds for type 'ai_stack_entry [5]'
snis_server.c:7577:20: runtime error: index -1 out of bounds for type 'ai_stack_entry [5]'
snis_server: lua callback 'robot_listen' had error 2: './share/snis/luascripts/MISSIONS/STURNVULF.LUA:1066: attempt to compare nil with number'.

do_lua_pcall
Stack trace:
- ./bin/snis_server(stacktrace+0x37) [0x5559535aae47]
- ./bin/snis_server(+0xb5b4f) [0x5559535efb4f]
- ./bin/snis_server(main+0x1d35) [0x5559535a3345]
- /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f8bf24c1083]
- ./bin/snis_server(_start+0x2e) [0x5559535a629e]
snis_server: lua callback 'robot_listen' had error 2: './share/snis/luascripts/MISSIONS/STURNVULF.LUA:1066: attempt to compare nil with number'.

do_lua_pcall
Stack trace:
- ./bin/snis_server(stacktrace+0x37) [0x5559535aae47]
- ./bin/snis_server(+0xb5b4f) [0x5559535efb4f]
- ./bin/snis_server(main+0x1d35) [0x5559535a3345]
- /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f8bf24c1083]
- ./bin/snis_server(_start+0x2e) [0x5559535a629e]
snis_server: lua callback 'robot_listen' had error 2: './share/snis/luascripts/MISSIONS/STURNVULF.LUA:1066: attempt to compare nil with number'.

do_lua_pcall
Stack trace:
- ./bin/snis_server(stacktrace+0x37) [0x5559535aae47]
- ./bin/snis_server(+0xb5b4f) [0x5559535efb4f]
- ./bin/snis_server(main+0x1d35) [0x5559535a3345]
- /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f8bf24c1083]
- ./bin/snis_server(_start+0x2e) [0x5559535a629e]
snis_server: lua callback 'robot_listen' had error 2: './share/snis/luascripts/MISSIONS/STURNVULF.LUA:1066: attempt to compare nil with number'.

do_lua_pcall
Stack trace:
- ./bin/snis_server(stacktrace+0x37) [0x5559535aae47]
- ./bin/snis_server(+0xb5b4f) [0x5559535efb4f]
- ./bin/snis_server(main+0x1d35) [0x5559535a3345]
- /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f8bf24c1083]
- ./bin/snis_server(_start+0x2e) [0x5559535a629e]
snis_server: lua callback 'robot_listen' had error 2: './share/snis/luascripts/MISSIONS/STURNVULF.LUA:1066: attempt to compare nil with number'.

do_lua_pcall
Stack trace:
- ./bin/snis_server(stacktrace+0x37) [0x5559535aae47]
- ./bin/snis_server(+0xb5b4f) [0x5559535efb4f]
- ./bin/snis_server(main+0x1d35) [0x5559535a3345]
- /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f8bf24c1083]
- ./bin/snis_server(_start+0x2e) [0x5559535a629e]
snis_server: lua callback 'robot_listen' had error 2: './share/snis/luascripts/MISSIONS/STURNVULF.LUA:1066: attempt to compare nil with number'.

do_lua_pcall
Stack trace:
- ./bin/snis_server(stacktrace+0x37) [0x5559535aae47]
- ./bin/snis_server(+0xb5b4f) [0x5559535efb4f]
- ./bin/snis_server(main+0x1d35) [0x5559535a3345]
- /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f8bf24c1083]
- ./bin/snis_server(_start+0x2e) [0x5559535a629e]
snis_server: lua callback 'robot_listen' had error 2: './share/snis/luascripts/MISSIONS/STURNVULF.LUA:1066: attempt to compare nil with number'.

do_lua_pcall
Stack trace:
- ./bin/snis_server(stacktrace+0x37) [0x5559535aae47]
- ./bin/snis_server(+0xb5b4f) [0x5559535efb4f]
- ./bin/snis_server(main+0x1d35) [0x5559535a3345]
- /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f8bf24c1083]
- ./bin/snis_server(_start+0x2e) [0x5559535a629e]
snis_server: lua callback 'robot_listen' had error 2: './share/snis/luascripts/MISSIONS/STURNVULF.LUA:1066: attempt to compare nil with number'.

do_lua_pcall
Stack trace:
- ./bin/snis_server(stacktrace+0x37) [0x5559535aae47]
- ./bin/snis_server(+0xb5b4f) [0x5559535efb4f]
- ./bin/snis_server(main+0x1d35) [0x5559535a3345]
- /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f8bf24c1083]
- ./bin/snis_server(_start+0x2e) [0x5559535a629e]
snis_server: lua callback 'robot_listen' had error 2: './share/snis/luascripts/MISSIONS/STURNVULF.LUA:1066: attempt to compare nil with number'.

do_lua_pcall
Stack trace:
- ./bin/snis_server(stacktrace+0x37) [0x5559535aae47]
- ./bin/snis_server(+0xb5b4f) [0x5559535efb4f]
- ./bin/snis_server(main+0x1d35) [0x5559535a3345]
- /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f8bf24c1083]
- ./bin/snis_server(_start+0x2e) [0x5559535a629e]
snis_server: lua callback 'robot_listen' had error 2: './share/snis/luascripts/MISSIONS/STURNVULF.LUA:1066: attempt to compare nil with number'.

do_lua_pcall
Stack trace:
- ./bin/snis_server(stacktrace+0x37) [0x5559535aae47]
- ./bin/snis_server(+0xb5b4f) [0x5559535efb4f]
- ./bin/snis_server(main+0x1d35) [0x5559535a3345]
- /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f8bf24c1083]
- ./bin/snis_server(_start+0x2e) [0x5559535a629e]
snis_server: lua callback 'robot_listen' had error 2: './share/snis/luascripts/MISSIONS/STURNVULF.LUA:1066: attempt to compare nil with number'.

do_lua_pcall
Stack trace:
- ./bin/snis_server(stacktrace+0x37) [0x5559535aae47]
- ./bin/snis_server(+0xb5b4f) [0x5559535efb4f]
- ./bin/snis_server(main+0x1d35) [0x5559535a3345]
- /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f8bf24c1083]
- ./bin/snis_server(_start+0x2e) [0x5559535a629e]
snis_server: lua callback 'robot_listen' had error 2: './share/snis/luascripts/MISSIONS/STURNVULF.LUA:1066: attempt to compare nil with number'.

do_lua_pcall
Stack trace:
- ./bin/snis_server(stacktrace+0x37) [0x5559535aae47]
- ./bin/snis_server(+0xb5b4f) [0x5559535efb4f]
- ./bin/snis_server(main+0x1d35) [0x5559535a3345]
- /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f8bf24c1083]
- ./bin/snis_server(_start+0x2e) [0x5559535a629e]
snis_server: lua callback 'robot_listen' had error 2: './share/snis/luascripts/MISSIONS/STURNVULF.LUA:1066: attempt to compare nil with number'.

do_lua_pcall
Stack trace:
- ./bin/snis_server(stacktrace+0x37) [0x5559535aae47]
- ./bin/snis_server(+0xb5b4f) [0x5559535efb4f]
- ./bin/snis_server(main+0x1d35) [0x5559535a3345]
- /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f8bf24c1083]
- ./bin/snis_server(_start+0x2e) [0x5559535a629e]
found!
found!
found!
Registered callback player_docked_callback for event player-docked-event
Registered callback player_docked for event player-docked-event
Registered callback custom_button_press for event custom-button-press-event
comparing 'SB-00' to 'SB-01'
comparing 'SB-01' to 'SB-01'
npcbot for bridge 0 received msg: 'TRANSMISSION TERMINATED ON CHANNEL 864' from Revenge: 
npcbot for bridge 0 received msg: '6' from Revenge: 
npcbot for bridge 0 received msg: '?' from Revenge: 
npcbot for bridge 0 received msg: '1' from Revenge: 
npc_menu_item_request_dock called for Revenge
Registered callback player_docked for event player-docked-event
npcbot for bridge 0 received msg: '?' from Revenge: 
npcbot for bridge 0 received msg: '7' from Revenge: 
comparing 'SB-00' to 'ROBOT'
comparing 'SB-01' to 'ROBOT'
comparing 'SB-02' to 'ROBOT'
comparing 'SB-03' to 'ROBOT'
comparing 'SB-00' to 'ROBOT'
comparing 'SB-01' to 'ROBOT'
comparing 'SB-02' to 'ROBOT'
comparing 'SB-03' to 'ROBOT'
comparing 'SB-04' to 'ROBOT'
comparing 'SB-05' to 'ROBOT'
comparing 'SB-06' to 'ROBOT'
comparing 'SB-07' to 'ROBOT'
comparing 'SB-08' to 'ROBOT'
comparing 'SB-09' to 'ROBOT'
comparing 'SB-10' to 'ROBOT'
comparing 'SB-11' to 'ROBOT'
comparing 'SB-14' to 'ROBOT'
comparing 'SB-15' to 'ROBOT'
smcameron commented 1 year ago

Here's a theory about what might have happened: In this mission the players are supposed to go find the ship named STURNVULF and rescue the people aboard etc. There is also a space monster lurking about. I suspect the space monster may have destroyed the STURNVULF, and its hulk floated away before we got there. This would cause l_object_distance(), used by STURNVULF.LUA to calculate the distance between the player and the STURNVULF to return nil, prevent any zarkons from appearing, and would explain why we never found the ship where it was supposed to be. I don't have any evidence for this theory, but it would explain what we saw, I think.