Time Nick Message 00:37 Helenah I think my code is a mess, how embarressing. 00:37 Helenah BUT... I'm getting somewhere... 00:38 Helenah My issue at the moment is determining what I should be doing and what can be left to the engine, it seems. 01:06 Helenah Would we ever see Luanti API functionality that allows develops to execute code before the world is allowed to load on the client end? I'm kind of getting fed up of coding in hacks. 01:06 Helenah So example... player logs in, a load of code from a mod is executed... once complete... THEN world is loaded on the client. 01:06 MTDiscord Isn't that just the main menu? 01:06 Helenah At current, it feels like at this stage, everything is on autopilot. 01:07 MTDiscord Oh I see. Yeah the player can't really exist in a server that isn't started up lol 01:07 Helenah No, I'm talking about the stage after the main menu and login has been established, there should be a phase between that and world load. 01:08 Helenah I'm having to write a load of hacks. 01:08 MTDiscord Well like, what are you writing hacks to do? 01:08 Helenah At the moment, I'm currently putting the player in a kind of frozen state where I turn off their walk and jump physics. 01:09 Helenah I'm trying to write an MMORPG mod which displays a character creation screen after login, I don't intend the world to load at this point. 01:09 Helenah But it seems not having the world load isn't an option. 01:09 MTDiscord Teleport them to the top of the map and save their old position when they join 01:09 Helenah Another hack... 01:09 Helenah But okay, if this is what I have to do, so be it. 01:11 Helenah It's like wanting to do X so you do Y because Y is the closest thing to X but isn't X at all. rofl, just wondering if in the future they'll be any intentions of allowing developers to define when the world loads, I haven't yet anything on this, but I have read a great feature I do want which is they're going to implement dimension contexts. 01:11 MTDiscord The player kind of has to exist in the world or getting their position, or any lua exposed data would most likely explode existing mods if a new mod, like what you're saying, implements that 01:12 MTDiscord I think you might want to write your own voxel engine. I have a dozen or so you can build off if you're getting too frustrated with the current implementation 01:13 Helenah The player kind of does NOT have to exist in the world, this is how Luanti was modelled which is not something unavoidable, it's something that is because of the way things were implemented, I don't buy that. I agree it could be very difficult to change now and might not be any point in putting in all that work, but I don't buy the player HAS to exist in the world, it just has to exist as an online 01:13 Helenah player on the server instance, and the client. 01:13 MTDiscord If you would like to see, the most extreme hack, please look into mineos on contentdb 01:14 Helenah Yeah, I think mine is minor compared to some of the things I've seen in other mods. 01:15 MTDiscord But regardless, just jam the player at the top of the world. I do not see why this is an issue. You can write an api around putting them there as well. Disable basically everything so they do not exist and then reenable 01:15 Helenah So you've done your own voxel engine implementations? 01:15 MTDiscord Yes, from Java to D to fortran to rust. I cannot remember them all 01:15 Helenah oh 01:16 Helenah Is the Java one yet another Minecraft? (Just kidding, no seriously, that was a joke!) 01:16 MTDiscord Yes, it was actuality, verbatim 13:34 MinetestBot 02[git] 04appgurueu -> 03luanti-org/minetest_game: Fix registering buckets in foreign mod namespaces 13defa781 https://github.com/luanti-org/minetest_game/commit/defa781d60bd716d33f30a2d8ffcf8430ec0145e (152025-06-29T13:32:38Z) 13:34 MinetestBot 02[git] 04josuigoa -> 03luanti-org/minetest_game: Added Basque translation (#3195) 136ed522b https://github.com/luanti-org/minetest_game/commit/6ed522b5fcb70d3e79a91315adb84912f55f560e (152025-06-29T13:33:14Z) 15:19 MinetestBot 02[git] 04sfan5 -> 03luanti-org/luanti: Add core.get_mapgen_chunksize() (#16289) 13fd0ca20 https://github.com/luanti-org/luanti/commit/fd0ca20ce9a1c9a0f338908dcc0bde29d7deec9b (152025-06-29T15:19:40Z) 18:13 Krock https://example.com 18:14 Krock !title 18:14 MinetestBot Krock: Example Domain 20:31 [MatrxMT] https://example.com 20:31 [MatrxMT] !title 20:36 MinetestBot 02[git] 04lhofhansl -> 03luanti-org/luanti: MapBlock::getData be gone (#16292) 1343aad37 https://github.com/luanti-org/luanti/commit/43aad3711b21cde371089b1e6136bf5472724019 (152025-06-29T20:36:47Z) 23:14 MTDiscord Command sent from Discord by C: 23:14 MTDiscord !tell Helenah try: core.register_on_joinplayer(function(playerRef) end) https://github.com/luanti-org/luanti/blob/5.12.0/doc/lua_api.md?plain=1#L4345 23:14 MinetestBot MTDiscord: yeah, sure, whatever 23:14 Helenah Hi 23:14 MinetestBot Helenah: Jun-29 23:14 UTC try: core.register_on_joinplayer(function(playerRef) end) https://github.com/luanti-org/luanti/blob/5.12.0/doc/lua_api.md?plain=1#L4345 23:15 MTDiscord Oh well that worked 23:15 MTDiscord So yeah you were saying earlier you needed a function that allowed you to intercept a player joining the world and that's the function you needed 23:15 Helenah It seems to work like Limnoria's tell function which will only tell on recipient activity, Limnoria is quite good for keeping noise down. 23:16 MTDiscord Oh no, for the luanti api, uh.. this: https://github.com/luanti-org/luanti/blob/5.12.0/doc/lua_api.md?plain=1#L4345 23:16 Helenah Oh no, I think people got confused, but then I'll be honest, I was fatigued and brain blocked, I think I'm getting somewhere now though. Or I just can't remember... 23:17 MTDiscord It's a registration function that returns a player as they join... 23:18 MTDiscord Oh ok then, well if you need any more help most of the functions you think don't exist have cheap workarounds, I've learned about most of them the hard way so if you want any advice just ask. 23:19 Helenah hmm 23:22 Helenah I get into this trap of coding myself fatigued. :D 23:22 MTDiscord Makes sense I did the same thing, is there something in particular you're chasing that makes you want to push that hard or is it just fun to program for you? 23:23 Helenah Both, sometimes it's fun, sometimes I'm chasing. 23:24 MTDiscord If it's not rude, what are you making? 23:24 Helenah I'll get my first commit of the lua pushed then give you the link, one minute. 23:24 MTDiscord K 23:33 Helenah WTF 23:33 MTDiscord Wah? 23:33 Helenah "No known service or name"... 23:34 Helenah That's what I get from the ssh github.com ssh 23:34 MTDiscord Are you sitting behind a Nat table or a proxy, sometimes when you do layer 3 translation secure protocols like SSL don't get forwarded 23:35 Helenah It's a home machine but no it's not behind a NAT. 23:36 MTDiscord Well, uh... try an icmp ping and see if it responds 23:36 MTDiscord Maybe it's just down, nowadays people are bringing down things all the time or it could just be for maintenance 23:36 Helenah Damnit 23:37 Helenah It does respond to ping, yes. 23:37 MTDiscord If it's GitHub I think they also have o-auth for some such that uses http as the protocol, could try that if you need it right now I'm just debug later when you're not trying to push something? 23:38 Helenah All this security these days is a pain... 23:38 Helenah I am not against it but sheesh. 23:38 MTDiscord Right they force you to do to factor authentication and then their SSH is weird, real pain in the butt. 23:39 MTDiscord But better to have the extra security, our accounts don't really mean much but I wouldn't want a back door into SSH or something like that cuz they lost the security key to their account 23:40 MTDiscord  Snickers in truth is stranger than fiction 23:40 Helenah It's like "We'll bring down one security system for maintenance", bare in mind, end users had to go through time and effort implementing their end of the deal, then it be like "Right, time to configure the working one"... 23:42 MTDiscord In fairness, the alternative is a tired Network and Systems engineers coordinating together across a continent (GitHub has two offices for redundancy reasons) well sleep deprived at night so they don't interrupt regular usage. I think every once in awhile things not working on a Sunday makes the most sense without having to pull people in overnight, nothing's worse for an engineer than a graveyard shift except maybe taking a grave... 23:42 Helenah https://github.com/helenah2025/LuantiRPG 23:43 Helenah hmm 23:44 Helenah It's just an init.lua file at the moment, I'll probably break it up into multiple lua files as it gets bigger. 23:44 MTDiscord wow, uh... we were just talking about this internally 23:45 MTDiscord So you're building an RPG based on the luanti engine, damn I really could just sit back and let you do it.... 23:45 Helenah Feel free to contribute if this is something you want, bare in mind, I will be publishing contributor guidelines. 23:46 Helenah haha 23:46 Helenah It's going slow but getting somewhere slowly... 23:46 Helenah The thing is, I don't know lua... 23:46 MTDiscord I would but GPL isn't really my cup of tea, much like the Americans I prefer to just throw it into the ocean with all the freedoms in the world and hope someone finds it useful 23:47 Helenah :D 23:47 Helenah I'll push the screenshots I have. 23:48 MTDiscord It's fine if you don't know Lua, neither did I really. Just push as hard as you can and when you feel like you're tired and don't want to anymore, if you build something worth keeping alive someone else will pick it up. 23:48 Helenah But first... check this out https://github.com/helenah2025/LuantiRPG/wiki/Technical-Documentation-for-Developers 23:49 MTDiscord Yeah I see, you stole the idea right in my head. 23:49 MTDiscord Difference is I didn't write documentation so the idea stayed in my head, but if you work on it really hard this could become something cool. 23:55 MTDiscord Helenah: when you go directly to your Wiki it doesn't link to any of your other pages you should probably build out the table of contents first even if you have a couple dead links people can find things? https://github.com/helenah2025/LuantiRPG/wiki 23:59 Helenah Screenshots pushed https://github.com/helenah2025/LuantiRPG/tree/main/images/screenshots 23:59 Helenah Oh yes, I'm aware of that, I do plan to link to that wiki, or and maybe a combination of both, add it as a file to the repo, I really do think it should definitely be a file in the repo.