Luanti logo

IRC log for #luanti, 2026-07-05

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

All times shown according to UTC.

Time Nick Message
00:49 chedocmersk joined #luanti
00:50 chedocmersk joined #luanti
02:57 fkbm joined #luanti
03:00 chedocmersk joined #luanti
03:01 kaylie joined #luanti
03:23 mrcheese joined #luanti
03:28 sys4 joined #luanti
03:50 sys4 joined #luanti
04:00 MTDiscord joined #luanti
05:56 GNUHacker joined #luanti
06:48 illwieckz joined #luanti
07:02 FeXoR joined #luanti
07:10 est31 joined #luanti
07:10 sys4 joined #luanti
08:08 kamdard_ joined #luanti
08:22 Warr1024 joined #luanti
08:29 Bombo hmmm how do i get the mod search path that luanti uses to search for mods? (not for one specific mod)
08:30 chedocmersk joined #luanti
08:47 Warr1024 joined #luanti
08:49 [MatrxMT] <Blockhead256> well you could work backwards and ask for a specific modpath from Lua with `core.get_modpath(modname)`
08:49 [MatrxMT] <Blockhead256> Of course, a lot of people use WorldEdit *for* their Lua prompt, but you could use Debug [dbg] instead
08:58 Bombo ok that would prob show the path of the specific mod? i mean all the search paths that luanti uses to search for mods, it's probably hard coded '$HOME/.minetest/mods' plus if LUANTI_MOD_PATH is set, then both, that's probably why i get 'mod name conflict detected' as it loads the mod in the first path, then in the second path, that happens to be the same...
09:28 Izzy joined #luanti
10:31 Eragon joined #luanti
10:32 mrkubax10 joined #luanti
10:38 SpaceManiac joined #luanti
10:48 chedoc joined #luanti
12:05 Izzy joined #luanti
12:51 PoochInquisitor joined #luanti
12:59 MinetestBot [git] asdf-a11 -> luanti-org/luanti: Fix -Wunused-result in porting.cpp (#17321) 229a1a9 https://github.com/luanti-org/luanti/commit/229a1a970035a435400fc13cb3b40869ccfc08b1 (2026-07-05T12:59:15Z)
13:01 MinetestBot [git] OgelGames -> luanti-org/luanti: Fix selected item count changing when swap is disallowed (#17297) 0c2c408 https://github.com/luanti-org/luanti/commit/0c2c4089e3b570bac6cc9b9a2295b568b7650800 (2026-07-05T12:59:30Z)
13:01 MinetestBot [git] CrazyladMT -> luanti-org/luanti: Fix text dimensions/centering in `StaticText` (#17294) 62a30eb https://github.com/luanti-org/luanti/commit/62a30eb5f824ffcb1ac8ae9bc1a250c76e09932a (2026-07-05T13:00:17Z)
13:03 MinetestBot [git] bradleycha -> luanti-org/luanti: IrrlichtMt: Remove clamping of mouse pointer to window bounds with SD… d0cfda0 https://github.com/luanti-org/luanti/commit/d0cfda08e9b6f0b3d586c778991f9bfca456b309 (2026-07-05T13:01:53Z)
13:19 Krock > after_use = function(
13:19 Krock >  -- Shall return the leftover itemstack or nil to not   -- modify the dropped item.
13:19 Krock mhm sure
14:04 dabbill joined #luanti
15:00 mrkubax10 joined #luanti
15:27 fkbm joined #luanti
15:29 fkbm joined #luanti
15:31 fkbm_ joined #luanti
15:31 fkbm left #luanti
16:29 Bombo was water_life removed? can't find it on cdb, i reactivated an old world from 2021 ;)
16:30 Bombo we had water_life
17:03 MTDiscord <wsor4035> Yes. Iirc it still exists on its git repo
17:07 sfan5 !mod water_life
17:07 MinetestBot json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) (file "/usr/lib64/python3.11/json/decoder.py", line 355, in raw_decode)
17:07 sfan5 uh
17:20 sfan5 ^ rubenwardy: that's anubis breaking it
17:31 MTDiscord <luatic> anubis: god of funerary rites of the open web
17:31 bgstack15 Bombo: I bet if you turned on --verbose or --info or --trace you'd see exactly the paths that Luanti is evaluating for mods, somewhere in the output.
17:32 MTDiscord <luatic> (i don't really blame anubis though, the situation sucks either way)
17:33 sfan5 I do blame anubis for shipping with bad defaults and encouraging vendor lock in by shipping with a default hardcoded white list of default bots
17:37 sfan5 it's not clear to me why anubis even applies to "https://content.luanti.org/api/*"
17:37 sfan5 https://github.com/TecharoHQ/anubis/blob/main/data/apps/allow-api-routes.yaml haha nevermind their default rule excludes GET
17:42 sfan5 https://github.com/TecharoHQ/anubis/blob/main/data/common/json-api.yaml this will allow it to work if I were to add "Accept: application/json" to MinetestBot
17:43 sfan5 ...which seems like a good idea anyway but I'm not very fond of stupid workarounds
17:50 rubenwardy I'm guessing the bot isn't setting Accept: application/json
17:50 rubenwardy which probably shouldn't be required anyway
17:50 rubenwardy I'll just allow all of /api/
17:51 sfan5 the UA is "Mozilla/5.0 (compatible; Phenny; +https://github.com/sfan5/phenny)" which probably doesn't help either, because it's browser-like
17:51 rubenwardy here's my policy btw https://gist.github.com/rubenwardy/6121257f458b82ff8a639831753c16ce
17:52 mrkubax10 joined #luanti
17:52 rubenwardy !mod water_life
17:52 MinetestBot rubenwardy: Nothing found.
17:52 rubenwardy !help
17:52 MinetestBot https://github.com/sfan5/minetestbot-modules/blob/master/COMMANDS.md
17:53 rubenwardy yeah. Requiring accept:json is pretty silly on a JSON-only endpoint anyway
17:53 sfan5 allow-luanti should be something like ^(Luanti|Minetest)/
17:53 rubenwardy so just whitelisted all of API
17:53 sfan5 and ai-block-aggressive.yaml seems unnecessary(?) if e.g. someone wants to use chatgpt to research luanti mods
17:57 rubenwardy hmm I guess. My problem is more with the scrapers that are bad citizens and pretend to be normal browsers
17:57 rubenwardy also, stats https://monitor.rubenwardy.com/d/ru5t7wv/anubis
17:58 sfan5 aren't the AI rules all about bots that expose themselves as AI?
17:59 sfan5 https://github.com/TecharoHQ/anubis/blob/main/data/meta/ai-block-permissive.yaml e.g. this
18:02 rubenwardy do you recommend I use permissive or just remove that import
18:02 rubenwardy presumably they'll be coming from data centers anyway
18:03 rubenwardy I use this list for extra challenges https://github.com/brianhama/bad-asn-list/blob/master/bad-asn-list.csv
18:08 sfan5 personally I would keep it as permissive as possible so try without the ai-block I guess
18:08 rubenwardy without the ai-block, ChatGPT will likely receive a challenge assuming it's in a data center
18:08 rubenwardy ai-block-permissive specifically whitelists chatgpt useragents and IP addresses
18:09 sfan5 right
18:09 rubenwardy maybe I include -permissive without the catch all
18:09 rubenwardy so that 'good' AI crawlers are allowed, and others just go to default behaviour
18:17 sfan5 I'm also curious how much third-party client traffic CDB sees
18:18 rubenwardy the goal is to specifically whitelist all endpoints that Luanti uses in the client
18:18 rubenwardy the only one currently is    /packages/*/*/releases/*/download/
18:18 rubenwardy +missing
18:18 rubenwardy but in that case, the Luanti user agent shouldn't actually matter
18:19 sfan5 oh right, you have those anyway
18:19 sfan5 so no problems to be expected if "KawaiiWorld/1.6.1 (Darwin/21.6.0 iPhone9,2)" shows up
18:19 rubenwardy should be as simple as adding   ^/packages/.*/releases/.*/download/
18:20 rubenwardy I assume it's a dumb regex
18:20 rubenwardy could even drop /releases/ tbh to allow /packages/*/*/download/
18:21 rubenwardy done
18:29 sfan5 sounds good
18:43 illwieckz joined #luanti
19:06 Meli joined #luanti
19:09 Meli joined #luanti
19:33 Krock At this point I don't even know what happened https://patchy.moe/-/file/1WGqo
19:33 rubenwardy is it sorting on the title
19:33 rubenwardy perhaps in german
19:34 Krock I don't think any of these have a german title
19:34 rubenwardy well english then
19:34 Krock doc for example is minetest_doc in its path, which might be the cause
20:29 mrkubax10 joined #luanti
22:29 Trifton joined #luanti
22:32 panwolfram joined #luanti
23:34 MinetestBot [git] Sheriff-Unit-3 -> luanti-org/minetest_game: Bump min version needed to v5.7.0 ef3744a https://github.com/luanti-org/minetest_game/commit/ef3744af4be98d21782247769d03fcb547a0fc9a (2026-07-05T23:33:54Z)
23:43 erbium joined #luanti
23:50 YuGiOhJCJ joined #luanti

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