Time Nick Message 15:36 VanessaE Krock: "Ignoring mod A and B, since they are independent." did you mean "A and C"? 15:45 Krock EDITTO 15:45 Krock also: Yes. 15:45 Krock working on a possible solution now 15:46 Krock chaining all dependencies to sort it properly 16:26 VanessaE Krock: oh ok. 16:28 Krock the whole sorting algorithm will become much more time-consuming on startup but still nothing compared to Lua Mapgen inefficiencies :D 16:35 VanessaE heh 16:36 VanessaE well the way I look at it, no one cares how long a server takes *to boot*, so much as how long it takes for a client to connect, and I doubt this would affect that :) 17:00 Krock first attempt 17:00 Krock *tries* 17:02 Krock oh boy this lambda error goes insane 17:11 VanessaE Krock: would you mind removing "unconfirmed bug? 17:11 VanessaE +" 17:12 Krock 200 OK 17:13 VanessaE thanks :) 17:40 Krock np. the code compiles now finally. figured that there's no remove_if for unordered_sets 17:41 VanessaE "It compiles -- SHIP IT!!" :P 17:42 Krock recursion hits close home. endless loop 17:42 VanessaE I thought there was a trap for that anyway? 17:43 VanessaE (circular dependency or some such) 17:48 Krock no trap if you forget to increment the index inside a loop 17:52 VanessaE heh 17:53 Krock oops. now it's sorting it in reverse 19:18 Krock VanessaE: by any chance.. do you have a modpack to easily test the common dependency issues? 19:18 Krock preferably an artificial mod setup, without tons of media 19:19 VanessaE not really, no. 19:19 VanessaE didn't really occur to me to make a "proper" test case 19:19 VanessaE but you might be able to reproduce it with just pipeworks, homedecor, and mesecons. 19:20 VanessaE I only discovered the resolver bug while working on an unrelated bug in homedecor_lighting 19:22 Krock oh boy this sorting seems to work well 19:22 Krock came unexpected 19:22 Krock testing with a circular dependency 19:29 Krock ok. that somehow caused minetest to segfault 20:04 Krock VanessaE: #8603 20:04 ShadowBot https://github.com/minetest/minetest/issues/8603 -- Mods: Improve mod loading priorities by SmallJoker 20:05 Krock the common cases are already tested. now it's about to find special edge-cases about which I haven't thought yet 20:06 Krock definitely not wasted four hours :D 20:07 VanessaE heh 20:08 VanessaE well finding corner-cases ought to be easy: start enabling/disabling stuff at random on Dreambuilder :) 20:08 Krock lol 20:09 VanessaE +1 20:09 VanessaE (for concept, I trust your code :) ) 20:09 Krock so even in circular dependencies it should(TM) work since hard-deps are preferred over soft 20:11 Krock the mods would then still load, but the order cannot be corrected. Lua error as result of this, I guess. can't do much about that 20:11 VanessaE I assume it'll still throw a warning ? 20:12 Krock yes it will 20:14 VanessaE sounds good :) 20:18 Krock well so, I figured out that there's a bug in MTG 20:19 Krock player_api should be a hard-dependency in "default" 20:20 Krock nvm... this will take some more time to finally fix everything 22:04 VanessaE sofar: seems blert is long gone from MT. Maybe his water and air critters mods should be forked to minetest-mods? 22:04 VanessaE (they're add-ons for mobs-redo) 22:05 VanessaE ( https://github.com/blert2112/mobs_water and https://github.com/blert2112/mobs_sky ) 22:06 VanessaE (they both need some maintenance but I figured that that's pointless unless the mods are hosted somewhere where that can be done)