Time |
Nick |
Message |
00:03 |
|
redblade joined #minetest |
00:05 |
|
swift110 joined #minetest |
00:12 |
|
luizrpgluiz joined #minetest |
00:27 |
|
redblade joined #minetest |
00:36 |
|
redblade joined #minetest |
00:53 |
|
yang2003 joined #minetest |
00:56 |
|
ssieb joined #minetest |
00:58 |
|
Dragonop_ joined #minetest |
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:42 |
|
STHGOM joined #minetest |
01:44 |
air |
trying to optimize a mod that calls minetest.find_nodes_in_area() on a very large area |
01:52 |
|
turtleman joined #minetest |
01:53 |
|
Miner_48er joined #minetest |
01:56 |
|
lambda-11235 joined #minetest |
01:56 |
|
Yst joined #minetest |
02:06 |
|
lambda-11235 joined #minetest |
02:31 |
|
lambda-11235 joined #minetest |
02:45 |
|
lambda-11235 joined #minetest |
03:01 |
|
red-001 joined #minetest |
03:08 |
|
nanovad joined #minetest |
03:35 |
|
swift110 joined #minetest |
03:43 |
|
yang2003 joined #minetest |
03:45 |
|
lambda-11235 joined #minetest |
03:55 |
|
GunshipPenguin joined #minetest |
04:17 |
|
yang2003 joined #minetest |
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 |
05:49 |
|
Jousway joined #minetest |
05:51 |
|
GunshipPenguin_ joined #minetest |
06:25 |
|
Player_2 joined #minetest |
06:28 |
|
GunshipPenguin_ joined #minetest |
06:54 |
|
Obani joined #minetest |
07:23 |
|
Fritigern joined #minetest |
07:30 |
|
GunshipPenguin_ joined #minetest |
07:34 |
|
aheinecke joined #minetest |
08:08 |
|
Thomas-S joined #minetest |
08:19 |
|
sonicpp joined #minetest |
08:26 |
|
Terusthebird joined #minetest |
08:31 |
|
Terusthebird joined #minetest |
08:35 |
|
Terusthebird joined #minetest |
08:38 |
|
Terusthebird joined #minetest |
09:08 |
|
Yst joined #minetest |
09:15 |
|
The_Loko joined #minetest |
09:30 |
|
turtleman joined #minetest |
09:36 |
|
JamesTait joined #minetest |
09:46 |
JamesTait |
!btc GBP |
09:46 |
MinetestBot |
1 BTC = 287.2100 £ |
09:46 |
JamesTait |
That's neat. |
09:49 |
|
Amaz joined #minetest |
10:08 |
|
TheDcoder joined #minetest |
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 |
|
redblade joined #minetest |
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 <message>) |
10:28 |
|
Megaf joined #minetest |
10:29 |
Megaf |
Hi folks. |
10:36 |
|
MinetestBot joined #minetest |
10:39 |
|
Thomas-S joined #minetest |
10:46 |
|
MinetestBot joined #minetest |
10:58 |
|
MinetestBot joined #minetest |
10:58 |
|
red-001 joined #minetest |
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:03 |
|
Cryterion joined #minetest |
11:03 |
|
Cryterion joined #minetest |
11:04 |
|
linkedinyou joined #minetest |
11:05 |
|
JiroTheOne joined #minetest |
11:11 |
|
jonah joined #minetest |
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 |
11:29 |
|
DFeniks joined #minetest |
11:30 |
|
MinetestBot joined #minetest |
11:37 |
|
Trustable joined #minetest |
11:37 |
|
Fixer joined #minetest |
11:56 |
|
LNJ joined #minetest |
12:10 |
|
darkangel joined #minetest |
12:27 |
|
Calinou joined #minetest |
12:31 |
|
Cryterion joined #minetest |
12:36 |
|
Cryterion_ joined #minetest |
12:45 |
|
MegafEee joined #minetest |
13:12 |
|
Cryterion_ joined #minetest |
13:14 |
|
STHGOM joined #minetest |
13:28 |
|
JamesTait joined #minetest |
13:38 |
|
Cryterion joined #minetest |
13:54 |
|
lambda-11235 joined #minetest |
14:03 |
|
Darcidride joined #minetest |
14:23 |
|
redsPL joined #minetest |
14:24 |
|
LNJ joined #minetest |
14:30 |
|
Tux[Qyou] joined #minetest |
14:39 |
|
kaadmy joined #minetest |
14:45 |
|
Wasteland joined #minetest |
14:49 |
|
Wasteland joined #minetest |
15:04 |
|
JBB joined #minetest |
15:04 |
|
Cryterion joined #minetest |
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:16 |
|
pampeho joined #minetest |
15:20 |
|
hmmmm joined #minetest |
15:22 |
|
Void7 joined #minetest |
15:32 |
|
Player_2 joined #minetest |
15:43 |
|
JiroTheOne joined #minetest |
15:44 |
|
Fixer joined #minetest |
15:45 |
|
Yst joined #minetest |
15:55 |
MinetestBot |
[git] Rui914 -> minetest/minetest_game: Rename Glass Door (the obisian one) to Obsidian Glass Door 7cba7af https://git.io/vaQZz (2016-03-22T15:46:26Z) |
15:55 |
MinetestBot |
[git] kilbith -> minetest/minetest_game: Books: Move page buttons at the bottom a71948c https://git.io/vaQZ2 (2016-03-22T15:46:19Z) |
15:55 |
MinetestBot |
[git] kilbith -> minetest/minetest_game: Wooden Sign: Add group oddly_breakable_by_hand c3d2bc3 https://git.io/vaQZa (2016-03-22T15:46:13Z) |
15:55 |
MinetestBot |
[git] paramat -> minetest/minetest_game: Default: Make some plant nodes non-flammable 7d55320 https://git.io/vaQZV (2016-03-22T15:46:07Z) |
15:55 |
MinetestBot |
[git] paramat -> minetest/minetest_game: Default: Fix rotation errors for mapgen aspen and sapling jungletree 0d3bca7 https://git.io/vaQZw (2016-03-22T15:46:00Z) |
15:55 |
MinetestBot |
[git] sofar -> minetest/minetest_game: Doors: Allow schematic placement of wooden doors. ffba9d9 https://git.io/vaQZr (2016-03-22T15:45:54Z) |
15:55 |
MinetestBot |
[git] kilbith -> minetest/minetest_game: Creative: Code cleaning + Fix items moving in virtual inventory 1a5f89e https://git.io/vaQZo (2016-03-22T15:45:48Z) |
15:55 |
MinetestBot |
[git] tenplus1 -> minetest/minetest_game: Changes to Screwdriver to add new drivers. 5189112 https://git.io/vaQZK (2016-03-22T15:45:39Z) |
15:56 |
|
proller joined #minetest |
16:06 |
|
Matrixiumn joined #minetest |
16:43 |
|
est31 joined #minetest |
16:48 |
|
Krock joined #minetest |
17:10 |
|
Elinvention joined #minetest |
17:11 |
|
nanovad joined #minetest |
17:11 |
|
AndDT joined #minetest |
17:16 |
|
red-001 joined #minetest |
17:17 |
|
lambda-11235 joined #minetest |
17:20 |
|
DevBox joined #minetest |
17:23 |
|
Obani joined #minetest |
17:23 |
|
srifqi joined #minetest |
17:24 |
|
STHGOM joined #minetest |
17:31 |
|
JamesTait joined #minetest |
17:37 |
|
Erthome joined #minetest |
17:37 |
|
Wasteland joined #minetest |
17:37 |
|
SchokoMT joined #minetest |
17:48 |
|
ssieb joined #minetest |
17:53 |
|
SylvieLorxu joined #minetest |
17:58 |
|
Wasteland joined #minetest |
18:02 |
|
Wasteland joined #minetest |
18:09 |
|
Wasteland joined #minetest |
18:10 |
|
Telesight joined #minetest |
18:10 |
|
The_Loko joined #minetest |
18:12 |
|
proller joined #minetest |
18:31 |
|
GunshipPenguin joined #minetest |
18:32 |
|
GunshipPenguin joined #minetest |
18:47 |
|
GunshipPenguin joined #minetest |
18:50 |
|
Calinou joined #minetest |
18:52 |
|
Out`Of`Control joined #minetest |
19:04 |
|
proller joined #minetest |
19:07 |
|
red-001 joined #minetest |
19:13 |
|
nrzkt joined #minetest |
19:29 |
|
Void7 joined #minetest |
19:31 |
|
nanovad joined #minetest |
19:31 |
|
Pulec joined #minetest |
19:44 |
|
lambda-11235 joined #minetest |
19:48 |
|
Void7 joined #minetest |
19:55 |
|
Darcidride joined #minetest |
20:03 |
|
fling joined #minetest |
20:03 |
|
fling joined #minetest |
20:11 |
|
STHGOM joined #minetest |
20:11 |
|
proller joined #minetest |
20:12 |
|
ssieb joined #minetest |
20:17 |
|
proller joined #minetest |
20:28 |
|
swift110 joined #minetest |
20:30 |
|
XeonSquared joined #minetest |
20:31 |
|
swift110 joined #minetest |
20:33 |
|
red-001 joined #minetest |
20:41 |
|
Void7 joined #minetest |
20:48 |
|
Pulec joined #minetest |
20:51 |
|
alket joined #minetest |
20:52 |
|
stormchaser3000 joined #minetest |
21:06 |
|
Pulec joined #minetest |
21:14 |
|
Pest joined #minetest |
21:15 |
|
red-001 joined #minetest |
21:39 |
|
LazyJ joined #minetest |
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 joined #minetest |
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:11 |
|
nanovad joined #minetest |
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:21 |
|
Hirato joined #minetest |
22:22 |
Mati^1 |
Essen bekommt jetzt besser von Kasia Private essen in krankenhaus ist das nur scheisse |
22:23 |
|
red-001 joined #minetest |
22:29 |
|
nanovad joined #minetest |
22:33 |
|
Void7 joined #minetest |
22:40 |
Mati^1 |
thx All see you later |
22:43 |
|
Dragonop joined #minetest |
22:50 |
Void7 |
hi Dragonop |
22:50 |
Dragonop |
Hi Void7 |
22:50 |
|
Samson1 joined #minetest |
22:51 |
Void7 |
hi samson :-> |
23:12 |
|
Chordachi joined #minetest |
23:13 |
|
stormchaser3000 joined #minetest |
23:23 |
|
yang2003 joined #minetest |
23:32 |
|
lambda-11235 joined #minetest |
23:33 |
|
LNJ left #minetest |
23:42 |
|
turtleman joined #minetest |
23:47 |
|
stormchaser3000 joined #minetest |
23:59 |
|
pozzoni joined #minetest |