Minetest logo

IRC log for #minetest, 2019-07-16

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

All times shown according to UTC.

Time Nick Message
00:07 Unioll joined #minetest
00:08 turtleman joined #minetest
01:06 riff_IRC joined #minetest
01:19 nepugia_ joined #minetest
01:27 Cornelia joined #minetest
01:57 Cornelia joined #minetest
02:39 GreenDimond joined #minetest
02:43 Cornelia joined #minetest
03:04 Jordach joined #minetest
04:40 fruitsnack joined #minetest
04:46 orwell96_mt joined #minetest
05:01 est31 joined #minetest
05:11 FrostRanger joined #minetest
05:53 fling joined #minetest
06:10 CWz_ joined #minetest
07:14 Scarecrow joined #minetest
08:23 Pie-jacker875 joined #minetest
08:33 jluc joined #minetest
08:41 Edgy1 joined #minetest
09:08 YuGiOhJCJ joined #minetest
09:22 fruitsnack joined #minetest
09:30 proller joined #minetest
09:50 LMD joined #minetest
09:52 nepugia joined #minetest
10:24 Fixer joined #minetest
10:33 orwell96_mt joined #minetest
11:12 Cork joined #minetest
12:08 proller joined #minetest
12:21 riff-IRC joined #minetest
12:40 olliy joined #minetest
12:48 galaxie joined #minetest
12:51 cdde joined #minetest
12:57 olliy joined #minetest
13:18 Piejacker875 joined #minetest
13:41 olliy joined #minetest
13:42 nri joined #minetest
13:43 nri joined #minetest
14:17 tuxi joined #minetest
15:05 Methacrylon joined #minetest
15:06 Rafi59 joined #minetest
15:16 Methacrylon Hi, I made a pull request with some refactoring, adding no new feature. My PR fails on travis because of the build on MacOS taking to much time (50min). Is there something I can do about it?
15:17 Methacrylon Second question, I would like to know what are the guidelines for the documentation of code, and how I can help on this topic :)
15:20 Lone_Wolf joined #minetest
15:22 sfan5 failing macos build is not a problem
15:23 Methacrylon Ok, that's what I supposed, but thanks for the confirmation
15:23 Methacrylon What's the process to have a PR accepted?
15:24 Pie-jacker875 joined #minetest
15:33 Methacrylon I've to go, I may figure out anyway
15:55 Cornelia joined #minetest
16:00 illwieckz joined #minetest
16:04 Ruslan1 joined #minetest
16:09 Cornelia joined #minetest
16:10 festerdam joined #minetest
16:19 festerdam I'm trying to compile minetest on GNU/Linux. When I run cmake, I am informed that my gcc version is too old. I have a newer compiler installed on my system, which isn't initially in PATH, so I tried to set the CC and the CXX variables to the path of the C compiler and the C++ compiler respectively. I still received the same error messages. Then I tried to define CMAKE_C_COMPILER and CMAKE_CXX_COMPILER to the same paths as before but the
16:20 festerdam I tried to run cmake by running: cmake . -D RUN_IN_PLACE=TRUE -D CMAKE_C_COMPILER=$HOME/Software/gcc-9.1.0/bin/x86_64-pc-linux-gnu-gcc-9.1.0 -D CMAKE_CXX_COMPILER=$HOME/Software/gcc-9.1.0/bin/x86_64-pc-linux-gnu-g++
16:21 festerdam I don't know much about cmake.
16:21 nepugia did you remove the cmake cache thingy?
16:22 festerdam I did not. How do I clear it?
16:22 nepugia also, do you want to use those as enviroment variables? or as cmake thingies
16:22 Unioll joined #minetest
16:22 nepugia if they are intended to be enviroment variables they are in the wrong place
16:23 nepugia There should be a file named CMakeCache or something that can be deleted (and a folder cmake creates)
16:24 Calinou rm CMakeCache.txt
16:25 Calinou alternatively, to clean all generated files: "git clean -dfxi"
16:25 Calinou (if you cloned the repository using Git)
16:27 festerdam There was no CMakeCache.txt in the source directory but I was able to clean it with git. Now it works.
16:27 festerdam Thanks!
16:42 fruitsnack joined #minetest
16:54 DS-minetest joined #minetest
16:55 DS-minetest is somewhere documented, which exception should be used in which cases
16:55 DS-minetest ?
17:04 orwell96_mt joined #minetest
17:20 Pie-jacker875 joined #minetest
17:20 sfan5 what do you mean by that?
17:20 Rafi59 joined #minetest
17:21 DS-minetest if I want to throw an error, I have to use exceptions.h, right? are the exceptions in there somehow documented?
17:22 Wuzzy joined #minetest
17:30 sfan5 if in doubt throw a BaseException
18:29 FreeFull joined #minetest
18:31 Taoki joined #minetest
18:53 FrostRanger joined #minetest
18:59 LMD joined #minetest
18:59 dabbill_ joined #minetest
19:28 Norore joined #minetest
19:40 MinetestBot [git] paramat -> minetest/minetest: Dungeons: Make multiple large rooms possible (#8678) 458f617 https://git.io/fj1IK (2019-07-16T19:39:58Z)
19:44 MinetestBot [git] HybridDog -> minetest/minetest: Use vector.dot and vector.cross in vector.angle 4122969 https://git.io/fj1IP (2019-07-16T19:44:42Z)
19:44 MinetestBot [git] HybridDog -> minetest/minetest: Add vector.dot and vector.cross 71db715 https://git.io/fj1IX (2019-07-16T19:44:42Z)
19:50 tpe joined #minetest
19:54 Methacrylon joined #minetest
19:57 tpe I just grabbed Minetest git and built a bare server on an RPi4. Running the minetestserver binary gives me
19:57 tpe 2019-07-16 20:53:32: ERROR[Main]: Subgame specified in default_game [minetest] is invalid.
19:57 tpe 2019-07-16 20:53:32: ERROR[Main]: ServerError: Supplied invalid gamespec
19:58 tpe What am I missing?
19:58 vaid joined #minetest
19:58 Methacrylon I'm not sure, but I think your missing the minetest default game
19:58 Methacrylon Which is in a separate repo
19:59 Methacrylon https://github.com/minetest/minetest_game
19:59 tpe You know what, I should have double checked that. I DID grab minetest_game from git but it hasn't gone in the right folder.
20:00 tpe I must have cocked that up somewhere. :D
20:00 Methacrylon Ahah maybe :p
20:00 Methacrylon If you put it in games folder, you should be good
20:00 Methacrylon I'm curious how well minetest server can run an RPi, let me know :)
20:03 tpe Moved it to the right place, now says
20:03 tpe 2019-07-16 21:02:12: [Main]: Automatically selecting world at [/media/pi/Beans/minetest/../worlds/world]
20:03 tpe 2019-07-16 21:02:12: ERROR[Main]: Subgame [] could not be found.
20:03 tpe 2019-07-16 21:02:13: ERROR[Main]: ServerError: Supplied invalid gamespec
20:04 DS-minetest user_path/games
20:05 DS-minetest wait, that is the subgame ""
20:06 sfan5 you might have to fix world.mt to say minetest_game
20:07 tpe It had gameid = minetest, changing to minetest_game but still same error
20:08 sfan5 well then the problem is elsewhere
20:08 sfan5 it should say "minetest"
20:08 sfan5 but the server isn't finding it
20:09 sfan5 Methacrylon: also, while we do use clang-format running it on the entire source file makes it hard to review your changes
20:09 sfan5 please don't
20:11 Nezrok joined #minetest
20:11 tpe I'm an idiot. I was running the binary from the wrong place, working now.
20:17 riff-IRC joined #minetest
20:19 Methacrylon sfan5 yes ok, so when is used clang-format? Should I make the PR, wait for it to be accepted, and then run clang-format before merge?
20:20 sfan5 at some point, someone else will probably run clang-format to "convert" remaining files
20:20 Methacrylon Ok, I take note of it :)
20:26 MinetestBot [git] sfan5 -> minetest/minetest_game: Support for icesheet dungeons in dungeon_loot b701e50 https://git.io/fj1Lm (2019-07-16T20:26:35Z)
20:26 MinetestBot [git] sfan5 -> minetest/minetest_game: Switch dungeon type detection to biome name 3771086 https://git.io/fj1LY (2019-07-16T20:26:35Z)
20:29 Markow joined #minetest
20:36 proller joined #minetest
21:16 festerdam joined #minetest
21:16 festerdam Hi, all.
21:17 sfan5 hello
21:18 festerdam When I try to use the button "Content" > "Browse online content" in 5.0.1 I get the following error message: ERROR[Main]: https://content.minetest.net/api/packages/?type=mod&type=game&type=txp&protocol_version=37&hide=nonfree&hide=desktop_default not found (SSL connect error) (response code 0)
21:18 festerdam I tried opening it with a browser and it worked.
21:19 sfan5 operating system?
21:19 festerdam GNU/Linux
21:20 sfan5 hm that's interesting
21:20 festerdam I compiled minetest from source.
21:20 sfan5 can you curl that url from the command line?
21:21 MinetestBot [git] sfan5 -> minetest/minetest_game: Fix potential crash when few loot items are registered 1f8b489 https://git.io/fj1tT (2019-07-16T21:18:27Z)
21:21 MinetestBot [git] sfan5 -> minetest/minetest_game: Fix luacheck warning c340393 https://git.io/fj1tk (2019-07-16T21:17:14Z)
21:22 festerdam Yes.
21:26 sfan5 since minetest uses curl, either both should work or neither
21:27 festerdam if I attempt to take to connect with http instead of https, I get the following error message (minetest): ERROR[Main]: http://content.minetest.net/api/packages/?type=mod&type=game&type=txp&protocol_version=37&hide=nonfree&hide=desktop_default not found (SSL connect error) (response code 301)
21:29 festerdam If I attempt to do that with curl (connect without https) I get an html file informing me "301 Moved Permanently"
21:30 sfan5 that's expected
21:32 MinetestBot [git] sfan5 -> minetest/minetest_game: Fix potential crash when few loot items are registered 773011f https://git.io/fj1tl (2019-07-16T21:29:29Z)
21:37 festerdam When I tested with curl I did: curl https://content.minetest.net/api/packages/?type=mod\&type=game\&type=txp\&protocol_version=37\&hide=nonfree\&hide=desktop_default > test.txt
21:38 festerdam In case if the arguments I gave to curl matter.
21:38 sfan5 no that should be fine
21:45 Unioll joined #minetest
21:56 festerdam joined #minetest
22:03 Blue0Tech joined #minetest
22:04 festerdam I seem to be able to connect to multiplayer servers, though.
22:14 Cornelia joined #minetest
22:14 Calinou the client should follow redirects, I guesse
22:14 Calinou (and default to HTTPS, it's 2019 :P)
22:39 MinetestBot [git] sfan5 -> minetest/minetest_game: Merge pull request #2322 from Calinou/travis-luacheck-color a81a7e0 https://git.io/fj1qc (2019-07-16T22:38:30Z)
22:39 MinetestBot [git] sfan5 -> minetest/minetest_game: Switch to mod.conf, delete deprecated depends.txt 9b226c7 https://git.io/fj1qC (2019-07-16T22:38:23Z)
22:51 festerdam Yeah, HTTPS is great. That was just to check if it works without it.
22:56 MinetestBot [git] lhofhansl -> minetest/minetest: Optimize getting active objects a bit. #8674 9fe3246 https://git.io/fj1qa (2019-07-16T22:55:17Z)
23:04 Cornelia joined #minetest
23:10 Unrealipnormal joined #minetest
23:11 Unrealipnormal Cool
23:15 mquin joined #minetest
23:16 uptime joined #minetest
23:16 uptime left #minetest
23:18 MiguelPeru joined #minetest
23:18 MiguelPeru wow this place is fun
23:18 MiguelPeru are u sure ur not all bots
23:21 MinetestBot [git] sfan5 -> Uberi/Minetest-WorldEdit: Fix //allocate with 0 nodes 4f2c7b1 https://git.io/fj1qd (2019-07-16T23:20:40Z)
23:23 MinetestBot [git] Niwla23 -> Uberi/Minetest-WorldEdit: Make placeholders not pointable 40b49ee https://git.io/fj1qF (2019-07-16T23:22:12Z)
23:25 MinetestBot [git] Panquesito7 -> Uberi/Minetest-WorldEdit: Replace deprecated functions with newer ones 3ffecdd https://git.io/fj1qb (2019-07-16T23:23:40Z)
23:25 troller joined #minetest
23:31 Tux[Qyou] joined #minetest
23:55 norkle sub.nasa-g0v.com just launched
23:55 norkle p:31000

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