D00Med / vehicles

minetest mod that adds vehicles. Written for minetest 0.4.??
Other
17 stars 27 forks source link

expected table got boolean #33

Open Dan291 opened 6 years ago

Dan291 commented 6 years ago

2018-06-18 13:20:21: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'vehicles' in callback luaentity_Rightclick(): Invalid position (expected table got boolean). 2018-06-18 13:20:21: ERROR[Main]: stack traceback: 2018-06-18 13:20:21: ERROR[Main]: [C]: in function 'set_attach' 2018-06-18 13:20:21: ERROR[Main]: C:\minetest-0.4.17\bin\..\mods\vehicles\init.lua:530: in function <C:\minetest-0.4.17\bin\..\mods\vehicles\init.lua:526> 2018-06-18 13:20:21: ERROR[Main]: stack traceback: 2018-06-18 13:20:21: ERROR[Main]: [C]: in function 'set_attach' 2018-06-18 13:20:21: ERROR[Main]: C:\minetest-0.4.17\bin\..\mods\vehicles\init.lua:530: in function <C:\minetest-0.4.17\bin\..\mods\vehicles\init.lua:526>

Getting this randomly, havnt yet worked it out what causes it but it takes the server out.

Edit:Its whe a passenger gets in the jeep.

D00Med commented 6 years ago

Thanks for this.

samarth-ramesh commented 4 years ago

The issue appears in UTEs too

Emojigit commented 3 years ago

I have got the same error on 5.4.0-dev-947466ab2 (Linux). This was because the Lua API was outdated.

My PR may solve this problem #53