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. |
00:41 |
|
Can0xfBows joined #luanti |
01:04 |
|
repetitivestrain joined #luanti |
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 |
<jordan4ibanez> 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 |
<jordan4ibanez> 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 |
<jordan4ibanez> 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 |
<jordan4ibanez> 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 |
<jordan4ibanez> 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 |
<jordan4ibanez> 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 |
<jordan4ibanez> 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 |
<jordan4ibanez> 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 |
<jordan4ibanez> 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 |
<jordan4ibanez> Yes, it was actuality, verbatim |
01:31 |
|
Kimapr joined #luanti |
02:04 |
|
Kimapr joined #luanti |
02:32 |
|
tzenfore joined #luanti |
02:34 |
|
v-rob joined #luanti |
02:43 |
|
aliasstilltaken joined #luanti |
03:04 |
|
MTDiscord2 joined #luanti |
03:21 |
|
kamdard joined #luanti |
03:21 |
|
sec^nd joined #luanti |
03:34 |
|
kamdard_ joined #luanti |
03:57 |
|
MTDiscord3 joined #luanti |
04:00 |
|
MTDiscord1 joined #luanti |
04:43 |
|
v-rob joined #luanti |
05:02 |
|
the_sea_peoples1 joined #luanti |
05:09 |
|
tzenfore joined #luanti |
05:34 |
|
the_sea_peoples joined #luanti |
05:41 |
|
the_sea_peoples joined #luanti |
06:14 |
|
v-rob joined #luanti |
06:43 |
|
swee joined #luanti |
06:53 |
|
gregon joined #luanti |
08:00 |
|
Kimapr_ joined #luanti |
08:02 |
|
YuGiOhJCJ joined #luanti |
08:04 |
|
diceLibrarian2 joined #luanti |
08:22 |
|
Warr1024 joined #luanti |
08:23 |
|
swee joined #luanti |
08:24 |
|
jaca122 joined #luanti |
08:38 |
|
SFENCE joined #luanti |
08:47 |
|
Warr1024 joined #luanti |
08:59 |
|
SFENCE joined #luanti |
09:09 |
|
swee joined #luanti |
09:13 |
|
SFENCE joined #luanti |
09:21 |
|
SFENCE joined #luanti |
09:33 |
|
SFENCE joined #luanti |
09:42 |
|
SFENCE joined #luanti |
09:46 |
|
SFENCE joined #luanti |
09:54 |
|
SFENCE joined #luanti |
10:02 |
|
diceLibrarian joined #luanti |
10:09 |
|
SFENCE joined #luanti |
10:11 |
|
SFENCE joined #luanti |
10:21 |
|
greeter joined #luanti |
10:25 |
|
swee joined #luanti |
10:31 |
|
SFENCE joined #luanti |
10:53 |
|
Desour joined #luanti |
11:17 |
|
mrkubax10 joined #luanti |
11:27 |
|
SFENCE joined #luanti |
11:34 |
|
cheek_pain joined #luanti |
11:37 |
|
SFENCE joined #luanti |
11:51 |
|
sinvet joined #luanti |
11:52 |
|
SFENCE joined #luanti |
11:55 |
|
SFENCE joined #luanti |
11:55 |
|
swee joined #luanti |
12:00 |
|
SFENCE joined #luanti |
12:05 |
|
turtleman joined #luanti |
12:09 |
|
MTDiscord joined #luanti |
12:38 |
|
MTDiscord2 joined #luanti |
12:46 |
|
SFENCE joined #luanti |
13:08 |
|
gry joined #luanti |
13:21 |
|
Thermoriax joined #luanti |
13:24 |
|
SFENCE joined #luanti |
13:34 |
MinetestBot |
[git] appgurueu -> luanti-org/minetest_game: Fix registering buckets in foreign mod namespaces defa781 https://github.com/luanti-org/minetest_game/commit/defa781d60bd716d33f30a2d8ffcf8430ec0145e (2025-06-29T13:32:38Z) |
13:34 |
MinetestBot |
[git] josuigoa -> luanti-org/minetest_game: Added Basque translation (#3195) 6ed522b https://github.com/luanti-org/minetest_game/commit/6ed522b5fcb70d3e79a91315adb84912f55f560e (2025-06-29T13:33:14Z) |
13:36 |
|
SFENCE joined #luanti |
13:42 |
|
ln5 joined #luanti |
13:57 |
|
SFENCE joined #luanti |
14:01 |
|
SFENCE joined #luanti |
14:03 |
|
fluxionary joined #luanti |
14:07 |
|
tzenfore joined #luanti |
14:10 |
|
SFENCE joined #luanti |
14:17 |
|
SFENCE joined #luanti |
14:30 |
|
SFENCE joined #luanti |
14:33 |
|
SFENCE joined #luanti |
14:49 |
|
SFENCE joined #luanti |
15:01 |
|
SFENCE joined #luanti |
15:07 |
|
silverwolf73828 joined #luanti |
15:09 |
|
SFENCE joined #luanti |
15:19 |
MinetestBot |
[git] sfan5 -> luanti-org/luanti: Add core.get_mapgen_chunksize() (#16289) fd0ca20 https://github.com/luanti-org/luanti/commit/fd0ca20ce9a1c9a0f338908dcc0bde29d7deec9b (2025-06-29T15:19:40Z) |
15:23 |
|
SFENCE joined #luanti |
15:29 |
|
SFENCE joined #luanti |
15:32 |
|
SFENCE joined #luanti |
15:44 |
|
Kimapr joined #luanti |
15:46 |
|
SFENCE joined #luanti |
15:49 |
|
SFENCE joined #luanti |
15:51 |
|
SwissalpS joined #luanti |
16:02 |
|
Kimapr joined #luanti |
16:03 |
|
Kimapr joined #luanti |
16:25 |
|
mrkubax10 joined #luanti |
16:31 |
|
gregon joined #luanti |
16:46 |
|
MTDiscord3 joined #luanti |
16:49 |
|
SFENCE joined #luanti |
17:12 |
|
SFENCE joined #luanti |
17:15 |
|
MTDiscord4 joined #luanti |
17:22 |
|
bdju joined #luanti |
17:23 |
|
Talkless joined #luanti |
17:23 |
|
SFENCE joined #luanti |
17:43 |
|
SFENCE joined #luanti |
17:46 |
|
Desour joined #luanti |
17:51 |
|
SFENCE joined #luanti |
18:12 |
|
MTDiscord joined #luanti |
18:13 |
Krock |
https://example.com |
18:14 |
Krock |
!title |
18:14 |
MinetestBot |
Krock: Example Domain |
18:22 |
|
SFENCE joined #luanti |
18:28 |
|
SFENCE joined #luanti |
18:41 |
|
ineva joined #luanti |
18:41 |
|
MTDiscord5 joined #luanti |
18:42 |
|
SFENCE joined #luanti |
19:11 |
|
SFENCE joined #luanti |
19:28 |
|
SFENCE joined #luanti |
19:47 |
|
SFENCE joined #luanti |
19:52 |
|
Kimapr joined #luanti |
20:04 |
|
ireallyhateirc joined #luanti |
20:20 |
|
jstein joined #luanti |
20:21 |
|
lhofhansl joined #luanti |
20:26 |
|
SFENCE joined #luanti |
20:31 |
[MatrxMT] |
<Bracket> https://example.com |
20:31 |
[MatrxMT] |
<Bracket> !title |
20:35 |
|
bwarden joined #luanti |
20:36 |
MinetestBot |
[git] lhofhansl -> luanti-org/luanti: MapBlock::getData be gone (#16292) 43aad37 https://github.com/luanti-org/luanti/commit/43aad3711b21cde371089b1e6136bf5472724019 (2025-06-29T20:36:47Z) |
20:44 |
|
SFENCE joined #luanti |
20:52 |
|
diceLibrarian2 joined #luanti |
20:56 |
|
jstein joined #luanti |
20:59 |
|
diceLibrarian joined #luanti |
21:14 |
|
diceLibrarian joined #luanti |
21:20 |
|
diceLibrarian joined #luanti |
22:03 |
|
fluxionary joined #luanti |
22:04 |
|
Kimapr joined #luanti |
22:16 |
|
SFENCE joined #luanti |
22:22 |
|
diceLibrarian joined #luanti |
22:32 |
|
panwolfram joined #luanti |
22:51 |
|
SFENCE joined #luanti |
23:05 |
|
Eragon joined #luanti |
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 <MTDiscord> 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 |
<redundantcc> Oh well that worked |
23:15 |
MTDiscord |
<redundantcc> 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 |
<redundantcc> 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 |
<redundantcc> It's a registration function that returns a player as they join... |
23:18 |
MTDiscord |
<redundantcc> 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 |
<redundantcc> 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 |
<redundantcc> 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 |
<redundantcc> K |
23:24 |
|
SFENCE joined #luanti |
23:33 |
Helenah |
WTF |
23:33 |
MTDiscord |
<redundantcc> 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 |
<redundantcc> 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:35 |
|
diceLibrarian2 joined #luanti |
23:36 |
MTDiscord |
<redundantcc> Well, uh... try an icmp ping and see if it responds |
23:36 |
MTDiscord |
<redundantcc> 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 |
<redundantcc> 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 |
<redundantcc> Right they force you to do to factor authentication and then their SSH is weird, real pain in the butt. |
23:39 |
MTDiscord |
<redundantcc> 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 |
<redundantcc> 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 |
<redundantcc> 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 |
<redundantcc> wow, uh... we were just talking about this internally |
23:45 |
MTDiscord |
<redundantcc> 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 |
<redundantcc> 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 |
<redundantcc> 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 |
<redundantcc> Yeah I see, you stole the idea right in my head. |
23:49 |
MTDiscord |
<redundantcc> 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 |
<redundantcc> 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. |