Time Nick Message 09:41 jas_ https://www.twitch.tv/videos/179838613 <-- 2:16:04 09:44 Krock 11 different script domains.. phhhht 09:46 Krock the railway looks familiar 09:56 JayTheNinja23 hi 09:56 JayTheNinja23 bro bro 10:04 jas_ Krock: i've used twitch since own3d, so i don't know. i tried youtube live once when it started, i might try it again 14:15 MinetestBot 02[git] 04jastevenson303 -> 03minetest/minetest: Move register_on_modchannel_signal() (#6497) 134337b48 https://git.io/vdBN4 (152017-10-05T14:14:10Z) 14:43 sovetskiy what is "pointed_thing"? why it's in parameter list of many handler functions along with "node", which is the node something happened with it. 14:44 jas_ it's the thing under your crosshair, or whatever is pointed at 14:44 jas_ so if you use a tool, and reference pointed thing, you can get the node you hit the tool with 14:45 Krock node/object or nothing 14:45 jas_ i couldn't get modchannels to work for me :'( gonna try it sooner or later 14:45 sovetskiy the node I punch/dig is just "node" in param list 14:46 jas_ on_dig doesn't have pointed_thing 14:47 sovetskiy minetest.register_on_punchnode(func(pos, node, puncher, pointed_thing)) 14:47 sovetskiy explain pls params 14:47 jas_ or register_on_dignode, anyway. on_punchnode does 14:47 jas_ i'm just looking in lua_api.txt, which happens to be infront of me and at the right page at the right time ha 14:47 jas_ https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L2439 14:48 Krock sovetskiy, yes sure it's a node in pointed_thing. The reason why it's passed as an argument there is pointed_thing.above and pointed_thing.under 14:48 Krock which can be important 14:48 Krock actually only .above, as .under == pos 14:49 sovetskiy what's the difference between "node" and "pointed_thing" params? They are equal all the time? 14:49 sovetskiy I just can't get it 14:49 jas_ they're not the same, no. 14:50 jas_ you can print(node) and print(pointed_thing) 14:50 jas_ or print(dump(node)) and print(dump(pointed_thing)) 14:50 jas_ take a look and see! :) 14:50 sovetskiy ok, they are different. But what is purpose of pointed_thing? 14:51 sovetskiy wrapper around "node"? 14:52 jas_ yes it's the table values krock mentioned, above and under, "below?" i forget 14:52 jas_ really, try print(dump(pointed_thing)) and then look at the table values. it shows, i think, surrounding nodes -- or better put: allows you to minetest.get_node(pointed_thing.under) surrounding nodes 14:53 jas_ so let's say right right click dirt 14:53 jas_ but you want to plant seed above it 14:53 jas_ this would say, ok NODE is dirt, but i want to plant seed at AIR pointed_thing.above 14:53 jas_ or something like this, i think, others may know more 15:05 sovetskiy I totally confused 15:05 sovetskiy ok, dumped some values 15:06 sovetskiy I punched block of dirt 15:06 sovetskiy pos: { y = 5, x = 53, z = -346 } 15:07 sovetskiy node: { param1 = 0, name = "default:dirt", param2 = 0 } 15:08 sovetskiy pointed_thing: { type = "node", above = { y = 6, x = 53, z = -346 }, under = { y = 5, x = 53, z = -346 } } 15:08 sovetskiy ABOVE is shifted 15:08 jas_ keep trying, you'll get it 15:08 sovetskiy pos.y = 5 15:10 sovetskiy under is the same as node pos 15:10 jas_ so 15:10 jas_ are you trying to do one thing? 15:11 jas_ or are you trying to understand the minetest function? because that's two different things! haha 15:11 jas_ i dunno why they are the way they are 15:11 sovetskiy under is not changed but must be y = y - 1 15:12 sovetskiy anyways, if I have pos, I can do minetest.get_node( { x = pos.x, y = pos.y + 1, z = pos.z } ) 15:12 jas_ it may be superfluous, it may be for a specific use otherwise not achievable with node 15:12 jas_ i can't only imagine 15:13 sovetskiy I don't why the hell we need that pointed_thing 15:13 jas_ haaaa now we have it! 15:13 jas_ that's a good question, indeed 15:14 sovetskiy And I also can't get this image http://dev.minetest.net/pointed_thing 15:15 sovetskiy node = (50,7,-13), above = (49,7,-13). 49, KARL 15:15 jas_ that page describe what "Pointed Thing" is. 15:15 jas_ and references some function let's look in lua_api.txt 15:15 jas_ https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L2874 15:16 jas_ * `minetest.get_pointed_thing_position(pointed_thing, above)` * Get position of a `pointed_thing` (that you can get from somewhere) 15:16 Krock .above is the position above the pointed face, .below is the position below the pointed face 15:16 sovetskiy why node has coords (50,7,-13), but above - (49,7,-13) 15:16 sovetskiy shifted x 15:16 jas_ depends which face is pointed 15:16 jas_ ? 15:17 jas_ above and under, perhaps being relative 15:17 Krock imagine block/node placement. For solid nodes, the .above position will be the position of the new node 15:17 Krock this changes, depending on how you point to the node 15:19 Krock learning by try/error is also a good method to see whether something works or not 15:19 jas_ i believe recently there was a change that allowed one to get the actual coordinates on the face that was pointed, so stairs mod e.g. can put slab at top if pointed upwards on face, or bottom of pointed towards bottom... it's cool 16:23 Viper Hi 16:27 Out`Of`Control what could trigger turning dirt_with_grass into dirt? 16:27 jas_ cows 16:27 Out`Of`Control jas_: mobs:cows? 16:27 jas_ yea they replace grass for me 16:27 jas_ dirt_with_grass 16:27 jas_ think sheep too 16:29 Out`Of`Control jas_: thanks 16:29 jas_ yw 17:08 jas_ np: https://youtu.be/T73eLMxhvgk 17:08 jas_ !title 17:08 MinetestBot jas_: Lightning Bolt - Fantasy Empire (2015) FULL ALBUM - YouTube 17:15 Out`Of`Control is there a script to remove locked nodes of player X on whole map? 17:15 Out`Of`Control similar as https://gist.github.com/sfan5/3c04c625453ec95c6a6df4d7e2c05885 17:16 Krock just register an lbm? 17:16 Out`Of`Control Krock: lbm runs on whole map at once? 17:17 Krock no, but it will update each new loaded block 17:17 Krock because who cares about the never used map? 17:18 Out`Of`Control Krock: thanks, it wont lag if i add like 100 names? 17:18 Krock a python implementation will be too slow for this task anyway. If you want to check for the meta field of a node, this would require "some" lines of code more to implement that. So going with Minetest directly seems the simplest solution 17:19 Krock you'd have to worry about the amount of new loaded blocks and the performance of checking the nodes inside 17:20 Krock one or hundred names to check won't make a too big difference at all once you've found another protected/owned node 17:20 Krock basically just a string compare once the "owner" field is loaded 17:27 sfan5 Krock: i dont think it would be too slow, rather just not fast 17:32 Krock depends on the definition :3 17:32 Krock but it would definitely take a while for a busy server map of at least a Gigabyte of compressed map data 17:33 Krock Out`Of`Control, how big is the map btw? 17:41 Out`Of`Control Krock: map is around 7/8 GB 17:42 Krock uh.. quite big already 17:43 Out`Of`Control Krock: well it was 30 GB before i chop it down 17:50 sofar just run mtmapprune on it :) 17:51 Krock map_limit = 100 17:51 Krock they'll love you 17:53 Out`Of`Control oh i delete all above and below +/-200 17:53 Out`Of`Control on edges outside 4500 17:54 Out`Of`Control and map was 3.5 GB 17:54 Out`Of`Control lol 17:55 Milan[m] sql error while trying to post something in the minetest forums :( 17:57 Milan[m] (Incorrect string value: '\xF0\x9F\x8E\x89\x0AB...' for column 'post_text' at row 1 [1366]) 18:06 dfj5454 are there any CTF or hunger games servers currently up? 18:07 rubenwardy there's ESP CTF 18:10 sfan5 !server ctf 18:10 MinetestBot sfan5: No results 18:10 sfan5 !server capture the flag 18:10 MinetestBot sfan5: OldCoder Capture the Flag | minebest.org:30017 | Clients: 1/32, 0/3 | Version: 0.4.16-dev / world_game | Ping: 78ms 18:10 rubenwardy hmm 18:10 sfan5 ok maybe not that one 18:10 rubenwardy I can host it if you like 18:10 rubenwardy will need to build 0.4 as I only have 0.5 on my server 18:10 sfan5 ctf.esprc.club:4444 is empty too 18:13 rubenwardy dfj5454, building now. Will take ~40 minutes 18:15 dfj5454 wow thanks, wasn't expecting someone to just start a server :) 18:16 dfj5454 i don't have any people who want to play, it's just me. that wouldn't be a problem would it since it's kind of a multiplayer game 18:16 dfj5454 ? 18:17 sfan5 ruben's ctf server used to be very populated months ago 18:18 rubenwardy consistently near max 18:26 rubenwardy is there not a way to set the backend in minetest.conf for new worlds? 18:28 sfan5 no 18:28 sfan5 just set it in world.mt on creation 18:29 Shara ESP CTF is up. 18:29 Shara But no idea what state it's in. 20:28 Fixer Out`Of`Control: add m o r e l i g h t s to your second spawn (including nearby roads), it is too dark 20:29 Krock ^ helpful commands: //pos1 //pos2 //replace air default:meselamp 20:32 habeangur Krock: How about //replace * air? 20:32 habeangur Krock: or air with lava, that has light too 20:32 habeangur ;) 20:33 Krock habeangur, I agree with lava, as it's not walkable. But //replace * (I assume //set ) is quite destructive 20:48 Out`Of`Control Fixer: it was ment to be dark 20:48 Out`Of`Control Fixer: you refer to spawn 3 ? at snow biom 20:49 Taose There's dark and then there's...Minetest night time dark 20:49 Taose I can see more IRL... 20:50 Fixer Out`Of`Control: no, second one 20:50 Fixer Out`Of`Control: near lake 20:51 Out`Of`Control Fixer: spawn 1 i see 20:51 Fixer Out`Of`Control: second spawn after oldest 20:52 Fixer Out`Of`Control: one near castle 20:52 Out`Of`Control its spawn 1 20:52 Out`Of`Control Fixer: i think after update mese lamp give less light 20:52 Fixer Out`Of`Control: no it does not 20:52 Fixer Out`Of`Control: you are cheap on lighting 20:53 Fixer Out`Of`Control: put more on roads and on spawn itself, put near that board too 20:53 Out`Of`Control Fixer: that area has special theme i can't just drop lamps all around, would have to redesign it 20:54 Out`Of`Control Fixer: thanks for your input 20:55 Out`Of`Control Fixer: each corner has 2 mese lamps, still center is dark 20:56 Fixer thats expected 20:57 Fixer put more at center 20:57 Out`Of`Control would need to change spawn so its smaller in size 21:11 MinetestBot 02[git] 04DS-Minetest -> 03minetest-mods/mesecons: Support an on-move callback (#363) 138999597 https://git.io/vdRSI (152017-10-05T21:09:48Z) 21:57 fdl56416 Hi was that CTF server ever set up 21:57 fdl56416 :) 21:58 Krock is that a question or statement? 21:58 Krock hello. 22:00 fdl56416 Both 22:01 rubenwardy yes 22:01 rubenwardy rubenwardy.com:30000 22:36 fdl56416 Tried the server, it was great :) -- it'd actually be awesome to have a centralized database of all active MT servers 22:36 fdl56416 like you could obviously run without being listed, but just to make it easier to find & play