You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add code to luacontroller: digiline_send("kaputt",{})
Press Execute
Crash
AsyncErr: Lua: Runtime error from mod 'mesecons' in callback environment_Step(): ...est-temp/bin/../mods/mesecons/mesecons_detector/init.lua:70: bad argument #2 to 'set_string' (string expected, got table)
stack traceback:
[C]: in function 'set_string'
...est-temp/bin/../mods/mesecons/mesecons_detector/init.lua:70: in function 'action'
.../5.10.0/minetest-temp/bin/../mods/digilines/internal.lua:106: in function 'transmit'
...test/5.10.0/minetest-temp/bin/../mods/digilines/init.lua:60: in function 'receptor_send'
...emp/bin/../mods/mesecons/mesecons_luacontroller/init.lua:752: in function <...emp/bin/../mods/mesecons/mesecons_luacontroller/init.lua:746>
...etest-temp/bin/../mods/mesecons/mesecons/actionqueue.lua:131: in function 'execute'
...etest-temp/bin/../mods/mesecons/mesecons/actionqueue.lua:121: in function <...etest-temp/bin/../mods/mesecons/mesecons/actionqueue.lua:76>
.../5.10.0/minetest-temp/bin/../builtin/common/register.lua:26: in function <.../5.10.0/minetest-temp/bin/../builtin/common/register.lua:12>
This doesn't happen in 5.8.0, only in 5.9.1 and 5.10.0 and 5.11.0-dev
The difference is in handling of incorrect arguments in case of meta:set_string("key", {}) - it silently unsets the key on 5.8 and errors on 5.9+
Upstream issue mesecons:
Repro:
"kaputt"
to object_detectordigiline_send("kaputt",{})
This doesn't happen in 5.8.0, only in 5.9.1 and 5.10.0 and 5.11.0-dev
The difference is in handling of incorrect arguments in case of
meta:set_string("key", {})
- it silently unsets the key on 5.8 and errors on 5.9+Please add a type check
Similar minetest-mods/MoreMesecons#38
For my reference 7743
The text was updated successfully, but these errors were encountered: