Luanti logo

IRC log for #luanti-dev, 2025-05-07

| Channels | #luanti-dev index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:17 omicron1100 joined #luanti-dev
00:33 omicron1100 joined #luanti-dev
00:45 omicron1100 joined #luanti-dev
01:13 omicron1100 joined #luanti-dev
01:20 omicron1100 joined #luanti-dev
01:51 SFENCE joined #luanti-dev
02:43 omicron1100 joined #luanti-dev
04:00 MTDiscord joined #luanti-dev
06:56 sfan5 done
08:58 SpaceManiac joined #luanti-dev
09:44 Noisytoot joined #luanti-dev
09:51 Noisytoot joined #luanti-dev
12:26 MTDiscord <herowl> Zughy: The screaming gradients... are they with us in the room now?
12:29 [MatrxMT] <Zughy> not anymore, at last
12:31 MTDiscord <rollerozxa> finally the ugly irrlicht GUI gradients have been removed
12:31 MTDiscord <rollerozxa> a monumental occasion up there with the likes of the debundling of MTG
12:32 [MatrxMT] <Zughy> I'm having an issue with forceload_block: if I use it in local, to then access a node in one of the forceloaded blocks, everything is fine (1s delay just to be sure the block loads in time). However, if I do that online (same map, same code, same everything), it crashes because it can't find the node. I've also tried to forceload blocks when the server starts, but it doesn't change anything, node is not found. What the heck?
12:35 MTDiscord <et086> consider using  minetest.load_area instead if you want to get nodes inside unloaded areas(?)
12:37 [MatrxMT] <Zughy> Basically there is a door and I want to run :open() on it
12:56 SFENCE joined #luanti-dev
13:00 sfan5 well did you check that the block is actually loaded?
13:17 behalebabo joined #luanti-dev
13:53 SFENCE joined #luanti-dev
14:16 SFENCE joined #luanti-dev
15:20 omicron joined #luanti-dev
15:59 SFENCE joined #luanti-dev
16:51 SFENCE joined #luanti-dev
17:16 SFENCE joined #luanti-dev
17:34 SFENCE joined #luanti-dev
17:37 [MatrxMT] <Zughy> sfan5: what do you mean? Shouldn't forceload do exactly that?
19:04 sfan5 sure
19:07 sfan5 this is a suggestion for debugging to know what is actually happening
19:41 Krock sfan5: I'm not sure whether it's my screen or whether those Adwaita buttons have almost no contrast - IMO still better than the flat style. Meanwhile I'm using Greybird which looks a bit like Windows/Aero buttons: https://i.postimg.cc/RZ3kqjJC/grafik.png
19:44 Krock Zughy: the forceload block trick does not work because the block gets pushed to the emergethread queue
19:44 Krock hence it should only get loaded after the Lua code in your function has long finished
19:44 Krock > m_active_blocks.m_forceloaded_lis
19:45 [MatrxMT] <Zughy> any way to fix it on my side?
19:45 Krock I would recommend you to check the block status after 1 - 2 seconds if there's yet no callback for it
19:47 Krock > * returns `true` if area could be forceloaded
19:47 Krock this documentation line is wrong
19:48 Krock it should rather be "if the area was queued for forceload"
20:16 omicron1100 joined #luanti-dev
20:36 SFENCE joined #luanti-dev
21:46 Eragon joined #luanti-dev
22:33 panwolfram joined #luanti-dev
22:56 Eragon joined #luanti-dev
23:05 Eragon joined #luanti-dev
23:58 SFENCE joined #luanti-dev

| Channels | #luanti-dev index | Today | | Google Search | Plaintext