MT-CTF / capturetheflag

Capture the Flag game using the Minetest Voxel Engine
https://ctf.rubenwardy.com
81 stars 88 forks source link

Crash when player joins #1008

Closed mieu12 closed 2 years ago

mieu12 commented 2 years ago

Minetest 5.6.0-9fc018ded

AsyncErr: Lua: Runtime error from mod 'ctf_modebase' in callback on_joinplayer(): ...0-9fc018ded-win64\bin..\builtin\common\misc_helpers.lua:257: attempt to index local 'text' (a number value) stack traceback: ...0-9fc018ded-win64\bin..\builtin\common\misc_helpers.lua:257: in function 'formspec_escape' ...4\bin..\games\capturetheflag\mods\apis\ctf_gui\init.lua:159: in function 'show_formspec' ...games\capturetheflag\mods\ctf\ctf_modebase/mode_vote.lua:43: in function 'show_modechoose_form' ...games\capturetheflag\mods\ctf\ctf_modebase/mode_vote.lua:153: in function <...games\capturetheflag\mods\ctf\ctf_modebase/mode_vote.lua:149> ...t-5.6.0-9fc018ded-win64\bin..\builtin\game\register.lua:429: in function <...t-5.6.0-9fc018ded-win64\bin..\builtin\game\register.lua:415>

savilli commented 2 years ago

ctf_gui/init.lua:159 doesn't have show_formspec call. What version are you using?

IrrlichtMt4 commented 2 years ago

I get the same error with Minetest 5.6.0-9fc018ded. I got CTF from Content Data Base

savilli commented 2 years ago

What version did you download from CDB?

mieu12 commented 2 years ago

I'm using 3.1.1.

savilli commented 2 years ago

It was a minetest engine issue https://github.com/minetest/minetest/issues/12412. It's fixed in https://github.com/minetest/minetest/commit/edc7df54801ab3bf30f96ac5aad6ce11a102f6b9. Update your minetest version.

mieu12 commented 2 years ago

Thanks.