Luanti logo

IRC log for #luanti, 2026-02-28

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

All times shown according to UTC.

Time Nick Message
00:13 SFENCE joined #luanti
00:47 SFENCE joined #luanti
01:08 repetitivestrain sfan5: regarding https://github.com/luanti-org/luanti/issues/16979: the issue is that core.generate_decorations reuses the heightmap provided by the map generator, while mineclonia edits the map before core.generate_decorations is called, in consequence of which decorations may generate above nodes at elevations in the heightmap whose tops have been obscured by such edits
01:20 SFENCE joined #luanti
01:21 Markow joined #luanti
01:39 SFENCE joined #luanti
02:12 SFENCE joined #luanti
02:13 MTDiscord joined #luanti
02:23 tzenfore joined #luanti
02:56 SFENCE joined #luanti
03:16 Spookan joined #luanti
03:33 SFENCE joined #luanti
03:58 smk0 joined #luanti
04:07 SFENCE joined #luanti
04:19 cmc2 joined #luanti
04:24 Alias joined #luanti
04:25 SFENCE joined #luanti
04:57 SFENCE joined #luanti
05:02 MTDiscord joined #luanti
05:32 SFENCE joined #luanti
05:59 SFENCE joined #luanti
05:59 Trifton_ joined #luanti
06:16 wallabra joined #luanti
06:28 YuGiOhJCJ joined #luanti
06:42 SFENCE joined #luanti
06:44 Spookan joined #luanti
06:54 imi joined #luanti
07:01 SFENCE joined #luanti
07:38 SFENCE joined #luanti
07:59 SFENCE joined #luanti
08:24 SFENCE joined #luanti
08:53 SFENCE joined #luanti
09:14 SFENCE joined #luanti
09:26 SFENCE joined #luanti
09:42 SFENCE joined #luanti
09:52 SFENCE joined #luanti
10:01 SFENCE joined #luanti
10:15 qqq joined #luanti
10:32 FeXoR joined #luanti
10:35 SFENCE joined #luanti
10:41 SFENCE joined #luanti
10:57 sfan5 repetitivestrain: sounds like "missing ability to edit the heightmap to adjust for user changes" instead, which is not a bug but a feature request
11:18 MTDiscord1 joined #luanti
11:26 mrkubax10 joined #luanti
11:29 jaca122 joined #luanti
12:29 SFENCE joined #luanti
12:54 PoochInquisitor joined #luanti
13:06 repetitivestrain sfan5: core.generate_decorations does not use the mapgen heightmap in singlenode, or when use_mapgen_biomes is false, and i see no reason for this to be otherwise when use_mapgen_biomes be true
13:10 jarkorbo45 joined #luanti
13:10 jarkorbo joined #luanti
13:14 sfan5 ok then where does the heightmap come from
13:14 sfan5 but also why not reply to me on github. talking about the same thing on two different places only adds overhead
13:15 repetitivestrain sfan5: i've no github account, and cannot register one, but chunk height is computed manually in placeDeco by findGroundLevel when no heightmap is defined
13:15 repetitivestrain > if (flags & DECO_LIQUID_SURFACE) y = mg->findLiquidSurface(v2s16(x, z), nmin.Y, nmax.Y); else if (mg->heightmap) y = mg->heightmap[mapindex]; else y = mg->findGroundLevel(v2s16(x, z), nmin.Y, nmax.Y);
13:17 jarkorbo hey i have a question about getting a local server online, is this the right place?
13:17 Krock jarkorbo: bind to IP address 0.0.0.0, open a port in your firewall if you want to make it more than local.
13:18 Krock also port-forwarding for the router if it shall be reachable outside your network
13:20 jarkorbo this is where it gets tricky. I am moving the local server around, it does not have a fixed router. Usually I spin up a quick reverse ssh tunnel to a server with a static ip, but that only works with TCP afaik and I wasn't sure how I do that with the UDP traffic from luanti.
13:22 jarkorbo so, luanti is reachable in the local network, that works fine. so the local firewall let's it through. when i do port-forwarding from the router it also works fine. However, can I do port forwarding to my remote debian server? do people do something like this, or am I overcomplicating something here?
13:30 tzenfore joined #luanti
13:37 sfan5 you need a tunnel like wireguard or openvpn if you want to do this
13:38 SFENCE joined #luanti
13:40 sfan5 repetitivestrain: but we're talking about v7, which has a heightmap?
13:43 repetitivestrain sfan5: yes, but it's not reasonable for core.generate_decorations to use this heightmap, only when use_mapgen_biomes is true (and if untrue, mg is a placeholder whose heightmap is NULL), when it may not in fact represent the state of the map
13:46 sfan5 i don't really get it yet, please write a longer explanation and get someone to post it on github
13:49 jarkorbo sfan5, thanks! i'll see if I can figure either of them out
13:51 repetitivestrain sfan5: i should try to elaborate here.  core.generate_decorations invokes mg->placeAllDecos with a placeholder `mg' parameter by default, where the heightmap is NULL, but iff the use_mapgen_biomes to core.generate_decorations is specified, it invokes mg->placeAllDecos with the real mapgen object of the loaded map, in between the generation of whose heightmap and its invocation the map may already have been modified, so as to render the
13:51 repetitivestrain heightmap out of date
13:54 TheWild joined #luanti
14:02 SFENCE joined #luanti
14:03 AliasAlreadyTake joined #luanti
14:15 cheesegoblin joined #luanti
14:18 alek13 joined #luanti
14:24 SFENCE joined #luanti
14:30 ireallyhateirc joined #luanti
14:48 SFENCE joined #luanti
14:50 SFENCE joined #luanti
15:38 Talkless joined #luanti
15:39 SFENCE joined #luanti
15:51 chilledfrogs joined #luanti
15:57 alek13_ joined #luanti
15:58 osin joined #luanti
16:00 SFENCE joined #luanti
16:00 SFENCE joined #luanti
16:08 jemius joined #luanti
16:18 SFENCE joined #luanti
16:49 SFENCE joined #luanti
16:58 SFENCE joined #luanti
17:06 SFENCE joined #luanti
17:15 whosit should mods be able to write to mods/modname/ dir during load?
17:16 whosit it seems to be blocked now?..
17:16 jarkorbo joined #luanti
17:16 whosit (rhotator mod does it for no good reason ;p)
17:16 sfan5 no they should not
17:17 whosit ok, so it's an intentional change ;)
17:17 whosit I wonder how many mods apart from rhotator do it... (and why)
17:21 SFENCE joined #luanti
17:22 Guest1984 joined #luanti
17:23 MTDiscord <wsor4035> Skinsdb does
17:23 jaca122 joined #luanti
17:30 SFENCE joined #luanti
17:30 MTDiscord <bla8722> rhotates the whole mod so that the bugs just fall out
17:34 Guest34 joined #luanti
17:39 MTDiscord <bastrabun> skinsdb was changed a while ago, we now have our skins in worldmods
17:40 MTDiscord <bastrabun> ... in the world folder, not in worldmods
17:40 jarkorbo joined #luanti
17:45 SFENCE joined #luanti
17:52 SFENCE joined #luanti
18:07 SFENCE joined #luanti
18:38 lhofhansl joined #luanti
18:46 sparky4 joined #luanti
18:50 tzenfore joined #luanti
19:03 sparky4 joined #luanti
19:04 ralfwause joined #luanti
19:10 SFENCE joined #luanti
19:19 mrkubax10 joined #luanti
19:22 SFENCE joined #luanti
19:23 user333_ my ContentDB CLI is finally getting useful
19:24 user333_ i can run `pkg search minetest game`
19:26 MinetestBot [git] lhofhansl -> luanti-org/luanti: Bring back low priority block events in a safe way. (#16945) d742cd1 https://github.com/luanti-org/luanti/commit/d742cd1177524b2bad12cb0029b8a42d525d18be (2026-02-28T19:25:27Z)
19:32 Sheriff_U3 joined #luanti
19:53 SFENCE joined #luanti
19:55 FeXoR joined #luanti
20:23 SFENCE joined #luanti
20:49 ralfwause joined #luanti
20:49 SFENCE joined #luanti
20:57 ralfwause joined #luanti
21:19 SFENCE joined #luanti
21:24 TheWild joined #luanti
21:25 MTDiscord joined #luanti
21:48 crazylad joined #luanti
21:55 SFENCE joined #luanti
22:19 SFENCE joined #luanti
22:21 mrkubax10 joined #luanti
22:41 sparky4 joined #luanti
22:54 SFENCE joined #luanti
23:09 mmuller joined #luanti
23:21 Verticen joined #luanti
23:22 Sheriff_U3 left #luanti
23:24 Sheriff_U3 joined #luanti
23:28 SFENCE joined #luanti
23:32 Sheriff_U3 user333_: What is your ContentDB CLI?
23:32 user333_ it's a few hundred line python script
23:32 panwolfram joined #luanti
23:32 Sheriff_U3 cool
23:32 user333_ ~250 lines to search for, install, and remove packages
23:36 sparky4 joined #luanti
23:47 bgstack15 Does it handle upgrades?
23:51 Verticen joined #luanti
23:58 user333_ sort of? it's still WIP

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