Time Nick Message 00:14 octacian est31: so, could you give me a hand with power systems using VoxelManip? 00:15 est31 octacian: i am familiar with the code, but last time i looked at it was already some time ago 00:15 octacian Ohk 00:23 octacian est31: well, can you give me any tips as to how to get started? 00:23 octacian (or code samples) 00:23 est31 octacian: I can give you a description of how I saw the code did its work general overview 00:23 est31 basically you have a switching station 00:23 est31 its a node and has an abm attached to it 00:24 est31 that abm runs once every second 00:24 octacian ok 00:25 est31 and I think it stores the entire network the switching station is connected to in memory 00:25 est31 and if you remove a cable node or add it, it purges that network 00:25 octacian I'll say one thing though, I'd probably use a nodetimer 00:26 octacian How does it know when a cable is added or removed? 00:26 est31 and the next time the switching station abm runs, it generates the network again 00:26 est31 octacian: I think its a register_on_placenode thng 00:26 octacian Ah, I guess the question is, How is the network generated? 00:26 est31 thing* 00:26 est31 its generated in a recursive algorithm 00:26 est31 basically there is a function which calls itself on every adjacent nodes 00:27 octacian ..but that would require the nodes to be loaded, right? 00:27 est31 yes 00:27 octacian Or does it use VoxelManip? 00:27 est31 it does use voxelmanip 00:27 octacian OK 00:27 octacian Do you know where the code is? 00:27 octacian That'll still help me get started 00:27 est31 there is a function that basically makes a tiny little voxelmanip 00:27 est31 and returns the result 00:27 octacian Essentally I go from the switching station from node-to-node 00:28 est31 https://github.com/minetest-technic/technic/blob/master/technic/helpers.lua#L49 00:28 octacian Thanks. 00:28 octacian I'll see what I can figure out. 00:53 riff-IRC those are some insane ping timeouts 01:52 octacian est31: would this code be valid? https://gist.github.com/octacian/ed7a33af01e62c0f9c8be02ae84fadfa 01:53 est31 yeah 01:53 octacian OK, good. 01:53 octacian I modified the final return to return minetest.get_node(pos), is all 01:54 octacian So, essentially I need to look around the control node every second and trace the network? 01:55 octacian est31: ^ 01:55 est31 no 01:55 est31 thats very expensive 01:55 est31 instead cache the network in ram 01:56 est31 and remove the cache if a cable node is added or removed 01:56 est31 ultimately though its your decision 01:56 est31 you can start with generating the network each second 01:57 octacian huh 01:58 octacian o 01:58 octacian * ok 01:58 octacian So, I take it that I'm going to want to assign each network an ID and add that to all nodes in the network? 03:24 BBmine There are at least two spammers selling stuff on the forums! 03:25 kaeza I see nothing 03:25 kaeza and check your PMs 03:26 BBmine ok 03:27 BBmine I read it. Sorry. I didn't know spammers were dealt with this quickly :) 03:27 kaeza I can delete all the spammer posts with a few click, but I won't go topic hunting to see if somebody quotes them 03:27 kaeza yes, people quote spammers :< 03:27 BBmine I didn't quote them. All I did was say "I'll report him" or something like that. 03:28 kaeza yeah, but someone else did 03:28 BBmine Oh :P 03:28 kaeza already nuked, though :P 03:29 BBmine I hope they won't be able to create new accounts to spam with. 03:31 octacian est31: so, am I correct that essentially what I want to do is get_nodes_in_area around the controller and check if it's a valid power-related node then add it to the list? 03:32 octacian And then when broken remove it? 03:32 BBmine Hey octacian! 03:32 octacian hey BBmine 03:33 BBmine Did you see that troll on the forums? 03:33 octacian nope 03:33 octacian I've been working hard on MicroExpansion :D 03:33 octacian BRB, AFK. 03:33 BBmine Oh, he was there for a little bit, but then I reported him and now he and all his posts went *Poof* 03:37 octacian Back. 03:37 octacian Ah, I see. 03:38 octacian BBmine: out of curiosity, have you seen my mod, MicroExpansion? 03:38 BBmine Nope. Octacian, I saw that you said Guest1336. It's actually Guest1326 03:39 octacian >_< 03:39 BBmine Can we go to the forums now and just push this to the end please? LOL 03:39 BBmine I have an EPIC ending ready too! 03:40 octacian BBmine: https://forum.minetest.net/viewtopic.php?f=17&t=9236&p=254421#p254421 03:40 octacian !mod microexpansion BBmine 03:40 MinetestBot octacian: Could not find anything. 03:40 octacian !mod microexpansion 03:40 MinetestBot octacian: MicroExpansion [microexpansion] by endev15 - https://forum.minetest.net/viewtopic.php?t=15955 03:41 octacian BBmine: ^ 03:41 BBmine Cool! Nice feature! And thanks for fixing it :) 03:41 BBmine k. u need to see mine then... 03:41 BBmine !mod letters 03:41 MinetestBot BBmine: Glowing letters A-Z + 0-9 FINAL VERSION [neon] by webdesigner97 - https://forum.minetest.net/viewtopic.php?t=3260 03:41 BBmine thats not mine -_- 03:42 octacian :P 03:42 BBmine !mod BBmine 03:42 MinetestBot BBmine: Could not find anything. 03:42 octacian You gotta create original names :P 03:42 BBmine :p 03:42 BBmine I didn't know that mod existed until I made it :( 03:43 octacian WEll, you can always rename it 03:43 BBmine Cool! I'll try to make a video about it tomorrow 03:44 octacian Thanks :D 03:44 BBmine Do people really hang out on IRC all day here? LOL 03:44 octacian Reminds me... I really need to U/L a video myself. It's been three weeks.. xD 03:44 octacian BBmine: yep. I for one do 03:44 octacian Well, I'm always here, but I'm not as I also have to do school work ofc :D 03:45 BBmine I'm not sure if I subbed you yet. (Already subscribed to 99+) 03:46 BBmine Ok, you have 49 subbers now :) 03:46 octacian Thanks! xD 03:46 octacian As of late, I've been getting at least 1 sub every other day xD 03:47 octacian Maybe, if I uploaded a bit more often, It'd get up to 1sub/day :D 03:47 BBmine Oh, could you do me a favour and sub me? 03:47 octacian Sure. Can't right now though, really busy with ME :P 03:47 BBmine LINK: https://www.youtube.com/channel/UCCC5sorqcONQD5I7M-mYHLw 03:48 octacian BTW, if you think the mod is interesting, you should join my IRC network. Whenever anything related to any of my mods happens you'll almost alwyas here about it there lol 03:48 BBmine K. give me a link 03:48 octacian irc.endev.xyz, port 6697, ssl, accepts invalid certs. 03:49 octacian And, subscribed :D 03:50 BBmine I just added your mod to my server https://forum.minetest.net/viewtopic.php?f=10&t=14374. It will be there tonight :) 03:50 octacian OK 03:50 octacian Will check it out. 03:50 octacian Beware: there are very few recipes for working items. 03:51 octacian They will be added soon though. 03:51 BBmine In two hours and ten minutes it will be available :D 03:51 octacian I've been too busy on the power module to add them yet 03:51 BBmine anyway, bye! 04:40 BBmine kaeza, papedLen is back at it! 04:42 GreenDimond Any forum admin, there is a spammer/advertiser/idunnowhat named "papedLen" in the "servers" section of the forum. 04:42 GreenDimond He has currently posted on 4 server topics. 04:43 kaeza not anymore 04:43 GreenDimond Thankyou :D 04:44 kaeza !next 04:44 MinetestBot Another satisfied customer. Next! 04:44 BBmine thanks! 05:06 XtremeHacker !mod next 05:06 MinetestBot XtremeHacker: Minetest NeXt by BlockMen - https://forum.minetest.net/viewtopic.php?t=13383 05:06 XtremeHacker xD 05:11 kaeza 😆 06:45 diemartin !cat 06:45 MinetestBot http://i.imgur.com/DCXEhOJ.jpg 06:47 agaran diemartin: cute one :) 07:13 rdococ MEOW 09:56 JamesTait Good morning all! Happy Thursday, and happy World Book Day! 😃 🕮 10:05 yusf[m] Ahh… Minetest NeXt and Minetest TNG… Back when there were actual aspirations for the default game. 11:02 strncpy !cat 11:02 MinetestBot http://i.imgur.com/xRPBWSw.jpg 11:02 strncpy awh 11:09 kaeza huh. VE, SN, and SB left, and daconcepts.com is 404 11:09 kaeza mornings 11:57 kaeza sfan5, cat.zip: http://i.imgur.com/2akH6t0.jpg 11:57 Calinou kaeza: same here, it's down :( 12:12 chasanoglou hi 12:12 chasanoglou what language do u speak? 12:13 Calinou chasanoglou: English here 12:13 chasanoglou hi 12:13 kaeza english, do you speak it? 12:13 chasanoglou yes i speak english 12:14 chasanoglou i need to go bye everyoneeeeeeee 12:17 agaran kaeza: well thats just proof of 'if one cat paw will fit in box, cat will fit too' 12:19 kaeza heh 12:20 kaeza randomly searching old backups: http://i.imgur.com/DQWhbyJ.jpg | http://i.imgur.com/hcdiXtP.jpg 12:20 kaeza http://i.imgur.com/h9Mr1sp.jpg 12:32 kaeza har, forgot I was building this: http://i.imgur.com/W81JleI.jpg 12:43 Calinou haha, I remember this 12:44 CWz VanessaE doesn't seem to be around 12:45 CWz i think her server has died 12:45 Calinou kaeza: remake it for CS_GO, aim_mese :P 12:45 Calinou those lego maps seem to be popular, why not Minetest 12:59 Fixer kaeza: lol, I remember this 13:02 kaeza Calinou, I started doing a mod to export a region of the map as a VHE `.map` file at that time 13:02 kaeza there's always a relevant xkcd: https://xkcd.com/1319/ 13:03 kaeza if I had CS:GO I'd try to make it :P 13:07 kaeza I don't even know where I left the half-working code for that mod :( 13:16 omar__ hi 14:34 CWz kaeza, any idea what happened to vanessae's servers? 14:35 kaeza nope 14:37 ElectronLibre Even the IRC domains are down, so I guess it's some technical issue 14:38 * CWz fear VanessaE forgot to pay her bills 14:56 ^7heo CWz: ot 14:56 ^7heo CWz: it's fine, Trump does it too. 14:56 ^7heo (not paying their bills) 15:08 strncpy hi everyone 15:24 IhrFussel Someone tell me why "newlid" is apparently nil even though "getlid" is not nil...the file in question contains a 0 without any newlines http://pastebin.com/2SvwxuXV 15:28 IhrFussel In case you wonder how I know that getlid is not nil: if getlid == nil then minetest.chat_send_all("[Server]: FATAL ERROR. CANNOT FETCH CURRENT SHOP ID.") return end 15:29 IhrFussel Doesn't fire 15:31 IhrFussel This however fires: if newlid == nil then minetest.chat_send_all("[Server]: FATAL ERROR! CANNOT SAVE SHOP.") return end 15:32 sfan5 try putting it into a function that returns the value instead? 15:33 IhrFussel sfan5, my question remains: How can "newlid" be nil if the getlid condition works? I mean there is only ~= nil and == nil right? If == nil doesn't work it can only be ~= nil 15:34 sfan5 i dunno 15:34 kaeza IhrFussel, where is `newlid` nil? 15:34 kaeza maybe you are accessing it out of scope? 15:36 IhrFussel kaeza, it's inside a chat command..here's some more code http://pastebin.com/2HUq5Z6J 15:36 kaeza you are defining `newlid` as a local inside the `if` block, so it's naturally only accessible inside the block 15:37 IhrFussel Huh? I thought a scope is always a function or script...so it even exists inside an if condition? 15:39 kaeza IhrFussel, yes 15:39 kaeza she's here! everybody hide! 15:40 IhrFussel SO I need to move the local newlid = nil above the if statement...understood 15:41 kaeza IhrFussel, in short, the scope of a (local) variable begins at the `local` keyword and ends at the end of the containing block 15:41 IhrFussel kaeza, and a block ends at "end"? 15:42 kaeza well, to be pedantic, it begins *after* the `local` statement is "executed" 15:42 kaeza IhrFussel, usually, yes 15:42 Eelviny Hi there, about the API - I want to be able to capture chat messages and do my own thing with them. I can capture the message, but how do I cancel the chat message from showing in chat? 15:42 kaeza the only exception is the `repeat until ` 15:43 kaeza (its scope extends until the condition) 15:43 sfan5 Eelviny: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L2092 15:44 Eelviny Should have spotted that one! Thanks 15:45 kaeza wb VanessaE 15:45 IhrFussel Eelviny, any client before 0.4.15-dev still has client side chat prediction enabled AFAIK and will display the own message without processing it server side 15:46 IhrFussel Thanks for the explanation kaeza, I'll try it now =) 15:46 kaeza IhrFussel, sure :) 15:49 rdococ hi 15:49 rdococ holoioi 15:50 CWz VanessaE, is okay? 15:50 rdococ vanesse 15:51 IhrFussel kaeza, it works now! But what's the best way to round the positions player:getpos() gives me again? 15:51 CWz it just a lifeless shell 15:51 kaeza IhrFussel, probably `vector.round` 15:52 CWz an alien of the race suckulitor has sucked out her innards. now she's just a shell sort of like shadinja 15:52 kaeza u wot 15:55 VanessaE all is ok 15:56 VanessaE my servers just went down due to late payment :( 15:56 VanessaE they're ok now 15:56 rdococ you mean internet bill? 15:57 strncpy VanessaE: let me guess, kimsufi? 15:57 strncpy /ovh 15:57 strncpy or one of the others 15:57 VanessaE strncpy: close - soyoustart 15:57 strncpy ah 15:57 VanessaE there used to be a 10 day "grace period"...guess not anymore 15:58 strncpy sounds like something they'd do 15:58 strncpy my provider has a grace period of a year 15:58 VanessaE I sent a ticket to request a later payment date for the future 15:58 strncpy which is nice 15:58 VanessaE thankfully all they did was null-route the server rather than shut it down 15:58 VanessaE (I haven't extensively tested my cold-start script) 15:59 strncpy http://www.mirror.co.uk/news/uk-news/take-look-inside-britains-newest-9942730 15:59 strncpy oops wrong chan 16:01 kaeza you gotta hate that 16:01 kaeza hope they refund it if the servers go down even 5 secs due to their problems 16:02 kaeza still, glad to see everything's "fine" :) 16:03 rdococ you know what we need to see more of? 16:03 rdococ antiviruses that detect windows. 16:04 strncpy lol 16:05 VanessaE bbl 17:26 chasanoglou hi everyone 17:27 chasanoglou is Plsbs on? 17:27 chasanoglou Plebs 17:28 chasanoglou does someone talk english? 17:31 chasanoglou naaaah no one tals to me 17:31 chasanoglou talks 17:33 rdococ Yay 17:34 chasanoglou hi 17:35 strncpy what do you all use for server hosting? 17:36 chasanoglou o im new srr i cant help 17:37 chasanoglou im trying to make a server too 17:40 chasanoglou ok bye everyone 17:45 Roger01 hello 17:45 Roger01 why are mods written in lua and not c++? 17:46 PureTryOut[m] well for one it's easier to learn than C++, which allows more mod developers 17:46 PureTryOut[m] *allows for 17:46 Roger01 ok. just that? 17:47 PureTryOut[m] probably more reasons, but I think it's a big one 17:47 * PureTryOut[m] is not a Minetest developer 17:47 rafalcpp PureTryOut[m]: likelly just speed yea 17:47 rafalcpp though... 17:47 rafalcpp also security come to mind 17:48 Roger01 security? 17:48 rafalcpp yea 17:48 PureTryOut[m] I guess Lua can't fuck up as much? 17:48 rafalcpp and portability 17:48 Roger01 i don't understand this 17:48 rafalcpp though.. in C++ a plugin could run in trusted exec ... at least on non-gay operating systems that have seccomp 17:49 rafalcpp Roger01: a module in C++ would need to be compiled or be in binary format (compatibility problem) 17:49 rafalcpp and after it is loaded, it could do anything to your computer, steal passwords and waht ever 17:49 PureTryOut[m] "non-gay" lol 17:49 PureTryOut[m] and yeah portability is a good one 17:49 rafalcpp PureTryOut[m]: yeah like linux, has seccomp. Windows lags behind 17:49 * Roger01 is not a C++ expert 17:49 PureTryOut[m] mods do not need compiling for every target OS, just Minetest 17:49 PureTryOut[m] rafalcpp: but everyone knows Windows is shit 17:49 rafalcpp PureTryOut[m]: well the binary program must be built for the OS on which MT is running 17:50 rafalcpp the binary code of module 17:50 Roger01 i don't understand anything xD 17:50 PureTryOut[m] Roger01: just know this: Windows is shit 17:50 rafalcpp ways to do modules: 17:50 rafalcpp 1) provide .cpp, have user compile it, just run it 17:50 rafalcpp 1) provide binary (e.g. from cpp or any language), just run it 17:50 rafalcpp 2) provide binary (e.g. from cpp or any language), just run it 17:51 rafalcpp 3) provide binary (e.g. from cpp or any language), run it in a sand-box like seccomp or something 17:51 rafalcpp 4) lua (source code), run it 17:51 Roger01 oh i think i got it 17:51 rafalcpp 4 is slow, but portable and secure 17:51 Roger01 yeah got it 17:51 rafalcpp I hope most popularr and time-intensive mods would become part of native MT at some point 17:52 PureTryOut[m] not that slow though 17:52 PureTryOut[m] it's good enough 17:52 rafalcpp PureTryOut[m]: any idea how it is compared to native solution? 17:52 PureTryOut[m] well no 17:52 PureTryOut[m] but it can't be that bad 17:52 Roger01 stupid question: i would be possible to "pack" the mt engine and a subgame in a .exe file? 17:52 rafalcpp something massive, e.g. find all blocks that have same 3 blocks on top of them (scan entire chunk) and replace that with a cactus 17:53 rafalcpp I would expact above to be 10-100 times slower 17:53 rafalcpp then directly in C++ manipulating the vector/array of blocks 17:54 rafalcpp but other mods that don't do such complex operations manually on all blocks.. dunno... 2-10? 17:55 PureTryOut[m] I guess 17:55 PureTryOut[m] I'm still figuring out how to rotate a node when param2 is already used for "meshoptions" :p 17:55 Roger01 http://vignette4.wikia.nocookie.net/1s2ps/images/5/51/Dr_w_d_gaster_by_pabloracer1-d9n5700.png/revision/latest?cb=20160730025951 17:56 Roger01 bye 17:56 PureTryOut[m] I should really make an issue to be able to use both param1 and param2 for whatever, and not being locked to having "facedir" or "meshoptions" in 2 17:57 PureTryOut[m] rafalcpp: using LuaJIT, shouldn't Lua be comparable to native code? 17:57 PureTryOut[m] (speed-wise) 17:58 rafalcpp PureTryOut[m]: the algorithm itself, I would guess it would be. but wouldn't it be doing lots of expensive callbacks back to C++ to query the chunk array one by one 17:59 PureTryOut[m] I guess 17:59 rafalcpp if it's some silly algorithm and the 16*16*16 blocks loop runs in lua instead of in c++ 17:59 rafalcpp any sane algo probably could use better 1-call callback like "find me nearest block that has such properties" (I guess) 18:11 Thekiller916 how can i make a server? 18:12 Thekiller916 can u guys talk 18:13 mmuller Thekiller916: talking does happen here 18:13 mmuller Do you mean "build the server from source?" 18:14 Thekiller916 how can i make a server can u say me 18:14 Thekiller916 or build like u say 18:15 mmuller From the README.txt, you should be able to specify -BBUILD_SERVER=TRUE in your "cmake" command. 18:16 Thekiller916 what 18:16 Thekiller916 ? 18:16 mmuller I want to be clear: this is building the server from source as opposed to installing or "setting up" a server 18:16 mmuller Ok, If you don't know what those words mean, you're probably asking about setting up a server :-) 18:17 Thekiller916 yes 18:17 Thekiller916 how can i do that 18:17 mmuller have you seen this? -> http://wiki.minetest.net/Setting_up_a_server 18:18 Thekiller916 no but ill check it now wait 5 mines 18:19 Thekiller916 im back 20:44 IhrFussel player:set_sky() doesn't have a default option right? Like reverting back to the normal sky 21:05 Open_Future Hi all, suddenly my server which I was able to connect to a week or so ago from other computers/devices over the internet keeps giving connection timed out. Any ideas? Firewall/router seems to be same setup...no changes. 21:11 Open_Future Hi all, suddenly my server which I was able to connect to a week or so ago from other computers/devices over the internet keeps giving connection timed out. Any ideas? Firewall/router seems to be same setup...no changes. 21:13 mmuller Open_Future: has your external IP address maybe changed? 21:14 mmuller (though I would expect even in that case you'd be able to get to it from the server browser) 22:11 kaeza greetings 22:44 Fixer kaeza: greetings 22:51 Out`Of`Control hi! 23:00 swift110 hey Out`Of`Control