Luanti logo

IRC log for #luanti, 2026-06-29

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

All times shown according to UTC.

Time Nick Message
00:29 sys4 joined #luanti
01:25 sys4 joined #luanti
01:57 Pexin joined #luanti
02:11 sparky4 joined #luanti
03:16 sparky4 joined #luanti
04:00 MTDiscord joined #luanti
04:22 kamdard joined #luanti
05:13 sys4 joined #luanti
05:40 FeXoR joined #luanti
05:59 MTDiscord <sheriff_u3> Here's an idea: native fennel support, or in other words: have the engine compile fennel at runtime.
06:29 xor_ghost joined #luanti
06:35 xor_ghost1 joined #luanti
06:46 sfan5 wtf is fennel?
06:50 sys4 joined #luanti
06:52 Menchers lisp implemented in and compiling to lua
07:07 PoochInquisitor joined #luanti
07:22 mrkubax10 joined #luanti
07:59 YuGiOhJCJ joined #luanti
08:02 sys4 joined #luanti
08:05 YuGiOhJCJ joined #luanti
08:19 crabycowman123 joined #luanti
08:35 kaylie joined #luanti
08:49 YuGiOhJCJ joined #luanti
08:49 sys4 joined #luanti
08:50 fling joined #luanti
09:34 fling joined #luanti
09:37 sys4 joined #luanti
09:40 sparky4 joined #luanti
09:57 VenomousSteam81 joined #luanti
10:31 sparky4 joined #luanti
10:32 MTDiscord <luatic> there have been a bunch of such suggestions with different languages targeting lua. my opinion hasn't changed: these are mostly better off as mods. the engine should provide the primitives to make that possible, and it does, but no more.
10:32 MTDiscord <luatic> the only remaining issues are minor qol things, like the engine expecting init.lua.
10:33 celeron55 i agree. please submit issues if the engine prevents taking those kinds of converters into use, but don't expect them to come as part of the engine
10:33 MTDiscord <luatic> additionally, you can simply do the transpilation in a build step, e.g. using make. i believe loria did something like this?
11:14 rubenwardy we should support wasm and then not ship with any language support :)
11:16 sparky4 joined #luanti
11:21 Izzy technically, that would be supporting wasm bytecode as the language, no? :p
12:55 GNUHacker joined #luanti
13:10 PoochInquisitor joined #luanti
14:04 MinetestBot [git] appgurueu -> luanti-org/luanti: Support multi-track animations (#16653) f751818 https://github.com/luanti-org/luanti/commit/f7518186932883513d82ba4e655268c54d1f9eea (2026-06-29T14:02:55Z)
14:04 MinetestBot [git] j-r -> luanti-org/luanti: Correctly convert node pos to block pos in `findSunlight` (#17298) e7d7ff7 https://github.com/luanti-org/luanti/commit/e7d7ff7053ef62ee9f55af3d320d77f0ff697ff4 (2026-06-29T14:03:55Z)
14:04 MinetestBot [git] appgurueu -> luanti-org/luanti: Fix possible out-of-bounds write in `InventoryList::deSerialize()` e0854e0 https://github.com/luanti-org/luanti/commit/e0854e07403f77239dcbf184fc635baad3fb703b (2026-06-29T14:04:17Z)
14:04 MinetestBot [git] appgurueu -> luanti-org/luanti: Harden Irrlicht `.x` mesh file loader 1c70a7f https://github.com/luanti-org/luanti/commit/1c70a7f4eb9e6b80f8c14fa647b5e78c6fce4a78 (2026-06-29T14:04:17Z)
14:04 MinetestBot [git] (4 newer commits not shown)
14:47 crabycowman123 joined #luanti
14:50 crabycowman1231 joined #luanti
14:56 delgnam joined #luanti
14:59 crabycowman123 joined #luanti
15:02 turtleman joined #luanti
15:13 crabycowman123 joined #luanti
15:17 chilledfrogs joined #luanti
15:26 crabycowman1231 joined #luanti
15:27 crabycowman123 joined #luanti
15:30 crabycowman123 joined #luanti
15:37 crabycowman123 joined #luanti
16:15 Krock Is there any neat trick to figure out whether a value is of type InvRef, ItemStack or ObjectRef?
16:16 Krock probably not because `core.is_player` tests for `value.is_player`
16:18 sfan5 tostring
16:18 sfan5 ?
16:19 sfan5 a reasonable way would be "getmetatable(obj) == ObjectRef" but we don't expose metatables like that
16:25 Krock Right... I'll instead attempt the "best guess" by proving against get_stack_max
16:28 sfan5 hm `ItemStack` is a function, which is a bit inconvenient for what I claimed would be the reasonable way
16:28 sfan5 Krock: you can `local itemstack_mt = getmetatable(ItemStack(""))` and then compare that later
16:48 Krock good idea. thanks.
16:50 MTDiscord <luatic> it should be getmetatable(obj) == Class, yes. we can make that happen.
16:51 MTDiscord <luatic> ItemStack(...) is not really a problem, it can be done just fine using __call. New classes should avoid this kind of constructor though.
16:57 sfan5 what would you use instead? `ItemStack:new(...)`?
17:00 MTDiscord <luatic> ItemStack.new would be my first choice
17:01 MTDiscord <luatic> though i would also consider separating it out into more specific constructors
17:19 mrkubax10 joined #luanti
17:54 mrkubax10 joined #luanti
18:30 YuGiOhJCJ joined #luanti
19:05 YuGiOhJCJ joined #luanti
20:06 xor_ghost2 joined #luanti
20:12 xor_ghost joined #luanti
20:19 Sheriff_U3 How many toolranks mods do we need? :) https://content.luanti.org/packages/?q=toolranks
20:20 sfan5 !mod toolranks
20:20 MinetestBot sfan5: Mod: Tool Ranks [toolranks] by lisacvuk - https://content.luanti.org/packages/lisacvuk/toolranks/
20:20 sfan5 the algoritmâ„¢ favors this one
20:21 Sheriff_U3 but mine is downloaded for dependencies :)
20:29 Sheriff_U3 One thing that is concerning though is that the one mod that depends on toolranks is Toolranks Extras. It is unsupported by my mod so the fact that it's downloading mine to satisfy the depends is alarming.
20:33 MTDiscord <et086> can we make unified tool ranks already
20:35 Sheriff_U3 Is there anything that I can do to prevent that, short of renaming the mod or calling error() when it's found?
20:37 Sheriff_U3 et086: Go ahead an start one lol.
20:39 MTDiscord <et086> i wish i wanted to xD
20:49 chilledfrogs joined #luanti
21:02 mrkubax10 joined #luanti
22:19 cheapie hmm
22:19 cheapie !mod elevator
22:19 MinetestBot cheapie: Mod: Realtime Elevator [elevator] by shacknetisp - https://content.luanti.org/packages/shacknetisp/elevator/
22:19 cheapie I see, must go by actual mod name
22:26 sugarbeet joined #luanti
22:32 panwolfram joined #luanti
22:33 MinetestBot [git] sfan5 -> luanti-org/luanti: Add logging to Android Java parts 9bcde3e https://github.com/luanti-org/luanti/commit/9bcde3e78de593a1746d03b0da7b9eed32a7d867 (2026-06-29T22:33:21Z)
22:55 gera joined #luanti
22:56 est31 joined #luanti
23:40 farribeiro|irccl joined #luanti
23:40 farribeiro|irccl the client is crashing against the lastest commit
23:41 farribeiro|irccl hello folks!
23:42 farribeiro|irccl `/usr/include/c++/15.2.0/bits/stl\_algo.h:3638: constexpr const \_Tp& std::clamp(const \_Tp&, const \_Tp&, const \_Tp&) \[with \_Tp = float\]: Assertion '!(\_\_hi \< \_\_lo)' failed.`
23:42 mmww_ joined #luanti
23:44 SwissalpS joined #luanti
23:48 sys4 joined #luanti
23:48 fling joined #luanti
23:49 est31 joined #luanti

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