Time Nick Message 01:12 kahrl is there a way to add a function to both in-game lua and mainmenu lua? 01:12 kahrl without duplicating code in guiLuaApi.cpp and script/lua_api/something? 01:32 Exio4 wait for sapier 01:32 Exio4 :P 01:35 Tesseract kahrl: IMO the mainmenu should have the entire interface, although some functions wouldn't work. (like set_node) Or at least not be completely seperated. 08:24 thexyz it's live at http://minetest-cdn.net/ 11:38 PilzAdam https://github.com/PilzAdam/minetest/commit/0d60bc55e4373167141f0f08a10a2174cc7e029a 11:39 PilzAdam I originally wanted to ask sapier about that but he doesnt seem to be arround, so I guess its better to merge it now 11:48 sfan5 seems fine 14:09 pitriss Hi, please can anybody tell me why is my client crashing when I enter my land on landrush server? Info from debug.txt: http://pastebin.com/uGRf2HZY 14:14 PilzAdam seems like a mod sets param2 to something >23 of facedir nodes 14:18 pitriss PilzAdam: so it is server issue? 14:18 PilzAdam I wonder why the client intentionally crashes in this case 14:19 PilzAdam pitriss, yes 14:19 pitriss hmm okay.. But yes, server should't crash client wit errorneous data 14:23 celeron55 that should have been fixed a long time ago 14:24 celeron55 i guess RBA is slacking off 14:24 celeron55 anyone is free to make it read >23 as 0 14:24 celeron55 because that's what it should do 14:24 pitriss celeron55: but this happened on 2 day old build 14:24 PilzAdam I can do that 14:24 celeron55 pitriss: yes it's broken still 14:25 pitriss I hope it will be fixed soon:) 14:27 PilzAdam done 14:29 pitriss ohh.. already pushed into git? 14:29 PilzAdam yes 14:30 pitriss PilzAdam: thank you very much..:) 16:25 rubenwardy Can I add a link to https://forum.minetest.net/mmdb/ on the website? 16:25 PilzAdam no, its in beta 16:25 rubenwardy ok 17:24 nore_ looking at the last post in BlockMen's torch mod, it looks l 17:25 nore_ ike more and more mods would benefit from the can_interact pull request 17:25 nore_ so I wonder why it is not merged yet 17:26 sfan5 because it would make sense having that for entities too 17:27 nore_ what do you mean, for entities? 17:28 sfan5 you can interact with entities too 17:28 sfan5 and that function doesn't call can_interact 17:37 nore_ do you know if client-side mods will be doable one day 17:37 nore_ ? 17:37 iqualfragile nore_: doable is not the problem 17:37 iqualfragile security is 17:38 PilzAdam and the API has to be well designed 17:38 sfan5 for client side mods we could add a really restricted environment 17:38 iqualfragile and then there is a bug in the lua rte and we have a problem^^ 17:39 nore_ client-side mods could have no io 17:40 nore_ that could be enough 17:40 sfan5 nah 17:40 sfan5 maybe still a way of saving things to minetest.conf 17:40 sfan5 and a way to save/read files in a specific dir 17:41 nore_ setting_set ans setting_get, and engine functions 17:41 nore_ so one could restrict mods 17:41 sfan5 define engine functions 17:42 nore_ io.open, etc, c hecking the path could work 17:43 sfan5 but we need to run realpath on it before and then see if its still in the restricted dir 17:44 sfan5 this way we can allow "foo/bar/../abc" 17:45 kahrl wait what is the scope of these client side mods 17:45 kahrl why should I allow a random server to change my minetest.conf? 17:45 iqualfragile yes, this is a better question to ask 17:45 PilzAdam we dont need to write it to the file 17:46 sfan5 thinking about it.. why would a client side mod even need to save any data? 17:46 sfan5 maybe client side settings.. 17:47 iqualfragile what should a client side mod even do? 17:47 PilzAdam prediction 17:47 PilzAdam and handle graphical stuff like HUD 17:49 iqualfragile i think that prediction should be done by the engine 17:50 PilzAdam you want to hardcode doors, potions and other stuff? 17:52 iqualfragile nope 17:52 iqualfragile but maybee there is a better solution 18:05 celeron55 also triggering of sounds and such 18:05 celeron55 anything that needs to be really responsive 21:34 harrison at github, which folder is the source code in? i don't want to clone the whole repo just to find one module. 21:34 PilzAdam src/ 21:34 harrison someone asked about my own noise code which i stole/ported from minetest 21:34 harrison thx 21:35 harrison do you remember where the noise functions are? 21:35 Tesseract harrison: noise.cpp/h? 21:36 harrison boy, was that question pointless 21:36 harrison i apologize 21:36 harrison did you see the use i made of it? 21:37 harrison http://www.youtube.com/watch?v=qbwAuhfz6vU 21:39 VanessaE interesting 21:42 harrison You, VanessaE, are notoriously difficult to interest so thank you. 21:42 proller like math mapgen 8) 23:15 kahrl should the config setting main_menu_script be documented or removed? 23:16 kahrl ^ btw: settings like this are another reason to not let the server modify my minetest.conf :P 23:16 PilzAdam documented, I guess its there for a reason 23:17 kahrl the reason might be "used by sapier while developing" 23:17 PilzAdam the whole point of the Lua menu was to make it configure for normal people 23:17 kahrl well, true 23:18 PilzAdam eh, "normal" as in "not core dev" 23:18 kahrl hehe