Time Nick Message 00:03 ireallyhateirc accodring to profiling I've just done checking block status for all mapblocks in the cube with side 2*view_range takes about 1000 ms 00:07 ireallyhateirc this will be me and my wishes again but I hope https://github.com/luanti-org/luanti/issues/14723#issuecomment-2726413946 will get implemented at some point and that it will be faster than the above bruteforce method 00:24 sfan5 help my by figuring out the edge cases 00:24 sfan5 me* 00:25 MTDiscord would such an api have stupid time budgets like the current ones do? 00:28 ireallyhateirc sfan5, you mean me? I could think about the use cases and such but I have no idea how the engine works under the hood. If that's still fine by you then I can help 00:29 sfan5 any input on this issue is better than nothing 00:30 ireallyhateirc your proposed API looks good enough to me, I just need a low-level thing and would be great if it was faster than just bruteforcing it 00:31 sfan5 i mean like: do you need a callback? does it need to be instantly after block activation? or would it suffice if it was once per server step? 00:33 ireallyhateirc it d oesn't need to be instantly after block activation but would be nice if the status of the block did not change in the meantime 00:34 ireallyhateirc my use case is: 1. get info that a block was loaded or activated 2. check some data for the chunk in mod storage 3. process the chunk with a voxel manipulator 00:35 ireallyhateirc I mean mapblocks, not chunks 00:35 sfan5 "info" as in "a notification" 00:35 sfan5 ? 00:36 ireallyhateirc a notification or a callback, in the end just a table with a list of loaded/active blocks would do as long as it's up to date 00:37 ireallyhateirc so either callbacks for loading and unloading - then I can track the status myself 00:37 ireallyhateirc or a table with loaded/adtive/etc. block positions/hashes that manages itself 00:37 ireallyhateirc by manages itself I mean is updated when a block gets unloaded 00:38 ireallyhateirc So I just want to get a list of loaded/active mapblocks to process them 00:38 sfan5 having only a table sounds like a smart solution here but then each mod would have the overhead of tracking changes 00:39 ireallyhateirc I'm desperate, I'd take anything that isn't bruteforce 00:39 ireallyhateirc this is a low-level API anyway which would be used mostly by people unhappy with LBMs and ABMs 00:40 ireallyhateirc a callback would be perhaps too demanding performance-wise 00:41 ireallyhateirc while a table gives you the freedom to execute your code whenever you want 00:41 sfan5 a callback does too, and you aren't forced to track changes yourself 00:41 sfan5 but I get it 00:41 sfan5 we could really start with just a table and then see 00:42 ireallyhateirc just a table would be more than enough 01:13 ireallyhateirc sfan5, either way it's callbacks or a table or both, but anything would be an improvement over what we have now 01:18 [MatrxMT] Well mineclonia's spawning system could benefit from a table of active MapBlocks, as it must iterate through them, which at present is achieved by iterating through an active_block_range^3 area around each connected player. 08:47 MinetestBot 02[git] 04siliconsniffer -> 03luanti-org/luanti: Add exit confirmation dialog on ESC in main menu (#16164) 13b4aa73d https://github.com/luanti-org/luanti/commit/b4aa73df70be0146f861ccd318047e51ece599b9 (152025-11-22T08:46:37Z) 08:47 MinetestBot 02[git] 04fetsorn -> 03luanti-org/luanti: Option to make sky stars deterministic (#16529) 13d959692 https://github.com/luanti-org/luanti/commit/d95969296783d0bad79c8b760958e6f1fe4e2549 (152025-11-22T08:47:15Z) 08:47 MinetestBot 02[git] 04SmallJoker -> 03luanti-org/luanti: IrrlichtMt: Implement Page Up/Down navigation on edit boxes (#16654) 135f49deb https://github.com/luanti-org/luanti/commit/5f49deb2398d97b6624100572d22751484995443 (152025-11-22T08:47:38Z) 08:49 MinetestBot 02[git] 04a-bad-dev -> 03luanti-org/luanti: Fix typo in function name (#16684) 1305f161c https://github.com/luanti-org/luanti/commit/05f161cf9c9e87d4be89caa36c397ca9144a2080 (152025-11-22T08:48:17Z) 21:37 user333_ so thats why my file server was misbehaving 21:37 user333_ someone unplugged my external hard drive