Minetest logo

IRC log for #minetest, 2020-09-22

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

All times shown according to UTC.

Time Nick Message
01:08 NathanS21 joined #minetest
01:24 tuedel joined #minetest
01:38 Hawk777 joined #minetest
01:46 IronOxidizer[m] Anyone know what's causing my build to fail? https://pastebin.com/raw/QNX3GrTq
02:06 Corey[m] You have quite a few missing dependencies
02:07 Corey[m] gettext, freetype, curses, sqlite
02:07 Corey[m] to name a few, probably more after you install those and run the build again
02:12 IronOxidizer[m] Are they all needed? I thought sqlite wasn't needed when using postgres
02:20 Corey[m] I think you need at least gettext and curses, if you compile server only you should be able to skip freetype, sqlite can be disabled by flag 'I think', if not, you'll just have to install that as well
02:25 Fusl joined #minetest
03:41 shangul joined #minetest
03:52 milkt joined #minetest
05:18 scr267 joined #minetest
06:06 deltanedas joined #minetest
06:51 FeXoR joined #minetest
06:59 mizux joined #minetest
07:22 est31 joined #minetest
07:51 deltanedas joined #minetest
08:00 ShadowNinja joined #minetest
08:02 ssieb joined #minetest
08:19 deltanedas joined #minetest
08:22 Flabb joined #minetest
09:07 calcul0n joined #minetest
09:10 ssieb joined #minetest
09:11 proller joined #minetest
09:21 dievri joined #minetest
09:27 sfan5 IronOxidizer[m]: sqlite is needed since it's also used for other things, most other things are optional (but strongly encouraged)
09:28 sfan5 are you trying to build just minetestserver?
09:32 deltanedas joined #minetest
09:34 dievri Hello. I writing custom auth handler. I'm testing get_auth function and Minetest keep constantly calling this function. How can I stop minetest from doing this?
09:35 sfan5 why would you not want that?
09:37 SwissalpS joined #minetest
09:38 dievri i make requests in this function, which is time consuming
09:38 sfan5 then you need to cache the data
09:41 dievri ok, I will do that)
09:58 panwolfram joined #minetest
10:06 Fixer joined #minetest
10:08 calcul0n_ joined #minetest
10:25 deltanedas joined #minetest
10:54 deltanedas joined #minetest
11:07 proller joined #minetest
11:36 IronOxidizer[m] sfan5: I'm trying to only build the client with GL ES 2.0
11:39 proller joined #minetest
11:52 sfan5 it's a good idea to install gettext and openal then
11:54 IronOxidizer[m] Yeah, I installed those things. I'm having issues linking now. Irrlicht builds successfuly, but when building minetest, the first part is fine, but at link time, it fails cause of many undefined references in irrlicht to gl**** functions
11:54 sfan5 did you make sure to build the gles branch of irrlicht?
11:54 IronOxidizer[m] Which is weird cause I have all libs (so) needed
11:54 IronOxidizer[m] Yeah
11:55 sfan5 can you pastebin the build output?
11:55 * IronOxidizer[m] sent a long message:  < https://matrix.org/_matrix/media/r0/download/matrix.org/AqneoaLYOUpSXtKCscAYfvAe/message.txt >
11:58 IronOxidizer[m] 1s, I have to clean build. This is gonna take a while. I'll ping u after
12:01 Verticen joined #minetest
12:02 sfan5 copying OpenGL-Registry headers into irrlicht is a red flag for me
12:02 sfan5 does alpine not have those headers in the repo?
12:03 sfan5 also here's what I did last time to compile with gles: https://github.com/minetest/minetest/issues/9829#issuecomment-626008400
12:05 IronOxidizer[m] Alpine has all the headers except for GLES 1.0
12:06 sfan5 same on arch, you can disable the ogles1 build in irrcompileconfig.h
12:06 IronOxidizer[m] Yeah, I'll try that out.
12:11 IronOxidizer[m] Where is that file? `find` turns up nothing when looking for it lol
12:13 IronOxidizer[m] Nvm
12:14 proller joined #minetest
12:17 deltanedas joined #minetest
12:35 milkt joined #minetest
12:41 deltanedas joined #minetest
12:52 * IronOxidizer[m] sent a long message:  < https://matrix.org/_matrix/media/r0/download/matrix.org/AvkcyoHRujtpBTJxHETsycaF/message.txt >
12:53 sfan5 no thats just egl
12:54 sfan5 but the path is wrong so you need to replace it with <EGL/egl.h>
12:54 IronOxidizer[m] Yeah.
13:04 lisac joined #minetest
13:22 deltanedas joined #minetest
13:34 MDude joined #minetest
13:37 deltanedas joined #minetest
13:39 kamdard joined #minetest
13:44 IronOxidizer[m] sfan5: https://pastebin.com/raw/KDaskuMZ
13:44 IronOxidizer[m] Disabled GLES1, still no luck
13:44 sfan5 those symbols should be in libglesv2 is it linking that?
13:45 sfan5 you can check ./src/CMakeFiles/minetest.dir/link.txt
13:48 Taoki joined #minetest
13:51 IronOxidizer[m] https://pastebin.com/raw/i0Zvt32g
13:51 IronOxidizer[m] It's there
13:59 sfan5 ¯\_(ツ)_/¯
14:15 IronOxidizer[m] Maybe the people at #irrlicht might have an idea
14:16 rubenwardy ha, what people
14:16 rubenwardy :)
14:16 rubenwardy The Irrlicht forums are a better bet, CuteAlien answers questions there
14:17 MTDiscord <a​utomaton> CuteAlien?
14:54 est joined #minetest
15:13 deltanedas joined #minetest
15:23 Verticen joined #minetest
15:29 AndDT joined #minetest
15:37 proller joined #minetest
15:46 rubenwardy The Irrlicht maintainer
15:52 MTDiscord <a​utomaton> ah, i see, ty
16:07 Lunatrius joined #minetest
16:08 AndDT joined #minetest
16:12 behalebabo joined #minetest
16:25 proller joined #minetest
16:26 jas_ joined #minetest
16:31 Bombo joined #minetest
16:31 Bombo hi
16:31 MTDiscord <a​utomaton> hi
16:32 IronOxidizer[m] Thanks for the help
16:33 Bombo i just installed minetest-server on localhost and am connected to it with the client, but it's all dark i seem to be in a hole
16:34 Krock Bombo: /grantme all
16:35 Krock hit HJK or whatever to enable fly and noclip
16:35 Krock you might be inside a cave where Minetest thinks it's a valid spawn surface
16:37 Bombo ok i can fly now, have settime privs, but /settime 12 didn't work 'invalid command'
16:37 Krock /time 6000
16:38 Bombo oh thx ;)
16:38 MinetestBot [git] Wuzzy2 -> minetest/minetest: Fix chat/infotext overlap if many chat lines (#10399) 55e2dd9 https://git.io/JUzFY (2020-09-22T16:38:33Z)
16:39 Bombo hm let there be light! ;)
16:40 Bombo now it's a jungle out there disorder and confusion everywhere
16:41 Bombo how do i get just a flat earth
16:41 MinetestBot [git] sofar -> minetest/minetest_game: Fix builtin item metatable (#2328) 5348d6e https://git.io/JUzFc (2020-09-22T16:39:11Z)
16:41 MTDiscord <a​utomaton> use the "flat" mapgen
16:41 MTDiscord <a​utomaton> if you dont want trees, grass adn the like, use the "no decorations" flag
16:41 Bombo in minetest.conf i set 'mg_name = flat'
16:42 Krock I wasn't in favour of adding decorations, but that's the problem here
16:42 MTDiscord <a​utomaton> then you Should have a flat world, but may have forests
16:42 Krock you gotta modify the mgflat_spflags setting
16:42 Bombo mg_flags = nocaves, nodungeons, nolight, nodecorations
16:43 Talkless joined #minetest
16:43 MTDiscord <a​utomaton> wait, what does nolight do?
16:43 Krock "light" is required to not end up in a dark world
16:43 Bombo oops ;)
16:43 Krock automaton: sunlight
16:43 MTDiscord <a​utomaton> ah, i see
16:43 Bombo mgflat_spflags = nolakes,nohills
16:44 Krock did you delete map.sqlite yet? delete generated data
16:44 Bombo can i reload the conf from the console? or i have to restart
16:44 Krock so you can check the new settings
16:44 Krock shut down minetestserver prior modifying
16:44 Krock otherwise minetestserver will overwrite your changes
16:45 Bombo minetestserver will overwrite minetest.conf?
16:45 Krock that, and map_meta.txt
16:45 Krock you should modify map_meta.txt to have per-world settings
16:45 MTDiscord <a​utomaton> oh, shouldnt there be some lock that prevents overwrites and the like while the file is "busy"?
16:45 Krock minetest.conf only applies for newly created worlds
16:45 Krock a​utomaton: perhaps yes, but Minetest does not do that yet
16:46 MTDiscord <a​utomaton> i see, ty
16:46 Krock there's also no open file handle until Minetest closes. it's only opened once for reading, and then once for writing on shutdown
16:46 Krock that might be the reason why the file is never locked
16:48 MTDiscord <a​utomaton> ah, i see,
16:51 Bombo i can't find map.sqlite anywhere
16:51 MTDiscord <a​utomaton> it should be in the "World" folder
16:52 MTDiscord <a​utomaton> it should be in the "World" folder
16:52 MTDiscord <a​utomaton> so ~/.minetest/worlds/<world name>/map.sqlite iirc
16:53 Krock what's your server's OS?
16:54 Bombo prob the game dir is /usr/share/games/minetest/games/minetest_game
16:54 Bombo linux
16:54 Bombo ubuntu
16:54 Bombo don't have ~/.minetest
16:54 Krock that's your hard-installed system files. minetest server will create a ".minetest" directory in its home path
16:54 MTDiscord <a​utomaton> it could also be in /var/games/minetest
16:55 MTDiscord <a​utomaton> if i remeber correct, it had the game files there
16:55 Bombo ah there it is /var/games/minetest-server/.minetest/worlds/world
16:55 Krock that's a weird location.. but whatever. okay.
16:56 Krock I hope you're not running it as root, though.
16:58 MTDiscord <a​utomaton> prolly sudo systemctl start
17:01 sagax joined #minetest
17:04 Bombo hm no it generates jungle
17:05 Bombo i edited /etc/minetest/minetest.conf and /usr/share/games/minetest/games/minetest_game/minetest.conf
17:05 Krock how about "nobiomes" in mg_flags ?
17:05 Krock no no. please edit map_meta.txt only
17:06 Krock minetest_game/minetest.conf must not be touched
17:06 MinetestBot [git] SmallJoker -> minetest/minetest: Settings: Fix unittest memory leak, change input types add6836 https://git.io/JUzbI (2020-09-22T17:05:04Z)
17:09 Krock Bombo: https://i.postimg.cc/MGm4WWkG/grafik.png
17:09 deltanedas joined #minetest
17:09 Krock the map generator will take the red marked file as active settings
17:09 Krock then it goes upwards if there's no such setting defined
17:10 Bombo Krock: ok
17:10 Bombo i just deleted map_meta.txt map.sqlite and restarted
17:10 Bombo seems to work ;)
17:11 Bombo now earth is flat
17:11 Krock flat earth theory confirmed
17:12 Bombo ;)
17:13 Bombo so map_meta.txt is the same settings as conf
17:13 Bombo but generated
17:13 Bombo and modified during runtime
17:14 Bombo server generates settings according to /etc/minetest/minetest.conf into map_meta.txt
17:16 Krock kinda yes
17:16 Krock it's more compliacted but that, but it'll suffice as a simple explanation
17:26 Krock !next
17:26 MinetestBot Another satisfied customer. Next!
17:29 Seirdy joined #minetest
17:29 homthack joined #minetest
17:31 Bombo ;-)
17:31 Bombo *builds*
17:32 Bombo is it true, that if you build it he will come?
17:32 dabbill joined #minetest
17:33 MTDiscord <a​utomaton> who will come?
17:43 Bombo good question ;)
17:54 jas_ "they"
17:54 jas_ if you build it, "they" will come
17:54 deltanedas joined #minetest
17:55 jas_ oh no, it is "he" ... all these years i remembered it wrong! :D
17:55 jas_ (i believe "he" was babe ruth, iirc)
17:56 MTDiscord <a​utomaton> babe ruth?
17:56 jas_ that's how i remember the movie.  let me check
17:57 Bombo some dead baseball player ;)
17:58 jas_ i'll have to re-watch this one.  i'm sticking with babe ruth, because i like that answer
18:03 submariner joined #minetest
18:04 deltanedas joined #minetest
18:08 deltanedas joined #minetest
18:10 luca_ joined #minetest
18:11 luca_ Hello! This is just me testing if this is working.
18:12 sfan5 it does
18:12 luca_ Great, thank you
18:14 Krock not working try again
18:14 MTDiscord <a​utomaton> ?
18:17 deltanedas joined #minetest
18:18 jas_ this statement is false
18:18 MTDiscord <a​utomaton> logical fallacy
18:20 jas_ the statement is affirmative
18:20 jas_ if a tree falls in the forest and no one is there to hear it, does it make a sound?
18:22 MTDiscord <a​utomaton> yes
18:22 MTDiscord <a​utomaton> yes
18:22 jas_ there is no tree
18:23 MTDiscord <a​utomaton> wait what?
18:23 jas_ ha ha
18:23 jas_ you are a delight
18:24 luca_ If a fallen tree is generated in minetest, did it really ever fall?
18:24 jas_ oooh, good one
18:24 MTDiscord <a​utomaton> no it was created fallen, ergo it never fell in its existence
18:32 Menchers joined #minetest
18:38 Bombo will the latest client be compatible with 0.4.15?
18:38 MTDiscord <a​utomaton> unlikely ig
18:39 Bombo i mean with a server 0.4.15
18:39 MTDiscord <a​utomaton> again, unlikely
18:41 sfan5 the last client version that is compatible to 0.4.15 is 0.4.17.1
18:42 sfan5 but that's already pretty old itself
18:43 Krock use 5.0 or newer pls
18:43 Krock Bombo: https://launchpad.net/~minetestdevs/+archive/ubuntu/stable
18:51 Bombo itruns on ubuntu
18:52 Bombo but i want to run a server on debian oldstable
18:52 Bombo have to compile it
18:52 rubenwardy you can try compiling it yourself
18:52 rubenwardy or ports / PPAs  (not sure how debian works with this)
18:52 rubenwardy compiling minetest is pretty easy on linux
18:57 Krock it's a hit/miss game whether PPAs run on debian
18:57 Krock debian has its backports repository
19:21 MTDiscord <a​utomaton> wait, isnt debian by nature a backport, with no updates for years?
19:23 sfan5 debian stays on the same stable version for the entire lifetime of a debian release, this doesn't mean no updates
19:23 sfan5 the "backports repository" contains newer versions of software
19:28 MTDiscord <a​utomaton> ah, i see
19:52 dievri joined #minetest
19:56 basxto joined #minetest
20:15 dievri hello. In my custom auth handler, in fuction get_auth() i'm returning password like this  password = "FAILED TO AUTHENTICATE", and still, minetest is enable player lo log in. But for the second time, player is not able to log in when this type of password is returned. What is the flow of the auth?
20:20 proller joined #minetest
20:36 proller joined #minetest
21:25 deltanedas joined #minetest
21:54 Unit193 joined #minetest
22:21 Fixer_ joined #minetest
22:24 Fixer joined #minetest

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