Minetest logo

IRC log for #minetest, 2019-03-25

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

All times shown according to UTC.

Time Nick Message
00:17 DarVVin I'm pretty sure minetest is changingmy config files.  I edit world.mt, save it, close it, reopen it to check that the settings took.  Then I run minetest, the logs show no modsloading, then I check world.mt and it has changed, and the mods i set to true are now set to false.
00:23 kaeza Are you editing the files while Minetest is running?
00:24 amenji joined #minetest
00:25 ANAND joined #minetest
00:31 galaxie I'd like to know a little bit more about MT's architecture, specifically this: when a new player connects to a multiplayer server, does it start a new instance of a mod? Like if I installed the irc mod and it didn't check if it was already connected and it tried connecting when it first loads up, would it re-connect?
00:32 illwieckz joined #minetest
00:32 argyle777 no
00:33 galaxie So the mod's init.lua only gets called once, when the server starts?
00:33 argyle777 yeah
00:33 galaxie Is there a way to check for new players?
00:33 argyle777 yes
00:33 argyle777 um...
00:33 galaxie Asynchronously, I hope...?
00:33 argyle777 minetest.register_on_leaveplayer
00:34 argyle777 and minetest.register_on_joinplayer
00:34 p_gimeno and minetest.register_on_newplayer (if you really meant *new* players)
00:34 galaxie Is there a way to disable account creation?
00:35 argyle777 no clue.  isn't there a mod for that?
00:35 GreenDimond return a string on minetest.register_on_prejoinplayer()
00:36 GreenDimond Though I dont remember if it prevents the account from being created
00:36 GreenDimond minetest.remove_player() takes care of that though
00:36 galaxie Is there a way to get the password hash submitted to the server?
00:37 GreenDimond Why would you want that..
00:38 galaxie If I was using MT to interface with the real server and the accounts were identical..
00:39 paramat joined #minetest
00:39 GreenDimond Authentication https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L3883-L3931
00:43 galaxie I guess I might have to call minetest.register_authentication_handler... but what's the default handler? I'll need to override that.
00:45 argyle777 As I read it, your mod would be the only on a running server that could ever call that function.
00:46 argyle77 joined #minetest
00:50 argyle77 sounds special.
00:51 galaxie So I guess I'll grab the builtin via minetest.get_auth_handler() then later call that register function?
00:53 argyle77 I dunno... This looks like the sorta thing where you're replacing something.
00:54 galaxie I'm no expert in Lua, but wouldn't I just replace one function or two, but inside that, it'll call the original but get the hash as well?
00:55 argyle77 I am also no expert on lua.
00:56 Foz joined #minetest
01:06 Hawk777 joined #minetest
01:13 Cornelia joined #minetest
01:16 rubenwardy galaxie: minetest doesn't use password hashing
01:16 rubenwardy We use the secure remote password protocol
01:16 rubenwardy Have a look at the IRC commands mod to see how to check logins manually
01:17 rubenwardy I'm confused at what you're trying to do
01:17 rubenwardy If you're making a middleware layer  like a reverse proxy
01:18 rubenwardy Then have the reverse proxy handle the authentication
01:18 galaxie It's a rather special use case, I'd rather not go in-depth.
01:18 rubenwardy And the downstream minetest servers just use it
01:18 rubenwardy Knot does this
01:19 galaxie Hmmm, interesting. Any easy way to quickly serve a world made in singleplayer mode?
01:19 galaxie I see the --world argument, but it says it implies a local game..
01:20 rubenwardy --server --world
01:20 rubenwardy Gtg
01:27 riff-IRC joined #minetest
01:33 walle303 joined #minetest
01:38 galaxie So this secure remote password protocol... it still appears to do something to your password. The password returned from get_auth() is quite a lot of characters. What algorithm does it use to arrive at that?
01:44 amenji joined #minetest
01:46 scr267b joined #minetest
01:48 p_gimeno <rubenwardy> We use the secure remote password protocol
01:48 galaxie How come it either seems that minetestserver is not loading my mod, or print and debug doesn't work anymore?
01:51 galaxie p_gimeno: Hmmm, so there are no passwords really? What gets stored in the database?
01:53 p_gimeno galaxie: not sure, look up that protocol
01:55 p_gimeno hmm "The transmission and authentication of the registration request is not covered in SRP"
01:58 galaxie Does minetest --server --world <world> load that world's mods too? It doesn't show my minetest.log messages either.
01:58 p_gimeno it should
02:01 amenji joined #minetest
02:10 kurtzmusch joined #minetest
02:13 Nezrok joined #minetest
02:15 Nezrok Hello, if I found an easy-to-reproduce bug in a widely-used but seemingly abandoned mod, who should I speak to about it?
02:17 kaeza Is the mod on GitHub? You could file an issue there.
02:17 Nezrok Yes, but it seems to have not been updated there in two years
02:18 kaeza What mod is it?
02:18 Nezrok areas
02:18 paramat maybe a forum post if there is a thread, if not, new thread
02:19 Nezrok I will look, thanks
02:19 kaeza ShadowNinja: ↑
02:21 kaeza I don't think he's around though...
02:21 kaeza !mod areas
02:21 MinetestBot kaeza: Advanced area protection [areas] by ShadowNinja - https://forum.minetest.net/viewtopic.php?t=7239
02:22 amenji joined #minetest
02:26 paramat the ninja is not active or around for a while
02:31 Nezrok Thing is, I don't want to post it publicly and then see people going around doing it on every server that has it installed, just for laughs :c
02:33 paramat ah
02:34 paramat ok, can you paste the info somewhere private, then private message me the link to the private paste?
02:34 Nezrok That I can do
02:38 paramat this mod should probably be moved to minetest mods due to it's extreme popularity and the absence of the author, sofar ?
02:38 paramat or maybe we can just fork it
02:38 paramat anyway i'll try to get the issue attended to
02:42 Nezrok Messaged, thanks
02:45 walle303 joined #minetest
02:46 paramat copied it, you can delete the paste if you want, thanks
03:41 paramat joined #minetest
03:57 Hirato joined #minetest
05:21 milkt joined #minetest
05:25 Ruslan1 joined #minetest
05:49 amenji joined #minetest
05:51 LMD joined #minetest
06:05 SanskritFritz joined #minetest
06:18 xerox123 joined #minetest
06:19 xerox123_ joined #minetest
06:29 kaeza joined #minetest
06:58 Hirato_ joined #minetest
07:38 Emerald2 So when I'm underground and I see a lava lake on the minimap, is it above me or below me?
07:38 VanessaE yes :)
07:39 Emerald2 I went up, I went down. No lava to be found.
07:39 Beton joined #minetest
07:51 Emerald2 All I want is some sulphur for my batteries. XD
07:55 Emerald2 What happened to the minimap radar anyway?
08:03 kaeza joined #minetest
08:05 Megaf joined #minetest
08:07 Destructo joined #minetest
08:07 Destructo i require a little help
08:08 Destructo cannot create a forum account
08:08 DrFrankenstone Hamlet seems to have marked all their mods as abandoned. Does anyone know what happened? Have they just moved on from Minetest?
08:11 Emerald2 Destructo, what happens when you try?
08:11 Destructo I cannot create a forum account as it says that a lot of spams have got reported from my IP address...... What do I do ?
08:11 Destructo help emerald2
08:12 Emerald2 Hmm VanessaE?
08:14 Destructo do i ask her for this?
08:15 Emerald2 No, I'm not sure who's in charge of forum accounts.
08:15 Emerald2 So I'm asking whichever moderator might be awake right now.
08:15 Destructo ahhhhh!
08:21 VanessaE don't ask me, I'm just a moderator, not an admin.
08:22 Destructo so how do i get a fix ?
08:22 Destructo please tell
08:22 VanessaE Calinou: ^
08:22 VanessaE maybe he can
08:22 VanessaE he often handles new accounts
08:22 VanessaE also,
08:22 VanessaE don't connect through a VPN/proxy
08:23 VanessaE we've had too much crap from users hiding behind them
08:23 Destructo i have connected to wifi
08:24 Emerald2 Well, at least you might know who *is* in charge of it, Vanessa. ;)
08:45 CWz joined #minetest
08:46 YuGiOhJCJ joined #minetest
08:52 kurtzmusch joined #minetest
08:53 kurtzmusch joined #minetest
08:54 proller joined #minetest
08:56 aheinecke joined #minetest
08:59 jluc joined #minetest
09:12 emacsomancer joined #minetest
09:14 Megaf joined #minetest
09:16 proller joined #minetest
10:11 Megaf_ joined #minetest
10:17 makayabou joined #minetest
10:17 makayabou Hello, I was wondering if there is a way to prevent trees to grow leaves through walls ?
10:31 calcul0n joined #minetest
11:12 Fixer joined #minetest
11:14 riff-IRC joined #minetest
11:56 Emerald2 Best way to find the lava: the powers of human stupidity (digging straight up). :D
11:56 p_gimeno ouch
11:58 Emerald2 I didn't find it going downwards, so I figured that would be tempting fate and I would surely find the lava.
11:59 p_gimeno heh
12:38 tpe joined #minetest
12:49 scr267 joined #minetest
12:51 galaxie I figured out what went wrong yesterday.. apparently minetestserver created a new world in my home dir while I was thinking it was loading from ~/.minetest/worlds.. hence it didn't load my mods.
12:56 p_gimeno you specify a full path with --world
13:56 amenji joined #minetest
14:33 diemartin joined #minetest
14:45 p_gimeno why do I have auth_backend = sqlite3 at world creation, yet auth info is in auth.txt?
14:57 Player-2 joined #minetest
14:57 benrob0329 joined #minetest
15:04 Silizium joined #minetest
15:07 kaeza joined #minetest
15:22 Cornelia joined #minetest
15:25 nerzhul nop
15:25 nerzhul default is to use reliable backend => sqlite3
15:25 nerzhul for legacy worlds auth.txt remains
15:25 nerzhul and you can choose auth.txt by selecting auth_backend = files
15:26 nerzhul but it's not the recommended way
15:26 p_gimeno it's not how it's working for me
15:27 p_gimeno I create a new world, without entering it - a default world.mt is created with auth_backend = sqlite3
15:28 p_gimeno oh wait, it was created now
15:29 Megaf joined #minetest
15:30 p_gimeno it must be that I created that world during beta, sorry
15:32 p_gimeno what confused me is that even with auth_backend = sqlite3, auth.txt is used
15:33 p_gimeno never mind
15:41 Lia joined #minetest
16:02 scr267 Is there a way for an admin to impersonate a player?
16:02 scr267 Helpful to troubleshoot an issue
16:04 Megaf joined #minetest
16:34 puzzlecube joined #minetest
16:52 argyle77 joined #minetest
16:57 nowhere_man joined #minetest
17:27 Megaf joined #minetest
17:31 kaeza joined #minetest
17:45 tzh joined #minetest
17:46 nerzhul currently not
17:48 ensonic joined #minetest
17:49 nowhere_man joined #minetest
17:50 proller joined #minetest
17:52 scr267 Has anyone heard of SONOS?
18:04 ssieb joined #minetest
18:13 jluc joined #minetest
18:37 galaxie Is there any other networking mod besides irc for MT?
18:38 rubenwardy !mod prometheus
18:38 MinetestBot rubenwardy: Prometheus [prometheus] - Metric uploader by rubenwardy - https://forum.minetest.net/viewtopic.php?t=18767
18:38 rubenwardy !mod discord
18:38 rubenwardy !mod matrix
18:38 rubenwardy heh, MinetestBot ratelimits
18:41 kaeza joined #minetest
18:41 galaxie Any of them asynchronous? Like Ruby's EventMachine?
18:43 rubenwardy prometheus uses the async http API
18:43 galaxie I guess, but does the mod retrieve anything really?
18:46 rubenwardy it discards the result
18:51 illwieckz joined #minetest
19:03 ensonic joined #minetest
19:25 Telesight joined #minetest
19:42 ensonic joined #minetest
19:44 kurtzmusch joined #minetest
19:55 FreeFull joined #minetest
20:02 nri joined #minetest
20:03 nri Hello
20:05 kaeza Greetings, nri.
20:09 Cornelia joined #minetest
20:14 proller joined #minetest
20:19 kurtzmusch_ joined #minetest
20:46 YuGiOhJCJ joined #minetest
21:04 nri joined #minetest
21:10 cddepppp256 joined #minetest
21:33 ssieb joined #minetest
21:39 Nezrok_ joined #minetest
21:57 nri Hello
22:00 nri Hello Nezrok
22:00 Nezrok Hello
22:01 nri Whats going on?
22:03 nri Nezrok: What chat client do you use? I use hexchat.
22:03 Nezrok AdiIRC
22:05 nri Nezrok: oh ok. Has Zero been on recently? Ive been needing him.
22:06 Nezrok Not for a few days
22:07 nri oh ok well maybe ill see him on Saturday.
22:07 riff-IRC joined #minetest
22:08 nri Hello riff
22:14 nri_ joined #minetest
22:19 paramat joined #minetest
22:20 ANAND joined #minetest
22:25 nri Nezrok: I am testin out AdiIRC and it is definetly better.
22:26 Nezrok I spent like an hour configuring it to the way I wanted, that's what I like about it - The customizability
22:28 nri Nezrok: yes a lot of options. Do you know how to search thru nicks?
22:28 Nezrok Like in the nicklist for a channel?
22:29 benrob0329 joined #minetest
22:29 benrob0329 joined #minetest
22:32 nri yes nezrok
22:33 Nezrok I just scroll through til I find the name I'm looking for - It's in alphabetical order, so it's easy
22:34 nri Nezrok: oh i meant can i search thru the nicks in the chat?
22:34 Nezrok ctrl+f
22:35 Nezrok I have mine set up to highlight certain names and keywords in bright green, like mine, and it notifies me if they're said, super helpful
22:36 nri oh ok thanks nezrok
22:48 kurtzmusch_ joined #minetest
22:55 makayabou joined #minetest
23:02 makayabou Hello! During node registration, can I add args to on_receive_fields , like on_receive_fields(pos,formname,fields,placer,node) ? I want to change node.name using data received in on_receive_fields..
23:12 sfan5 you can't add any arguments to predefined callbacks
23:12 makayabou What I thought, thanks
23:38 Lone-Star joined #minetest

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