Time Nick Message 00:09 sofar well dang ITB is broken hard on some obscure error when running on 5.7.0 00:09 sofar builtin/game/register.lua:199: bad argument #5 to 'register_item_raw' (table expected, got string) 00:09 ShadowBot https://github.com/minetest/minetest/issues/5 -- Fixed key names so the key set menu now works. by adamnew123456 00:09 sofar it's for sure being passed a table :/ 00:15 sofar $ ./bin/minetestserver --help 00:15 sofar ./bin/minetestserver: error while loading shared libraries: libtinfow.so.6: cannot open shared object file: No such file or directory 00:15 sofar seriously? 00:20 * sofar cleans builds 00:23 sofar okay, seeing the same error local... if anyone has seen this before please lemme know what turned out to be the underlying error: 00:23 sofar https://paste.centos.org/view/88f7b59b 00:24 sofar was working fine in 5.6.x before - it's being passed (name, itemdef) just as before, but now horrlbly crashes 00:27 rubenwardy looks like bug report time 00:27 rubenwardy I'm guessing that it's sound - should be a table not a string 00:27 rubenwardy https://gitlab.com/sofar/insidethebox/-/blob/master/mods/doors/init.lua#L592 00:28 rubenwardy but obviously the engine should tell you this 00:28 sofar I was wondering which ones it was 00:28 rubenwardy https://github.com/minetest/minetest/blob/master/doc/lua_api.md?plain=1#L8386 00:29 rubenwardy It happens that strings are indexable, so a string would be interpretted the same as {} 00:29 rubenwardy but I guess something has changed that strictly checks the type 00:29 rubenwardy > It happens that strings are indexable, so a string would be interpretted the same as {} 00:29 rubenwardy ("some string").breaks == nil 00:30 rubenwardy https://github.com/minetest/minetest/issues/10232 00:31 sofar it's a conflict 00:31 sofar I renamed the field to `use_sound` since the sound is only used from the on_rightclick() handler and that fixes 00:31 rubenwardy ah nice 00:32 rubenwardy the API recommends prefixing custom fields with _ I believe 00:32 sofar oh lol I've got a lot of renaming to do then ;) 00:33 rubenwardy also box releasing? 00:33 sofar hey wanna see my honey-do list? :) 00:34 rubenwardy :O 05:22 imi hi, if I issue /set motd whatever or /set -n whatever1 whatever2 does it get saved? if so when how and where? when will it take effect? what sort of API do I need to use in my mods to make it take effect? 06:59 sfan5 it's not saved by default with standalone minetestserver but I think there's a way to invoke saving the global minetest.conf 07:00 imi I see thanks 10:30 imi can I somehow confiscate items? whether be it placed, in inventory or dropped? e.g. I want all default:stone to be gone, or something similar. 10:32 pgimeno modding questions should go in #minetest, this channel is for engine development 10:37 imi ok thanks 10:42 MTDiscord kill all stone? why