Time Nick Message 05:36 ghoti Is there a way to make a basic_robot or a luacontroller execute commands that would be run by a mesecons_commandblock? 12:01 MTDiscord I delay the media sending by one server step: https://github.com/appgurueu/epidermis/commit/c1b310b5b8977865ca2a3bff167e8e5ddecdaa09, which fixes the race condition for players joining the server right as it starts (singleplayer in particular) where it occurs most often because I add lots of media files (entire SkinDB) at that time. Players joining afterwards should get media except for the rare case the race condition occurs, which I 12:01 MTDiscord can't possibly fix. 12:06 erlehmann “which I can't possibly fix” oof 12:06 erlehmann luatic is there any way to make it non-racy without breaking everything *again*? 12:07 erlehmann it sucks so much how this was handled and I don't want everyone to have to change code again 12:07 erlehmann but if engine can fix it, would be good 12:08 erlehmann luatic is it just that you experience it more often because you send more media files? 12:08 MTDiscord How could it be made non-racy? Perhaps by sending to the players one by one I guess, but I don't want to go that route 12:09 MTDiscord erlehmann: I'm was sending ~2k media files in the first step (= the time singleplayer joins), which means it was very likely this occurs 12:09 erlehmann lol ok 12:09 erlehmann that's a lot indeed 12:10 erlehmann luatic can i ask you for advice once i have finished my mcl_maps fixes and work on explorable and zoombale (minecraft-style) maps? 12:10 erlehmann i only have a few things to fix 12:10 erlehmann problem is lack of reviewers 12:32 sfan5 it's easy to fix, you just need to convince me to allow dynamic_add_media to be called at init time 12:32 MTDiscord pleaaaaaaasse 12:33 MTDiscord there are good reasons for adding dyn. media at init time instead of going the hacky "place it in your mod folder" route 12:33 MTDiscord files that are meant to be placed in world folders for instance 12:33 MTDiscord and you can't place in world mod folders because modsec 12:37 erlehmann sfan5 on the other hand, why is it not allowed to call it at init time right now? any problems? 12:38 erlehmann luatic can you make a proof of concept of the init time thing and how it would affect your mod maybe? 12:39 MTDiscord It's simple: I could just add the SkinDB files cached in the world dir at init time and add them to the media loading queue like other files. 12:39 erlehmann true 12:40 erlehmann not as important for mcl_maps i guess, because you only *really* need the texture of a) the map in hand b) the map on visible item frames 12:40 erlehmann awww well 12:40 erlehmann the second one means probably it's best to send all maps at startup (if you do not care about possible amidst coord leaks) 16:29 erlehmann luatic when to use core.something and when to use minetest.something? a friend just asked me 16:29 erlehmann after looking at mods that do both 16:31 MTDiscord it's just different names for the same namespace table right? 16:33 sfan5 `core` and `minetest` are the same tables, core is for engine-internal use and minetest for everyone else 16:34 erlehmann so the mods that use core are wrong ig 16:35 erlehmann thx both of you 16:35 erlehmann yeah my friend wants to improve the rumble support 16:35 erlehmann and for that it is important to know what item a player holds 16:44 rubenwardy Context: core was added to make it easier to port changes between freeminer and minetest 16:45 sfan5 oh was that it, I forgot why we had it 18:21 blaub hi 18:21 blaub wolfshappen: hi do we know eaach other? 19:38 erlehmann under which circumstances can a csm access minetest.settings or core.settings to get its own settings? 19:39 rubenwardy no circumstances 19:39 rubenwardy .settings isn't in the CSM API 19:43 erlehmann thx 23:24 Menchers huh, getting a CMake error, it is saying it can't find Zstd 23:24 Menchers I added the ZSTD_LIBRARY and ZSTD_INCLUDE_DIR variables to the command line and it still says it can't find it 23:28 Menchers why is it searching for zstd if I manually told it where the includes and library is 23:33 erlehmann Menchers you better start from scratch if your build is botched once. and i do not think it should be necessary to tell it where zstd is anyway, so why are you doing it? 23:34 Menchers because it reported that it couldn't find it 23:34 Menchers it was fine before! 23:36 Menchers anyways I'm now setting the variables manually and deleted the line telling it to search for it 23:36 Menchers seems to be working 23:36 * Menchers has nothing but disdain for CMake 23:52 Menchers whoop, have to add -lzstd too 23:53 Menchers yeah I should start over with my build config