Time Nick Message 00:47 fluxionary is it possible for modpacks to have other modpacks inside them? 00:47 fluxionary not that i want to do such 00:49 MTDiscord yes, but support is rough 00:50 fluxionary how so? 00:50 fluxionary also does anyone actually do that? 00:50 MTDiscord look up nested modpacks in the issue tracker 00:50 fluxionary what i'm doing is writing an analog for "/mods" like "/help" 00:50 fluxionary thx, will do so 00:51 MTDiscord only 4 prs by the same author over time for that 00:51 MTDiscord typically with not great code 00:53 fluxionary hmmm given that no-one felt that this is worth fixing in 8 years, leads me to hope i can assume i don't really have to worry about that in the wild for now 00:54 rubenwardy it can happen in games 00:54 rubenwardy just not in global mods 00:55 rubenwardy it's actually just a GUI limitation. It's possible to use them by manually editing world.mt 01:00 fluxionary given that what i'm doing is a similar GUI, i'm just going to continue the tradition, at least for the "1.0" release. a correct, recursive solution is not what i want to prioritize given that it's almost never needed. 03:14 thegreek1 Anybody who thinks the network simulator for minetest is something worth developing? 07:32 lissobone1 I can't use the wielded item method because the item can be dropped without it being wielded, for example from the inventory screen. 07:43 lissobone1 I'll eventually figure it out. 09:03 MTDiscord Warr1024: yes, I wanted atan2 09:03 MTDiscord for atan you'd have to do y/x and handle edge cases as you've said 09:14 Oblomov lua doesn't have atan2? 09:19 MTDiscord Lua has atan2 09:19 MTDiscord it was just a typo, I forgot the 2 09:51 pgimeno "angle of a vector relative to another, not the angle between two vectors" <-- what does this even mean? 09:51 pgimeno I meant that the first one is signed, the second one isn't 09:53 pgimeno if the hunter is pointing northeast and the prey is north-northeast with respect to the hunter, the required quantity is -22.5°, not 22.5° 09:53 pgimeno "angle between two vectors" is always positive 10:14 pgimeno you can always calculate two atan2's and take the difference, but then you need to apply a modulus to normalize the angle, and it's more expensive than performing a matrix transform of the target vector 10:21 pgimeno but, well, the player's angle is available so the second atan2 is not actually necessary 12:47 MinetestBot 02[git] 04TurkeyMcMac -> 03minetest/minetest: Test on-lighting node param1 in lighting test 13f073e37 https://github.com/minetest/minetest/commit/f073e37d2f3463ce5e9b456d4509f8dd57e405f5 (152022-10-13T12:46:16Z) 12:47 MinetestBot 02[git] 04TurkeyMcMac -> 03minetest/minetest: Use enum to define custom registry indices 13f7ae70c https://github.com/minetest/minetest/commit/f7ae70c3d97645b714bc909d08769235477459fa (152022-10-13T12:46:16Z) 12:47 MinetestBot 02[git] 04fluxionary -> 03minetest/minetest: object ids are u16, not s16 (#12848) 136b6f886 https://github.com/minetest/minetest/commit/6b6f886bcded0505b4286e3bd1e08f71f456b63b (152022-10-13T12:46:48Z) 13:29 FavoritoHJS nested modpacks? page  joe7575, those could come in handy when refactoring techage 13:30 FavoritoHJS wait, that would be useful on its own so 3d_armor wouldn't be a separate download 13:37 MinetestBot 02[git] 04TurkeyMcMac -> 03minetest/minetest: Speed up find_nodes_in_area (#12845) 13cb725a4 https://github.com/minetest/minetest/commit/cb725a4555951b10c05379e3d34e398dd301f69e (152022-10-13T13:35:19Z) 16:34 lissobone There was lissobone1 because I joined from my computer while already being connected from my phone. 16:35 lissobone Nevertheless, I figured out how to properly remove the UI when the radar gets dropped. 16:36 lissobone And I've also just realised that the radar will get dropped when a hunter dies, rendering him unable to detect the huntee's position until a new one is crafted. 16:37 lissobone This actially seems like a cool mechanic, but I'll make it optional in the next release, and automatic dispensing of radars will be the default. 16:38 lissobone The mod is now officially playable with some extra additions and enhancements planned. 16:38 lissobone (I haven't even tested it with other players). 16:39 lissobone All my friends and pals are especially busy at the moment, and no one could help me test that mod. 16:39 lissobone Does anyone want to? 16:41 lissobone I also made it so the radar has a special crafting recipe, though it doesn't use crafting groups yet, and it's only available in minetest game. 16:43 lissobone Hello, garywhite. 16:43 garywhite hello 16:43 lissobone Greetings. 16:44 lissobone The second greetings. 16:44 lissobone I've never greeted myself until now. 16:44 lissobone The third greetings. 16:46 MTDiscord lissobone: You can open multiple Minetest clients to test it yourself 16:46 lissobone Yeah, I was thinking of it. 16:47 lissobone I even did so, but I didn't make that mod to not play it with someone else. 16:47 lissobone I'll just wait until my pals are free. 16:47 lissobone (As in freedom, not as in price). 16:47 muurkha how long are their sentences? 16:49 lissobone I thought you meant literal textual sentence length until I realized. 16:49 MTDiscord Can we please stop with the ambiguities? By brain just misparsed that joke the same way lissobone's did apparently. 16:49 lissobone No, we won't stop with ambiguities because they're funny. 16:49 MTDiscord LOL 16:50 lissobone Hi, I know that you reviewed my mod. 16:51 MTDiscord hi 16:51 definitelya_ Just put "/s" at the end, I forget too, sometimes. 16:51 muurkha it would have been funnier to reply "About ten words on average, why?" 17:00 lissobone No, they're 5.7 words on average. 17:29 lissobone Has anyone else ever been hungry? 17:30 lissobone With this mod (disclaimer: this isn't an actual mod yet, just a funny idea) you'll be even hungrier just as you wanted, because all food will turn into 100% inedible slime! 18:34 FavoritoHJS Small question about mod translation: Can you translate INTO english? As it feels wrong to translate full english strings, with spaces and all... 18:36 fluxionary FavoritoHJS, of course. 18:36 fluxionary FavoritoHJS, if all the original strings are in spanish, you can give an english translation the same as for any other language 18:37 FavoritoHJS And is there a way to specify "fallback" translations? 18:37 MTDiscord pretty sure favorito is talking about generic ITEM_STONE translation keys, which afaik isn't possible with the current mod translation system 18:38 fluxionary FavoritoHJS, not sure what you mean by "fallback"? whatever the source code puts inside the `S` (get_translator) calls is the "fallback" 18:38 FavoritoHJS as in, if a string in one language isn't available, try using another 18:39 FavoritoHJS which would make generic translation keys possible by making english the fallback to everything 18:40 MTDiscord then it'll just fallback to the original string that gets passed to S(), which typically would be english but if it's a generic translation key then it will show that 18:40 fluxionary FavoritoHJS, no, it's not possible to e.g. have the strings in the source code in english, and give someone e.g. an italian translation if spanish isn't available 18:40 FavoritoHJS * screams into void * 18:40 fluxionary https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L3712 18:41 MTDiscord the mod translation system is slated to be replaced with gettext sometime in the future which should make such things possible 18:42 fluxionary a different question for the devs: is there a way to use `Settings` to open a file in the secure environment? 18:45 Krock > It can be created via `Settings(filename)`. 18:46 fluxionary i get a security exception if i do that 18:46 Krock use the world directory to save your stuff 18:46 fluxionary i'm not writing stuff, i'm trying to read modpack.conf files 18:46 Krock well that won't work, even if it's just reading 18:47 Krock only the main menu has access to all configuration files 18:47 fluxionary the insecure environment doesn't have access to the full file system? 18:47 Krock (or the server internally, for that matter) 18:48 Krock add your mod to the trusted list, request an insecure env and open the Settings() file during init phase and you should be fine 18:49 fluxionary ah, that should work, actually, will try it out 18:49 Krock hmmm. you might also have luck with ie.Settings(), but I've never tried that 18:50 fluxionary it doesn't exist, already 18:50 fluxionary tried 18:51 muurkha heh, italian translation if spanish isn't available would work pretty well 18:51 Krock pretty sure there's some hacky way using ie.minetest.settings(filename) or something like that by extracting the metatables 18:51 muurkha I mean if it were possible 18:52 Krock fluxionary: https://github.com/minetest/minetest/blob/master/src/script/lua_api/l_settings.cpp#L348 18:53 Krock after all there's apparently code to handle the security, and to make it read-only for other paths. idk why it doesn't work, tho 18:53 fluxionary is that confirming that it should work in the init phase? 18:54 Krock that's an argument that someone thought of having read-only access, but who knows if that's broken 18:56 fluxionary yeah, even during init, "Mod security: Blocked attempted read from /opt/minetest/bin/../worlds/your-land/worldmods/moreblocks/modpack.conf" 18:56 fluxionary i guess i'll report this as an issue, and just write my own settings parser in the meantime 21:03 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Add extra check in case someone tries to unbundle Lua 13558cbd8 https://github.com/minetest/minetest/commit/558cbd89fbb78be32f4fd7e944f163edd9fb7d42 (152022-10-13T21:02:11Z) 21:03 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Get rid of LuaJIT linking workarounds 13af38bae https://github.com/minetest/minetest/commit/af38bae57f4f0f77bf2c0cf029928567e554b60b (152022-10-13T21:02:11Z) 21:03 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Defer searching for libintl to CMake 13e8ee4cb https://github.com/minetest/minetest/commit/e8ee4cb40d9ca3bb738ec2c3b320349f2a7dd733 (152022-10-13T21:02:11Z) 21:03 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Other minor CMake improvements 13f680d10 https://github.com/minetest/minetest/commit/f680d102599878b02c694127afb9260b5e53b8ed (152022-10-13T21:02:11Z) 22:10 Desour is the frame_range in set_animation exclusive? because it seems so to me 23:48 FavoritoHJS shell tree 23:51 FavoritoHJS hello lesha