Luanti logo

IRC log for #luanti, 2025-03-31

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

All times shown according to UTC.

Time Nick Message
00:04 sinvet joined #luanti
00:16 wew joined #luanti
00:20 wew joined #luanti
00:28 [MatrxMT] <Blockhead256> > `""` The player's hand
00:28 [MatrxMT] <Blockhead256> > Its rage and tool capabilities ...
00:28 [MatrxMT] <Blockhead256> I didn't know sam's super strength was powered by sheer rage
00:51 wew joined #luanti
01:09 FileX joined #luanti
01:59 silverwolf73828 joined #luanti
02:40 CRISPR joined #luanti
02:46 amfl2 joined #luanti
03:33 FileX joined #luanti
04:00 MTDiscord joined #luanti
04:00 SFENCE joined #luanti
04:25 SFENCE joined #luanti
04:28 sparky4 joined #luanti
05:13 alpiquero joined #luanti
05:35 alpiquero joined #luanti
07:10 MiniontobyPI joined #luanti
07:12 FileX joined #luanti
08:16 SliverFlowCipher joined #luanti
08:37 Verticen joined #luanti
08:51 FileX joined #luanti
09:01 mentatbashar joined #luanti
09:03 FileX joined #luanti
09:21 [MatrxMT] <Bracket> Creative mode is just sam being angry
09:52 FileX joined #luanti
09:58 FileX joined #luanti
10:24 ireallyhateirc joined #luanti
10:32 jaca122 joined #luanti
10:37 alpiquero joined #luanti
10:47 mrkubax10 joined #luanti
10:55 est31 joined #luanti
11:48 jadedctrl joined #luanti
11:53 jadedctrl_ joined #luanti
12:55 SliverFlowCipher joined #luanti
13:23 Guest26 joined #luanti
13:26 Guest56 joined #luanti
14:02 SFENCE joined #luanti
14:08 Desour joined #luanti
14:59 SFENCE joined #luanti
15:15 SFENCE joined #luanti
15:36 SFENCE joined #luanti
15:41 mentatbashar joined #luanti
15:55 est31 joined #luanti
16:02 alpiquero joined #luanti
16:17 SFENCE joined #luanti
16:24 SFENCE joined #luanti
16:28 ireallyhateirc joined #luanti
16:39 whosit is it ok to remove callbacks or change them directly through core.registered_on_* tables? API is not clear about that...
16:40 sfan5 valid thing to do
16:40 sfan5 but avoid doing that unless you have to
16:40 SFENCE joined #luanti
16:41 whosit it's for live module reloading (rapid prototyping), so...
16:41 whosit (don't like restarting the game each time)
16:42 whosit would be helpful if core.register_on_* returned a handle I can use for that too :p
16:46 SFENCE joined #luanti
16:48 Talkless joined #luanti
16:50 kamdard joined #luanti
16:55 whosit also, if I add prefix entity name with ":", it allows me to bypass all naming conventions and module name prefixing, that's intended?
16:57 whosit ah, I found this: https://github.com/luanti-org/luanti/blob/master/doc/lua_api.md#naming-conventions
16:58 whosit so, this is intended.
17:07 SFENCE joined #luanti
17:22 Guest4 joined #luanti
17:33 SFENCE joined #luanti
17:35 SFENCE joined #luanti
17:38 erstazi_ joined #luanti
17:39 SFENCE joined #luanti
17:43 ___nick___ joined #luanti
17:48 Desour joined #luanti
17:50 SFENCE joined #luanti
17:50 erstazi joined #luanti
17:51 [MatrxMT] <Blockhead256> the idea is that it's allowed so that mods can register on behalf of other mods using an API
17:51 [MatrxMT] <Blockhead256> well, that's my perspective anyway
17:54 erstazi joined #luanti
18:02 Leopold joined #luanti
18:05 exoticalexo joined #luanti
18:05 Krock exoticalexo: people provide the full error message though pastebin.com or a similar service
18:09 exoticalexo https://pastebin.com/TVWDbmM3
18:11 exoticalexo joined #luanti
18:13 ___nick___ joined #luanti
18:14 Krock exoticalexo: did you successfully install luasocket though luarocks? from what I understood so far, this should be feasible using "luarocks --lua-version 5.1 install luasocket"
18:15 Krock note that LUa 5.2 is not necessarily compatible with Lua 5.1 (which Luanti/Minetest uses)
18:16 exoticalexo I’m using lua 5.4
18:17 Verticen joined #luanti
18:17 exoticalexo And luarocks 3.11.1
18:18 sfan5 luanti uses either lua 5.1 or luajit, so that won't work
18:19 exoticalexo So I downgrade Lua 5.r to 5.1?
18:19 exoticalexo *4
18:19 Krock just try it
18:20 exoticalexo So yes?
18:20 [MatrxMT] <Blockhead256> not even "Not necessarily compatible" but "definitely not compatible" with 5.1
18:20 [MatrxMT] <Blockhead256> *>5.1
18:21 MTDiscord <vejou> so luanti is 5.1 so you should try 5.1
18:22 exoticalexo Ok
18:22 mrkubax10 joined #luanti
18:25 [MatrxMT] <Luantis> All hi
18:25 [MatrxMT] <vejou> hi
18:26 [MatrxMT] <Luantis> 😊
18:38 exoticalexo The lua version should be 5.1.4 right?
18:39 ROllerozxa have you built luanti yourself?
18:41 Krock windows user. no. they're trying to grab the luasocket dll somehow
18:41 ROllerozxa the official luanti windows builds don't support loading native lua libraries since luajit is statically linked
18:41 Krock huh? you can still use require()
18:43 exoticalexo So do I use luasocket 2.x or 3.x?
18:43 ROllerozxa and it will error since lua51.dll does not exist, and the symbols statically linked inside the exe aren't compatible
18:43 ROllerozxa from the luajit docs:
18:43 Krock > Version 3.1.0-1 of LuaSocket was uploaded 2 years ago. For lua >= 5.1
18:43 ROllerozxa > Since Windows symbols are bound to a specific DLL name, you need to link to the lua51.dll created by the LuaJIT build (do not rename the DLL). You may link LuaJIT statically on Windows only if you don't intend to load Lua/C modules at runtime.
18:44 Krock oh I see. It's because the library itself depends on lua51.dll
18:44 Krock you could probably have both - Luanti with statically linked and the lua51 DLL for modules at runtime
18:44 Krock (as long the versions match)
18:45 exoticalexo So is it supposed to be this complicated to setup IRC without luarocks to install IRC’s luasocket requirement?
18:45 ROllerozxa exoticalexo: most people don't run servers on windows, where you'd use the IRC mod
18:46 Krock either Windows is developer-unfriendly, or it's overly annoying to use because the developers primarily focus on Linux. Maybe both applies.
18:47 exoticalexo So I rather need a linux vps or machine to install IRC without a bunch of hassle?
18:47 Krock or WSL
18:49 exoticalexo Probably?
18:51 [MatrxMT] <Bracket> why are there so many windows apps then
18:53 Krock @Bracket The world of FLOSS is slightly different to what corporations work with and target.
18:53 exoticalexo Bloatware that Microsoft wants for some apparent reason.
19:07 SFENCE joined #luanti
19:09 SwissalpS /4
19:11 exoticalexo ¿
19:37 erle joined #luanti
20:09 silverwolf73828 joined #luanti
20:23 kamdard joined #luanti
21:32 sinvet joined #luanti
22:09 Kimapr joined #luanti
22:35 panwolfram joined #luanti

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