Minetest logo

IRC log for #minetest, 2017-01-26

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

All times shown according to UTC.

Time Nick Message
00:06 ptv joined #minetest
00:11 kaeza joined #minetest
00:15 kaeza greetings
00:18 Benrob0329[m] Hello kaeza
00:24 swift110 joined #minetest
00:29 swift110 joined #minetest
00:43 Warr1024 joined #minetest
01:33 Tmanyo joined #minetest
01:52 ssieb joined #minetest
02:00 cheapie This is what happens when two roads meet, both going from 2 to 4 lanes at the intersection: https://cheapiesystems.com/media/images/screenshot_20170125_195724.png
02:02 agaran cheapie: nice, and technic solar array too..;)
02:08 octacian joined #minetest
02:11 Tmanyo joined #minetest
02:53 Miner_48er joined #minetest
03:02 lordfingle joined #minetest
03:13 ptv joined #minetest
03:33 QwertyDragon joined #minetest
03:41 Warr1024_ joined #minetest
03:54 whitephoenix joined #minetest
04:00 DI3HARD139 joined #minetest
04:29 dgeary2 joined #minetest
04:33 Thomas-S joined #minetest
04:39 cheapie Some "slightly" edited lighting: https://cheapiesystems.com/media/images/slightlyeditedlighting.png
04:47 DI3HARD139 Question. What type of hash does Minetest use for user accounts?
04:47 DI3HARD139 SHA-1?
04:52 garywhite cheapie what did you do for that photo?
04:52 cheapie Some effects in GIMP.
04:52 DI3HARD139 Oh damn. I thought MT got some much needed lighting effects added to it ;(
04:52 DI3HARD139 :(
04:56 garywhite Still cool, looks like you took it near cheapie city
04:56 cheapie I did. It's some random transmission tower just east of there.
05:05 garywhite Might be my old transmitter, but it's not that tall
05:08 freelikegnu joined #minetest
05:20 ptv joined #minetest
05:22 Freejack joined #minetest
05:49 Miner_48er joined #minetest
05:58 kimitux joined #minetest
06:28 octacian joined #minetest
06:53 LazyJ joined #minetest
06:56 ensonic joined #minetest
07:00 Player_2 joined #minetest
07:19 torgdor joined #minetest
07:24 lordfingle joined #minetest
07:30 juli joined #minetest
08:01 CWz joined #minetest
08:14 Hawk777 joined #minetest
08:29 Alcyone2 joined #minetest
08:46 Lunatrius joined #minetest
09:02 aheinecke joined #minetest
09:03 xerox123 joined #minetest
09:29 Alcyone2 Hi everyone :) is there a mod which gives the possibility to give to each new player on server an particular item (I think to a book filled with an introduction text)
09:29 Alcyone2 ?
09:30 kaeza you mean give_initial_stuff?
09:31 kaeza not sure if you can give written books though
09:32 Alcyone2 yes something like that, adding to the initial stuff a book explaining few things
09:32 Alcyone2 https://forum.minetest.net/viewtopic.php?f=11&t=13366&hilit=initial+book+mod
09:32 Alcyone2 I just found this, I'm reading
09:33 Szkodnix joined #minetest
09:33 kaeza that looks usable
09:34 Alcyone2 yes, but not so much information on a things are ruled
09:34 Alcyone2 but I like the idea of the command /guide even if it is not so role play x)
09:35 kaeza !mod doc
09:35 MinetestBot kaeza: Documentation System [doc] by Wuzzy - https://forum.minetest.net/viewtopic.php?t=15222
09:35 kaeza that may also be helpful
09:35 Alcyone2 Yes, is it the automatic one ?
09:35 Alcyone2 I never tried it (my bad...I promessed to Wuzzy to do it)
09:36 kaeza I think you will need this one:
09:36 kaeza !mod doc_items
09:36 MinetestBot kaeza: Item Documentation [doc_items] by Wuzzy - https://forum.minetest.net/viewtopic.php?t=15300
09:36 kaeza may I also suggest:
09:36 kaeza !mod wiki
09:36 MinetestBot kaeza: Wiki Mod [wiki] by kaeza - https://forum.minetest.net/viewtopic.php?t=6492
09:36 Alcyone2 That interesting because it brings a lot of information on mods
09:37 Alcyone2 that's*
09:37 Alcyone2 And I'm also thinking to this
09:38 Alcyone2 but first I want a king of book with text (or command, why not) you can have everywhere with few special information
09:38 Alcyone2 I'm currently setting up a server for leisure and educational purpose in my local hackerspace
09:40 Alcyone2 I will use the 31000 nodes in every direction to set several layer (cave_realms, nether, other worlds, etc...) and for example I want to give few information about at whih layer players need to dig to find them
09:40 Alcyone2 That's just an example
09:40 Alcyone2 It's not exactle the same purpose than the rules written at spawn point
09:41 Alcyone2 It's just few information about all the things added to the game !)
09:41 Alcyone2 :)
09:41 Alcyone2 but not really to a particular mod, for that I'm interested in documentation system mod
09:41 kaeza I think the book will work just fine in that case
09:42 Alcyone2 yes, I think too :)
09:42 Alcyone2 I keep ypour wiki mod, it's really a good idea !
09:43 Alcyone2 We intend to participate to around the minetest educative community, create ressources and educative materials
09:43 Alcyone2 I'm sure it would have a role to play
09:46 Alcyone2 -to
09:47 crazyR any forum admins online?
10:00 JamesTait joined #minetest
10:00 paramat joined #minetest
10:01 JamesTait Good morning all! Happy Thursday, and happy Australia Day! 😃  ðŸŒ  ðŸ¨
10:05 nowhereman joined #minetest
10:13 ensonic joined #minetest
10:45 crazyR Is there a way to detect which ABM is causing these errors: active block modifiers took 266ms (longer than 200ms)
10:49 paramat use the built-in mod profiler, it shows time used by each ABM
11:19 YuGiOhJCJ joined #minetest
11:42 Pie-jacker875 joined #minetest
11:48 Fixer joined #minetest
11:49 troller joined #minetest
11:59 IhrFussel joined #minetest
12:03 Markow joined #minetest
12:19 juhdanad joined #minetest
12:49 Shadow_The_Hedge joined #minetest
12:52 juhdanad joined #minetest
13:02 Kurolox joined #minetest
13:07 Jordach joined #minetest
13:12 IhrFussel CSM will require clients to utilize for RAM for Minetest right?
13:12 IhrFussel more RAM*
13:18 Fixer IhrFussel: i think yes
13:19 Fixer IhrFussel: depends on mods itself, how heavy they will be
13:21 IhrFussel Fixer, do you think there will be mods that run purely client-side? Like...the server does practically nothing?
13:27 IhrFussel Cause I tested a few mods earlier that are considered "heavy" and 1 mod can increase RAM usage by 20-30 MB ... if I imagine a server with 10 of such heavy mods or 20 less heavy ones mobile users with 512 MB are already screwed
13:30 IhrFussel My server requires ~ 600 MB RAM in total without CSM which is even pretty high on a 1 GB RAM phone/tablet (cheap devices barely have more than 1 GB anyway)
13:32 IhrFussel It's a shame that only a fraction of mods seem to care about mobile users even though they are a large part of the total user base
13:52 Szkodnix joined #minetest
14:02 lumidify joined #minetest
14:02 STHGOM joined #minetest
14:02 STHGOM joined #minetest
14:07 Fixer IhrFussel: server will still do its work, client-side is for sounds, hud, maybe physics, etc, will see
14:09 IhrFussel So the server will likely still do all the logical stuff? Okay
14:11 turtleman joined #minetest
14:16 luizsab joined #minetest
14:18 luizsab Hello! Is the Minetest development finished? Wiki says it is in alpha stage, is that?
14:19 juhdanad Definitely not. Minetest is actively developed.
14:19 IhrFussel luizsab, the version number should tell you that it is not finished "0.X.XX"
14:20 luizsab and is it the alpha stage?
14:20 IhrFussel But it should run stable enough to pretty much guarantee a decent experience (in singleplayer and multiplayer)
14:21 IhrFussel Errors caused by mods are external errors IMO and shouldn't count as development
14:22 luizsab Yes, it is awesome to me. I need just information/confirmation, I'm helping with the wiki translation
14:22 IhrFussel Oh then yes it's in Alpha
14:23 IhrFussel AFAIK
14:23 IhrFussel At least nobody here ever mentioned it being Beta
14:23 sfan5 i associate alpha with half-broken software
14:23 luizsab And this information does not seem current
14:23 sfan5 minetest runs pretty much perfectly since a few years
14:24 sfan5 it's just not finished
14:24 IhrFussel sfan5, Beta means it's in a testing stage before full release...that's how most other games define "Beta"
14:24 sfan5 yeah however this doesn't really work here
14:24 sfan5 there is no "full release" planned
14:25 IhrFussel Well then go ahead and update the wording xP
14:26 paramat Minetest will never be finished, hopefully
14:26 luizsab Yes, thank you guys
14:26 paramat maybe it will then be called Minepass
14:26 paramat i feel it's post-beta
14:26 juhdanad It sounds like a credit casd.
14:26 luizsab I allways come here to confirmation some informations before update
14:26 juhdanad *card
14:27 IhrFussel Haha...will it ever reach 0.5 I wonder?
14:27 paramat well 0.3 was a very different game
14:27 paramat i can see 0.4 being very long term
14:27 paramat we could change to 4.15.0
14:28 juhdanad Yes! There is smooth lighting, it is a big change.
14:28 IhrFussel How was it different?
14:28 paramat 0.3 had no Lua modding
14:28 sfan5 clearly 0.5 needs to have some big innovation
14:28 sfan5 how about we port it to java?
14:28 IhrFussel You go first^^
14:30 IhrFussel Is the Java on Android even the same as Java on desktop?
14:30 sfan5 partially
14:31 Fixer joined #minetest
14:32 IhrFussel And what makes Java so slow again compared to C++? I'm guessing it isn't "low-level" enough and takes more CPU calls?
14:32 sfan5 ask google
14:32 sfan5 you'll find lots of info
14:33 IhrFussel I kinda believe the info Google will give me is too technical
14:35 juhdanad What about a 6 level RGB palette as the default palette? https://upload.wikimedia.org/wikipedia/commons/a/aa/RGB_6levels_palette_sample_image.png
14:35 juhdanad https://upload.wikimedia.org/wikipedia/commons/9/9e/RGB_6levels_palette_color_test_chart.png
14:39 STHGOM joined #minetest
14:40 paramat not sure we need a default palette
14:44 shangul joined #minetest
14:58 twoelk joined #minetest
15:01 The_Loko joined #minetest
15:03 STHGOM_ joined #minetest
15:06 juhdanad How do I remove an item when the player uses it? (like the apple)
15:08 Benrob0329[m] An itemstack update I believe
15:11 MinetestBot [git] juhdanad -> minetest/minetest: Fix after hardware node coloring (#5114) c268db7 https://git.io/vMjlX (2017-01-26T15:10:56Z)
15:15 octacian joined #minetest
15:16 thefamilygrog66 joined #minetest
15:17 octacian joined #minetest
15:23 troller joined #minetest
15:33 juhdanad joined #minetest
15:33 VanessaE left #minetest
15:33 VanessaE joined #minetest
15:33 VanessaE oops.
15:34 thefamilygrog66 how's it going, V?
15:35 VanessaE going ok
15:36 VanessaE all right, I must be missing something - how do I do a bitwise AND/OR etc again?
15:36 thefamilygrog66 right on.
15:39 lumidify joined #minetest
15:46 paramat there's no biwise in Lua?
15:46 paramat (bitwise)
15:47 paramat afaik there is not
15:47 sfan5 that's correct
15:48 troller joined #minetest
15:51 agaran there is bit.band() if you do require("bit")
15:52 nore paramat: no, there isn't
15:52 nore because lua numbers are floats actually
15:59 paramat i see
16:02 shangul joined #minetest
16:02 mangul joined #minetest
16:02 mangul joined #minetest
16:05 * twoelk imagines floating lua numbers in the ice sea
16:08 Fixer ooms
16:09 red-001 <juhdanad> [10:06:22] How do I remove an item when the player uses it? (like the apple)
16:09 red-001 you could just take a look at the code for apple
16:10 juhdanad Thanks, I figured it out for now.
16:10 troller joined #minetest
16:23 nowhereman joined #minetest
16:39 daspork_ left #minetest
16:48 STHGOM_ joined #minetest
16:50 octacian_ joined #minetest
16:55 twoelk|2 joined #minetest
17:02 Guest29135 joined #minetest
17:04 passant joined #minetest
17:13 Darcidride joined #minetest
17:22 Tux[Qyou] joined #minetest
17:29 YuGiOhJCJ joined #minetest
17:34 nowhereman joined #minetest
17:43 nowhereman joined #minetest
17:46 Taose joined #minetest
17:52 SylvieLorxu joined #minetest
18:01 MinetestBot [git] paramat -> minetest/minetest_game: Dungeons: Add mapgen alias for desert stone stairs 1dd9fdb https://git.io/vMjbH (2017-01-26T17:56:16Z)
18:01 MinetestBot [git] numberZero -> minetest/minetest_game: Stairs: Fix smooth lighting of stair mesh 38500da https://git.io/vMjbQ (2017-01-26T17:55:16Z)
18:01 MinetestBot [git] rubenwardy -> minetest/minetest_game: Creative: Add creative.is_enabled_for bee5b31 https://git.io/vMjb7 (2017-01-26T17:54:45Z)
18:31 IhrFussel joined #minetest
18:32 IhrFussel Is there a direct link for .zip files on the Minetest site? I'd like to download one via wget that was only added as post attachment
18:32 red-001 for the binary?
18:32 red-001 don't think so
18:32 IhrFussel Nope a mod
18:32 red-001 linux right?
18:33 IhrFussel https://forum.minetest.net/viewtopic.php?f=11&amp;t=14541
18:33 red-001 is it hosted on the forum?
18:34 IhrFussel Yes it downloads from https://forum.minetest.net/download/file.php
18:34 red-001 just wget https://forum.minetest.net/download/file.php?id=8636&amp;sid=b39bbfafaeff43dd0a5df32ce35c15a5 ?
18:34 red-001 or https://forum.minetest.net/download/file.php?id=8636
18:34 IhrFussel But the 2nd link at least only downloads the PHP site it seems
18:35 IhrFussel file.php?id=8636.1          100%[=========================================>] 399,77K  1,99MB/s    in 0,2s
18:35 red-001 you added .1?
18:36 agaran wget adds when there is file already in dir with same name
18:36 agaran equivalent of windows (1)..
18:36 IhrFussel What he said^
18:38 Krock joined #minetest
18:38 red-001 direct download seems to work..
18:38 agaran hi Krock
18:38 IhrFussel So is the download file the .zip file?
18:38 red-001 I used curl and it work fine
18:39 red-001 curl https://forum.minetest.net/download/file.php?id=8636 > file.zip
18:39 IhrFussel curl follows redirects AFAIK
18:39 red-001 unzip file.zip
18:40 IhrFussel red-001, yes curl works..thanks
18:41 juhdanad joined #minetest
18:45 shangul joined #minetest
18:53 ssieb joined #minetest
19:05 thefamilygrog66 joined #minetest
19:10 behalebabo joined #minetest
19:28 fwhcat joined #minetest
19:28 whitephoenix joined #minetest
19:32 torgdor joined #minetest
19:38 sofar curl doesn't follow redirects by default in many cases
19:38 sofar curl -L -O $url is your friend
19:40 IhrFussel sofar, wget doesn't have that option though right?
19:43 sofar curl is a better library, and more robust code
19:43 sofar so the curl program is a bit more down to earth
19:43 sofar hence, in wget you probably don't need the option
19:43 DFeniks joined #minetest
19:44 sofar I don't see a way to tell wget to NOT follow redirects at all
19:44 Thomas-S joined #minetest
19:46 swift110 joined #minetest
19:47 swift110 joined #minetest
19:48 IhrFussel sofar, when I tried to download a .zip from the Minetest forum it just download a octet/stream file "file.php?ID" ... was that the .zip?
19:48 sofar probably
19:48 sofar run `file` on it
19:49 XtremeHacker joined #minetest
19:50 XtremeHacker joined #minetest
19:50 IhrFussel You're right o.o file.php?id=8636: Zip archive data, at least v1.0 to extract
19:55 IhrFussel red-001, one of my moderators thinks the red on my server might be a faker...could you confirm here that it's you?
19:56 red-001 yeah it's me
19:56 IhrFussel Okay alright =)
19:57 IhrFussel Sorry, it's just that many people like to fake popular people
20:08 Exagone313 joined #minetest
20:23 Exagone313 joined #minetest
20:26 MinetestBot [git] paramat -> minetest/minetest: Dungeongen: Fix selection of diagonal corridors 2a89531 https://git.io/vDecD (2017-01-26T20:19:05Z)
20:26 MinetestBot [git] paramat -> minetest/minetest: Dungeons: Add nodebox stairs to desert and sandstone dungeons ae929ce https://git.io/vDecS (2017-01-26T20:18:54Z)
20:27 red-001 IhrFussel, does your server have "disable_escape_sequences" set to true?
20:29 IhrFussel red-001, in minetest.conf?
20:29 red-001 yes
20:29 lumidify joined #minetest
20:30 IhrFussel "grep disable .minetest/minetest.conf" only shows "disable_anticheat = true"
20:30 red-001 huh I have no idea whats going wrong with my code than
20:31 Fixer joined #minetest
20:31 IhrFussel Did you see my message about the compile date? Is it supposed to work with a server build compiled Jan 3?
20:32 red-001 it should
20:34 IhrFussel red-001, did you try on a 0.4.15 stable server yet?
20:34 red-001 not yet
20:36 IhrFussel Did it work on any public server yet? Or only in singleplayer?
20:37 red-001 wait so whats the protocol version of your server?
20:37 Exagone313 joined #minetest
20:37 cheapie What's the proper way to get the position of an entity? getpos() (as in "self:getpos()") just crashes with an "attempt to call a nil value" error.
20:38 red-001 try get_pos
20:38 cheapie That makes it crash sooner (before it even gets there) with the same error.
20:39 cheapie Huh, and now that's giving the same behavior as getpos()... which is still a crash, either way.
20:40 cheapie If it helps, this is in an "on_step" function in an entity definition.
20:40 agaran cheapie: from where you get 'self' then?
20:40 cheapie It's passed as a parameter to the on_step function, according to the docs.
20:41 IhrFussel red-001, how to see the protocol version?
20:41 cheapie I basically have "on_step = function(self)", containing the line "local pos = self:getpos()", which is where it's crashing.
20:42 cheapie I also tried moving a different line that uses "self" above that line, and it crashes on that one (get_properties()) as well.
20:45 rubenwardy joined #minetest
20:45 cheapie OK, further reading and experimentation seems to indicate that I need to use "self.object" instead. That could /probably/ be made a bit more clear.
20:46 red-001 IhrFussel, could you check if your server was compiled just before the commit that removed chat prediction got merged?
20:47 IhrFussel red-001, it is the commit from Jan 3...the prediction got removed after that
20:47 IhrFussel WAIT
20:49 IhrFussel That explains it...my register_on_chat_message() works like this: message arrives, check if moderator or admin, then send to each player EXCEPT for the sender cause the prediction was still enabled at that time
20:50 IhrFussel That means any client that connects with a disabled version will not see their own messages
20:50 red-001 yeah removing chat prediction was kinda a mess
20:51 IhrFussel So that means I'll have to send the message to the sender too now...and if the client is an older version they will see the message twice
20:52 red-001 could you just return false in the message handler if they are not a mod?
20:52 red-001 that way only mods and admins will be forced to update
20:53 IhrFussel No, it loops through all players to append [H], [MOD], [Admin] to the message
20:53 Exagone313 joined #minetest
20:53 red-001 are there a lot of helpers/mods?
20:54 IhrFussel You can check with /moderators and /helpers if you are still on
20:55 IhrFussel Or I can count them for you
20:56 IhrFussel 14 moderators and 7 helpers...but the loop is to display the rank to all others
20:57 IhrFussel So I can either ignore the new clients for now and they will not see their own messages...or I send the older clients the same message they see on their client again
20:58 red-001 well if you don't need to change their message you can let minetest handle it
20:58 red-001 so just return false if it's a normal user
20:59 IhrFussel I'll post part of my register chat message code one sec
21:03 octacian joined #minetest
21:04 IhrFussel red-001, http://pastebin.com/dAe2tqus
21:05 emunand joined #minetest
21:07 IhrFussel red-001, I forgot this line "if tuser ~= name" inside for loop
21:07 red-001 could you post the updated version?
21:10 IhrFussel http://pastebin.com/V0A8SuPs
21:11 sfan5 .
21:11 octacian joined #minetest
21:11 octacian joined #minetest
21:11 sfan5 it's nice how flawless the logging bot survives a mariadb upgrade
21:13 red-001 try http://pastebin.com/0NP0tRib
21:13 red-001 should also be more efficient
21:14 red-001 IhrFussel ^
21:16 thefamilygrog66 joined #minetest
21:24 troller joined #minetest
21:27 STHGOM joined #minetest
21:28 MinetestBot [git] sfan5 -> Uberi/Minetest-WorldEdit: Show light level a node receives with //inspect, fixes #128 426f3b9 https://git.io/vDeuK (2017-01-26T21:27:30Z)
21:28 sfan5 ^ Fixer
21:28 Fixer nice
21:31 cheapie I'm making some kind of progress on my "elevator" mod: https://cheapiesystems.com/media/images/screenshot_20170126_153040.png
21:32 agaran cheapie: actually moving player who is seated across column of nodes?
21:33 cheapie The stone there is the elevator car (I don't have any actual textures or anything for it yet). It turns into an entity, which moves up/down with the player attached, and then turns back into a node again.
21:33 cheapie The "with the player attached" part is the hard part so far.
21:34 cheapie I have the position sorted out so far, now I just need to stop them from falling through when it stops.
21:34 agaran move player -bit- more above so when entity->node happens player can't have enough time to fall thru?
21:34 cheapie Yep, that's the plan.
21:34 cheapie (or something similar)
21:36 cheapie The reason that the player is on their side in the screenshot was because I hadn't quite figured out attachment yet :P
21:38 STHGOM joined #minetest
21:45 dgeary2 joined #minetest
21:47 nowhereman joined #minetest
21:50 ssieb joined #minetest
21:51 xerox123 joined #minetest
22:10 emunand joined #minetest
22:16 Jericho joined #minetest
22:17 Jericho So minetest seemd a lot more dead then I remember
22:17 Calinou Jericho: Minetest is still very much alive, I'm afraid :P
22:17 Calinou the hype is over, obviously, but it's still there
22:17 ||Jericho|| Good
22:18 ||Jericho|| I would have been more active but ya know, college
22:19 ||Jericho|| What servers currently have IRC support? That's somewhere on the website, right?
22:20 ||Jericho|| minetest irc
22:20 sfan5 generally VanessaE's servers are connected to a seperate irc network
22:21 sfan5 some others too probably
22:21 rubenwardy seriously, wtf https://forum.minetest.net/viewtopic.php?p=248412#p248412
22:23 Calinou I've seen worse, rubenwardy
22:23 Calinou someone bumped a 10-year old post on the Sauerbraten forums
22:23 Calinou but it was 10 years day-for-day
22:23 rubenwardy I personally think pointless bumps should be deleted and the user warned
22:23 rubenwardy I've mentioned this before
22:23 rubenwardy a lot, probably
22:24 Calinou it's not always intentional
22:24 rubenwardy true
22:24 Calinou the ideal would be to have a "don't deter this post unless you really need to" dialog appearing above the reply box
22:24 rubenwardy that's why you delete the posts
22:24 Calinou for topics whose last reply is > 6 months old
22:24 rubenwardy yeah, that too
22:24 Calinou many forums have that now
22:25 rubenwardy would be nice to have, celeron55 :)
22:26 celeron55 yeah more changes for this ancient phpbb installation to deter any attempt at ever upgrading it
22:38 Fixer Calinou: necroposting is fun
22:43 rubenwardy joined #minetest
22:54 xerox123 joined #minetest
22:56 troller joined #minetest
23:12 emunand joined #minetest
23:33 Gizmokid2005 joined #minetest
23:34 cheapie Ah, the wonders of unifieddyes...
23:34 cheapie "Faint dark red-violet (low saturation) stained glass" is a thing now :P
23:36 Gizmokid2005 joined #minetest
23:39 proller joined #minetest
23:59 DI3HARD139 joined #minetest

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