Time Nick Message 01:31 air is it possible to register a callback to do something when a specific node is loaded or unloaded? 01:34 sofar what do you mean by "loaded"? as in mapblock emerge? 01:34 air yes 01:34 sofar what do you want to do with it? 01:35 air register the node with the mod, and then unregister it when the mapblock is unloaded 01:42 sofar and why do you want to do *that* 01:42 sofar ? 01:44 air trying to optimize a mod that calls minetest.find_nodes_in_area() on a very large area 04:21 sofar air: just got back from afk: why does your mod run minetest.find_nodes_in_area() on a very large scale? 04:28 air not my mod, https://github.com/tenplus1/protector 04:28 sofar yes, fine, but... why? 04:29 air it scans for protector nodes in the area when you dig 04:29 sofar ok, and you want to optimize it? 04:30 air they are increasing protector radius on xanadu from 5 to 10, which scans 8 times the area 04:30 air and some scans do a radius of 20 04:30 sofar I'd suggest a lua voxelmanip 04:30 air what is that? 04:33 air doesn't that mass update properties for many nodes? 04:33 sofar doesn't need to, can just discard the data 04:35 air I don't see anything in there that would help 04:35 sofar oh, it's a huge gain 04:36 sofar you can get 10^3 nodes of data in the same time as one 04:36 sofar (close to) 04:36 sofar and no jumps out of lua to look at the data 04:36 air but then iterate all the nodes in lua instead of in c? 04:36 sofar so lua can inspect and find the protector node without exiting it's contents 04:37 sofar it's context* 04:37 sofar iterate over the voxelmanip data in lua, yes 04:37 air wouldnt it be faster to let C iterate over the nodes and return a small list of those it found, than to do the same in slower lua? 04:42 sofar if your search is simple and find_nodes_in_area works for the use case 04:44 sofar some search cases it may be slower, like if you wouldn't be able to search for a particular one node (but a combo of nodes) 04:45 sofar I see where you're going though 04:45 sofar instead of searching, you just want to have a known list 04:47 air well, the list is optional since it produces garbage, but would the voxelmanip produce more garbage? 04:48 sofar that's not what I meant 04:48 sofar instead of having to search every single time when a person digs... why not store a list of known protector blocks? 04:49 air that is what I wanted to do, but I don't see a way to get the nodes when the mapblock loads 04:49 sofar lbm's can do that now 04:49 air I could have stored them in an octree 04:49 sofar just make them active on every load 04:50 air what about when the mapblock unloads? 04:50 sofar https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L3325 04:50 sofar can't, there's no event for unload 04:50 sofar run_at_every_load = true 04:50 air well, I saw lbms but useless if I can't unload 04:51 sofar not really, it just may become a large octree 04:51 sofar but you wouldn't ever need to store the octree offline :) 04:51 sofar since after a server restart... having an emptry octree is just fine! 04:51 sofar lbms will fill it again 04:51 air it could consume all server memory too :) 04:52 sofar if you just store pos, very unlikely 04:52 air the octree itself would 04:53 sofar would what? 04:53 air use all the memory 04:55 air if someone knew the mod was not unloading, they could place a single protector in as many mapblocks possible 04:56 sofar aside the academic exercise 04:57 sofar perhaps you should limit the amount of protectors a person may use 04:58 air not my choice, I'm just trying to make it faster 04:59 sofar if the risk of going OOM is too large, just use the node search 05:00 sofar and find_node_* is implemented in C++ 05:01 sofar so it would be low-memory, and c++ accelerated 05:01 sofar a fairly good tradeoff 05:01 sofar what does the code do now? 05:02 air find_nodes_in_area? 05:02 sofar yes, that's implemented in C++ 05:02 air right, I'm trying to implement the voxelmanip right now to test speed 05:20 air hehe, 3 nested for loops doing nothing at all take 12 times as long 05:31 sofar https://forum.minetest.net/viewtopic.php?f=3&t=14262 maybe of use to folks 09:46 JamesTait !btc GBP 09:46 MinetestBot 1 BTC = 287.2100 £ 09:46 JamesTait That's neat. 10:08 TheDcoder Hello! 10:08 sfan5 hi 10:09 TheDcoder Thanks for instant reply, I think something is wrong with graphics in my laptop 10:09 TheDcoder Wait, I will upload the screenshot 10:10 TheDcoder http://www.pixhoster.info/f/2016-03/4f765a648ea91494c0ff799369f42060.png 10:10 TheDcoder The hand... 10:10 TheDcoder Is that how it is supposed to be? :-/ 10:11 sfan5 not that's not how it is supposed to be 10:12 TheDcoder Oh :o 10:12 TheDcoder How can I fix it? 10:12 sfan5 you can either 10:12 TheDcoder ? 10:12 sfan5 1) wait for 0.4.14 to be released soon 10:12 sfan5 or 10:12 sfan5 2) download a more recent build from here https://forum.minetest.net/viewforum.php?f=42 10:12 TheDcoder Oh... 10:13 TheDcoder Does 0.4.13 contain a fix? 10:13 sfan5 no 10:13 TheDcoder I mean 0.4.14 10:13 TheDcoder sorry :P 10:13 TheDcoder typo 10:13 sfan5 yes it would 10:13 sfan5 but it isn't released yet 10:13 TheDcoder Yep, I know... 10:13 TheDcoder ARe the recent build stable? 10:14 sfan5 pretty stable 10:14 sfan5 it's rare to encounter problems with them 10:14 TheDcoder I will try then :) 10:15 TheDcoder Are all the people effect by this or only with some people with incompatible graphics? 10:15 sfan5 only happens on some graphic cards 10:16 TheDcoder Downloading the latest build now... 10:17 TheDcoder https://minetest.kitsunemimi.pw/builds/ - from your site. 10:17 TheDcoder Umm... I have a question about bots... Why does this channel have 2 bots? :P 10:18 sfan5 uh 10:18 sfan5 no idea really 10:19 TheDcoder Don't they conflict each other? 10:19 TheDcoder !help 10:19 MinetestBot https://github.com/sfan5/minetestbot-modules/blob/master/COMMANDS.md 10:19 sfan5 no 10:20 TheDcoder What does ShadowBot do? 10:20 TheDcoder ShadowBot: !help 10:22 TheDcoder That was real quick finding a bug, I can't type the name of the new world :( 10:23 TheDcoder The mouse operations work though... 10:24 TheDcoder I have to go... 10:24 TheDcoder See ya guys! 10:25 TheDcoder (P.S Anyone one can send me a memo, just use /msg MemoServ send TheDcoder ) 10:29 Megaf Hi folks. 11:03 redblade Is anyone having problems with a recent git causing the wooden fences (junglewood, etc) to be replaced with blocks resembling rope blocks? 11:16 JiroTheOne !tell VanessaE Thanks for adding the skins, much appreciated. And thanks for the servers! 11:16 MinetestBot JiroTheOne: I'll pass that on when VanessaE is around 11:19 JiroTheOne !tell VanessaE Sorry to be a pain, skin for KatnixxEverdeen is borked please can you try this one http://www.planetminecraft.com/skin/katniss-skin-3220774/ 11:19 MinetestBot JiroTheOne: I'll pass that on when VanessaE is around 15:05 LNJ Hi guys! Do you want to write too or just want to join and leave? 15:06 * LNJ has got Debian GNU/Linux 15:06 JBB hi i just test seamonkeys ChatZilla 15:55 MinetestBot 02[git] 04Rui914 -> 03minetest/minetest_game: Rename Glass Door (the obisian one) to Obsidian Glass Door 137cba7af https://git.io/vaQZz (152016-03-22T15:46:26Z) 15:55 MinetestBot 02[git] 04kilbith -> 03minetest/minetest_game: Books: Move page buttons at the bottom 13a71948c https://git.io/vaQZ2 (152016-03-22T15:46:19Z) 15:55 MinetestBot 02[git] 04kilbith -> 03minetest/minetest_game: Wooden Sign: Add group oddly_breakable_by_hand 13c3d2bc3 https://git.io/vaQZa (152016-03-22T15:46:13Z) 15:55 MinetestBot 02[git] 04paramat -> 03minetest/minetest_game: Default: Make some plant nodes non-flammable 137d55320 https://git.io/vaQZV (152016-03-22T15:46:07Z) 15:55 MinetestBot 02[git] 04paramat -> 03minetest/minetest_game: Default: Fix rotation errors for mapgen aspen and sapling jungletree 130d3bca7 https://git.io/vaQZw (152016-03-22T15:46:00Z) 15:55 MinetestBot 02[git] 04sofar -> 03minetest/minetest_game: Doors: Allow schematic placement of wooden doors. 13ffba9d9 https://git.io/vaQZr (152016-03-22T15:45:54Z) 15:55 MinetestBot 02[git] 04kilbith -> 03minetest/minetest_game: Creative: Code cleaning + Fix items moving in virtual inventory 131a5f89e https://git.io/vaQZo (152016-03-22T15:45:48Z) 15:55 MinetestBot 02[git] 04tenplus1 -> 03minetest/minetest_game: Changes to Screwdriver to add new drivers. 135189112 https://git.io/vaQZK (152016-03-22T15:45:39Z) 22:00 sfan5 asie: >Any country works. how about north korea 22:01 asie sfan5: Can you find Kim Jong-Un's X220? 22:01 asie If yes, I'll gladly take it 22:06 * Mati^1 Hi All 22:10 Mati^1 ----->sofar heartily thank you for help Kasia girl RBA, Where I cooked for him his favorite food, tomorrow will take him to the hospital 22:10 sfan5 hello 22:10 Mati^1 with all my heart thank you!!! 22:12 sofar Mati^1: thanks, that's good to hear 22:12 Mati^1 sofar herzlich DANK!!! 22:13 Mati^1 ;,,,) Kasia sagt heute mir Sie ist sehr dankbar !!! 22:14 Mati^1 sorry Detusch ist besser für mich 22:14 Mati^1 Sie hat heute für Maciek RBA paar sahe gekauft morgen fahrt Sie zu ihm 22:16 Mati^1 schlechte nachrichten Maciek wird zu Hospitium geschickt :( 22:17 sofar sehr gut 22:18 sofar das essen, naturlich ist gut 22:18 sofar ich verstehe das das hospitium ist nicht so gut 22:19 LNJ Hey ich dachte hier wird nur englisch gesprochen! 22:19 LNJ :) 22:20 Mati^1 hospitium -> Pflegeheim 22:20 Mati^1 Nursing home 22:22 Mati^1 Essen bekommt jetzt besser von Kasia Private essen in krankenhaus ist das nur scheisse 22:40 Mati^1 thx All see you later 22:50 Void7 hi Dragonop 22:50 Dragonop Hi Void7 22:51 Void7 hi samson :->