Time Nick Message 09:43 MinetestBot 02[git] 04Emojigit -> 03minetest/minetest_game: Simplify Butterfly and Firefly code (#3125) 132ce8ff3 https://github.com/minetest/minetest_game/commit/2ce8ff3306e3624571d88858f9f7dddd9997c18f (152024-08-31T09:43:07Z) 09:45 MinetestBot 02[git] 04kromka-chleba -> 03minetest/minetest: Add new vector utils (ceil, sign, abs, random_in_area) (#14807) 13a6ba530 https://github.com/minetest/minetest/commit/a6ba5304c41bb66d310b2a2e749ec72b37b608bf (152024-08-31T09:43:52Z) 09:45 MinetestBot 02[git] 04SmallJoker -> 03minetest/minetest: Debloat IVideoDriver and IrrlichtDevice includes (#15080) 13efd7792 https://github.com/minetest/minetest/commit/efd7792add70ccfafb14e4b2e3ddd6d52457dd8e (152024-08-31T09:44:30Z) 14:06 MinetestBot 02[git] 04cx384 -> 03minetest/minetest: Add hotbar Lua HUD element and replace hardcoded hotbar 1352376fd https://github.com/minetest/minetest/commit/52376fd87a0cebb75bcd99113deed0fd569e6786 (152024-08-31T14:04:14Z) 16:12 MinetestBot 02[git] 04grorp -> 03minetest/minetest: Restore proportional minimap scaling (#15022) 13322a9c2 https://github.com/minetest/minetest/commit/322a9c2f74a83603b709497c34ca03edf43c7bfd (152024-08-31T16:11:56Z) 16:42 MTDiscord heh, btw, the hotbar has been acting a bit weird for me in 5.10-dev, and it predates that merge. 16:43 MTDiscord I had a server running some version of 5.10-dev, and when setting the hotbar size to 4, for some reason it was still aligned as if it had 8 slots, and if I selected a slot off the end of the hotbar, I couldn't use prev/next keys to get back to a valid item 16:44 MTDiscord I tried updating both client and server to the current version and it still happened, but weirdly it never happened on local hosting 🤷 16:44 MTDiscord I assume it could already be a known issue. I'll probably retry it in a few days, could file a bug report if it happens again. But for now, I don't have enough rigor in my testing for that. 17:18 [MatrxMT] Can minetest.get_item_group return nil or will it always return a number? 17:21 Krock Bram: https://github.com/minetest/minetest/blob/master/builtin/game/misc_s.lua#L27-L33 17:21 Krock returns 0 if there's no such group found 17:22 [MatrxMT] Great, thanks. 🙌 17:23 Krock the documentation says "returns a rating" 17:23 Krock given the example it must be a number and cannot be nil 17:27 [MatrxMT] I interpreted the example as a clarification. NOTE: 0 means not in group. 17:27 [MatrxMT] Which to me refers to the fact that a user can both use `nil` or `0` to indicate that a node is not in a group. 17:36 Krock `nil` deletes the key/value pair from the group table 18:29 ireallyhateirc I have two separate on_generated functions running in the mapgen env. I noticed that running minetest.save_gen_notify overwrites whatever was saved previously. My question then is: does each register_on_generated get its own variable for storing gennotify or will this too get overwritten? 18:30 ireallyhateirc I mean when they both have the same custom gennotify label 18:31 sfan5 gennotify is like a shared table that gets cleared after a chunk is done generating 18:32 ireallyhateirc okay, but is there a way to get it? In the documentation I only see a way to save it 18:32 sfan5 here's a full example 18:32 sfan5 https://gist.github.com/sfan5/1a124eb496a39734f53fb4daffc47bee 18:33 ireallyhateirc there you get the mapgen object, but that's on the side of the normal env: local g = minetest.get_mapgen_object("gennotify") 18:33 ireallyhateirc Can I get a mapgen object in mapgen env too? 18:34 sfan5 no 18:34 sfan5 or maybe yes actually 18:34 sfan5 but that doesn't make much sense 18:35 sfan5 we need the gennotify api specifically because you can't just "share" data between different threads and lua environments 18:35 sfan5 if you have two pieces of code running in the mapgen environment they don't need any support to talk to eachother. just use a global variable 18:35 ireallyhateirc I only want to share the data in one thread with one mapchunk 18:36 ireallyhateirc is there any way to access the object that was just saved with minetest.save_gen_notify? 18:36 ireallyhateirc other than making a global variable in the mapgen env 18:37 sfan5 well you can try if minetest.get_mapgen_object works 18:38 ireallyhateirc will do 18:38 ireallyhateirc Well I can get a biomemap in the mapgen env... 18:38 ireallyhateirc So I hope this will work for my custom thing 18:42 ireallyhateirc Yeah, it works, thanks :D 18:45 MinetestBot 02[git] 04grorp -> 03minetest/minetest: TouchControls: Fix outdated player controls in TOSERVER_INTERACT 13eae9a70 https://github.com/minetest/minetest/commit/eae9a70385d0cafde1df178c7be12f33dd09689d (152024-08-31T18:45:32Z) 18:47 MinetestBot 02[git] 04grorp -> 03minetest/minetest: Basic unittest for HP change calculation 135c171f6 https://github.com/minetest/minetest/commit/5c171f6d61b6ddab0d0d28482bfabb6e3564197e (152024-08-31T18:45:53Z) 18:47 MinetestBot 02[git] 04grorp -> 03minetest/minetest: Fix uninitialized SkyboxParams::fog_color 136608057 https://github.com/minetest/minetest/commit/6608057971f7ce247b2a7e10f0b88fd0e9bc9794 (152024-08-31T18:46:14Z) 18:47 MinetestBot 02[git] 04red-001 -> 03minetest/minetest: connection: Remove unused timeout feature 131b8b84b https://github.com/minetest/minetest/commit/1b8b84bee828db44a9c3e5d48e741ee618fff082 (152024-08-31T18:46:27Z) 18:47 MinetestBot 02[git] 04red-001 -> 03minetest/minetest: Don't attempt to process packets when there are none 1348e65ac https://github.com/minetest/minetest/commit/48e65ac846479c2712496851e635ef65b8e532b1 (152024-08-31T18:46:27Z) 18:47 MinetestBot 02[git] (4 newer commits not shown) 20:42 cheapie Hmm, apparently Intel did make a CPU called the "Celeron D 355" - maybe this is the ideal CPU for Minetest, starts with "celeron" and ends with "55" :P