Time Nick Message 11:03 SFENCE Somebody with Mac and Apple Mx chip available to verify some ideas for distributing minetest.app arm64 build? 13:23 Blockhead256 more forum spam https://forum.minetest.net/viewtopic.php?p=438218#p438218 14:13 Furi0us_mat Hi everyone, I'm currently developing a game called Mark Survival Ascended, and I have a problem, I'm trying to add inventories to the creatures in the game which works (you can put objects similar to a chest) but when you disconnect from the game or go far enough to unload the entity the inventory empties (the objects disappear), I think this is 14:13 Furi0us_mat linked to "get_staticdata" or "on_activate" but I can't solve the problem. Here's the code (put on therizinosaurus): https://paste.sqt.wtf/70f772@raw 14:22 sfan5 well you're not saving it anywhere 14:22 Krock you'll need to deserialize the inventory from on_activate, and serialize it somewhere in get_staticadata 14:23 sfan5 by the way you should create an on_deactivate callback and call remove_detached_inventory from there (instead of scattered through the code). otherwise you might leak resources. 16:32 SFENCE Look like minetest wiki is down. 16:32 SFENCE https://dev.minetest.net -> 504 Gateeway timeout 16:32 MTDiscord Indeed 16:37 celeron55 huh, that's down and the forum, but the regular wiki isn't 16:37 celeron55 ah, not really, just very slow 17:08 MTDiscord 504 usually means there is no PHP-FPM worker available because all of them are already busy serving requests, and it seems time out at 1 minute of waiting 20:06 mtvisitor ok. 20:06 mtvisitor i have a simple question. 20:06 mtvisitor https://rubenwardy.com/minetest_modding_book/en/basics/lua.html 20:06 mtvisitor print(ret.message) -- Hello world! 20:07 mtvisitor if i put this print line in the init.lua, could i find the print result in the debug.txt ? 20:16 Mantar it'll show up on the console, if you want it in debug.txt you should use minetest.log() 20:17 mtvisitor Mantar: both on the windows and linux console, but not in the debug.txt ? 20:20 Mantar I assume so, but I don't have windows available to try 20:21 mtvisitor i will check and confirm both (windows and linux console) if possible. thanks. 20:22 mtvisitor I am not sure rubenwardy's minetest modding book will need to be updated. 20:29 mtvisitor personally, i also agree to integrate sdl2 to v5.9.x or v5.10 if Irrlicht (3rd party component ?) was already integrated since v5.9.0. 🤝 20:35 mtvisitor by the way, i suggest the dev team could also have some lesson learning review for project(or product) commitment after recent release if there is some dev team size change. thanks. 20:35 Mantar it will be available for testing in 5.9.0, but will be disabled by default due to bugs that have not been fixed yet 20:36 Mantar irrlicht has always been part of minetest, it's the engine on which it was built 20:36 mtvisitor Mantar: ok, glad to know. thank you very much for your help. 20:55 MTDiscord by "available for testing" you don't mean "people can install 5.9 and enable SDL" but more like "people can get the 5.9 source and compile their own version that uses SDL", right? Because it doesn't seem like the kind of thing you can just turn on and off at runtime 21:00 sfan5 there's no reason you couldn't actually 21:07 Mantar well yeah it's a compile-time option, I tend to forget that people out there don't casually compile their own MT :D 21:42 MTDiscord Regarding SDL2: Are we the only ones having this problem? Or are other projects affected as well? 21:44 sfan5 other games mainly bind keys based on scancodes I think 21:44 sfan5 we navigated ourselves into this situation by historically not doing this 21:46 MTDiscord Question is, could we take "inspiration" from those other projects? 21:51 sfan5 not in a way that'd help us in the short term 22:13 MTDiscord Why don't we release 2 versions of 5.9: one without sdl, and one with sdl (as a smaller-text download link labeled as beta 22:15 MTDiscord you could even do a 5.9.1 that fixes the sdl bugs and makes it official 22:16 Noisytoot which version would be packaged by distros? 22:16 MTDiscord probably wouldn't hurt too much to have some extra download links, but yeah on distros we'd just be packaging non-SDL 22:18 MTDiscord Ah yeah, for windows I always use the download link, and for linux I always compile from source. 22:24 rubenwardy people who want to test SDL2 could always use 5.9.0-rc1 or a -dev build 22:30 ireallyhateirc I had to remap the "-" on the main part of the keyboard to "-" on the numpad to get my view range to work 22:31 ireallyhateirc that concludes the testing 22:33 ireallyhateirc there are more important things to release, like the mapgen env for example that actually improves the game in a visible way