Time Nick Message 03:43 Bukki Hi Anyone knows if its possible to have variables like counters in Mesecons LUA Controllers? 03:43 Bukki Didn't used it that long time... 03:43 Bukki like i=0, i++ 06:48 IcyDiamond https://i.lunasqu.ee/Screenshot_18-04-02-09:48:23.png tweaked my formspec a little 08:29 IcyDiamond can add_item not be used to add to an empty stack? 08:29 IcyDiamond it just returns nil 08:33 IcyDiamond oh nvm it was a derp on my side 08:37 IcyDiamond https://i.lunasqu.ee/Screenshot_18-04-02-11:37:29.png casting! 08:46 rud0lf mB ? 08:46 rud0lf miliBar? 08:47 IcyDiamond millibucket 08:49 Krock rud0lf, millibar would be mbar 08:49 rud0lf right 09:26 deltasquared "spam in PM", I hope that wasn't related to a certain old man crazy... 09:28 deltasquared anyway, something that I came across that doesn't seem obvious from observation... if you do a bunch of set_node() calls in sequence, do the on_place callbacks for each node get called synchronously before set_node() returns, or do they get queued up to run when the event loop runs again? 09:30 Krock set_node run the callbacks while it's being executed 09:30 Krock so when set_node returns, the callbacks were called 09:31 Krock https://github.com/minetest/minetest/blob/master/src/serverenvironment.cpp#L927 09:31 deltasquared Krock: I see. that would explain something I was observing with the technic mod. 09:31 Krock ^ called by l_set_node 09:32 Krock it's also quite logical as you'll have to call on_destruct before actually removing the node 09:32 Krock ..and then replacing with the new one 09:33 deltasquared Krock: just thought I'd make sure. I had decided to patch technic's constructors to allow them to preserve param2 rotation, noticed that bare mesecons wire was essentially not reconnecting properly 09:33 deltasquared if their on_place ran and they saw nothing to connect to, I guess that would happen, especially if the next one would then appear and not "update" the previous one 09:33 deltasquared (I'll have to get a screenshot later.) 10:32 Telesight Hello all ... 10:32 Telesight What is the easiest tool to design a block? 11:03 IcyDiamond Telesight: i do it in gimp 11:22 Telesight @IcyDiamond: Ok, I already thought that ;-) 11:23 Telesight But I thought maybe there is an Open source tool for it ... 11:24 IcyDiamond I dont think there's a specific tool to make minetest textures 11:24 IcyDiamond But hey, GIMP is open source :P 11:24 Telesight Yes I meant a special tool 12:10 paramat rdococ any biome mod must depend on (and run after) default because default clears all registered biomes 12:13 IcyDiamond passant: your internet sucks 14:12 deltasquared *git pulls* ooh, schematic files 14:14 IcyDiamond huh? 14:14 deltasquared IcyDiamond: I have a local git clone of the github repos, just saw some interesting things in the fast-forward 14:14 IcyDiamond kk 14:15 deltasquared partly because I'm going to ask a question in a minute if I can't locate what I'm looking for in the source code. 14:18 Bukki Anyone here experienced in Mesecons Controllers? Looking for an way to either store Variables or to easily transform decimal to binary Numbers. 14:20 brothersome No memory arrays here ... So I used 1 bit memory 14:21 deltasquared Bukki: the microcontrollers or the luacontrollers 14:21 Bukki Both would work 14:21 deltasquared luacontrollers would be much easier, you have the "mem" table you can assign to and keep across runs 14:22 Bukki I currently tried to use the Ports for keeping Memory in Bit Values. 2 Controllers meaning a full Byte. Both connected by Digilines. 14:22 deltasquared tl;dr you can mem.somevar = my_data and be able to retrieve mem.somevar on the next run. just don't try to store too much in it or it'll break the controller. 14:22 Bukki Problem is i need to get that transformed to Decimal Value again then 14:23 deltasquared Bukki: decimal for what purpose? display? 14:23 deltasquared (bearing in mind no numbers in lua are stored in decimal really) 14:23 Bukki I need an Counter. 14:23 Bukki There are several Options which are displayed on Display 14:23 Bukki On Button press there should be that one with next Number 14:23 deltasquared Bukki: and you want the user to be able to select one by pressing something? 14:24 Bukki On other Buttons Press there should be that one with Number less 14:24 deltasquared oh, that's doable 14:24 deltasquared as soon as you know which input was fired, you can add or subtract one from "mem.counter" say (the actual variable name is your choice) then write that back 14:24 deltasquared when select is pressed, check mem.counter for the currently selected option 14:25 Bukki So it's not fixed value? 14:26 Bukki okay, then problem is already solved. :) 14:26 deltasquared Bukki: you can create arbitary values inside the mem table, you should look up how tables work in lua - for the luacontrollers in particular, the mem table is special because it's "remembered" 14:26 Bukki How you mean remembered? 14:27 deltasquared Bukki: other variables in the controller's lua script are forgotten when it is run again 14:27 deltasquared (yes that is intentional) 14:28 Bukki So can use like real Coding Variables? 14:30 deltasquared hmm, interesting, so ISoundManager::playSound() *does* support a pitch modifier, but it does not appear to be being exposed to the lua api. hrm 14:31 Bukki Just thinking some more extended... a For loop isn't supported by Microcontroller, or? 14:31 deltasquared ... oh wait it does? 14:31 deltasquared hold on 14:31 deltasquared Bukki: it is, but if you run it too long, it will burn out 14:31 deltasquared this is to protect the server from being locked up 14:31 Bukki But for short stuff it will be good? 14:31 deltasquared yes 14:31 Bukki Like 64 runs? 14:32 deltasquared depends, what's inside the loop? 14:32 deltasquared I think the number is something like 10,000 lua "operations" before it blows itself up 14:32 Bukki check a number and depending on the size send a message to display 14:32 deltasquared oh, that should be fine 14:32 Bukki ok, thanks 14:33 deltasquared it'd have to be a reaaaaaaaaaaaaaaly long loop body (or lots of recursion >_>) to blow up in just 64 loop runs 14:34 deltasquared that's interesting, pitch *is* passed through... time to check that SimpleSoundSpec conversion routine 14:36 deltasquared yet another thing in the API that isn't documented 14:36 deltasquared Krock: I think I feel a documentation patch coming on, I may ask for some pointers later 14:36 deltasquared ... oh wait hold on 14:36 deltasquared *checks diff* 14:37 deltasquared d'oh, different git commits. my bad 14:37 Krock wat 14:38 deltasquared Krock: I was looking to see if a pitch parameter existed for sound_play. it does, but that's in git master, I don't think it's present in 0.4.16 14:38 Krock no, that's 0.5.0-dev only 14:38 deltasquared aww. 14:39 rubenwardy loadsa stuff in 0.5.0 14:40 deltasquared rubenwardy: I got that impression... is there an executive summary of it anywhere (IIRC there's a wiki page...) 14:40 Krock and 80-ish PRs are still pending (however, most of them are inactive/stalled9 14:40 Krock *) 14:40 Krock deltasquared, it'll be added to the changelog somewhen 14:40 Krock the changelog on the wiki :) 14:41 deltasquared oh fun, so I get to go trawling commit logs in the meantime :P 14:42 Krock or keep a look at the PRs and sort by merge date 14:42 Krock and label: feature 14:42 deltasquared Krock: ... I'm an eejit 14:42 deltasquared it has been said many times, but yet again 14:43 Krock an Eventually Engaged Just In Time (player)? 14:44 deltasquared strangely accurate, actually 14:44 deltasquared gets there in the end 14:44 Krock lol okay 14:44 deltasquared alpha channel support on entities hell yeah 14:45 deltasquared biome names and IDs, interesting 14:45 deltasquared (not that I ever bothered with that kind of thing) 14:46 * IcyDiamond clones master 14:47 deltasquared IcyDiamond: I'm looking at the github PRs, it's a better filter 14:47 deltasquared specifically, is:pr is:closed label:Feature 14:47 deltasquared https://github.com/minetest/minetest/pulls?q=is%3Apr+is%3Aclosed+label%3AFeature 14:47 deltasquared if the labels of the closed PR made it into git commits that'd help but alas no 14:49 deltasquared -- If it quacks like a Player... 14:49 deltasquared lawl 14:49 Krock attaching tags to commits is possible but they're supposed to be waypoints/revisions but not labels 14:50 Krock deltasquared, relevant: https://en.wikipedia.org/wiki/Duck_test 14:51 Krock so if the player is accessible like userdata, has the get_player_name function, then it's probably a player ^^ 14:51 longerstaff13 o/ 14:52 deltasquared o/ 14:52 Krock \o/ 14:52 longerstaff13 lol 14:52 longerstaff13 \o\ 14:52 Krock /<[°_°]>/ 14:52 deltasquared Krock: glad it's a fairly lightweight check. I'm thinking I may have to patch pipework's node breaker fake player to ensure it has this method (can't recall off the top of my head) 14:52 deltasquared at least that can be done without breaking compat for now. 14:52 longerstaff13 Krock: lol 14:54 MinetestBot 02[git] 04HybridDog -> 03minetest/minetest: Formspecs: Use mouse wheel to pick up and deposit single items 1312edb20 https://git.io/vxiUD (152018-04-02T14:52:07Z) 14:56 deltasquared man there is just soooo much stuff 14:57 IcyDiamond that is very nice 14:57 IcyDiamond thanks for that 14:59 IcyDiamond https://i.lunasqu.ee/Screenshot_18-04-02-17:59:38.png whoa 15:01 IcyDiamond oh hey you added kelp as well 15:01 IcyDiamond lmao 15:01 IcyDiamond unless it always has been there but i only now notice it 15:07 max__ I have quite the issue. I want to join the forum yet I can't because I'm in the philippines and the forum hates my IP because the country I live in sucks 15:08 max__ Couldn't find an email or any contact anything. Wat do? 15:08 IcyDiamond dont blame your country, blame the ass who got himself banned using the ip you've unfortunately recieved 15:08 max__ srsly 15:09 IcyDiamond unified inventory is best inventory mod 15:09 max__ They even banned all VPN so that's out and TOR 15:09 IcyDiamond wow 15:09 max__ It's just retarded. 15:09 rubenwardy certain VPNs are banned, but not all 15:09 rubenwardy they meaning the country? 15:10 max__ I'm on linux, Manjaro and I have no idea where to put my mod files because the wiki isn't very clear and should be rewritten as I don't have 1 folder like windows. 15:10 deltasquared max__: your MT folder is ~/.minetest 15:10 max__ I've tried 5 VPNs on linux. No more. 15:11 max__ I get that. ~/.minetest 15:12 max__ Do I just create he folders? 15:12 deltasquared max__: when you get a mod it should be a folder already. either be a modpack (modpack.txt) or have an init.lua inside 15:12 deltasquared the folder with init.lua inside becomes the folder directly inside ~/.minetest/mods 15:12 max__ I did rename the folders in the zips to the names that they should be. I did that 15:13 deltasquared so you should have ~/.minetest/mods/somemodname/init.lua 15:13 deltasquared (and don't forget to enable the mod per-world) 15:14 max__ I'm just going to delete it. Thanks all. GG 15:15 * deltasquared resists going (╯°□°)╯︵ ┻━┻ 15:15 IcyDiamond lol 15:15 IcyDiamond i like making mods that i'll never finish 15:15 IcyDiamond xD 15:16 Krock poor max looked at the wrong page 15:16 Krock ofc it's documented 15:16 IcyDiamond lol 15:21 MinetestBot 02[git] 04SmallJoker -> 03minetest/minetest: 'fix' LINT, use InventoryLocation== 13e98fd93 https://git.io/vxiIL (152018-04-02T15:18:48Z) 15:21 MinetestBot 02[git] 04SmallJoker -> 03minetest/minetest: Run callback in IDropAction, refactor function arguments 139fa547b https://git.io/vxiIt (152018-04-02T15:18:48Z) 15:21 MinetestBot 02[git] 04SmallJoker -> 03minetest/minetest: Add player inventory callbacks 13f6eff57 https://git.io/vxiIq (152018-04-02T15:18:48Z) 15:22 IcyDiamond aaa more stuff 15:23 IcyDiamond is a good thing that you dont have to rebuild the entire thing when you update 15:24 deltasquared IcyDiamond: it would be recommended if you suspected weird stale file issues 15:24 IcyDiamond :P 15:24 deltasquared in theory yes if the file hasn't changed you could cache it, but I wouldn't test that too far 15:27 IcyDiamond anyone have a server of 0.5.0-dev for messing around? 15:27 IcyDiamond or should i turn mine into one 15:41 Krock deltasquared, don't worry. the CMakeLists were recently modified a few times, so building from scratch is not an issue. 15:41 Krock s/from scratch/using incremental/ 15:41 Krock .. currently :D 15:41 deltasquared Krock: ah well, if in doubt, nuke and redo from scratch 15:42 deltasquared it's not a /terrible/ build time right now 15:42 deltasquared might get a bit annoying during repeated compilation cycles (but then incremental builds ought to be fine) 15:42 rdococ rdococ any biome mod must depend on (and run after) default because default clears all registered biomes 15:42 rdococ Ah 15:43 Krock "terrible" *looks at Linux kernel and Wine* 15:43 deltasquared Krock: this so much 15:43 deltasquared not to mention any of the browsers 16:18 rdococ Interesting how the luscious mod works... I think that the new get_heat and _humidity functions in 0.5.0-dev would be able to simplify it a lot 16:21 deltasquared rdococ: are they per-biome things I take it 16:22 rdococ deltasquared: get_heat and get_humidity vary in the biome too 17:40 deltasquared just been playing around with sound parameter pitches, modified my re-use of MC's cave ambience files (locally, I swear!) to randomly set a pitch... I'm creeped out now o.o 17:46 IcyDiamond Lol 17:46 IcyDiamond His brain segfaulted 19:16 IcyDiamond I'm deeply saddened that nobody I talk with cares about minetest 19:16 IcyDiamond I feel alone 19:16 Krock sad IcyDiamond. i cri 19:18 Krock you can start an excellent active discussion with topics like "the new sneak glitch is much better", "we need mobs in MTG" or "what formspec engine are we going to use as replacement" 19:18 IcyDiamond Haha I was complaining about formspecs literally 5 minutes ago to a friend 19:19 Krock also "re-add or replace nyan cat" would be a candidate 19:19 IcyDiamond Let's face it: formspecs are shit rn 19:20 Krock that's not going to be an active discussion that way. we all know that they're suboptimal 19:20 IcyDiamond XD 19:21 IcyDiamond I propose object-oriented system 19:21 IcyDiamond Lua objects 19:21 ThomasMonroe CEGUI? 19:21 IcyDiamond I don't know anything about cegui 19:22 IcyDiamond Lol let's just do xml xddd 19:22 lumberJ hacked buttons that work like switches are the best 19:22 lumberJ :P 19:22 * IcyDiamond looks at pipeworks 19:23 ThomasMonroe lol 19:23 VanessaE IcyDiamond: don't eye it too closely, I got the idea from unified inventory :P 19:23 IcyDiamond Haha 19:23 IcyDiamond I love unified inventory 19:24 Krock lumberJ, what hacked buttons? they're just abused as switches, not hacked 19:24 Krock image buttons also work quite good for that *looks at pipeworks* 19:24 VanessaE Krock: s/hacked/hacky/ 19:24 Krock makes sense now 19:24 lumberJ my choice of words was exaggerated 19:25 IcyDiamond local formspec = FormSpec.new(500, 550) 19:25 lumberJ hacked as in made to work in a way they were not necessarily intended 19:26 IcyDiamond formspec.set_background( ... ) 19:27 IcyDiamond It's the best way to make proper programmable interfaces 19:27 IcyDiamond But hey, that's just a theory, a test theory 19:30 IcyDiamond ..I'll see myself out 19:33 ThomasMonroe lol 19:38 rdococ does the [sheet texture modifier have 0-indexed or 1-indexed positions? 19:41 Krock https://github.com/minetest/minetest/blob/master/src/client/tile.cpp#L1942 19:41 Krock 0-indexed 19:43 Player_ONE_ hey fellow admins/players 19:44 Krock hello Player 19:45 Krock won't you greet the 20 people here who idle for their entire life in here without caring about Minetest? 19:45 Krock and MinetestBot deserves some love too 19:45 Krock <3 MinetestBot 19:45 MinetestBot <3 Krock 19:47 Player_ONE_ who of there is an owner of a server ? [important stuff[ 19:48 Krock rough guess: eight ]people] 19:49 Player_ONE_ i see some 19:49 Player_ONE_ but wont help me if they arent on 19:51 Krock if you're having an issue about a particular server, then I'd check the forums first to see whether there's an IRC channel or any other chat where you could ask 19:51 Player_ONE_ no not that 19:51 Krock there are the chances for a reply overall higher as the right people see it 19:52 Player_ONE_ i wanna ask if anyone knows anything about a particular player , and type of player , and general behaviour of hackers 19:52 lumberJ hackers or hacker wannabes ? :P 19:52 Krock client hacking would be something where I could give answers, but not about the player 19:53 lumberJ or hacky formspec buttons? 19:53 lumberJ :D 19:53 Player_ONE_ there's a known player 19:53 Player_ONE_ named 19:53 Player_ONE_ Ayylmao 19:53 Player_ONE_ anyone know him ? 19:53 Krock lumberJ, the formspec topic is already ded. you're too late to the funeral 19:53 lumberJ its never too late for a running gag 19:53 Krock that's an alien on memes... never heard of that player tbh 19:53 Player_ONE_ no a player 19:54 Player_ONE_ a known hacker man ! 19:54 Krock https://cdn.discourse.org/boingboing/uploads/default/optimized/3X/a/8/a85429ccc3be6d4321045c0ece648f842deff335_1_500x500.jpg 19:54 Player_ONE_ https://www.youtube.com/watch?v=iMfRpdT9aNA 19:55 Player_ONE_ example 19:55 rubenwardy oh no, not a player! 19:56 rubenwardy lol Krock 19:57 Player_ONE_ long story short he's been ...uumm......fliping around with my server 19:57 lumberJ the best thing i can tell you to do with those types of players is to frustrate them to the point they are not having fun on your server 19:57 Krock Q: how to solve this issue? A: ban 19:57 Player_ONE_ he had spam accounts 19:57 Player_ONE_ were spamming 19:57 Krock ip-ban 19:57 Player_ONE_ a lot 19:58 Player_ONE_ /ban isnt the same ? 19:59 lumberJ Player_ONE look at xban mod 19:59 Krock !mod sban 19:59 MinetestBot Krock: SQLite Ban [sban] by shivajiva - https://forum.minetest.net/viewtopic.php?t=18603 19:59 Krock ^ faster and offers the same as xban (afaik) 19:59 lumberJ or that :) 20:00 Krock also makes temporary bans available. I wouldn't use the vanilla /ban command on a server 20:00 lumberJ yes, db storage would be better 20:03 Shara Player_ONE_: set up sban, then you can use /ban :) 20:04 Player_ONE_ btw they DDoSed the server 20:04 Player_ONE_ its down 20:04 Player_ONE_ im not the host 20:04 IcyDiamond Lol 20:05 IcyDiamond My vps provider promises ddos protection 20:05 Shara But weren't you saying you're the best admin there is? 20:05 Player_ONE_ in players eyes 20:05 Player_ONE_ i help people even if its with mobs , i have events 20:06 Player_ONE_ i give free stuff [event for 2 weeks] 20:06 Shara Oh. I guess no other server ever thought of doing events 20:06 IcyDiamond Lol 20:06 Player_ONE_ well 20:06 Player_ONE_ daily ?? 20:06 Player_ONE_ with prices ?? 20:06 Player_ONE_ on a daily basis <-- =) 20:07 Player_ONE_ lol 20:07 Shara Prices? For events? 20:07 Player_ONE_ I give players items if they win 20:07 rubenwardy not the fairest admin though 20:07 Krock give them a flowerpot when the lose 20:08 Player_ONE_ i try to make an entertaining server that has an alive and always changing nature 20:08 Player_ONE_ this way u wont get bored 20:08 Player_ONE_ I'd invite ya'all to see Ultra World but....it's DDoSed 20:09 Krock !server Ultra 20:09 MinetestBot Krock: No results 20:09 Player_ONE_ because its down ! 20:10 Player_ONE_ its DDoSed by a hacker ! 20:10 Player_ONE_ lol 20:10 Shara So a player wasn't happy enough with you that they became a hacker and DDoSed you? 20:11 Krock surely. everybody does that /s 20:11 sfan5 Player_ONE_: who is the host of "ultra world"? 20:12 Player_ONE_ yee 20:12 Player_ONE_ o 20:12 Player_ONE_ no 20:12 Player_ONE_ i though u said owner 20:12 Player_ONE_ im not the host 20:12 Player_ONE_ orwell hosts it 20:12 Player_ONE_ for me 20:12 sfan5 and that's who? 20:13 Player_ONE_ orwell 20:13 Krock https://forum.minetest.net/memberlist.php?mode=viewprofile&u=17391 20:13 sfan5 oh 20:14 Player_ONE_ the modder who made advanced trains 20:52 blaaaaargh_ greetings 20:54 Krock o/ kaeza 20:54 Krock glad to see you back! 20:54 blaaaaargh_ I recall there was an option to show the crosshair on android. was that removed? using 0.4.16 from fdroid 20:55 blaaaaargh_ hello Krock, hows it going? 20:56 Krock I've never seen such a setting - it could be that it's undocumented if there is one 20:56 Krock blaaaaargh_, I'm fine thanks :) 20:57 Krock how about you? 20:57 blaaaaargh_ fine, thanks 20:58 Krock (^.^) 21:00 blaaaaargh_ hmm, maybe i recall incorrectly 21:00 blaaaaargh_ having such an option would be nice 21:01 blaaaaargh_ that "touch block to dig" control is kinda annoying 21:42 fridolin Hallo 21:48 rdococ Krockodiles™ 21:51 MinetestBot 02[git] 04nerzhul -> 03minetest/minetest: Fix many issues reported by clang-tidy (#7189) 132481ea2 https://git.io/vxiHi (152018-04-02T21:51:08Z) 21:52 Krock rdocociles™ 21:57 rubenwardy Get a room, jeez