Minetest logo

IRC log for #minetest-dev, 2017-03-19

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

All times shown according to UTC.

Time Nick Message
00:07 sofar Sokomine: have them please, please, file issues instead of relaying things through IRC
00:10 sofar Sokomine: unlikely that that mod actually crashed the server
00:10 sofar Sokomine: how would you even know?
00:10 sofar the csm doesn't send anything to the server
00:10 sofar the code runs on the client
00:14 Calinou joined #minetest-dev
00:21 Fritigern joined #minetest-dev
00:22 red-002 seems highly unlikely
00:25 red-002 great someone has already made a cheat-like mod for csm
00:26 sofar +1
00:26 red-002 we should consider only allowing loading mods sent by the server once we add them
00:26 sofar this is why in my future subgame, I will have an ore-drop method that completely makes those exploits useless
00:27 rubenwardy joined #minetest-dev
00:28 Sokomine sofar: the server owner had repeated crashes when the mod developer was online. he said he even tested the now-released clientside mod and was able to crash his server that way
00:28 sofar show me the crash logs
00:28 red-002 ^
00:28 Sokomine https://github.com/minetest/minetest/issues/5418
00:30 sofar that's just a bunch of warning messages
00:30 red-002 seems normal
00:30 sofar not a crash log
00:30 Sokomine how to create a proper crash log?
00:30 sofar a crash log is "oops, segfault"
00:30 Sokomine running with debug enabled?
00:30 sofar or "lua barfed"
00:30 sofar nope
00:31 sofar all you have there is normal server output
00:31 red-002 debugger?
00:31 sofar I dunno, repro it in a clean setting
00:33 Sokomine i'll try....
00:34 VanessaE sofar: btw, got a link to that inspector mod you use?
00:34 red-002 sofar the binary for the anticheat mod is on github not the forum
00:34 sofar oredetect crashes my client
00:34 VanessaE oops, wrong channel.
00:34 sofar but not my server
00:34 sofar VanessaE: minetest-mods/inspector
00:34 VanessaE thanks.
00:34 red-002 sofar, it's using a feature that only got merged yesterday
00:35 paramat CSM is so new a bug is not surprising
00:35 sofar red-002: in that case, github is redistributing it illegaly :)
00:35 sofar red-002: which one?
00:35 sofar the find_nodes_in_area?
00:35 red-002 yeah
00:35 sofar I have that local, I was just doing something on a diff branch
00:35 sofar uh, which pr again?
00:36 red-002 https://github.com/minetest/minetest/commit/0891975ad6c8d6d3e15b20f33b22cf5baca7eb62
00:37 sofar but that;s merged
00:41 paramat will merge game#1649 in a moment
00:41 ShadowBot https://github.com/minetest/minetest_game/issues/1649 -- Door Bugfix: Missing code in 73e4666f280804b3f4c2c0571603d717d60a2203 by Thomas--S
00:50 paramat merging ..
00:51 red-002 could someone review #4962 ?
00:51 ShadowBot https://github.com/minetest/minetest/issues/4962 -- Save the name of the world in world.mt and remove invalid characters from the directory name by red-001
00:55 paramat complete
01:56 Tmanyo joined #minetest-dev
02:07 kaeza joined #minetest-dev
02:36 paramat left #minetest-dev
02:51 VanessaE problem with current engine - /shutdown doesn't work anymore
02:51 VanessaE it throws a "shutting down" warning, and then...nothing.  the server continues to run
02:53 VanessaE that's commit b8484ef2 to be exact
02:56 VanessaE and they aren't responding to SIGINT either, but SIGTERM works
02:58 VanessaE restart (and presumably SIGINT) works fine at commit ba0a8dab
04:21 Puka joined #minetest-dev
04:53 red-001 joined #minetest-dev
05:01 Fritigern joined #minetest-dev
05:14 Puka joined #minetest-dev
06:03 proller__ joined #minetest-dev
06:31 sofar whatever happened to particle blend?
06:31 sofar did it get removed after it got merged?
06:32 sofar ohhhh, it never got merged
06:36 Hunterz joined #minetest-dev
07:41 nerzhul joined #minetest-dev
07:44 nerzhul merging #5411
07:44 ShadowBot https://github.com/minetest/minetest/issues/5411 -- Update server min protocol version to v24 by nerzhul
08:11 nerzhul with that merge: https://forum.minetest.net/viewtopic.php?f=18&t=17051 i added a warning on the forum
08:20 nerzhul celeron55, can you create me an account on dev.minetest.net (nerzhul name) please ?
08:34 nerzhul is there any coredev taking minetest group ownership on gitlab.com ?
08:34 nerzhul i cannot register it (i want to do some daily builds for MT on it for various versions), it seems someone take ownership and make it private
08:36 red-001 joined #minetest-dev
08:55 celeron55 what is the minetest group on gitlab?
08:55 celeron55 is it some kind of a mirror of the github organization
08:56 celeron55 or just a name
09:00 nerzhul i don't know it's private, but someone take it
09:01 nerzhul i would have it as a mirror of our repository permitting to do many snapshot builds artifacts for debian/ubuntu and more using the gitlab ci, but it seems the namespace has been taken
09:04 nerzhul maybe i should ask gitlab support to tell me what is it in our name, because somebody take our software name
09:04 nerzhul what do you think about it celeron55 ?
09:06 celeron55 do they have a policy for doing something in cases like this?
09:08 nerzhul i can just ask for support, they are reactive
09:09 YuGiOhJCJ joined #minetest-dev
09:09 celeron55 well, go ahead
09:13 nerzhul i asked them using their support portal, waiting for it
09:34 juhdanad joined #minetest-dev
09:37 Dargod joined #minetest-dev
09:51 juhdanad joined #minetest-dev
10:01 kaeza Minetest should add Whitespace for modding API
10:01 proller__ joined #minetest-dev
10:01 VanessaE nah, brainfuck
10:02 juhdanad What is Whitespace?
10:02 kaeza https://esolangs.org/wiki/Whitespace
10:04 kaeza what is so "bad" about Lua anyway...
10:05 nerzhul kaeza, just lol
10:06 kaeza the good thing is that you can write mods in two languages at the same time
10:15 Krock joined #minetest-dev
10:15 Krock joined #minetest-dev
10:18 xerox123 joined #minetest-dev
10:28 proller__ joined #minetest-dev
11:11 red-001 #5133 seems to have been lost when rebasing
11:11 ShadowBot https://github.com/minetest/minetest/issues/5133 -- [CSM] Block access to the `io` library by red-001
11:12 red-001 nerzhul, ^
11:16 juhdanad joined #minetest-dev
11:18 troller joined #minetest-dev
11:21 nerzhul red-001, oh
11:22 nerzhul it was forget long time ago then
11:22 nerzhul Krock, i will keep the two commits, because they depend on each other but yes will fix code style
11:31 Krock yes, that's not what I meant. You mixed the minimap fix into a refactoring pull, that's usually not ideal
11:32 nerzhul Krock, yes, but i get some time to do it, then i do the two commits :)
11:33 nerzhul red-001, re-pushing the missed commit... thanks for notice it
11:34 nerzhul red-001, pushed
11:41 troller joined #minetest-dev
11:57 troller joined #minetest-dev
12:18 nerzhul merging #5422
12:18 ShadowBot https://github.com/minetest/minetest/issues/5422 -- Refactor Game class (part 2) by nerzhul
12:20 Lunatrius joined #minetest-dev
12:21 troller joined #minetest-dev
12:24 Krock nerzhul, could you please look on #5340 again? I'm not sure what you would like to have there
12:24 ShadowBot https://github.com/minetest/minetest/issues/5340 -- Add fading sounds by SmallJoker
12:27 nerzhul i did a second pass
12:28 Krock thank you :)
12:30 troller joined #minetest-dev
12:31 Fixer joined #minetest-dev
12:37 nerzhul Fixer, i did a callgrind
12:38 Fixer nerzhul: results?
12:38 nerzhul draw_scene take 8% of MT run usage
12:38 nerzhul minimap::draw is 6% of all MT usage
12:38 nerzhul 3.68% is blitMinimapPixels and 1.24% copyToScaling
12:49 nymeven joined #minetest-dev
12:52 nymeven Hi, which libraries Minetest uses? (SFML / other) ?
12:52 nerzhul nymeven, look at readme.md
12:52 nymeven ok
12:52 nerzhul no sfml, irrlicht for rendering
12:53 nymeven ok :p
12:53 nerzhul Fixer, i don't see know we can improve minimap performance atm
12:53 Fixer its ok
12:54 Fixer i'm using it raraly anyway for mapping purposes, it decreases fps quite a lot, especially with sleep 15ms patch
12:54 juhdanad Maybe there are a lot of pixels off-screen that should not be rendered?
12:54 nerzhul juhdanad, i don't think, because bliMinimap take image size, i should look at it to ensure it's too high or not
12:59 nerzhul minimap has 75% of the draw_scene cost, it's high
13:01 twoelk joined #minetest-dev
13:03 proller__ joined #minetest-dev
13:03 Fixer maybe it renders too much stuff? too much resolution?
13:04 nerzhul mapsize is from 0 to 256x256 depending on distance
13:05 nerzhul if there is a permanent fps drop maybe it's loaded everytime
13:08 proller__ joined #minetest-dev
13:09 nerzhul i'm working on returning some constref to prevent some memory copy and unroll some things, but it's very tiny optimisations
13:09 nerzhul and when minimap is not shown minimap is not drawed
13:10 juhdanad nerzhul: could you dismiss your review from #5407, if you have some time?
13:10 ShadowBot https://github.com/minetest/minetest/issues/5407 -- Hardware coloring for item stacks by juhdanad
13:11 nerzhul juhdanad, i worked on many things today, and i can just review your code quality as i'm not very competent for this feature
13:12 Krock now I see why brandon stopped developing that pull. Backwards compability is pita here
13:13 juhdanad nerzhul: no problem, of course you don't have to review any pulls. I just thought that a 'changes requested' review discourages developers from reviewing.
13:14 nerzhul you fixed it ?
13:14 juhdanad Yes, I did.
13:14 juhdanad (as you can see, the diff is outdated)
13:17 nerzhul code quality review done
13:19 troller joined #minetest-dev
13:20 juhdanad Thank you very much! Some day I will learn code style, I hope... Do you know any software that can check my code quality before I send it?
13:20 nerzhul experience ?
13:21 nerzhul in fact for structures greater that 32 bits use const ref for non temporary objects which are const
13:21 juhdanad But video::SColor is 32 bits long!
13:21 nerzhul example, std::string toto = settings.get("tutu"); you don't modify toto, and settings object is not removed during your variable usage
13:22 nerzhul looking for this more carefuly, as i'm working on it with minimap
13:22 lisac joined #minetest-dev
13:22 nerzhul you are right, dismiss my comment for scolor
13:23 nerzhul SColorf is not the case just scolor
13:23 juhdanad Now I've got to go! Goodbye and thank you!
13:23 nerzhul no problem
13:28 IRCFrEAK joined #minetest-dev
13:28 IRCFrEAK left #minetest-dev
13:31 troller joined #minetest-dev
13:33 Fixer nerzhul: usually i cap my fps at 90, turning on minimap lowers it to about 70, with that antijitter patch I need to use it goes to 60 or even lower
13:36 nerzhul sfan5, sofar nore celeron55 Zeno` ShadowNinja and forum moderators what do you think about having a new section for client mods, to prevent misunderstood/mixed mods sections ?
13:37 sfan5 sounds useful
13:41 troller joined #minetest-dev
13:42 Krock too early right now but later definitely useful
13:43 celeron55 There needs to be a place for them when someone wants to post one
13:44 nerzhul Krock, i don't think, also it permits to promote to modders which doesn't read github that there is it :)
13:45 celeron55 maybe a "misc mods" section, for anything that isn't a standard server mod
13:45 celeron55 then split it more over time?
13:45 Krock hmm.. "misc" sounds a bit unclear
13:46 nerzhul yeah, we only have client or server, you cannot really create a two sided mod
13:47 Fixer found a bug :}
13:48 Fixer nerzhul: if I enable CSM and log to server I seen round empty minimap
13:49 Fixer newest engine
13:49 Fixer could be square too
13:49 Fixer random
13:49 nerzhul it's not a bug, it's just preview mod
13:50 nerzhul :p
13:50 Fixer ah o_O
13:50 Fixer this? https://i.imgur.com/FzO5mwg.png
13:50 nerzhul Fixer, strange
13:50 nerzhul i don't have this behaviour and i have them enabled
13:50 Fixer nerzhul: when I run it with CSM enabled - there no such problem with it
13:51 Fixer nerzhul: before
13:51 nerzhul what action did you do ?
13:51 Fixer just login into server
13:51 Fixer compiled new mt, enabled CSM again, installed two other mods, logined to server*
13:52 nerzhul i don't have your behaviour
13:52 Fixer nerzhul: i removed preview mod and now it is ok
13:52 nerzhul okay then it's the api usage, i don't see exactly what can happen we have same Lua :)
13:53 Fixer nerzhul: login to Hometown server, maybe it will show up, i also have minimap_shape_round = false in config
13:54 nerzhul oh maybe it's due to config then
13:55 nerzhul invalid image on minimap is shown when i logged to your server
13:55 Fixer thats not my server though
13:56 Fixer any way to get list of CSM running mods via ingame chat?
13:56 YuGiOhJCJ joined #minetest-dev
13:56 nerzhul atm not
13:57 Fixer and list of commands I can use - anyone needs that too, stuff that show ups on /help
13:58 nerzhul Fixer, for /help it's not simple, as if we catch /help /help for server will not work
13:58 nerzhul maybe we should use . instead of / on client side
14:12 Fixer nerzhul: https://i.imgur.com/0ZjRO37.png
14:13 nerzhul Fixer, i don't know where does it comes from
14:13 Fixer nerzhul: cleared config, enabled CSM, preview mod back - start singleplayer, square minimap was on in nightvision mod, turned it off, restart game, and then see this pic above with warning ^^
14:13 nerzhul Fixer, maybe you can fix prview mod itself, we do a wrong API usage :p
14:14 Fixer nerzhul: it is preview mod bug?
14:14 nerzhul i think we do a wrong API usage in it, we call every call but maybe not in the right order :)
14:16 red-001 yeah it might be a good idea to use // \ or . for client-sided mods
14:16 nerzhul . sounds better than double slash which is alread used and \ is anoying on some keyboards
14:17 red-001 / is in use?
14:17 red-001 // is in use?
14:17 red-001 dame you irc
14:17 nerzhul worldedit if i remember, and it's better to have a first char instead of two
14:17 Fixer nerzhul: i will file a bug anyway
14:18 red-001 it might make sense to add a keybinding for . then
14:18 red-001 we have one for /
14:20 proller__ joined #minetest-dev
14:25 nerzhul oh i found an interesting unrolling optimization on updateFastFaceRow
14:25 proller__ joined #minetest-dev
14:25 nerzhul a TileInfo construction/destruction take 1.8% of the global CPU
14:26 nerzhul it's a huge object, each loop interval cost many in construction & destruction
14:41 proller__ joined #minetest-dev
14:43 est31 left #minetest-dev
14:47 nerzhul FYI weblate is not affected by signed commits, est31 gave me rights and it works perfect
14:49 Megaf joined #minetest-dev
14:53 proller__ joined #minetest-dev
14:57 Megaf_ joined #minetest-dev
15:00 Megaf_ joined #minetest-dev
15:00 Megaf_ left #minetest-dev
15:00 Megaf_ joined #minetest-dev
15:01 Megaf_ VanessaE: sfan5: What am I doing wrong? http://termbin.com/b3ey
15:01 sfan5 -O3 is probably equivalent to -O3
15:02 sfan5 uh
15:02 sfan5 s/O3/Ofast/
15:08 Megaf_ joined #minetest-dev
15:09 Megaf_ ok, will try -O0 to see if there's any change
15:18 Megaf same binary size with -O0
15:18 Megaf maybe some cmake thing is overwriting the flags?
15:32 * Megaf going for export FLAGS="-march=native -mtune=native -O3 -pipe -msse -msse2 -msse3 -mmmx -m3dnow" && export CXXFLAGS="$FLAGS" && export CFLAGS="$FLAGS" && CC=gcc CXX=g++ cmake ../ -DCMAKE_C_FLAGS="$FLAGS" -DCMAKE_CXX_FLAGS="$FLAGS" -DRUN_IN_PLACE=1
15:33 Megaf Perhaps a bit redundant, but still.
15:33 sfan5 those -m flags are useless if you have -march=native
15:34 Megaf ok,
15:34 est31 joined #minetest-dev
15:34 sfan5 also -march=native pretty much implies -mtune=native
15:34 Megaf I added mtune just in case
15:34 sfan5 no that's not how computers work
15:34 sfan5 generally just because you saw those flags somewhere on the internet does not mean you should use them
15:35 Megaf well, so far it seems to be ignoring my flags, always generating the same binary size
15:35 Warr1024 joined #minetest-dev
15:35 Megaf also, I'd like some feedback from the compiler/binary to know what flags were actually used
15:35 sfan5 run make V=1
15:35 Megaf what's V=1?
15:36 sfan5 verbose
15:37 proller__ joined #minetest-dev
15:39 Megaf Ok, thanks.
15:40 Megaf well, march=native made a different binary, 8060304 bytes
15:58 red-001 joined #minetest-dev
16:06 Krock !tell paramat [refactor content_mapblock] One comment saying "spaces around all / in your code" would already be sufficient :/
16:06 ShadowBot Krock: O.K.
16:08 niamh joined #minetest-dev
16:11 XtremeHacker joined #minetest-dev
16:16 proller__ joined #minetest-dev
16:27 troller joined #minetest-dev
16:29 troller joined #minetest-dev
16:33 troller joined #minetest-dev
16:35 nymeven joined #minetest-dev
16:38 Megaf sfan5: I'm pretty happy now with this. export FLAGS="-march=native -mtune=native -O3 -pipe" && export CXXFLAGS="$FLAGS" && export CFLAGS="$FLAGS" && CC=clang CXX=clang++ cmake ../ -DCMAKE_C_FLAGS="$FLAGS" -DCMAKE_CXX_FLAGS="$FLAGS" -DRUN_IN_PLACE=1
16:40 kaeza joined #minetest-dev
16:44 troller joined #minetest-dev
16:55 Megaf hm, on latest master server is not shutting down with ctrl c on console nor with /shutdown
16:55 Megaf 2017-03-19 16:49:34: ACTION[Server]: Megaf leaves game. List of players:
16:55 Megaf ^C2017-03-19 16:49:37: [Main]: INFO: signal_handler(): Ctrl-C pressed, shutting down.
16:55 Megaf 2017-03-19 16:51:35: ACTION[Server]: Megaf [127.0.0.1] joins game.
16:56 Megaf 2017-03-19 16:53:46: ACTION[Server]: Megaf shuts down server
16:56 Megaf 2017-03-19 16:53:56: ACTION[Server]: Megaf places node default:wood at (6,21,1)
16:56 Megaf see?
16:56 Megaf server still running
16:58 kaeza Megaf, VanessaE reported the same earlier
16:59 Megaf 22:51:12 <VanessaE> maybe he's still trying to build the perfect RaspPi client ;)
16:59 Megaf I think that would be possible now a days
16:59 Megaf too bad I don't have USB keyboard/mouse nor screen to do tests
16:59 Megaf 16:58:33 <kaeza> Megaf, VanessaE reported the same earlier
16:59 Megaf I missed that
17:00 kaeza http://irc.minetest.net/minetest-dev/2017-03-19#i_4834071
17:00 kaeza not sure if there's an issue on GH
17:02 Megaf kaeza: I think nobody read her
17:02 Megaf =/
17:02 Megaf VanessaE: did you open an issue already?
17:06 kaeza hm, don't have that issue
17:07 kaeza oh, wait. not updated
17:11 kaeza compiling takes forever here :/
17:12 kaeza for some reason `make` wants to rebuild everything from scratch each time I reboot
17:12 kaeza Megaf, can't reproduce here by running minetestserver
17:17 Megaf hm
17:21 numzero joined #minetest-dev
17:22 red-001_ joined #minetest-dev
17:27 kaeza oh, that was quite trivial
17:35 AntumDeluge joined #minetest-dev
17:42 octacian joined #minetest-dev
17:43 troller joined #minetest-dev
17:45 red-001_ joined #minetest-dev
17:45 red-001_ joined #minetest-dev
17:52 YuGiOhJCJ joined #minetest-dev
17:59 johnnyjoy left #minetest-dev
18:08 numzero joined #minetest-dev
18:17 numzero joined #minetest-dev
18:28 troller joined #minetest-dev
18:44 paramat joined #minetest-dev
18:45 paramat can anyone look at #5388 ? tested and works well
18:45 ShadowBot https://github.com/minetest/minetest/issues/5388 -- Map gen limit: Rewrite by paramat
18:49 proller__ joined #minetest-dev
18:54 Krock paramat, 1) rebase   2) is this now per-world? I don't think so
19:01 Krock nerzhul, actually I meant changing it to "floatToInt((*i)->parent_node->getPosition()" but whatever
19:09 Megaf Common guys. https://github.com/minetest/minetest/pull/3739
19:10 Megaf rebase, check and meger ;)
19:10 Megaf merge*
19:10 sfan5 that sound like it'd need a full rebase
19:10 nymeven Just a simple question, when you developp Minetest, you are on which OS? Linux? Windows? Mac OS X ? :p
19:10 sfan5 full meaning its quite some work
19:10 Megaf[m] joined #minetest-dev
19:11 Megaf[m] heh
19:11 Krock nymeven, all of them on Linux but me :P
19:11 Megaf nymeven: myself on Debian Linux
19:11 Megaf usually
19:11 Megaf sometimes on macOS
19:12 Megaf but Debian is definitely easier to use
19:12 nymeven I'm on Debian ^^
19:12 nymeven I'm trying to learn C++ and use Irrlicht in order to contribute to Minetest :p
19:12 Megaf[m] no need to know C
19:13 Megaf[m] I don't even know Lua, nor anything
19:13 Megaf[m] yet I'm a contributtor
19:13 Megaf[m] somehow
19:13 Megaf[m] moreoften than not i'm just a troll, yet they feed me
19:14 paramat no per-world comes later
19:14 Megaf Now, seriously speaking, everybody is welcome to come and help :)
19:15 Megaf keep an eye in our forums and another eye on github
19:15 Megaf pick some bugs you want to follow, help debug, confirm bugs, and so on
19:15 paramat will rebase
19:16 Megaf paramat: speaking about #3739 ?
19:16 ShadowBot https://github.com/minetest/minetest/issues/3739 -- Add support for Mumble positional audio by ShadowNinja
19:16 celeron55 it takes some skill to look at two different pages with each eye, but we're already used to it
19:16 Megaf indeed
19:16 celeron55 don't turn on your webcam while doing it
19:18 paramat no i was referring to my own PR
19:18 Krock paramat, what about falling entities on the bottom world border?
19:18 Megaf paramat: oh
19:18 proller__ joined #minetest-dev
19:19 Krock celeron55, nice feature you've got there? I believe I must patch my eyes somewhen ;)
19:19 Krock s/?/!/
19:21 paramat that's a separate problem. objects need to be allowed beyond the set limit because admin will sometimes reduce the limit, but when doing this previously generated world beyond the limit remains visible and playable. limiting objects to within the set limit is what caused so many of the bugs i have been fixing recently
19:23 Krock ah
19:23 paramat nerzhul is #5227 good now? it would be good to get this merged soon as it's delaying lots of work
19:23 ShadowBot https://github.com/minetest/minetest/issues/5227 -- Refactor content_mapblock by numberZero
19:24 paramat essentially hmmmm was right when he wrote that only the mapgen should be limited, nothing else, and that's what i've done
19:46 numzero joined #minetest-dev
19:49 Remy joined #minetest-dev
19:58 Megaf joined #minetest-dev
20:05 paramat #5388 rebased
20:05 klmmlk joined #minetest-dev
20:05 ShadowBot https://github.com/minetest/minetest/issues/5388 -- Map gen limit: Rewrite by paramat
20:05 klmmlk hi everybody.
20:05 klmmlk I'm trying for the first time to compile minetest git.
20:05 klmmlk But I have the error : /usr/bin/ld: /usr/local/lib/libcurl.a(libcurl_la-ssluse.o): référence au symbole non défini «SSL_get_verify_result@@OPENSSL_1.0.0»
20:05 klmmlk Am on Ubuntu
20:06 klmmlk 15.10
20:06 red-001_ install curl
20:07 red-001_ if you haven't yet
20:07 klmmlk I've tryed libcurl OPENSSL flavor, and GNUTLS flavors. The dev libs are installed.
20:07 klmmlk every curl-libs related or curl stuff is installed.
20:07 klmmlk versions 3 and version 4.
20:07 red-001_ did you read http://dev.minetest.net/Compiling_Minetest ?
20:08 klmmlk yes, of course. twice ;D
20:09 red-001_ well I think you can disable curl with -DENABLE_CURL=0
20:09 Megaf[m] klmmlk: Hi
20:09 klmmlk Hi Megaf
20:09 klmmlk collect2: error: ld returned 1 exit status
20:09 red-001_ not really a fix but should bypass the issue
20:09 Megaf[m] klmmlk: apt install build-essential libirrlicht-dev cmake libbz2-dev libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev
20:09 Megaf[m] that will do
20:10 Megaf[m] then, cd minetest/build
20:10 Megaf[m] cmake ../
20:10 Megaf[m] make -j $(nproc)
20:11 klmmlk wrong path i think.
20:11 klmmlk make must be run from root
20:12 klmmlk not from build
20:12 Megaf[m] nope
20:12 Megaf[m] you can make from wherever you want
20:12 Megaf[m] cmake will point the correct path
20:12 Megaf[m] if you minetest is in your home folder, then cmake ~/minetest
20:13 Megaf[m] I like running make inside /dev/shm
20:13 Megaf[m] cd /dev/shm/ && cmake ~/Downloads/minetest && make -j $(nproc)
20:13 Megaf[m] for example
20:14 Megaf[m] klmmlk: ^
20:14 klmmlk in your case, the root minetest directory is shm and you run make from the root project. if you cd in the build sub-dir, it won't work.
20:15 klmmlk no, sorry.
20:15 Megaf[m] man, you are having troubles, not me.
20:15 Megaf[m] I'm telling you, it does not matter where you run make on Minetest. What matters is that you run cmake pointing it to where you downloaded minetest
20:16 klmmlk if I run make in the build directory, even after running cmake from the same directory, it don't work. make speak me about no target.
20:16 Megaf[m] the place where the game will be installed depend if you us the flag -DRUN_IN_PLACE=1 or not.
20:16 Megaf[m] ok, so from the build directory, try cmake ../
20:17 Megaf[m] as normal user, not root
20:17 Megaf[m] klmmlk:
20:17 klmmlk it's what I have doed.
20:17 klmmlk pwd: /home/mael/projets/minetest/build
20:17 klmmlk cmake ../
20:17 klmmlk make
20:17 klmmlk make: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Arrêt.
20:18 klmmlk (french preople...)
20:18 Megaf[m] wait
20:18 klmmlk waiting...
20:18 klmmlk ;D
20:19 Megaf[m] I will show you step by step, just give me 5 minutes
20:19 sofar can you discuss in #minetest?
20:19 klmmlk thnak you very much for your time.
20:19 Megaf[m] sofar: Yes we can
20:19 Megaf[m] klmmlk: lets talk about it on #Minetest
20:20 klmmlk about compiling the dev version ?
20:20 klmmlk or because it is not about developping but only about compiling ?
20:21 betterthanyou710 joined #minetest-dev
20:23 red-001_ what do you think of the system used by #4577 to transfer mods?
20:23 ShadowBot https://github.com/minetest/minetest/issues/4577 -- Client-side mods by duckbrain
20:28 Megaf joined #minetest-dev
20:33 nymeven joined #minetest-dev
20:34 Megaf left #minetest-dev
20:34 Megaf joined #minetest-dev
20:35 nymeven_ joined #minetest-dev
20:42 proller joined #minetest-dev
20:49 proller__ joined #minetest-dev
20:53 paramat #5429
20:53 ShadowBot https://github.com/minetest/minetest/issues/5429 -- Climb speed: Increase to 3.5n/s by paramat
20:58 proller joined #minetest-dev
21:03 nerzhul paramat, sorry i was absent, looking
21:04 paramat no problem :]
21:07 _god_ joined #minetest-dev
21:07 _god_ left #minetest-dev
21:08 nerzhul code quality is good, and it fixes some point i enhanced in a PR i did today, i didn't test it because it's very complexe but i sounds nice
21:34 paramat will merge game#1634 game#1636 game#1651 in 30 mins
21:34 ShadowBot https://github.com/minetest/minetest_game/issues/1634 -- Screwdriver: simplify logic, allow wallmounted rotation. by sofar
21:34 ShadowBot https://github.com/minetest/minetest_game/issues/1636 -- Fix books backwards compatibility issues by octacian
21:34 ShadowBot https://github.com/minetest/minetest_game/issues/1651 -- Flora spread: Generalise, allow spread on rainforest litter by paramat
21:47 paramat so i assume after another test of 5227 it could be merged? maybe i'll test it ..
21:52 ssieb joined #minetest-dev
21:57 Jacky joined #minetest-dev
21:59 kilbith joined #minetest-dev
22:07 Fixer smth interesting about new leave decay https://github.com/minetest/minetest_game/issues/1656
22:10 paramat seems expected
22:13 Fixer paramat: it is not exactly a bug, but are there any workarounds?
22:14 Fixer paramat: you can grow 1 wood size tree, and nothing will decay iirc
22:14 Fixer don't ask why
22:14 Fixer just because I can
22:14 Fixer soo weirdos will need to take down leaves manually
22:15 Fixer i will leave it for some time for discussion and then will probably close
22:16 paramat ok
22:16 paramat i don't know of any simple lightweight workarounds
22:17 paramat apart from adding trunk nodes near the leaves and removing them again
22:17 Fixer lol
22:18 Fixer hacky
22:18 Fixer paramat: not good, will cause mesh updates
22:18 paramat well it's easier for players than digging all the leaves
22:18 Fixer paramat: what about adding imaginary wood? even if it is blocked, leaves are registered %)
22:19 paramat i mean that's what players can do
22:20 paramat there's no point making the code complex for a rare and minor inconvenience :]
22:20 red-001 could someone review #4468 ?
22:20 ShadowBot https://github.com/minetest/minetest/issues/4468 -- Load textures from the subfolders in texturepacks. by red-001
22:34 proller__ joined #minetest-dev
22:37 troller joined #minetest-dev
22:42 rubenwardy joined #minetest-dev
22:47 VanessaE HDX could benefit from that ^ but then I'd have to rewrite my scale-textures script :P
23:49 red-001 well I doubt it will get merged any time soon
23:50 red-001 we should just rename nayncat to censorship cat or something an be done with this
23:52 red-001 arguing over whatever a patent troll will try to sue is pointless
23:52 red-001 s/patent/trademark
23:52 red-001 but thats just my option

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