Minetest logo

IRC log for #minetest, 2022-10-13

| Channels | #minetest index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:40 fling joined #minetest
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 <Jonathon> yes, but support is rough
00:50 fluxionary how so?
00:50 fluxionary also does anyone actually do that?
00:50 MTDiscord <Jonathon> 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 <Jonathon> only 4 prs by the same author over time for that
00:51 MTDiscord <Jonathon> 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
00:59 diceLibrarian joined #minetest
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.
01:03 gh00p joined #minetest
01:10 smk joined #minetest
01:12 Verticen_ joined #minetest
01:33 sometalgoo1 joined #minetest
01:43 Trifton joined #minetest
01:58 sometalgoo joined #minetest
03:11 thegreek1 joined #minetest
03:14 thegreek1 Anybody who thinks the network simulator for minetest is something worth developing?
03:26 Trifton_ joined #minetest
03:43 Trifton joined #minetest
04:00 MTDiscord joined #minetest
04:02 sometalgoo joined #minetest
04:41 orwell96 joined #minetest
04:42 sometalgoo joined #minetest
04:58 calcul0n_ joined #minetest
05:44 Lesha_Vel joined #minetest
05:47 lemonzest joined #minetest
06:04 TomTom joined #minetest
06:21 Trifton_ joined #minetest
06:27 Guest3326 joined #minetest
06:48 thegreek joined #minetest
07:12 fling joined #minetest
07:29 lissobone1 joined #minetest
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.
07:44 fling joined #minetest
07:49 fling joined #minetest
08:17 fling joined #minetest
08:27 olliy joined #minetest
09:03 MTDiscord <luatic> Warr1024: yes, I wanted atan2
09:03 MTDiscord <luatic> 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 <luatic> Lua has atan2
09:19 MTDiscord <luatic> it was just a typo, I forgot the 2
09:36 Flabb joined #minetest
09:40 dridron joined #minetest
09:48 appguru joined #minetest
09:51 pgimeno <MTDiscord> <Warr1024> "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:05 fling joined #minetest
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
10:52 definitelya joined #minetest
11:06 appguru joined #minetest
11:25 _Zaizen_[m] joined #minetest
11:46 cranezhou joined #minetest
11:53 _Zaizen_[m]1 joined #minetest
11:53 Not_Leader joined #minetest
11:53 Goobax[m] joined #minetest
11:53 MisterE[m] joined #minetest
11:53 schwarzwald[m] joined #minetest
11:53 programmerjake joined #minetest
11:53 Arya[verncc][m] joined #minetest
11:53 lebruhgamer[m] joined #minetest
11:53 Parnikkapore_m joined #minetest
11:53 craigevil[m] joined #minetest
11:53 Noclip[m] joined #minetest
11:53 graycot[m] joined #minetest
11:53 Kimapr joined #minetest
11:53 fgaz joined #minetest
11:53 pjalsDaniel[m] joined #minetest
11:53 hedae[m] joined #minetest
11:53 Tochigi joined #minetest
11:53 clodimus[m] joined #minetest
11:53 k327[m] joined #minetest
11:53 Whanake[m] joined #minetest
11:53 rogerm[m] joined #minetest
11:53 kaonashi696[m] joined #minetest
11:53 wsor4035 joined #minetest
11:53 freshreplicant[m joined #minetest
11:53 cartesius[m] joined #minetest
11:53 tempusername420[ joined #minetest
11:53 Govindas[m] joined #minetest
11:53 bananacat[m] joined #minetest
11:53 j8r[m] joined #minetest
11:53 giov4[m] joined #minetest
12:00 lebruhgamer[m] joined #minetest
12:28 sagax joined #minetest
12:47 MinetestBot [git] TurkeyMcMac -> minetest/minetest: Test on-lighting node param1 in lighting test f073e37 https://github.com/minetest/minetest/commit/f073e37d2f3463ce5e9b456d4509f8dd57e405f5 (2022-10-13T12:46:16Z)
12:47 MinetestBot [git] TurkeyMcMac -> minetest/minetest: Use enum to define custom registry indices f7ae70c https://github.com/minetest/minetest/commit/f7ae70c3d97645b714bc909d08769235477459fa (2022-10-13T12:46:16Z)
12:47 MinetestBot [git] fluxionary -> minetest/minetest: object ids are u16, not s16 (#12848) 6b6f886 https://github.com/minetest/minetest/commit/6b6f886bcded0505b4286e3bd1e08f71f456b63b (2022-10-13T12:46:48Z)
13:08 proller joined #minetest
13:09 fling_ joined #minetest
13:10 Fixer joined #minetest
13:18 pgimeno joined #minetest
13:27 Thermoriax joined #minetest
13:27 FavoritoHJS joined #minetest
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:35 definitelya_ joined #minetest
13:35 fling joined #minetest
13:36 greek joined #minetest
13:37 MinetestBot [git] TurkeyMcMac -> minetest/minetest: Speed up find_nodes_in_area (#12845) cb725a4 https://github.com/minetest/minetest/commit/cb725a4555951b10c05379e3d34e398dd301f69e (2022-10-13T13:35:19Z)
13:45 nikos_k joined #minetest
13:54 thegreek joined #minetest
13:55 thegreek joined #minetest
13:57 nikos_kz joined #minetest
14:01 Pexin joined #minetest
14:02 Pexin joined #minetest
14:02 Izaya joined #minetest
14:02 ElementW joined #minetest
14:02 TomTom joined #minetest
14:03 eggman joined #minetest
14:03 illwieckz joined #minetest
14:03 ShadowNinja joined #minetest
14:03 appguru joined #minetest
14:04 hedae[m] joined #minetest
14:05 A_Dragon joined #minetest
14:05 clodimus[m] joined #minetest
14:06 search_social joined #minetest
14:39 fling joined #minetest
14:52 sometalgoo joined #minetest
14:57 Desour joined #minetest
15:09 nikos_kz joined #minetest
15:09 nikos_kz joined #minetest
15:41 illwieckz joined #minetest
15:46 sometalgoo joined #minetest
15:47 nikos_kz joined #minetest
15:51 nikos_kz joined #minetest
15:55 nikos_kz joined #minetest
16:33 lissobone joined #minetest
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:42 garywhite joined #minetest
16:42 garywhite joined #minetest
16:43 lissobone Hello, garywhite.
16:43 garywhite hello
16:43 lissobone Greetings.
16:43 jaca122 joined #minetest
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 <luatic> 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 <luatic> 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 <ROllerozxa> LOL
16:50 lissobone Hi, I know that you reviewed my mod.
16:51 MTDiscord <ROllerozxa> 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:00 fling joined #minetest
17:08 Talkless joined #minetest
17:20 gh00p joined #minetest
17:20 Shorp_Tr joined #minetest
17:25 Shorp_Tr57 joined #minetest
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!
17:31 Desour joined #minetest
17:38 sometalgoo joined #minetest
17:54 sparky4 joined #minetest
18:02 Alias joined #minetest
18:34 FavoritoHJS joined #minetest
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 <ROllerozxa> 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 <ROllerozxa> 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 <ROllerozxa> 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
19:37 garywhite1 joined #minetest
19:43 garywhite joined #minetest
20:01 diceLibrarian joined #minetest
20:37 fling joined #minetest
20:45 TomTom joined #minetest
20:53 jaca122 joined #minetest
20:59 sparky4 joined #minetest
21:03 MinetestBot [git] sfan5 -> minetest/minetest: Add extra check in case someone tries to unbundle Lua 558cbd8 https://github.com/minetest/minetest/commit/558cbd89fbb78be32f4fd7e944f163edd9fb7d42 (2022-10-13T21:02:11Z)
21:03 MinetestBot [git] sfan5 -> minetest/minetest: Get rid of LuaJIT linking workarounds af38bae https://github.com/minetest/minetest/commit/af38bae57f4f0f77bf2c0cf029928567e554b60b (2022-10-13T21:02:11Z)
21:03 MinetestBot [git] sfan5 -> minetest/minetest: Defer searching for libintl to CMake e8ee4cb https://github.com/minetest/minetest/commit/e8ee4cb40d9ca3bb738ec2c3b320349f2a7dd733 (2022-10-13T21:02:11Z)
21:03 MinetestBot [git] sfan5 -> minetest/minetest: Other minor CMake improvements f680d10 https://github.com/minetest/minetest/commit/f680d102599878b02c694127afb9260b5e53b8ed (2022-10-13T21:02:11Z)
21:27 Alnotz joined #minetest
22:00 dabbill joined #minetest
22:01 Desour joined #minetest
22:09 dabbill_ joined #minetest
22:10 Desour is the frame_range in set_animation exclusive? because it seems so to me
22:16 Verticen_ joined #minetest
22:34 panwolfram joined #minetest
22:46 diceLibrarian joined #minetest
23:42 FavoritoHJS joined #minetest
23:45 AliasAlreadyTake joined #minetest
23:48 FavoritoHJS shell tree
23:50 Lesha_Vel joined #minetest
23:51 FavoritoHJS hello lesha

| Channels | #minetest index | Today | | Google Search | Plaintext