Minetest logo

IRC log for #minetest, 2022-10-05

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

All times shown according to UTC.

Time Nick Message
00:02 testing123 joined #minetest
00:02 testing123 left #minetest
00:27 lemonzest joined #minetest
00:36 Trifton joined #minetest
00:40 kilbith joined #minetest
00:52 kilbith joined #minetest
00:57 Verticen_ joined #minetest
01:03 kilbith joined #minetest
01:08 Inocudom joined #minetest
01:09 Inocudom Is it my imagination or is there no axe at all in the One Nexus To Rule Them All box, those making the Elf route impossible and thus leaving only the Dwarf and Wizard routes beatable?
01:10 Inocudom This is one of the boxes in the Inside The Box server.
01:25 smk joined #minetest
04:00 MTDiscord joined #minetest
04:24 leo_rockway joined #minetest
04:37 calcul0n_ joined #minetest
04:50 Trifton joined #minetest
04:52 YuGiOhJCJ joined #minetest
04:53 Trifton joined #minetest
04:58 Trifton joined #minetest
05:02 Trifton joined #minetest
05:07 Trifton joined #minetest
05:29 olliy joined #minetest
06:37 TomTom joined #minetest
06:51 wallabra joined #minetest
08:09 Shorp_Tr joined #minetest
08:21 dridron joined #minetest
08:44 appguru joined #minetest
08:59 illwieckz joined #minetest
09:14 appguru1 joined #minetest
09:54 appguru joined #minetest
10:20 lemonzest joined #minetest
10:45 definitelya joined #minetest
11:03 kilbith joined #minetest
11:32 Taoki joined #minetest
12:25 cranezhou joined #minetest
12:44 est31 joined #minetest
12:51 troller joined #minetest
13:40 Fixer joined #minetest
13:52 Shorp_Tr joined #minetest
13:53 Thermoriax joined #minetest
14:00 jaca122 joined #minetest
14:19 leo_rockway joined #minetest
14:22 Shorp_Tr joined #minetest
14:31 fluxionary is `minetest.load_area` synchronous?
14:49 kilbith given that it requires a map lock, I'd say yes
14:56 MTDiscord <Bastrabun> Aloha. When I use the pipeworks autocrafter together with the areas mod in a certain way, my server segfaults 100% reproducible. Where should I bring that up? Engine or pipeworks or areas?
14:56 MTDiscord <Bastrabun> Tested with latest 5.7.0-dev and 5.6.1 stable, and the DCB releases of pipeworks and areas
14:58 rubenwardy segfaults are always an engine issue
15:05 MTDiscord <Bastrabun> Thanks 🙂 (Downside: Oh no, I need to find my github password)
15:13 sparky4 joined #minetest
15:18 MTDiscord <GoodClover> Segfaults could be caused by a mod using FFI or some external library, so not always an engine issue.
15:19 MTDiscord <GoodClover> Easiest way to find out is to just open and issue and wait for someone to help or tell you to shove off as it's not an engine issue :P
16:20 sometalgoo joined #minetest
16:23 Shorp_Tr joined #minetest
16:32 Eeleemos joined #minetest
16:48 ely-the-kitsune joined #minetest
17:00 Shorp_Tr joined #minetest
17:01 jaca122 joined #minetest
17:04 sys4 joined #minetest
17:05 Talkless joined #minetest
17:30 sparky4 joined #minetest
17:38 sys4 joined #minetest
17:40 ely-the-kitsune joined #minetest
17:48 ely-the-kitsune joined #minetest
17:52 wallabra joined #minetest
17:53 wallabra joined #minetest
18:13 orwell96 joined #minetest
18:31 kilbith joined #minetest
18:36 Shorp_Tr joined #minetest
18:41 Shorp_Tr joined #minetest
18:47 sys4 joined #minetest
18:48 vampirefrog joined #minetest
18:54 Shorp_Tr joined #minetest
19:02 Shorp_Tr joined #minetest
19:15 ely-the-kitsune joined #minetest
19:16 Shorp_Tr joined #minetest
19:22 sparky4 joined #minetest
19:40 wallabra_ joined #minetest
19:41 garywhite joined #minetest
19:51 sys4 joined #minetest
20:17 Taoki joined #minetest
20:22 ely-the-kitsune joined #minetest
20:33 fluxionary joined #minetest
20:38 Verticen_ joined #minetest
20:53 wallabra_ joined #minetest
20:59 fluxionary so i'm trying to use the `[lowpart` image modifier to overlay part of one image over another in a formspec, to use as a sort of "progress bar" for how "full" something is. however, it seems i can only blit to full pixels of the source image. if i want to allow 99 levels, and the image is only 16 pixels, it seems to only round-up to the next full pixel
21:00 fluxionary i can use `[resize` to resize the "modified" texture, but i can't figure out how to use it to resize the modifying texture. escaping the modifier doesn't seem to help
21:00 sfan5 you are probably escaping it wrong
21:01 fluxionary this is one way i've tried escaping it: image[2.6,2;2,3;wood.png^[lowpart:23:water.png\\^[resize\\:100x100]
21:03 sfan5 not sure if it would do anything but the texture name should be in a minetest.formspec_escape
21:03 sfan5 you could test with a hud element to preclude that being the issue
21:03 sfan5 anyway which error does it throw?
21:03 fluxionary no error that i see
21:04 sfan5 so the result is just identical to not resizing?
21:04 sfan5 have you tried resizing wood.png instead or resizing both
21:05 fluxionary it seems to mess up a tooltip, so there's clearly some parsing gone wrong...
21:07 MTDiscord <GoodClover> In the main menu API, is there any way to do something akin to minetest.after/a globalstep? I want a repeating function for minor graphical pretties :)
21:10 sfan5 no
21:12 MTDiscord <GoodClover> aw, guess updating on formspec event's'll have to do
21:12 fluxionary sfan5: yup, i can resize wood.png, then i get a tiny overlay of water.png on top in the upper-left corner
21:13 sfan5 @GoodClover you can of course add a tick event or something similar
21:13 fluxionary (whether i also try to resize water.png or not)
21:14 fluxionary also threw in some parentheses e.g. `(water.png\\^resize...), which resulted in errors
21:14 fluxionary though i'm not sure that's correct or useful
21:19 sfan5 what were the errors
21:21 fluxionary if i put parens around the image&modifier inside lowpart,
21:21 fluxionary 2022-10-05 14:20:54: ERROR[Main]: generateImage(): unbalanced parentheses(extranous '(') while generating texture "(default_water.png"
21:21 fluxionary 2022-10-05 14:20:54: ERROR[Main]: generateImagePart(): baseimg == NULL for part_of_name="[resize", cancelling.
21:21 fluxionary 2022-10-05 14:20:54: ERROR[Main]: generateImage(): Failed to generate "[resize"
21:21 fluxionary 2022-10-05 14:20:54: ERROR[Main]: generateImage(): baseimg is NULL (attempted to create texture "(default_water.png^[resize")
21:23 lebruhgamer[m] joined #minetest
21:24 sfan5 it's clearly being split at the ^ and :
21:24 sfan5 so your escaping is wrong
21:26 fluxionary here's the exact string: image[2.6,2;2,3;default_wood.png^[resize:99x99^[lowpart:1:(default_water.png\^[resize\:99x99)]
21:28 sfan5 in source code form or printed?
21:28 fluxionary printed from the copy of the formspec
21:28 fluxionary i just double-escaped things, and it... works?
21:28 fluxionary so in the code, it'd be "\\\\^"...
21:29 sfan5 with or without formspec_escape?
21:29 fluxionary i'm only running formspec-escape on the image name, not the modifier
21:29 fluxionary possibly that is the issue
21:31 fluxionary yup, i needed to *also* formspec escape the modifier
21:31 fluxionary alright, thanks for your patience :)
21:55 muurkha awesome :)
22:01 est31 joined #minetest
22:35 panwolfram joined #minetest
23:03 sparky4 joined #minetest
23:35 wallabra joined #minetest
23:54 diceLibrarian joined #minetest

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