Time Nick Message 04:02 MinetestBot 02[git] 04paramat -> 03minetest/minetest_game: Flowers: Fix waterlily on-place itemstack code 13db129f4 https://git.io/vKy3z (152016-07-23T04:56:49+01:00) 04:02 MinetestBot 02[git] 04Thomas--S -> 03minetest/minetest_game: Doors: Fix orientations of trapdoor textures 1372f4c6b https://git.io/vKy3g (152016-07-23T04:56:09+01:00) 11:31 aix Hello 11:34 nm0i hi 11:34 aix sup 12:00 agaran is there anything like binary & | in lua? 12:05 Krock agaran, | is similar to +, but & isn't possible 12:06 Krock *not possible to replace easily 12:06 Krock oh. bit.band 12:07 Krock agaran, for the case you have LuaJIT: http://bitop.luajit.org/ 12:08 Krock but also the regular Lua 5.2 contains it 12:10 agaran I just want avoid having dozen rarely used variables.. so bitbanding yes 12:11 agaran but minetest does not have that as far as I see, so I need different approach.. 12:12 Krock depends what libraries you use to compile minetest 12:13 agaran I recompiled jessie-backports package.. I do have luajit 5.1, lua 5.2 12:17 Krock then you can use " require("bit") " 12:17 Krock and use the bitops 12:17 agaran hm, but then if I ever get this mod to state 'releaseable' then will require everyone to have that module installed as well.. 12:35 agaran Krock: indeed require("bit") does job nicelly, thanks, 12:41 aix dead link: https://forum.minetest.net/viewtopic.php?f=11&t=2014 12:41 aix https://github.com/Zeg9/minetest-steel here's an alternative download 13:15 agaran Krock: and even my code seems to work, :) thanks again for good pointer 13:15 Krock http://pointerpointer.com/ np 13:15 Calinou Krock* krock 13:15 Krock MinetestPlayerObject *krock; 13:16 Calinou what's the difference between MinetestPlayerObject *krock; and MinetestPlayerObject* krock; 13:16 agaran none 13:16 Krock Calinou, the code style 13:16 agaran compile does not care 13:16 Calinou good to know 13:16 Krock I prefer *pointer because (*pointer) is the value 13:16 agaran in either case it is pointer to MinetestPlayerObject data type whatever it is 13:17 agaran yep, more clear to read 13:17 Krock err.. it only points to the first address of minetestPlayerobject 13:17 agaran exactly 13:17 agaran thats why I said 'data type' 13:17 agaran it may be even function.. 13:18 agaran in C it works to store address of function in pointer then call it.. 13:18 agaran not a cleaniest approach tho.. but works 13:18 Krock so it will work in C++ too 13:18 agaran gcc may whine a lot for that on c++ 13:18 Krock I've done that too, submitting a function as argument for another function 13:18 Krock :3 13:18 agaran with x86 and C it is rather predictable where you will have arguments (in which registers etc..) 13:19 agaran :) 13:19 agaran well it was when I was trying such.. it may changed with newest gcc.. 13:19 Krock cout << calinou->cpp_skills << endl; 13:20 Krock what will it output? 13:20 Calinou 0.000000002f probably 13:20 Calinou I've never really understood C++ 13:21 agaran Krock, i'd say it will output property called cpp_skills of calinou object/class.. 13:21 agaran but I don't really know C++, only C, perl, some bits of other languages 13:21 Krock Calinou, start with some simple programs and then play around with pointers - it's funny :) 13:22 agaran Krock, aren't you afraid for letting people to play with pointers? they are root of all evil (as some say) in C 13:22 * Krock isn't good in C++ but understands its logic 13:22 Calinou to be honest I'd rather do Java than C++ 13:22 agaran but I must say pointers are best thing imo.. 13:22 Calinou performance/cost ratio is more worth it 13:22 Krock agaran, only if they aren't cleaned up when the program exits 13:24 agaran well, all memory is freed on program exit so pointers too 13:24 Krock agaran, http://25.media.tumblr.com/tumblr_lna2kzx2sL1ql1zc8o1_400.jpg 13:24 Krock (what I saw when you wrote "root of all evil") 13:25 agaran roger :) 15:00 nm0i !server Megaf 15:00 MinetestBot nm0i: No results 15:00 nm0i Eh? 15:07 Krock nm0i, it's a person 15:08 nm0i It's his server 15:08 nm0i It should be here 15:08 nm0i Megaf V 4.0 15:26 agaran Krock, maybe bday is reason that why he is not here.. 15:26 Krock agaran, sounds logical. I wasn't here either 15:29 agaran is there any trick aside of flying to make node under node I am standing on when all is sky located platform? 15:31 Krock rephrase please 15:32 agaran I am standing at node located at y=200, there is nothing under it, I want to make dirt node under it from client, aside of flying around is there way? 15:32 Krock worldedit 15:33 Krock this is a common problem 15:33 VanessaE place water against the node you're on 15:33 VanessaE use it as a "ladder" to climb down underneath 15:34 Krock oh, you want to climb down? 15:34 VanessaE that's how you do it in skyblock worlds. 15:34 agaran well, if it is high enough then you can jump away then look up, quickly place node under and use /home to avoid crashing on earth.. 15:34 agaran thanks VanessaE :) thats great idea 15:35 agaran where I'd left my bucket.. 15:40 agaran And it works great, thanks, so I can expand text platform.. 15:42 agaran seems that github is most common way to share mods before release? 15:43 Fixer VanessaE: you here? 16:04 VanessaE Fixer: hm? 16:05 Fixer VanessaE: your creative building server, i spawn in 0,0,0 , no commands work for me 16:05 VanessaE engine bug. 16:05 VanessaE that's happened before on other servers. sign out/in and try /spawn 16:07 agaran you were talking about Saddie* people.. 16:08 VanessaE yeah, a "guest" type of username in some new client 16:08 agaran ah 16:17 Calinou Minetest (shaders off) with GTX 1080 on Windows: 150-300 FPS in world with view range 256, 500 FPS when looking at sky 16:18 Calinou only :( 16:18 Calinou Tesseract maxed out gives me more FPS than Minetest (400 FPS average, 700 FPS on blank map) 16:20 Fixer VanessaE: i can't type anything 16:27 VanessaE fixer, that's your client being weird. 16:27 VanessaE nothing I can do about that 16:28 Fixer VanessaE: does it has interact by default? 16:28 VanessaE no. 16:28 VanessaE but you can still type some commands without interact, e.g. /rules 16:32 Fixer VanessaE: nope, /rules does not work 16:38 VanessaE then your client is being weird. 16:38 VanessaE lemme check for sure. 16:39 VanessaE yep, it works. 16:39 VanessaE I can /rules without interact. 16:39 VanessaE aslso, it DID spawn me at 0,0,0 for a moment 16:39 VanessaE then automatically moved me to the right place after a couple seconds 16:46 Fixer VanessaE: smth happened, I can see rules now 16:47 VanessaE must have been network lag then 16:47 VanessaE but that still means a client bug 16:47 Calinou woo, GCC 6.1 is on Windows now 16:47 VanessaE maybe that was an emerge delay? 16:48 KaadmY Tesseract maxed out gives me more FPS than Minetest (400 FPS average, 700 FPS on blank map) 16:48 Fixer VanessaE: no, blocks were loading fine 16:48 KaadmY kinda sad... 16:49 KaadmY MT does draw much, much more tris though 16:49 KaadmY ' 16:49 KaadmY tesseract is around 2k tris for a typical smallish map 16:49 KaadmY while MT is 10k+ 16:49 Fixer VanessaE: some kind of huuuge lag 16:49 VanessaE Fixer: weird. I haven't seen that happen since the early 0.4 days 16:50 Fixer VanessaE: clicked on a bad, and like after 10-20 seconds it worked 16:50 KaadmY bed* 16:50 Fixer max lag is 0.2 16:50 Fixer bed* 16:52 VanessaE that must be network lag on your end, because the server is performing normally for me. 16:52 Fixer VanessaE: probably route to your server is not good for me 17:02 aix okay that's 27 pages of mods down, 74 to go -.- 17:03 aix worth it, found quite a few hidden gems 17:04 Krock aix, what are you doing? 17:07 aix Krock: starting up a server 17:08 Krock oh cool! I hope it won't be too heavy 17:08 aix you ever run a server? 17:09 aix i hope so too, I'm opting for loads of mods, but most of them are tiny 17:09 aix I still need a map too 17:09 aix and a reliable money mod 17:10 hisforever I dug a mote around my Castle. How do I fill it to a certin leval? 17:10 aix you got worldedit handy? 17:11 hisforever yes 17:11 aix you can replace air with water (providing the area directly under the castle is solid) 17:11 aix or you can do it in 4 moves 17:11 aix uh 17:11 aix assuming it's a rectangle 17:12 hisforever ok ty 17:13 Calinou KaadmY: 10k triangles is tiny today 17:13 Calinou even 100k isn't much for modern GPUs 17:14 Calinou I can get 640 FPS on one of the largest Sauerbraten maps, "hallo" 17:14 KaadmY 10k tris makes my craptop struggle 17:15 Calinou KaadmY: also, 130 FPS on Terasology maxed :] 17:15 Calinou and Far view distance 17:15 KaadmY wow 17:15 Calinou but it's slow during map generation 17:15 KaadmY map gen is CPU, so that's understandable 17:29 agaran heh, my old winbox has no problem on gpu side (old gtx 265) but struggles on cpu with client.. 17:37 Krock same here with my low-end Radeon X300 17:37 Krock (everything's weak, not just the CPU :P ) 17:39 agaran now playing from lappy, i5 with builtin gpu but thats enough 17:40 hisforever http://imgur.com/a/AXBDR how do I eradicate tthis black eara? 17:43 Krock !mod mapfix 17:43 MinetestBot Krock: Map Fixer [mapfix] by Gael de Sailly - https://forum.minetest.net/viewtopic.php?t=10662 17:43 Krock ^ hisforever 17:43 hisforever yes 17:43 CWz 640 FPS?!!?! 17:44 Krock I get about the same 17:44 Calinou CWz: modern high-end GPU :) 17:44 Krock (without that 4 ni between) 17:44 agaran I capped mine at 60.. 17:44 Calinou agaran: that's when I use fps_max = 0 17:44 Calinou usually I leave 60 FPS limit 17:44 Krock *without the 6 on the beginning :< 17:44 agaran no point to have more fps than refreshes of display 17:44 Fixer damn this shadow crap again 17:45 Fixer Calinou: my fps can be quite high on vrange 100, but stutter kills it a lot, it can go like 300 to 250 and back to 300, or 120 to 80 and back 17:46 CWz i wonder how much FPS it would get in the latest Crysis game 17:46 hisforever when I //pset the area thats black and do a //replace air air the black just moves. I'd like to get rid of it completely? 17:46 hisforever http://imgur.com/a/AXBDR 17:48 Krock hisforever, fly through the black spots then to the place where you have full sunshine 17:48 Krock then replace the top layer (1 node) air with air 17:49 Krock just make sure the whole black spot is below 17:49 Krock a8nd that the blocks are loaded) 17:49 Krock *(and 17:49 Fixer hisforever: use that mapfix mod 17:50 hisforever Mapfix? 17:50 Krock I thought that didn't work 17:50 hisforever O there is a mod for fixing stuff? 17:51 Krock LOL 17:51 Krock hisforever, I pointed at it with (^) 17:51 Krock 8 mins ago 17:51 hisforever ok Krock 17:54 Out`Of`Control replace air air works great 17:55 hisforever I got the mapfix mod thanks , You all are great ! 17:55 Out`Of`Control mapfix did not help me 18:17 hisforever Thanks everybody Mapfix worked 18:29 Out`Of`Control did they add deathloop patch in 04.14-dev? 18:30 Fixer one that 4erevergreen reported? 18:31 Out`Of`Control yes 18:33 Out`Of`Control https://github.com/minetest/minetest/pull/4127 18:56 Fixer Out`Of`Control: as you can see it is not merged yet 18:56 Out`Of`Control why not? 18:59 Fixer Out`Of`Control: needs some refinements 19:00 Fixer Out`Of`Control: if you can - highlight 4evergreen as i did 19:00 Out`Of`Control Fixer: its better than that deathloop 19:01 Out`Of`Control works fine in 0.4.13-dev 19:01 everamzah there goes my death_kick mod 19:03 Fixer everamzah: please go into that pull and highlight 4evergreen asking him to action 19:03 everamzah what action shall I ask? 19:05 everamzah well, i mentioned it anyway. 20:06 juhdanad Hi, I'm new to here. I created a new file: src/raycast.cpp. What should I write to the topmost comment? What should the license look like? 20:08 Calinou juhdanad: same as other files I guess 20:08 Calinou but you should ask in #minetest-dev 20:08 juhdanad Is that important enough? 20:09 Calinou yes 20:09 Calinou files without headers are just bad 20:12 aix where is the creative inventory defined? 20:12 aix i've removed the creative mod but the inventory style still changes when i enable/disable creative mode 20:12 agaran I would grep whole default game mod tree for 'creative' 20:13 juhdanad If I get: "Cannot send to channel": #minetest-dev, what can I do? 20:15 Calinou juhdanad: don't use webchat 20:15 Calinou use a proper IRC client like HexChat 20:15 aix ah 20:15 Calinou http://hexchat.github.io 20:15 aix had to comment out 3 lines 20:16 aix https://sr.ht/Lsyz.png how could i fix this? 20:16 aix i swear it should be default_dirt.png 20:16 agaran maybe you have some override? 20:17 agaran grep override|grep dirt? 20:18 agaran just wild guess.. 20:22 Passant hi there :) is it somehow possible to add an image to the hud which acts like a button? 20:23 ElectronLibre_ I don't think so 20:23 Krock nope. You couldn't even press it 20:24 Passant nah thats sad... thanks anyway :) 20:26 aix okay I think I've fixed all the bugs in the mods I've downloaded 20:26 aix man that wasn't fun 20:27 Passant oh, but i can add my stuff add to inventory plus as i just realised <3 better than nothing 20:30 agaran wielded item can display formspec.. and they can have images acting like buttons (like pipeworks sorting tube does) 20:32 Passant agaran: you mean i should add an item to open the wanted menu? interesting idea^^ 20:33 agaran yes, well better than nothing as you said.. 20:33 agaran technic prospector does something like that 20:36 aix can anyone endorse a finance mod? 20:36 Passant aix: i like bitchange 20:37 Passant agaran: i will think about this, i like the idea, thanks :) 20:37 aix i haven't tried many, but i'd like it to have /pay type of logic 20:37 Passant than not bitchange^^ 20:39 Krock aix, Could be helpful: http://krock-works.16mb.com/MTstuff/modSearch.php?st=0&at=0&q=money%7Cbank%7Ccurrency 20:40 aix oh my god that's an amazing site 20:40 aix thanks 20:40 Krock np 20:50 aix this new york map is actually amazing 20:56 Hijiri agaran: note if security is on then "require" will not work properly in the default environment 20:56 Hijiri It exists though, I'm not sure if it works alone in a trusted mod or you have to request insecure environment 20:57 agaran Hijiri: oh, so one more reason to find other implementation someday, for now I'll leave it as is, because it already works (that tiny part) 21:18 mmmmhack hey, anyone know of a way to download the Minetest wiki? 21:20 Krock Ctrl + S 21:20 mmmmhack uh, doesn't that only download the current page? 21:20 Krock yes because there's no way to download everything 21:20 mmmmhack :p 21:20 Krock why would you even want to do that? 21:21 mmmmhack because I'm going to run a minetest camp for a bunch of kids on Monday and they will only have local net access 21:21 mmmmhack I want them to be able to access the wiki docs though 21:21 BrandonReese http://www.linuxjournal.com/content/downloading-entire-web-site-wget 21:22 mmmmhack woah, sweet, thx BrandonReese, I will try that 21:22 Krock Oh 1 moment 21:22 Krock http://wiki.minetest.net/Special:Export 21:22 mmmmhack oh, maybe even easier? 21:23 BrandonReese you're welcome mmmmhack 21:23 Krock dunno if it works 21:23 KaadmY *bugger 21:23 KaadmY wrong channel 21:23 mmmmhack I will try wget way first 21:24 ElectronLibre mmmmhack: Do you have curl installed? 21:24 BrandonReese You also may need to tell wget to ignore robots.txt with "-e robots=off" that isn't mentioned in the article I linked to 21:24 ElectronLibre Oh you were faster 21:25 mmmmhack k 21:25 ElectronLibre And I meant wget. There is a recursive feature to download 21:25 mmmmhack yeah, the article linked by BrandonReese describes that approach 21:31 mmmmhack hmm, it only downloaded one page ... maybe that approach only works for static pages? 21:38 mmmmhack Yeah, I don't think it's gonna work - looks like the Minetest wiki is a Wikimedia wiki, which stores the data in a database and fetches via php requests 21:39 juhdanad_ Did you write --domains http://wiki.minetest.net/Main_Page? 21:40 mmmmhack yah, same thing 21:40 juhdanad_ Try --domains wiki.minetest.net/Main_Page 21:40 mmmmhack well, not with the '--domains' arg 21:40 juhdanad_ No, --domains wiki.minetest.net 21:41 juhdanad_ It works for me without http:// 21:42 juhdanad_ My command was: wget --recursive --domain wiki.minetest.net http://wiki.minetest.net/MainPage 21:42 everamzah I've been working on a simple mod that allows books to be placed. I'm taking a break now, but have uploaded my progress to GitHub: https://github.com/everamzah/books -- Some parts work, but won't preserve written data on text. Probably close to the end, but need a walk. o/ 21:43 agaran silly question, is possible to retrieve metadata for node that is not in loaded blocks? 21:43 mmmmhack cool, that appears to be working, thx juhdanad! 21:43 juhdanad_ But you should also use --page-requisites --html-extension --convert-links 21:44 everamzah i don't think you can get a node if the block it's located in hasn't been loaded. just a guess. bb 21:44 juhdanad_ I think the problem was that you used --no-parent. 21:49 agaran everamzah: well, that was my guess but, if I could fetch metadata for block that is not there (knowing what it should be, but not loading via force load etc..) then I could impove my code making it work for world not just loaded blocks.. not a must but nice thing 21:52 Passant hi again, im still trying to add the button to the formspec into inventory_plus ... i need help, its just dead :( https://haste.tchncs.de/zesofonihe.lua 22:00 Hijiri agaran: you can try it 22:00 Hijiri get_meta takes a position so it might not even need the node loaded 22:02 Hijiri though it might, since metadata gets sent to the client 22:05 Passant oh, i guess i just confused and forgot something :o 22:17 Passant hmm odd - the formspec comes on the command but nothing happens on the button - i tried to make it like character_creator and worldedit... https://haste.tchncs.de/ocoqorinad.lua 22:20 Passant wooo but it works when i register the button in inventory_plus itself :o 22:26 mmmmhack wow , *ragequit* 22:26 mmmmhack hayters gonna hayt 22:29 Out`Of`Control ? 22:33 mmmmhack saw this: tpe [~hayter@84.93.185.180] has quit [Quit: *ragequit*] 22:34 Out`Of`Control ic 22:44 agaran Passant, sorry I wasn't looking here, I don't use inventory plus (yet) 22:46 Passant agaran: not a problem, thanks for your answer :) 22:48 Passant the most important thing is that it works :3 22:54 agaran :) great 22:54 agaran good night