Time |
Nick |
Message |
00:02 |
Megaf |
!up mt.megaf.info 30003 |
00:02 |
MinetestBot |
mt.megaf.info:30003 seems to be down |
00:02 |
Megaf |
good |
00:02 |
Megaf |
I dont want anyone joining the server now |
00:02 |
Megaf |
working on stuff |
00:12 |
|
Mr_Pardison joined #minetest-hub |
00:25 |
|
paramat joined #minetest-hub |
00:34 |
|
corvus_ joined #minetest-hub |
00:34 |
|
lisac_ joined #minetest-hub |
00:45 |
|
lisac__ joined #minetest-hub |
00:45 |
|
corvus__ joined #minetest-hub |
01:21 |
|
redblade7 joined #minetest-hub |
01:48 |
|
sniper338 joined #minetest-hub |
02:17 |
|
redblade7 joined #minetest-hub |
02:37 |
|
benrob0329 joined #minetest-hub |
02:49 |
|
redblade7 joined #minetest-hub |
03:29 |
|
AndroBuilder joined #minetest-hub |
03:53 |
|
CBugDCoder joined #minetest-hub |
05:37 |
|
Xio joined #minetest-hub |
06:44 |
|
redblade7 joined #minetest-hub |
06:53 |
|
lumberJ joined #minetest-hub |
07:43 |
|
CWz joined #minetest-hub |
08:47 |
|
lumberJ joined #minetest-hub |
10:10 |
|
lumberJ joined #minetest-hub |
10:58 |
|
Fixer joined #minetest-hub |
13:10 |
|
lumberJ joined #minetest-hub |
13:31 |
|
DI3HARD139 joined #minetest-hub |
13:41 |
|
DI3HARD139 joined #minetest-hub |
13:59 |
|
ThomasMonroe joined #minetest-hub |
14:00 |
|
Mr_Pardison joined #minetest-hub |
14:30 |
|
benrob0329 joined #minetest-hub |
14:52 |
|
Wayward1 joined #minetest-hub |
14:59 |
|
CWz joined #minetest-hub |
15:01 |
|
Xio joined #minetest-hub |
15:16 |
lisac__ |
<ThomasMonroe> lisac: LoS_Server> <monk> I've found a bug: when i switch tools using 1-8 keys, it always prompts a little text at the abottom about level 1 and nodes dug 0 for pick/axe/shovel while actualy those tools are higher level |
15:16 |
lisac__ |
that is because your 'show description on switch' mod doesn't look at item's metadata |
15:16 |
lisac__ |
just make it first check if the item has valid metadata description set |
15:20 |
ThomasMonroe |
ah ok :) |
15:42 |
|
Mr_Pardison joined #minetest-hub |
15:53 |
|
Fixer joined #minetest-hub |
16:02 |
|
Krock joined #minetest-hub |
16:02 |
Krock |
hi tenplus1whoisnthere |
16:03 |
Mr_Pardison |
and hello to Krockwhoishere |
16:08 |
Krock |
hi Mr_Pardisonwhoisheretoo |
16:21 |
Megaf |
!up mt.megaf.info 30003 |
16:21 |
MinetestBot |
mt.megaf.info:30003 is up (12ms) |
16:21 |
Megaf |
!server Megaf |
16:21 |
MinetestBot |
Megaf: Megaf Server v4 | mt.megaf.info:30003 | Clients: 0/20, 0/0 | Version: 0.4.17-dev / MegafXploreNext | Ping: 12ms |
17:11 |
lisac__ |
!server Craig |
17:11 |
MinetestBot |
lisac__: Craig's Server | minetest.davison.io | Clients: 1/30, 0/2 | Version: 0.4.16 / craig-server | Ping: 8ms |
17:11 |
lisac__ |
yay |
17:12 |
lisac__ |
!server CTF |
17:12 |
MinetestBot |
lisac__: [CTF] Illuna's Capture the Flag - Deep Forest | illuna.rocks:30003 | Clients: 0/30, 0/5 | Version: 0.4.16 / minetest | Ping: 10ms |
17:12 |
lisac__ |
!server Xanadu |
17:12 |
MinetestBot |
lisac__: Xanadu | 98.166.87.1 | Clients: 3/40, 2/6 | Version: 0.4.16 / minetest | Ping: 105ms |
17:12 |
lisac__ |
how does this magic work |
17:15 |
Megaf |
lisac: what magic |
17:15 |
Megaf |
? |
17:16 |
lisac |
it knows if a server is up |
17:16 |
Amaz |
lisac: It checks the server list ;) |
17:16 |
lisac |
I wonder if it is powered by rainbow |
17:16 |
lisac |
oh |
17:16 |
lisac |
:( no rainbows then? |
17:17 |
Amaz |
Well, maybe! Who knows? :P |
17:19 |
Megaf |
lisac: of course in the backend the energy source is a rainbow |
17:29 |
|
paramat joined #minetest-hub |
17:31 |
lisac |
:P |
17:35 |
|
sniper338 joined #minetest-hub |
17:37 |
Megaf |
MinetestBot! |
17:37 |
MinetestBot |
Megaf! |
17:44 |
|
Darcidride joined #minetest-hub |
17:55 |
|
Tenplus1 joined #minetest-hub |
17:55 |
Tenplus1 |
hi folks |
17:56 |
Raven262 |
Hi ten |
17:56 |
Tenplus1 |
hi raven |
17:57 |
Tenplus1 |
I joined #minetest-hug by mistake and never got one... :P |
18:02 |
Tenplus1 |
how's today been so far ? |
18:05 |
Krock |
hi Tenplus1 |
18:05 |
Tenplus1 |
hey Krock, how's you ? |
18:05 |
Krock |
\o/ |
18:06 |
Tenplus1 |
o/ |
18:06 |
Krock |
Tenplus1, oh I'm fine but also quite sad that episodes don't get aired more often |
18:06 |
Tenplus1 |
which show ?? |
18:06 |
Krock |
Mahou Tsukai no Yome, which is incredibly well done |
18:07 |
Tenplus1 |
looks interesting, although buying kids at auction... tut tut |
18:07 |
paramat |
ah very good anime |
18:07 |
Tenplus1 |
I've been watching karakai-jouzu-no-takagi-san and final space :) |
18:07 |
Tenplus1 |
hi paramat |
18:07 |
Krock |
artwork and story are both .. just nice |
18:08 |
* Krock |
checks |
18:08 |
Tenplus1 |
it's up to episode 23 on anilinks.to so far |
18:08 |
Tenplus1 |
Mahou Tsukai no Yome that is |
18:10 |
|
TMcSquared joined #minetest-hub |
18:10 |
Tenplus1 |
hi tmc |
18:10 |
Krock |
Tenplus1, 23 but not 24 :< |
18:10 |
Tenplus1 |
eheheh, eagery awaiting the next ep. I hear ya :) |
18:11 |
Krock |
exactly, that's it ... :'( |
18:11 |
benrob0329 |
o/ Tenplus1 (hello again Krock) |
18:11 |
Tenplus1 |
lol, story must be real good |
18:11 |
Tenplus1 |
hi benrob |
18:11 |
Krock |
o/ benrob0329-minetest |
18:13 |
Krock |
Tenplus1, it's like "oh what a nice series" .. a few days later "how many eps are there" and a MAL check later "aaagh I can't wait for it :<" |
18:14 |
* Krock |
feels addicted |
18:14 |
Tenplus1 |
heh... I always try to wait for the whole series to end before watching, but sometimes you find that gem among anime and you cannot wait |
18:14 |
Tenplus1 |
here's a little something to while the time away: http://anilinkz.to/final-space-episode-1 |
18:17 |
Krock |
Tenplus1, rick and morty in space? |
18:17 |
Tenplus1 |
heh, kinda... it's funny :) |
18:29 |
|
IhrFussel joined #minetest-hub |
18:30 |
Tenplus1 |
hi fussel |
18:36 |
IhrFussel |
Hello Tenplus1 |
18:44 |
Tenplus1 |
o// |
18:46 |
IhrFussel |
What could cause a glitched (dummy) skin for just ONE player? |
18:46 |
IhrFussel |
It works on other players |
18:46 |
Tenplus1 |
what mod ? |
18:46 |
IhrFussel |
U_skins ... I didn't update anything though |
18:46 |
IhrFussel |
u_skins* |
18:47 |
IhrFussel |
Could it be his app? |
18:47 |
Tenplus1 |
does the player in question have any special characters in their nick ? |
18:47 |
IhrFussel |
Nope just A-z |
18:48 |
Tenplus1 |
hrm... very strange, if it works with other players could be player file a lil corrupt maybe ?! |
18:48 |
Tenplus1 |
lemmie check uskins code quick. |
18:49 |
IhrFussel |
u_skins.mt file lists him correctly as character_24 andd charcter_24.png exists in the textures folder |
18:49 |
Tenplus1 |
how does it look glitched exactly ? |
18:50 |
IhrFussel |
Dummy image (rainbow) |
18:52 |
Tenplus1 |
is player using official minetest client ? |
18:52 |
Tenplus1 |
I see uskins has support for sprites and models both |
18:52 |
IhrFussel |
No, that's why I asked if the app can cause such issues |
18:52 |
IhrFussel |
But I thought skin code runs entirely server-side |
18:52 |
Tenplus1 |
could depend on the app if they use upright sprites as characters or models, that would cause issue, yes |
18:53 |
Tenplus1 |
ask them to use official app and see if it fixes itself |
19:03 |
IhrFussel |
He says "I don't care if I'm a blob" |
19:04 |
Tenplus1 |
ehehe, so long as he can play ok :) can be his super power... the blob |
19:05 |
Tenplus1 |
would be nice if u_skins mod has the /setskin command handy to force set a new skin to try |
19:07 |
IhrFussel |
I think he tried another but was still a blob |
19:07 |
Tenplus1 |
sounds like his client ... |
19:08 |
IhrFussel |
Yeah the exact same skin works on mine and looks normal |
19:08 |
Tenplus1 |
which makes me think... why is he so set on using his shoddy client ? is it a proper game or hack build ?! |
19:08 |
IhrFussel |
Has there been a compat break between skins in 0.4.11 - 0.4.16 ? |
19:09 |
Tenplus1 |
new player model |
19:09 |
Tenplus1 |
has been tweaked a few times actually |
19:09 |
IhrFussel |
Maybe his client is just too old...let me check the prot version |
19:09 |
Tenplus1 |
he really has to use a 0.4.16 stable client to play properly on most servers |
19:10 |
IhrFussel |
27 ... that's 0.4.12 or 0.4.13 |
19:11 |
Tenplus1 |
he could easily install 0.4.16 stable for (win/linux/android) to try it out and see if it works better... hell, he may even get a speed boost and more fps |
19:19 |
IhrFussel |
He uses iPad so we have the Apple problem |
19:19 |
Tenplus1 |
ah crap, good point... not many working mt clients on that platform, well, none without a ridiculous amount of ads |
19:24 |
IhrFussel |
Many of the apps still use 0.4.13 or older |
19:25 |
Tenplus1 |
sad but true, once they have an basic app that shows ads and makes them cash they dont really keep it up to date |
19:25 |
Tenplus1 |
apple really should allow users to download/install their own software instead of forcing them to use app store |
19:27 |
IhrFussel |
I just ran grep -Eo "PROTOCOL.{1,}" .minetest/debug.txt | sort | uniq | grep -c ": 27" ... the result is SHOCKING... about 10,000 accounts joined with that old version |
19:27 |
|
paramat joined #minetest-hub |
19:27 |
Tenplus1 |
wb paramat |
19:27 |
|
Mr_Pardison joined #minetest-hub |
19:27 |
Tenplus1 |
hi mister |
19:27 |
IhrFussel |
Compared to 0.4.16 which is only used by 3.2 K |
19:28 |
Mr_Pardison |
oy |
19:30 |
Tenplus1 |
it's sad that many kids use fake clients to play on mt servers and then complain when things dont work properly... and worse still they have to watch ads for the pleasure |
19:30 |
Mr-Pardison |
ikr. |
19:31 |
Tenplus1 |
it's the one platform we really need an official minetest for and apple are standing in the way with their shitty fee's and policies |
19:32 |
Mr-Pardison |
yeah. |
19:34 |
Tenplus1 |
hell, just for that I'd list how to jailbreak an iphone/ipad next to the download link for the ios version of minetest :)))))) |
19:39 |
IhrFussel |
It's absolutely terrible to hear that only roughly 1/3 of my playerbase is actually playing with a recent client |
19:39 |
Mr-Pardison |
I use the latest version available for the device I'm using. |
19:40 |
Tenplus1 |
0.4.16 ? or 0.5 dev ? |
19:40 |
Mr-Pardison |
0.4.16 |
19:40 |
IhrFussel |
I'm guessing protocol version 27 is 0.4.14 ... then 250 use 0.4.15 |
19:41 |
Tenplus1 |
kewl, 0.4.16 (sep 17th) here... latest before player model changes |
19:41 |
IhrFussel |
And almost as many (220) use 0.4.13 ... over one hundred still use 0.4.11 |
19:42 |
Tenplus1 |
sooo out of date... am surprised their clients function properly with newer mods |
19:43 |
IhrFussel |
Well they don't...at least not if the issue with the skin is the MT version |
19:43 |
Tenplus1 |
yeah, and I'm sure it's a rogue client that's causing server crashes with the serialize.h error we experience at times... |
19:43 |
* Shara |
pokes head in |
19:43 |
Shara |
Hello :) |
19:43 |
Mr-Pardison |
hi |
19:43 |
IhrFussel |
I had quite a few players complaining recently about "glitched skins" but I thought it's probably just a corrupt cache folder |
19:43 |
* Tenplus1 |
offers shara tea n donut |
19:43 |
Shara |
Just what I need, thank you :) |
19:44 |
Tenplus1 |
om nom nom |
19:44 |
Mr-Pardison |
^ name of character in cut the rope |
19:44 |
Mr-Pardison |
well, without the extra nom at the end |
19:44 |
Shara |
Tenplus1: you are still getting those crashes? |
19:45 |
Tenplus1 |
bubbles ? |
19:45 |
Tenplus1 |
it happens from time to time, nowhere near as often as most of the mods we run have been bulletproofed with nil checks |
19:45 |
Tenplus1 |
but if a rogue client can reset an entity data it'd happen |
19:46 |
IhrFussel |
Well I still experience segfaults regularly...well more like randomly and it's always caused by Server::SendMovePlayer() in cpp |
19:46 |
Shara |
Can clients do that? |
19:47 |
Tenplus1 |
ooooold clients could be to blame... |
19:48 |
Mr-Pardison |
can't you force them to use a newer client by not supporting the older ones? |
19:48 |
Shara |
Mr P, I don't know, can you? :P |
19:48 |
* Mr-Pardison |
thinks |
19:49 |
Shara |
0.5 will stop older clients |
19:49 |
Tenplus1 |
I could force them to use newer version but by doing so most ppl wouldnt be able to connect |
19:49 |
Tenplus1 |
yeah, am so eager for 0.5 stable... then they MUST use that to play |
19:49 |
Mr-Pardison |
will most definitely upgrade to that when it comes out. |
19:50 |
Tenplus1 |
same, will urge players to use it... but... in installing that they can no longer connect to any other servers |
19:50 |
Tenplus1 |
that are below 0.5 |
19:50 |
Mr-Pardison |
yeah.... |
19:50 |
Mr-Pardison |
the things we must sacrifice for progress |
19:51 |
Tenplus1 |
true... will lose many players in the update, but for stability's sake it'll be worth it (and hopefully csm will be fixed/secure also) |
19:51 |
paramat |
surely a server can set a minimum protocol number to limit how old clients can be? |
19:52 |
Tenplus1 |
strict_protocol_version_checking = true ... sets it to the current version running on server and above |
19:52 |
Shara |
paramat: I suspect it's possible but not sure how easy, and the one who actually want to make problem will get around it. |
19:52 |
Shara |
ones* |
19:53 |
Shara |
Tenplus1: Is that a minetest.conf option? |
19:53 |
Tenplus1 |
but... xanadu runs 0.4.16 (sep 17th) version, juist above stable that fixes a few issues... this would make it so anyone running stable couldnt connect |
19:53 |
Tenplus1 |
yeah shara |
19:53 |
Shara |
It's problematic either way. |
19:53 |
Tenplus1 |
if you run 0.4.16 stable and set that flag to true in minetest.conf then players would require that version to connect |
19:53 |
Shara |
What if you want to allow however many versions back, but not before that? |
19:54 |
Tenplus1 |
you cant... it only allows the version that the server is running and above |
19:54 |
Tenplus1 |
nothing else will let you allow/disallow other versions |
19:54 |
Shara |
So no flexibility then |
19:54 |
Tenplus1 |
nope... sadly |
19:55 |
Shara |
The moment any server owner says "stable only", a whole bunch of players will be lost |
19:55 |
Tenplus1 |
yep, and mosty of the ios clients too |
19:55 |
Shara |
This is still a serious risk with 0.5 |
19:56 |
Tenplus1 |
yeah, 0.5 cannot connect to anything older... that's the sad part... but, it forces compliance to new features |
19:56 |
Tenplus1 |
a new baseline |
19:56 |
Shara |
Well thanks to what happened, I lost most new players anyway |
19:56 |
Shara |
THough the players I am left with are the good ones that are worth having :) |
19:57 |
Shara |
It may even make the move to 0.5 less painful in some ways, so maybe I should be thankful |
19:58 |
Tenplus1 |
the map issue ? |
19:58 |
paramat |
hm i expected a setting to set the minimum protocol number |
19:58 |
Shara |
RC is shut to new players until backports branch has the entity PR and I have time to update |
19:59 |
Tenplus1 |
entity outside map area ? |
19:59 |
Shara |
Yes |
19:59 |
paramat |
old clients seems to often be laziness and lack of a reason to update, it would help to encourage them to update |
19:59 |
Tenplus1 |
yup... I am soooooo eager for 0.5.stable... |
19:59 |
Tenplus1 |
if only we had a way to give ios an update also without having to pay them |
20:00 |
Shara |
paramat: idealy new features is why people should update... not escape from problems. |
20:00 |
paramat |
sfan5 is the backport guy |
20:00 |
* Shara |
glances pleadingly at sfan5 then |
20:00 |
Tenplus1 |
all the new map work, nodes, plantlife, bugfixes should be worth the update |
20:01 |
Shara |
I'm still hoping I can update fireflies in time for 0.5 so they "turn off" during the day |
20:01 |
paramat |
i added a todo in the backport thread for the 4 commits that sort out world edge stuff |
20:02 |
IhrFussel |
I already said it once: As long as we don't have an official iOS app (which will likely be forever) we will not be able to help many players update...they are forced to use 3rd-party apps |
20:02 |
Tenplus1 |
turn off ???? you wont see the light during the day anyhoo |
20:02 |
Shara |
This already works in HW, but MTG is more complicated (because gennotify is ikky) |
20:02 |
Shara |
Tenplus1: in HW the fireflies vanish in the day and return at night |
20:02 |
Tenplus1 |
ohh |
20:02 |
IhrFussel |
The marketshare for iDevices is huge and we cannot deliver those the *real* experience |
20:03 |
Tenplus1 |
so invisible node during day |
20:03 |
Shara |
Yup |
20:03 |
Shara |
hidden_firefly is an airlike node |
20:03 |
Tenplus1 |
IhrFussel: apple make it difficult to do an open-source game for ios cause of the money they require to host in app store |
20:04 |
Tenplus1 |
Shara: kewl, kinda like the moonflower :) |
20:04 |
Shara |
I wanted to ask you what your moonflower is using to update |
20:04 |
IhrFussel |
I know that the Mt license is not allowed and that we would have to pay $100 yearly ... but the first problem is the biggest |
20:04 |
Shara |
But I realised they don't spawen on mapgen (or do they?) |
20:04 |
Shara |
spawn* |
20:04 |
Tenplus1 |
a simple abm that runs every minute... checks time of day, if night it opens flower, if day it closes :) |
20:05 |
Shara |
Ewww... had thought you'd avoid ABMs :) |
20:05 |
Tenplus1 |
rare item, gotta be given :) are inside lucky blocks tho |
20:05 |
Tenplus1 |
this is a very slow running abm with no checks apart from tod... no lag :) |
20:05 |
Shara |
fireflies are using nodetimers |
20:06 |
Tenplus1 |
:P |
20:06 |
IhrFussel |
By the way are nodetimers only checked once per loading or in realtime? |
20:06 |
Shara |
Checked in what sense? |
20:07 |
IhrFussel |
Time check |
20:07 |
Tenplus1 |
they run every tick and when time occurs it runs function |
20:07 |
Tenplus1 |
are on a list for running with times involved :) |
20:07 |
IhrFussel |
And that is not intensive? |
20:07 |
IhrFussel |
Imagine 100 nodes loaded with nodetimers |
20:08 |
Shara |
Not from what I've been told, but I'm not the best judge of that |
20:08 |
Shara |
paramat ? |
20:09 |
Tenplus1 |
from what I know it's a list of registered nodetimes with server time and timer running... if timer is reached it runs attached function etc. |
20:09 |
Tenplus1 |
so just an if statement and a for loop |
20:10 |
IhrFussel |
Yes but what's the actual nodetimer radius? Will it run for all nodes in memory? Or just send_distance nodes? |
20:10 |
paramat |
erm |
20:10 |
Tenplus1 |
runs for all nodes loaded within player active area |
20:10 |
Tenplus1 |
sorry paramat, am prolly botching up the terminology here for how it all works... |
20:10 |
Shara |
only for ones a timer has specifically been set for |
20:10 |
paramat |
same radius as ABMs i think |
20:11 |
Tenplus1 |
nodetimers are useful things, but sometimes a simple abm can run better imo |
20:11 |
Shara |
and once it triggers, it's gone |
20:11 |
IhrFussel |
Yes but the question is will it be really "lag-free" if one of my players randomly decides to horde many of them at one spot? |
20:11 |
paramat |
nodetimers are less intensive than ABMs |
20:12 |
Shara |
Nothign that needs to be monitored to trigger updates of some kind will be without any performance cost |
20:12 |
Shara |
Nothing* |
20:12 |
Shara |
It's just a case of what that cost is |
20:12 |
IhrFussel |
Nodetimers should probably be added to the profiler somehow... |
20:12 |
Shara |
And whether it's noticeable |
20:12 |
IhrFussel |
In case they aren't yet |
20:13 |
paramat |
due to player walking speed ABMs somewhat need to have an interval < 16s otherwise nodes can be missed. an ABM search is searching through all nodes in a 3 mapblock radius, that's intensive |
20:14 |
Tenplus1 |
my issue is that the on_timer = function(pos, elapsed) and gives no reference to the node itself, so you need a get_node to check what it is |
20:14 |
Tenplus1 |
whereas an abm will tell you what the node is and let you skip that check meaning it can be quicker |
20:15 |
Shara |
why does on_timer need to know the node? |
20:15 |
Shara |
surely all it needs is what you do with it |
20:15 |
paramat |
and of course ABMs run whether the relevant nodes are present or not, so for fireflies ABMs would run in all the non-forest biomes, in the air, underground etc. |
20:16 |
paramat |
we made a big effort in MTG to remove as many ABMs as possible |
20:16 |
Tenplus1 |
think for fireflies... if nighttime and node isnt firefly then set to firefly... if daytime and node is firefly then set to air_firefly |
20:16 |
Tenplus1 |
this can be done with abm very easily... using nodetimer needs a get_node to check |
20:16 |
Tenplus1 |
so not only are you checking the node timer, you're adding a getnode into the equation where abm's already get that node in engine (faster) |
20:16 |
paramat |
MTG used to be an intensive mess, much better now |
20:17 |
Tenplus1 |
yeh paramat, it's a lot better... but certain functions have their uses :SD |
20:17 |
Shara |
It doesn't list node in the function because you don't need it |
20:18 |
Shara |
I'm not sure what the code underneath it is like, but it's not a thing you need to check when using it |
20:18 |
Tenplus1 |
sometimes you need to know the state of a node inside node_timer so you can do something specific |
20:18 |
Shara |
firefly and hidden_firefly are two different nodes though.. on_timer is node specific |
20:19 |
paramat |
a timer is set on a node, so node doesn't need checking when it hits zero |
20:20 |
Tenplus1 |
very true :P |
20:20 |
Tenplus1 |
ignore me, am tired and not thinking straight... ahaha |
20:20 |
Shara |
Hehe, no worries |
20:20 |
Shara |
Worth following it through to be sure it's the right approach :) |
20:20 |
* Tenplus1 |
makes coffee |
20:21 |
Tenplus1 |
lol |
20:21 |
Shara |
When the timer triggers, it's just: |
20:21 |
Shara |
if minetest.get_node_light(pos) > 11 then |
20:21 |
Shara |
minetest.set_node(pos, {name = "base:hidden_firefly"}) |
20:21 |
Shara |
Then restart the timer |
20:21 |
Tenplus1 |
node specific... check time, set node |
20:22 |
Tenplus1 |
ooh, wonder what's more intenstive, get_node_light or get_time ? I see a test approaching :D |
20:22 |
Shara |
Feel free to test and let me know :) |
20:22 |
Shara |
Or just make a PR if time works out better. You know where the HW repo is :P |
20:23 |
Shara |
Using it as a test so we can also try it in MTG if gennotify issues get worked out |
20:24 |
Shara |
Oh, I actually choose light because artificial light or shadow should matter too |
20:25 |
Shara |
Like if you release a bunch of them in a cave, they won't care what time it is |
20:25 |
Tenplus1 |
so someone placing a torch next to firefly will make it disappear also :) |
20:26 |
Shara |
Obviously ones trapped in bottles won't go away |
20:26 |
Tenplus1 |
unless they are ghosts :D |
20:27 |
IhrFussel |
Running minetest.get_timeofday() 50 times in a row takes 0.5 ms |
20:27 |
Tenplus1 |
lol, fussel beat me to it :D ehehehe |
20:27 |
Shara |
I suspect checking time is more efficient |
20:27 |
Tenplus1 |
how long does minetest.get_node_light(pos) take |
20:28 |
Shara |
But the saving would need to be kind of huge to make me change (due to stuff I just said) |
20:28 |
Tenplus1 |
that's ok... am just curious :) nothing more |
20:28 |
Shara |
I am as well :) |
20:28 |
Tenplus1 |
I always like testing different ways of doing the same thing |
20:29 |
paramat |
get node light has to access the database, get time is much simpler |
20:30 |
Shara |
Well, for MTG you can take your pick, but personally I'd prefer them to check light |
20:30 |
Shara |
Opens up much more potential for players to be creative |
20:30 |
paramat |
me too |
20:33 |
Tenplus1 |
having more things for players to play with is always fun :D |
20:39 |
IhrFussel |
Tenplus1, Shara get_node_light actually is much faster from what I tested |
20:40 |
IhrFussel |
50 times run takes 0.1 ms |
20:40 |
Shara |
Hmm, that's interesting. |
20:40 |
paramat |
weird |
20:40 |
IhrFussel |
But both methods are faster than the eye can see |
20:41 |
Shara |
I would have thought locating the info for one specific node would have been more work than retrieving a value that is consistent for the whole server |
20:41 |
paramat |
0.5ms for 50 'get time's is a long time |
20:41 |
Tenplus1 |
interesting :)) I like rogue functions... ehehe |
20:42 |
paramat |
0.5ms is a long time in code |
20:42 |
Shara |
But no point guessing what's happening without checking the actual code beneath it all |
20:42 |
IhrFussel |
I will test again to make sure it wasn't a CPU issue |
20:44 |
IhrFussel |
Okay seems like something wasn't idle when I ran the first time... now 20x minetest.get_timeofday() takes 0.005 ms |
20:44 |
IhrFussel |
50x* |
20:44 |
Tenplus1 |
ehehehe |
20:45 |
IhrFussel |
And get_node_light...one sec |
20:45 |
paramat |
that's better |
20:46 |
paramat |
i looked at the code, it's extremely simple, gets server time, divides by 24000 |
20:46 |
IhrFussel |
50x get_node_light() takes between 0.070 - 0.150 ms |
20:46 |
Tenplus1 |
yeah, stored value quicker access than checking map |
20:47 |
IhrFussel |
So we can safely say minetest.get_timeofday() takes max 1 ns to execute |
20:49 |
IhrFussel |
On a CPU from 2010 |
20:55 |
IhrFussel |
Doing maths with floats in Bash is overly complicated |
20:56 |
Tenplus1 |
why not use print statement in lua :P |
20:56 |
IhrFussel |
It's a script that greps debug.txt regularly and calculates the avg/max lag which gets logged every minute |
20:57 |
Tenplus1 |
ahh |
20:58 |
Tenplus1 |
mines checks the env_meta.txt for last update :) |
20:58 |
IhrFussel |
But since Bash doesn't support floats I have to use bc for each condition "if (( $(bc <<< "$num1 > $lastnum") ))" |
20:58 |
Tenplus1 |
if over 1 min then it restarts server |
21:00 |
IhrFussel |
sadly php does have overhead or else I could just use that... maybe python is faster than bc? But I doubt it |
21:00 |
Tenplus1 |
am sure there will be faster ways of doing a check |
21:01 |
IhrFussel |
#bash didn't help much...all they pretty much do is telling you a wiki link |
21:02 |
IhrFussel |
I wonder why Bash doesn't know floats...is it too old or did the devs just think "not needed"?? |
21:04 |
Tenplus1 |
IhrFussel: did you try: int=${float%.*} |
21:04 |
Mr-Pardison |
g2g cya |
21:04 |
Tenplus1 |
float=1.23 |
21:04 |
Tenplus1 |
cya mister |
21:06 |
IhrFussel |
Tenplus1, 1 xP |
21:06 |
Tenplus1 |
:) |
21:07 |
IhrFussel |
999x bc takes 3.7 secs?? Can that be real? |
21:08 |
IhrFussel |
That sounds super slow |
21:08 |
Tenplus1 |
what's that for ? |
21:08 |
IhrFussel |
I just did time for ((i=0;i<999;i++)); do echo "$(bc <<< "1+0.1")"; done for testing its speed |
21:09 |
Tenplus1 |
run using xterm... might be quicker :) |
21:09 |
Tenplus1 |
bash isnt the fastest tbh |
21:10 |
|
twoelk joined #minetest-hub |
21:10 |
Tenplus1 |
hi twoelk |
21:10 |
IhrFussel |
Lua takes 18 ms for the same task |
21:10 |
twoelk |
o/ |
21:10 |
Tenplus1 |
lua is much faster than bash :P |
21:10 |
twoelk |
greetings from the freezing kontinent |
21:11 |
IhrFussel |
But I need my values as shell scripts >.< |
21:11 |
IhrFussel |
And I guess if I call lua 999 times from bash it will also be slow |
21:12 |
Tenplus1 |
any reason you call it 999 times ? |
21:12 |
Tenplus1 |
twoelk: what's the temp ? |
21:12 |
twoelk |
rumors have it approaching -10 at the moment |
21:13 |
Tenplus1 |
oof, it's -2 here just now but snow stormin' |
21:13 |
twoelk |
nice closed blanket of some 10cm of snow where I live |
21:14 |
Shara |
Still no snow here :( |
21:14 |
twoelk |
at least the last time I looked outside I coild still see the car |
21:14 |
IhrFussel |
Tenplus1, the lag lines my script checks will be more than 999 ... imagine the server logs the current avg lag/max lag of the recent minute every minute to debug.txt and my script will run every few hours and get all those recent lag value lines and then compares the floats in them ... calling lua from Bash seems to be faster than bc ... 2.3 secs vs 3.7 secs |
21:15 |
|
Fixer joined #minetest-hub |
21:15 |
Tenplus1 |
o/ Fixer |
21:16 |
Fixer |
hi |
21:16 |
|
lumberJ joined #minetest-hub |
21:16 |
twoelk |
good thing that tardis is in a glass case - or else I couldn't resist to take it :D |
21:16 |
Tenplus1 |
hi lumberJ |
21:16 |
lumberJ |
hey Tenplus1 |
21:16 |
Tenplus1 |
lol twoelk |
21:17 |
Tenplus1 |
ooh, asus tinkerboard S is out soon, looks amazing for mt server setup (low power) with gigabit ethernet |
21:19 |
Tenplus1 |
nite folks o/ |
21:20 |
|
Tenplus1 left #minetest-hub |
21:26 |
IhrFussel |
Really sad how people sometimes choose easy-to-guess passwords..... just now someone wants to have it as "david" |
21:27 |
IhrFussel |
It's "password" not "first name" |
21:50 |
|
benrob0329 joined #minetest-hub |
22:12 |
|
ThomasMonroe joined #minetest-hub |
22:18 |
|
Tmanyo joined #minetest-hub |
22:20 |
Megaf |
2018-02-27 21:34:10: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'moretrees' in callback node_on_timer(): ...erver/BinMegafServer/bin/../mods/moretrees/date_palm.lua:235: find_nodes_in_area(): area volume exceeds allowed value of 551368 |
22:20 |
Megaf |
paramat: is that fixed yet? |
22:21 |
Megaf |
that's the only crash I have been having |
22:27 |
paramat |
fixed in engine |
22:28 |
Megaf |
paramat: backported to 0.4 already? |
22:28 |
Megaf |
I saw there was PR |
22:28 |
paramat |
and in todo for backporting to 0.4.17 |
22:29 |
paramat |
sfan-5 is the backport person |
22:32 |
paramat |
easy fix in moretrees mod though |
22:32 |
paramat |
reduce the parameter 'date palm polination distance' |
22:35 |
paramat |
halving it should work |
22:36 |
paramat |
no wonder moretrees is slow, date palms search a 5 mapchunk volume before being placed :] |
22:37 |
Shara |
paramat: version of moretrees I used didn't have date palms, but was still a major problem on RC |
22:38 |
Shara |
Removing the trees from mapgen was one of the biggest improvements that server ever saw |
22:38 |
twoelk |
sadly |
22:39 |
twoelk |
'cause I love the landscape moretrees creates |
22:39 |
paramat |
yes the other trees might do similar searches |
22:39 |
|
tumeninodes joined #minetest-hub |
22:39 |
Shara |
I like them as well... bbut I want me server to actually work |
22:39 |
Shara |
And this way players can still plant them |
22:39 |
paramat |
need a light version |
22:40 |
paramat |
ah good idea |
22:40 |
Shara |
There's many mods that need a light version. |
22:41 |
paramat |
all that is needed for mapgen is the saplings as registered decorations, located in suitable biomes |
22:41 |
tumeninodes |
light versions... with ads... and offer deals for full bloated versions ; ) |
22:42 |
paramat |
moretrees was written for mgv6 before we had the biome API |
22:42 |
Shara |
Back then I didn't know enough about modding to really dig in and fix it |
22:42 |
Shara |
I was learning as I went... found deleting thos ebits did the job |
22:43 |
tumeninodes |
no one wants to tackle any of the older, out-of-control big mods now |
22:43 |
Shara |
Now I could probably fix it, but there's so many other things to work on as well :) |
22:44 |
Shara |
I did do a lot of tidying up for riventest, but I think mine is the only public server using it now |
22:44 |
tumeninodes |
just add patches and aliases, atop of one another |
22:45 |
tumeninodes |
I stole (I mean "borrowed") from riventest when I did my first blunder "artdeco" |
22:45 |
* Shara |
likes commenting out huge chunks of mods because "a creative server doesn't need that stuff" |
22:46 |
twoelk |
there was/is a french server that used a "complete" moretrees - it looked lovely - but I guess VEC and VES also use it - of course |
22:47 |
Shara |
I actually hav ea copy of a mod somewhere (or I really, really hope I still have it)... that has actual models for trees. It looks amazing |
22:48 |
twoelk |
riventest (sigh) guess I sort of miss mauvebic and his servers, always with some mods only he had |
22:51 |
paramat |
i really liked mauvebic, quite a character |
22:52 |
Shara |
I can't find that mod :( |
22:57 |
twoelk |
yeah, was fun talking to him |
23:01 |
twoelk |
https://wiki.minetest.net/Mods:Nature <- lots of trees |
23:01 |
Shara |
This mod was never anywhere public... sadly I think I had the only copy |
23:02 |
twoelk |
maybe the mesh trees of EpicNode? https://forum.minetest.net/viewtopic.php?f=50&t=13758 |
23:02 |
Shara |
It was made by one of my moderators... his first mod. He didn't publish it anywhere. |
23:03 |
twoelk |
ah |
23:04 |
twoelk |
I once stole some WOW trees and plugged them into minetest - didn't look as epic as I had hoped |
23:04 |
Shara |
These things were something. |
23:05 |
Shara |
Would have never worked on a server as they were... Really big files, but I'd love to have seen him develop it. |
23:05 |
* twoelk |
wonders where his milkshape viewer went |
23:07 |
twoelk |
oh well, time to attempt to get home, bye |
23:07 |
Shara |
See you :) |
23:07 |
|
twoelk left #minetest-hub |
23:08 |
* tumeninodes |
has toyed around with epic nodes |
23:26 |
tumeninodes |
do I smell or something tonight? :P |
23:32 |
Wayward_One |
Lol |
23:32 |
* Wayward_One |
peeks in |
23:33 |
* Shara |
tries to make the peg on her nose less obvious |
23:33 |
Shara |
No tumeninodes, you don't smell at all. |
23:33 |
Wayward_One |
xD |
23:36 |
tumeninodes |
actually, I do... but that is not important |
23:40 |
Megaf |
well, I manage to reduce my max lag from 30+ seconds to 3 seconds |
23:43 |
Wayward_One |
That's a pretty big improvement |
23:45 |
Megaf |
Thomas-S: mate, streets could do with some improvements. Streets 1 didnt cause any lag, streets 2 is crashing clients on join and causing 30+ seconds of lag in servers |
23:45 |
Megaf |
=/ |
23:45 |
Megaf |
Which is a shame, because is such a fantast mod |
23:47 |
Megaf |
!server Megaf |
23:47 |
MinetestBot |
Megaf: Megaf Server v4 | mt.megaf.info:30003 | Clients: 0/20, 0/0 | Version: 0.4.17-dev / MegafXploreNext | Ping: 11ms |
23:47 |
Megaf |
fantstic I mean |