Time |
Nick |
Message |
00:05 |
|
benrob0329 joined #minetest-hub |
00:13 |
IhrFussel |
Uh...even though I cancelled the domain and removed the cert dir from my server it looks like I can still reach my website via .tk |
00:15 |
|
benrob0329 joined #minetest-hub |
00:19 |
IcyDiamond |
https://forum.minetest.net/viewtopic.php?f=9&t=21912 |
00:20 |
IhrFussel |
Could you check if you can still reach the old domain? ihrfussels-server.tk |
00:22 |
IcyDiamond |
Nope |
00:23 |
IhrFussel |
Why can my phone still reach it o.o |
00:23 |
rubenwardy |
DNS propagation |
00:23 |
IcyDiamond |
Yeah |
00:25 |
IhrFussel |
But my PC at least showed the "connection not secure" error while my phone just loaded it... did my phone cache the cert and assumed it's still valid? |
00:25 |
IcyDiamond |
Likely |
00:51 |
|
Ruslan1 joined #minetest-hub |
00:53 |
sofar |
IcyDiamond: is there a reason to not use modstorage by default instead? |
00:54 |
sofar |
also, should internal load/save methods really be public? |
00:54 |
sofar |
might be dangerous |
00:54 |
IcyDiamond |
Probably not |
00:54 |
IcyDiamond |
I'll change them |
00:54 |
sofar |
adding delay functions may be very unsafe |
00:55 |
sofar |
minetest.after() just before a shutdown cancels writes |
00:55 |
IcyDiamond |
I knew I shouldn't have overused them |
00:55 |
sofar |
better to add a queue and if the server shuts down you force save immediately |
00:55 |
sofar |
it's not a bad idea to postpone writes |
00:56 |
sofar |
0.1sec is too short, though |
00:56 |
sofar |
MT does 5-7 second delayed writes |
00:56 |
IcyDiamond |
I for some reason assumed it would be kind of like threading |
00:56 |
sofar |
imho what you need to do for storage |
00:57 |
sofar |
1) by default, use mod_storage |
00:57 |
sofar |
2) allow optional lsqite3 or some other sql storage |
00:57 |
sofar |
flat file is probably not that useful as large servers will want some sql db backing it anyway |
00:57 |
sofar |
and anyone running a home server would do fine with mod_storage |
00:58 |
IcyDiamond |
Ok |
00:58 |
sofar |
and then you don't need to worry about delaying writes or safe writes |
00:58 |
sofar |
(feel free to ignore my advice, but, I kinda like your idea and I want to make it successful :)) |
00:58 |
IcyDiamond |
I for some reason was never informed of the existence of mod storage |
00:58 |
sofar |
it's relatively new, in a way |
00:59 |
* sofar |
reviews some more |
00:59 |
IcyDiamond |
I guess I'll keep flatfile around as well and make it a setting |
00:59 |
sofar |
sure |
00:59 |
IcyDiamond |
Default it to modstorage then |
01:00 |
IcyDiamond |
I'm not ignoring any feedback |
01:00 |
IcyDiamond |
So feel free to criticize and advise |
01:00 |
sofar |
can you maybe use the areastore? https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L4745 |
01:01 |
sofar |
I ended up using it in ITB myself, it's probably useful for region mgmt |
01:02 |
IcyDiamond |
Hmm, areastore might work |
01:02 |
sofar |
oh |
01:02 |
sofar |
server owners will want lots of event logging |
01:02 |
sofar |
please add any sort of user interaction event as a special log |
01:02 |
sofar |
one that can be enabled/disabled if needed, perhaps |
01:03 |
IcyDiamond |
User interaction? |
01:04 |
sofar |
like, for instance err_msg should also be a console log |
01:05 |
IcyDiamond |
But that's just command feedback |
01:05 |
IcyDiamond |
If the command was ran incorrectly |
01:05 |
sofar |
oh btw |
01:05 |
sofar |
do not use towny:funcname(params) unless you use `self` |
01:05 |
sofar |
just write towny.funcname(params) instead |
01:06 |
IcyDiamond |
I don't know why I started doing that in the first place |
01:06 |
sofar |
gheghe |
01:06 |
sofar |
most people misunderstand lua `objects` |
01:06 |
IcyDiamond |
My lack of sleep may have something to do with it |
01:06 |
sofar |
if you use `:` a special parameter `self` is passed |
01:06 |
sofar |
you don't want it, it might even just break your code |
01:06 |
IcyDiamond |
I know that |
01:07 |
IcyDiamond |
Yet I still did it like this |
01:07 |
sofar |
hehe |
01:07 |
IcyDiamond |
I'll fix stuff after I get some rest |
01:07 |
IcyDiamond |
I spent many hours coding today |
01:07 |
sofar |
I mean, you could make a nice `Towny` class |
01:08 |
sofar |
so that you can do |
01:08 |
sofar |
local t = get_town_at(pos) |
01:08 |
sofar |
t:mark_dirty() |
01:08 |
sofar |
but honestly there's no need |
01:09 |
sofar |
although it may make it a lot easier to work with |
01:09 |
sofar |
e.g. make `class Towny` have a bunch of manipulation functions that all assume `self` is already a valid towny object |
01:09 |
sofar |
Towny:set_plot_flags() etc |
01:10 |
sofar |
it may make permission checking easier to write |
01:10 |
sofar |
as it stands you have a lot, a lot, of if checks |
01:11 |
sofar |
oh interesting idea, towny visualizations. You can make particles appear only to one player |
01:12 |
sofar |
it might be a good idea to do that instead of entities that get sent to all players |
01:12 |
IcyDiamond |
I want to try using particles indeed |
01:12 |
IcyDiamond |
I don't like the entities |
01:14 |
sofar |
anyway, kudos, code looks like a great start |
01:55 |
IcyDiamond |
https://gitlab.icynet.eu/evert/towny/commit/d50da0c47ca52ea4b82d1015bdb5c68ce9025890 |
01:59 |
rubenwardy |
: should never be used with namespaces |
02:00 |
rubenwardy |
: should only be used with classes |
02:00 |
jas_ |
what's a namespace? |
02:00 |
rubenwardy |
minetest |
02:00 |
jas_ |
sry |
02:00 |
jas_ |
oh |
02:00 |
jas_ |
cool ty |
02:00 |
rubenwardy |
eg: minetest.get_node |
02:00 |
rubenwardy |
it's a word I made up for a global table with things in it |
02:01 |
jas_ |
now i just need to learn about what a class is |
02:01 |
jas_ |
i was told recently to read PiL |
02:01 |
jas_ |
i said, "well i reference it" and they said: "the reference manual is for referencing" so true, i lol'd |
02:04 |
IcyDiamond |
minetest vr when |
02:04 |
IcyDiamond |
:) |
02:05 |
jas_ |
nice! no kidding. i have't tried it yet, maybe i'm holding out for mt (re: never) |
02:06 |
jas_ |
does... the other game have VR with a headset like that? |
02:07 |
IcyDiamond |
probably with a mod |
02:07 |
rubenwardy |
IcyDiamond: https://github.com/minetest/minetest/pulls/new |
02:07 |
IcyDiamond |
:) |
02:07 |
rubenwardy |
also |
02:07 |
rubenwardy |
I'd like to come up with a standard way for RPCs in Minetest |
02:08 |
rubenwardy |
Remote Procedural Calls |
02:08 |
jas_ |
ty |
02:08 |
rubenwardy |
for communication between Minetest and a web server, or Minetest 2 Minetest |
02:08 |
rubenwardy |
I imagine certain people would have strong opinions on this |
02:08 |
rubenwardy |
*cough* nerzhul *cough* |
02:09 |
jas_ |
ha |
02:09 |
rubenwardy |
I would be nice to have it based on the mod channels API |
02:09 |
rubenwardy |
there's this already: https://github.com/thomasrudin-mt/mail/blob/master/util/channel.lua |
02:10 |
rubenwardy |
that works by polling an end point for messages, and posting any responses |
02:12 |
jas_ |
ye i always wished for something other than irc mod, was very happy when --terminal was introduced. minetest 2 minetest sounds good to me. |
02:14 |
rubenwardy |
mail is sooo bad |
02:14 |
rubenwardy |
so many mistakes and issues |
02:15 |
rubenwardy |
and webmail is a buggy JS webapp |
02:29 |
rubenwardy |
https://i.rubenwardy.com/zPXaV.png |
02:37 |
IhrFussel |
Constant 0.5 sec lag cause of sban :P |
02:39 |
IhrFussel |
Earlier today I had max_lag of 0.2 with THIRTY players ... loading lots of mapblocks at once (eg tp to an unloaded area) lags the server more now than sauth |
02:44 |
rubenwardy |
Heh |
02:44 |
rubenwardy |
Those spikes are map resets btw |
02:47 |
IhrFussel |
Yeah but the line never goes below 0.5...unless I missed something |
02:48 |
IhrFussel |
Kinda scary how 1 mod can make the server partly unplayable |
02:53 |
rubenwardy |
The stats show that it is playable |
02:54 |
IhrFussel |
It doesn't register every hit from players...sometimes you punch and punch and they just lose no HP and you die |
02:54 |
IhrFussel |
Something must be very wrong there |
02:55 |
IhrFussel |
Another time you die in less than 1 second...you have no time to react to anything, you just die |
04:48 |
|
ANAND_ joined #minetest-hub |
05:02 |
|
entuland_ joined #minetest-hub |
07:58 |
|
Ruslan1 joined #minetest-hub |
08:22 |
nerzhul |
rubenwardy: we have RPC with mod channels |
08:23 |
nerzhul |
but yeah server should be the only to perform http calls, and the URL should not be provided by client, but it's server owner security responibility |
08:24 |
nerzhul |
IhrFussel, in fact servers unplayable are always coming from mods as the server is pretty light |
08:24 |
nerzhul |
is this me or we are in the 5.0.0 freeze and there is not many bugs opened ? |
08:35 |
|
FrostRanger joined #minetest-hub |
08:58 |
|
Krock joined #minetest-hub |
09:06 |
|
CWz joined #minetest-hub |
09:24 |
Krock |
Good morning Minetest |
09:37 |
|
_Xenon joined #minetest-hub |
10:05 |
rubenwardy |
nerzhul: I'm not talking about server to client |
10:14 |
|
paramat joined #minetest-hub |
10:15 |
paramat |
"not many bugs opened" -> 279 ;) |
10:48 |
|
Unarelith joined #minetest-hub |
10:50 |
|
Gael-de-Sailly joined #minetest-hub |
11:16 |
|
Fixer joined #minetest-hub |
11:23 |
|
jluc joined #minetest-hub |
11:45 |
rubenwardy |
https://i.imgur.com/TI66saZ.jpg |
11:49 |
Krock |
eeeh? |
12:20 |
nerzhul |
paramat, i should have been more precise: not many bugs since the freeze :) |
13:09 |
rubenwardy |
RCs will get sine |
13:09 |
rubenwardy |
Some |
13:21 |
|
entuland joined #minetest-hub |
15:10 |
|
aerozoic joined #minetest-hub |
15:42 |
|
BuckarooBanzai joined #minetest-hub |
17:02 |
|
ANAND_ joined #minetest-hub |
17:03 |
|
Ruslan1 joined #minetest-hub |
17:12 |
|
NathanS21 joined #minetest-hub |
17:13 |
|
kaeptmblaubaer joined #minetest-hub |
17:28 |
|
T4im joined #minetest-hub |
17:46 |
|
NathanS21 joined #minetest-hub |
18:16 |
ircSparky |
would adding a mesh hud type to the lua api, similar to the wielditem, be doable? |
18:21 |
Krock |
everything is doable |
18:30 |
ircSparky |
oooh, lets do dynamic lighting |
18:30 |
ircSparky |
and shadows |
18:31 |
ircSparky |
I guess what i mean is "would it be easy enough for someone to be willing to do it" |
18:39 |
|
FrostRanger joined #minetest-hub |
19:10 |
|
entuland_ joined #minetest-hub |
19:13 |
|
entuland joined #minetest-hub |
19:49 |
|
DI3HARD139 joined #minetest-hub |
19:50 |
|
CWz_ joined #minetest-hub |
19:59 |
|
garywhite joined #minetest-hub |
20:06 |
|
CWz_ joined #minetest-hub |
20:44 |
|
IhrFussel joined #minetest-hub |
20:49 |
IhrFussel |
I added sharks to my server...now they scream 'ADD DOLPHINS' 'ADD DRAGONS' ... I opened a can of worms |
20:51 |
garywhite |
just tell them don't go into the water or it will turn into Jaws...that'll change their tune real quick |
20:55 |
IhrFussel |
I could actually add a random chance that turns a shark into a HUGE and extremely powerful one...not sure if I'll be that mean xP |
20:56 |
IhrFussel |
Imagine a regular shark coming towards you and you're like 'heh no problem' switch to your sword and suddenly it becomes a real huge one lol |
21:01 |
|
Peppy joined #minetest-hub |
21:27 |
|
Peppy joined #minetest-hub |
22:18 |
luk3yx |
Is there a good way to split items evenly between two outputs without using itemwise filters? |
22:48 |
|
entuland_ joined #minetest-hub |
22:54 |
|
entuland joined #minetest-hub |
23:06 |
rubenwardy |
"My favourite thing about working with Minecraft is that it reminds you to take breaks while you're coding.... By just glitching out the client and not rendering any menu graphics every hundred server connects or so if you don't restart the client" |
23:07 |
|
Fixer joined #minetest-hub |
23:45 |
|
benrob0329 joined #minetest-hub |