Minetest logo

IRC log for #minetest, 2019-06-27

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

All times shown according to UTC.

Time Nick Message
00:06 indiana joined #minetest
00:07 swift110-phone__ joined #minetest
00:08 kuldeep joined #minetest
00:08 snek joined #minetest
00:11 rdococ joined #minetest
00:13 rdococ joined #minetest
00:41 ANAND joined #minetest
00:46 Tux[Qyou] joined #minetest
01:41 Cornelia joined #minetest
01:42 Sketch2 joined #minetest
01:48 ssieb joined #minetest
01:57 luizsab joined #minetest
01:59 luizsab hello! Is there any way to up mods previously installed at client and improve the performance with old pc and bad lan connection
02:00 Sodomon joined #minetest
02:33 luizsab18 joined #minetest
02:34 Cornelia joined #minetest
02:35 Volgaar joined #minetest
02:38 Cornelia joined #minetest
02:51 Lia joined #minetest
03:05 MinetestBot [git] ClobberXD -> minetest/minetest: Increase upper limit of display_gamma to 10 (#8618) 91d244c https://git.io/fjrjP (2019-06-27T03:04:12Z)
03:07 Pie-jacker875 joined #minetest
03:18 AmazingSam joined #minetest
03:19 AmazingSam I'm using ubuntu to run a server. From Ubuntu command-line-interface, is there a way I can get a list of players in a running world?
03:21 VanessaE scrape the debug log for the phrase "List of players:"
03:21 VanessaE (the list will be split among multiple lines if there's more than several)
03:22 AmazingSam There is no way to get it from something like "minetest --server --terminal /status"
03:22 AmazingSam ?
03:22 VanessaE I don't think so.
03:23 VanessaE I scrape the log to get the number of players, for my stats page
03:23 pauloue you have to start the server with 'minetest --server --terminal', then in the terminal you can use /status
03:24 VanessaE (though to simplify, I have a mod on the server that outputs a predictable phrase and the count.  easier to scrape for)
03:24 AmazingSam When I user "--server --terminal", then type in "/status" it crashes
03:24 pauloue error message?
03:24 VanessaE oh, I'd forgotten about the live terminal.
03:24 AmazingSam I am looking at the debug.txt. That will be my last resort
03:26 AmazingSam "/status" is not recognized
03:26 nowhere_man joined #minetest
03:27 pauloue that's all it says? /status is a builtin chatcommand
03:28 AmazingSam In the debug file, I get the following:
03:28 AmazingSam 2019-06-26 23:25:40: ERROR[Main]: Cmd arg --terminal passed, but compiled without ncurses. Ignoring.
03:29 pauloue you need to compile with -DENABLE_CURSES=1
03:30 AmazingSam Without recompiling it, is there any other way you can think of to get the list of players?
03:30 VanessaE you could run a mod that outputs the list to a file on join/part
03:31 AmazingSam Ok, I will try that. I was hoping there would be a CLI command I can use instead of running a mod or another script
03:35 AmazingSam Thank you VanessaE and pauloue! If you can think of another way, please, let me know.
03:36 VanessaE good luck
03:36 AmazingSam Thanks!
03:47 rubenwardy You could grep the logs
03:47 rubenwardy And tail
03:47 rubenwardy Or whatever
03:52 AmazingSam Thanks rubenwardy! That's what I am working on now. Parsing base on "List of players: "
03:55 LoneWolfHT Might be able to do a mod that dumps the online players in a file in the world dir. Then just create a command to dump the contents of it
03:55 LoneWolfHT Come to think of it you could probably run commands with that method too :thinking:
03:57 AmazingSam Yeah, that's a good idea. I am able to get the list from /status, just not from the CLI. Right now, I am saving off every thing to the right of "List of players: " to a file with the timestamp.
03:57 AmazingSam The number of spaces to the right of "List of players: " is the amount of active players in the world
03:57 LoneWolfHT I might do a mod for it. *eventually*
04:26 lllI1I joined #minetest
04:32 brucemuggins joined #minetest
04:41 diego1 joined #minetest
04:51 nowhereman joined #minetest
05:27 xerox123 joined #minetest
05:29 xerox123_ joined #minetest
06:01 AmazingSam I am not sure if any of you care, but here is a quick python script I wrote to extract the number of active players per join/leave:
06:01 AmazingSam # Open the debug filefile = open("debug.txt", "r")print("date,time,numOfPlayers")# Loop through every linefor line in file:    line = line.strip()    # If the file has the players list, process the line    if(line.find("List of players:") > -1):        # Extract the date-time from the line        actionIndex = line.index(": ACTION")        dateTime
06:01 AmazingSam = line[:actionIndex].split(" ")        date = dateTime[0]        time = dateTime[1]        # Extract the list of players from the line        playersIndex = line.index("List of players: ")+17        players = line[playersIndex:].split(" ")        numberOfPlayers = len(players)        print(date + "," + time + "," + str(numberOfPlayers))
06:02 AmazingSam If you copy and paste it to a .py file, it should format
06:14 scr267 joined #minetest
06:23 nowhereman joined #minetest
06:32 CWz_ joined #minetest
06:46 nowhere_man joined #minetest
07:11 nepugia joined #minetest
07:12 orwell96_mt joined #minetest
07:40 nepugia What way would there be to debug why my server does not seem to be on the server list?
07:48 diego1 joined #minetest
08:19 ANAND joined #minetest
08:23 Fixer joined #minetest
08:36 est31 joined #minetest
08:45 jluc joined #minetest
08:51 ANAND joined #minetest
09:27 ANAND_ joined #minetest
09:30 Plane joined #minetest
09:30 Plane Hi all.
09:33 nepugia hello there
09:33 Plane Hi.
10:31 Dr-Frankenstone joined #minetest
10:45 calcul0n joined #minetest
10:55 illwieckz joined #minetest
11:00 Dr_Frankenstone joined #minetest
11:21 Volgaar joined #minetest
11:38 Tux[Qyou] joined #minetest
11:44 proller joined #minetest
12:04 Dr-Frankenstone joined #minetest
12:10 Fusl joined #minetest
12:15 Dr_Frankenstone joined #minetest
12:24 scr267_ joined #minetest
12:34 lllI1I joined #minetest
12:42 MinetestBot [git] v-rob -> minetest/minetest: Add compatible, consistent coordinate system to FormSpecs. (#8524) 5e7004e https://git.io/fjoIY (2019-06-27T12:40:49Z)
12:49 Dr-Frankenstone joined #minetest
13:28 Plane joined #minetest
13:28 Plane Hi all.
13:39 Plane Hey?
13:39 Plane left #minetest
13:43 FrostRanger joined #minetest
14:05 Plane joined #minetest
14:07 illwieckz joined #minetest
14:14 twoelk joined #minetest
14:28 pauloue joined #minetest
14:40 Plane left #minetest
14:54 YuGiOhJCJ joined #minetest
15:12 illwieckz joined #minetest
15:20 benrob0329 joined #minetest
15:25 YuGiOhJCJ joined #minetest
15:25 riff-IRC joined #minetest
15:32 LoneWolfHT joined #minetest
15:35 FrostRanger joined #minetest
15:45 jluc joined #minetest
16:02 LoneWolfHT joined #minetest
17:12 Krock joined #minetest
18:03 thecrag joined #minetest
18:05 Ruslan1 joined #minetest
18:06 Pie-jacker875 joined #minetest
18:30 LoneWolfHT joined #minetest
18:32 proller joined #minetest
18:33 ssieb joined #minetest
18:34 nepugia joined #minetest
18:45 Pie-jacker875 joined #minetest
18:54 Sketch2 joined #minetest
19:13 orwell96_mt joined #minetest
19:15 Pie-jacker875 joined #minetest
19:15 Fixer_ joined #minetest
19:22 catspar joined #minetest
19:23 Pie-jacker875 joined #minetest
19:30 Piejacker875 joined #minetest
19:34 MinetestBot [git] Calinou -> minetest-mods/mesecons: Optimize images (#464) 8baa789 https://git.io/fjoGI (2019-06-27T19:33:11Z)
19:37 Daisae joined #minetest
19:38 Daisae What is the name of the FLOSS game similar to minetest and implemented in Java?
19:40 VanessaE no idea there
19:40 nepugia i know about the rust one
19:40 VanessaE terasology maybe?
19:40 nepugia the alternatives to site usually lists similar projects nicely
19:44 Pie-jacker875 joined #minetest
19:53 sfan5 nepugia: if you have problems with server announcing, tcpdump is very useful for debugging
19:53 sfan5 also your firewall's log to see if it has dropped anything
19:54 nepugia It probably dropped something, it would be usefull to have actuall documentation on what ports minetest wants
19:54 nepugia and usefull if the server log sais if it even tried to announce it
19:54 sfan5 it does
19:54 nepugia My log does not say that it tried, but the config sais it should
19:55 VanessaE also make sure your curl timeout is set to an appropriate value.  it's measured in milliseconds. :)
19:55 sfan5 then it didn't try, pastebin the relevant part of the config?
19:55 BuckarooBanzai5 nepugia do you have 2 options overriding each other?
19:56 nepugia i just cut down the config down to relevant parts (threw out clientside stuff), i did not add any keys
19:59 riff-IRC joined #minetest
19:59 galaxie joined #minetest
20:01 nepugia sfan5: sure, here https://gryphno.de/nep/minetest.conf
20:01 nepugia it's not a pastebin, but it should do the trick :P
20:01 sfan5 >serverlist_url = v6.servers.minetest.net
20:01 sfan5 here's your problem
20:01 nepugia how so?
20:02 sfan5 that domain has not existed for 5 years and was removed from documentation 1 year ago
20:03 nepugia i have got an old doc file then? which adress should i use instead?
20:04 sfan5 the default value
20:04 nepugia well, i don't know it, should i just remove the key
20:04 VanessaE which is to say, omit that setting entirely, right?
20:05 Pie-jacker875 joined #minetest
20:05 sfan5 yes
20:07 nepugia is the serverlist reachable via ipv6?
20:09 sfan5 yes and that requires no special configuration on your side
20:11 nepugia in any case, log still has no mention of the serverlist
20:17 Daisae VanessaE: Yes, I was thinking of Terasology. Thanks.  nepugia. What is the Rust one?
20:17 nepugia Daisae: the name escapes me atm :/
20:17 Calinou Steven
20:18 Calinou https://github.com/Thinkofname/steven
20:18 nepugia that is not the one i ment, but also seems interesting
20:22 Pie-jacker875 joined #minetest
20:24 nepugia sfan5: it certainly isn't my firewall, disabled that to test and there is still no mention of the serverlist in the log
20:24 sfan5 ok there's a lot more wrong with your config
20:25 sfan5 bind_address is ipv6 but ipv6_server is false
20:25 nepugia ipv6 works just fine though
20:25 sfan5 also no ipv4 clients will be able to connect if you set bind_address like this
20:26 nepugia that settings sais "ignore if bind_adress is set" and it isnt even uncommented
20:26 nepugia so i ignored it too
20:27 sfan5 hm, yes that looks like it should still work
20:27 nepugia not sure what that would have to do with the serverlist, unless the option 'server_announce = true' is mispelled the assertion that it writes in the log when it tries to contact the server doesn't seem to hold true
20:28 LoneWolfHT joined #minetest
20:28 nepugia the server runs fine, just isn't on the serverlist anyhow
20:28 sfan5 have you confirmed whether it actually does announce using tcpdump?
20:29 nepugia no, i don't really know how either
20:29 sfan5 run tcpdump -nn 'port 80' in a separate terminal session, then restart minetestserver and check the output
20:29 nepugia why would it announce but not write it in the log though?
20:30 nepugia doesn't seem likely to me
20:30 nepugia i can check though sure
20:30 Fixer joined #minetest
20:31 nepugia nope, nothing on port 80
20:31 sfan5 it isn't announcing, then
20:31 sfan5 the problem is somewhere between your config file and minetest
20:31 nepugia yea.. which was my initial problem ;)
20:32 nepugia is server_announce not the correct setting then?
20:32 sfan5 no it's correct
20:32 sfan5 how do you start minetestserver?
20:33 nepugia I don't understand the question? there is only one way to execute elf files
20:33 sfan5 "do you invoke it with any arguments?"
20:33 nepugia only --config /var/minetest/minetest.conf
20:34 sfan5 ok assuming the path is correct, that leaves only one thing: you compiled minetest without curl
20:35 nepugia could be
20:40 nepugia sfan5: thanks
20:48 Pie-jacker875 joined #minetest
20:54 nepugia hmm, i can't use --terminal without an admin account set, what is that about .-.
20:54 sfan5 the commands entered in the ncurses terminal run under the admin account set in the config
20:55 nepugia so, create one called "server" i guess?
20:55 nepugia can i disallow logins to an account=
20:55 sfan5 you can set an unguessable password
20:55 nepugia isn't quite the same ;)
20:56 sfan5 effectively the same
20:56 nepugia return false takes less cpu cycles than doing the password routine
20:57 nepugia though i doubt that minetest tries to minimize them at all costs :D
20:57 riff_IRC joined #minetest
20:58 nowhere_man joined #minetest
21:00 YuGiOhJCJ joined #minetest
21:13 CWz_ joined #minetest
21:18 Pie-jacker875 joined #minetest
21:26 craigger joined #minetest
21:31 illwieckz joined #minetest
22:00 proller joined #minetest
22:09 emacsomancer joined #minetest
22:29 Edgy1 hello guys, anyone know how to make minetest not be an absolute pain in the ass with sound configuration changes? i have to exit minetest and restart just for turning on my headset if i expect sound to work
22:40 rubenwardy I don't have that problem
22:40 rubenwardy Sounds like something to do with the sound manager
22:41 rubenwardy If on linux, check which output it is going ti
22:41 Tuxedo[Qyou] joined #minetest
22:44 Volgaar joined #minetest
23:01 Edgy1 rubenwardy, i did, but when i change it on pulse audio i have to restart minetest so it works
23:05 rubenwardy Are you changing the programs output or the global output?
23:05 rubenwardy Sometimes they're different
23:08 twoelk left #minetest
23:15 Edgy1 rubenwardy, back
23:15 Edgy1 program's output
23:37 AidanLandBcB joined #minetest
23:39 AidanLandBcB i tried installing minetest 5 on raspberry pi with flatpak but i got an error when trying to run it any help?
23:39 AidanLandBcB pi@raspberrypi:~ $ flatpak run net.minetest.MinetestAL lib: (EE) ALCplaybackOSS_open: Could not open /dev/dsp: No such file or directory2019-06-27 16:39:24: ERROR[Main]: An unhandled exception occurred: Audio: Global Initialization: Device Open2019-06-27 16:39:24: ERROR[Main]: In thread 76f6aaf0:2019-06-27 16:39:24: ERROR[Main]: /run/build
23:39 AidanLandBcB /minetest/src/main.cpp:e2: int main(int, char**): A fatal error occurred: Audio: Global Initialization: Device Openpi@raspberrypi:~ $ flatpak run net.minetest.Minetest
23:41 nepugia why would you use oss on linux?
23:42 AidanLandBcB linux is the only thing that will run on the raspberry pi very well
23:43 nepugia no, i mean oss, open sound system
23:43 nepugia linux doesn't support any recent version they only emulate version 3 somehow
23:43 nepugia use alsa if you can (on linux anyhow)
23:43 AidanLandBcB i have no idea what your talking about im reletivly new to linux xD
23:44 AidanLandBcB everything is default settings with raspbian
23:44 nepugia that flatpak thing you have is for some reason trying to use an audio api that linux doesn't really support anymore
23:44 Sketch2 yea, use ALSA for your sound
23:44 AidanLandBcB how do i enable it?
23:44 rubenwardy AidanLandBcB: do you have a sound device
23:44 Sketch2 likely something like   sudo apt install alsa
23:45 LoneWolfHT !tell aldenp If you want to test here's a PR that should fix piston protection https://github.com/minetest-mods/mesecons/pull/466
23:45 AidanLandBcB rubenwardy: no not right now
23:45 MinetestBot LoneWolfHT: I'll pass that on when aldenp is around
23:45 AidanLandBcB is there a better way to install mt5
23:45 AidanLandBcB the version in repos is 4.15
23:45 rubenwardy That'll be the error
23:45 rubenwardy *cause
23:45 rubenwardy It's silly
23:47 AidanLandBcB i just did sudo apt-get install alsa but i get an error saying the package doesn't exist
23:48 LoneWolfHT sudo apt-cache search alsa
23:48 nepugia I doubt that you need to install anything to get alsa on debian
23:48 AidanLandBcB i just did that and got a billion results
23:48 nepugia LoneWolfHT: why are you mixxing apt and apt-* in your advice? :P
23:49 LoneWolfHT I only sent one message?
23:50 nepugia ah, my bad
23:50 LoneWolfHT AidanLandBcB Would `alsaplayer` be it?
23:50 AidanLandBcB it looks like it ill try installing it
23:51 Sketch2 no not alsaplayer.  maybe  alsa-utils   one sec, lemme look
23:51 LoneWolfHT `alsa-oss - ALSA wrapper for OSS applicationsalsa-source - ALSA driver sourcesalsa-tools - Console based ALSA utilities for specific hardwarealsa-tools-gui - GUI based ALSA utilities for specific hardwarealsamixergui - graphical soundcard mixer for ALSA soundcard driveralsaplayer-alsa - alsaplayer output module for ALSAalsaplayer-common - audio pla
23:51 LoneWolfHT yer (common files)alsaplayer-daemon - alsaplayer daemonalsaplayer-gtk - alsaplayer gtk interfacealsaplayer-jack - alsaplayer output module for JACKalsaplayer-nas - alsaplayer output module for NASalsaplayer-oss - alsaplayer output module for OSSalsaplayer-text - alsaplayer text interfacealsaplayer-xosd - alsaplayer XOSD display module`
23:52 LoneWolfHT Uploaded file: https://uploads.kiwiirc.com/files/e8bad9f0fcd91bca2ac1e9e31e95c02b/pasted.txt
23:52 LoneWolfHT There. Use the link to see
23:52 AidanLandBcB so i install all of them?
23:52 AidanLandBcB i install alsaplayer-common
23:53 LoneWolfHT No, just posting it for Sketch2
23:53 AidanLandBcB oh ok
23:55 AidanLandBcB i installed alsa i think now how do i enable it as default because i still get the same error with flatpak

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