Time |
Nick |
Message |
00:17 |
|
srifqi left #minetest-hub |
00:17 |
|
jas_ joined #minetest-hub |
01:24 |
|
__vy left #minetest-hub |
01:24 |
|
__vy joined #minetest-hub |
01:58 |
|
paramat joined #minetest-hub |
02:05 |
IcyDiamond |
I want to make a cli tool for managing minetest servers, updating from source builds and keeping mods up to date |
02:05 |
IcyDiamond |
rubenwardy: does the contentdb have a public api |
02:07 |
IcyDiamond |
I'd love to have some REST |
02:07 |
IcyDiamond |
;) |
02:40 |
NathanS21 |
Sofar, I was a little distracted when playing the puzzle. Had to try and remember all the things I wanted to talk about. |
02:40 |
NathanS21 |
Hopefully the actual gameplay videos aren't too bad. |
02:45 |
rdococ |
I'd like to see a factions server |
04:39 |
|
ssieb joined #minetest-hub |
05:07 |
|
MinetestSam joined #minetest-hub |
05:08 |
|
MinetestSam joined #minetest-hub |
06:06 |
|
roben1430 joined #minetest-hub |
07:43 |
|
Unarelith joined #minetest-hub |
08:27 |
|
jluc joined #minetest-hub |
08:45 |
|
Gael-de-Sailly joined #minetest-hub |
12:45 |
|
Fixer joined #minetest-hub |
12:45 |
|
Fixer joined #minetest-hub |
13:32 |
Fixer |
"CDB has 397 packages" |
13:32 |
Fixer |
just one more package and then you will be happy |
13:34 |
|
DI3HARD139 joined #minetest-hub |
13:58 |
rubenwardy |
IcyDiamond: https://content.minetest.net/api/packages/ https://content.minetest.net/api/packages/rubenwardy/awards/ |
14:00 |
rubenwardy |
the former uses the exact same search controls as the HTML search |
14:01 |
rubenwardy |
ie: ?q=query &n=limit &sort=date &order=asc &lucky=1 &random=1 etc |
14:01 |
rubenwardy |
should write docs at some point |
14:02 |
rubenwardy |
I'd also like to have an OAuth2 API and allow creating releases and such |
14:02 |
|
aerozoic joined #minetest-hub |
14:02 |
rubenwardy |
but would need to implement some form of rate limiting or protections to prevent certain malicious actors from abusing it |
14:04 |
rubenwardy |
oh also: &type=mod / txp / game |
14:04 |
rubenwardy |
you can also combine multiple like &type=mod&type=game |
14:04 |
rubenwardy |
or maybe it's &type[]=mod&type[]=game |
14:05 |
rubenwardy |
code is here: https://github.com/minetest/contentdb/blob/master/app/views/packages/__init__.py#L36-L115 |
14:10 |
rubenwardy |
oh also |
14:10 |
rubenwardy |
downloads are at https://content.minetest.net/packages/rubenwardy/awards/download/ or https://content.minetest.net/packages/rubenwardy/awards/releases/638/download/ |
14:12 |
nerzhul |
rubenwardy, what is your framework ? just use openapi / swagger |
14:12 |
nerzhul |
we got flask apps at work and we use flassger |
14:12 |
rubenwardy |
oh cool |
14:13 |
nerzhul |
you just document your routes and instantiate and that's all :p |
14:14 |
nerzhul |
rubenwardy: https://pastebin.com/pDCzKugu |
14:14 |
rubenwardy |
oh cool |
14:15 |
nerzhul |
https://pastebin.com/y93AGQG4 |
14:15 |
nerzhul |
basic example required to show the route entry in the ui |
14:15 |
nerzhul |
after just document with openapi the yaml |
14:15 |
nerzhul |
note: you should change your routes to be more proper than the old ?q= :D |
14:16 |
nerzhul |
/api/search/<search terms>?otherparam1=a,otherparam1= |
14:30 |
|
scr267 joined #minetest-hub |
15:04 |
ircSparky |
http://irc.minetest.net/minetest/2019-01-01#i_5470145 anyone have any insight on this subject? |
15:07 |
|
entuland joined #minetest-hub |
15:10 |
|
scr267b joined #minetest-hub |
15:22 |
|
Gael-de-Sailly joined #minetest-hub |
15:24 |
|
tumeninodes joined #minetest-hub |
15:25 |
tumeninodes |
hmm, never ran into this when compiling before https://pastebin.com/W0TvKYuw |
15:33 |
|
_Xenon joined #minetest-hub |
16:20 |
|
scr267 joined #minetest-hub |
16:37 |
|
kaeptmblaubaer joined #minetest-hub |
16:55 |
|
Ruslan1 joined #minetest-hub |
17:05 |
|
kaeptmbl1 joined #minetest-hub |
17:18 |
rubenwardy |
IcyDiamond: https://github.com/minetest/contentdb/blob/master/app/querybuilder.py |
17:20 |
|
Krock joined #minetest-hub |
17:54 |
|
garywhite joined #minetest-hub |
17:57 |
|
IhrFussel joined #minetest-hub |
17:58 |
IhrFussel |
Hello there m/f/d people xP (d means "diverse" which is the new 'third gender' in Germany) |
18:09 |
Krock |
k |
18:12 |
sofar |
whatever happened to "hello" |
18:13 |
Krock |
it's gone weird |
18:17 |
roben1430 |
sofar: hello |
18:22 |
tumeninodes |
Merry Christmas! (that should throw them all into a raging fit) :D |
18:26 |
IhrFussel |
What's with the negative replies... are you against new genders? |
18:26 |
tumeninodes |
nope, I could care less actually. Has zero impact on my life |
18:27 |
tumeninodes |
I am just against militants |
18:29 |
rubenwardy |
*couldn't care less |
18:30 |
rubenwardy |
Christmas is my favourite pagan festival |
18:30 |
tumeninodes |
One of my children is transgender, I love him and he has my support 100% always. He is a non-militant and, he and his friends are in agreement with the "only 2 genders" statement |
18:31 |
IhrFussel |
Oh...the new German law only means people that are born as a mix between male and female ... transgender people are not targeted (but some parties want to include those too soon) |
18:31 |
tumeninodes |
and yes, Christmas (the day itself) was a pagan holiday or (ritual day), has nothing to do with Jesus Christ, as Jesus was born sometime around August |
18:31 |
tumeninodes |
ahhhh I understand that now then |
18:32 |
IhrFussel |
There are 100,000 of them in Germany and the highest court ruled that they are discriminated cause there is no fitting gender for them |
18:32 |
tumeninodes |
I know the old common terminology but today I believe it is considered greatly offensive |
18:33 |
tumeninodes |
well, then I have no opposition toward allowing a new one they can identify with. It has to be a very difficult situation to deal with |
18:35 |
tumeninodes |
and honestly, imo I do not feel others have any right to deny them that... especially those who do not share in the impact |
18:37 |
sofar |
hello yellow, green, blue, purple (did I get all colors) people! |
18:37 |
sofar |
hello short, tall, medium people! |
18:37 |
benrob0329 |
sofar: you forgot void people |
18:37 |
sofar |
hello (insert array here) people! |
18:37 |
tumeninodes |
hey... I am offended... you forgot us weirdos |
18:38 |
tumeninodes |
people just laugh at me when I tell them I identify as God |
18:38 |
tumeninodes |
:'( |
18:39 |
tumeninodes |
Wish I could just go back in time and live in the good old days... when someone could just come up to you... kill you, take all your stuff.. |
18:39 |
tumeninodes |
that's why I love Minetest xD |
18:41 |
tumeninodes |
SO, how far are we from being able to teleport between world folders? |
18:42 |
tumeninodes |
:) |
18:42 |
IhrFussel |
tumeninodes, to be considered "diverse" people are forced to get a medical certificate that proves their gender-mix |
18:43 |
tumeninodes |
well, that only makes sense otherwise some would attempt it, without actually being |
18:44 |
tumeninodes |
teleport <world folder name> then <coords> ~magic~ You are here |
18:44 |
IhrFussel |
But I'm kinda happy that even the "strict Christian" parties suddenly want to accept this |
18:45 |
tumeninodes |
that is a huge thing and very good |
18:47 |
tumeninodes |
must be some way to create a method to be ingame, do the teleport cmmd and as soon as the word "world" then the coords and hit enter it triggers to exit to menu then auto select that world and restart |
18:48 |
benrob0329 |
you could also have a mod which splits the world into smaller chunks that are replaced with each "realm" or dimension |
18:48 |
tumeninodes |
I realize the difficulties related to teleporting between servers but, going between world folders should be very possible |
18:48 |
benrob0329 |
the mod saves the chunks itself, and will override a portion of the world whenever someone teleports there |
18:48 |
tumeninodes |
nah, that has been discussed so many times... and while it's an option, the ability to go between worlds would be great |
18:49 |
benrob0329 |
well, yes. |
18:49 |
IhrFussel |
btw right now Germany allows parents to decide about an operation after birth... like when a gender-mixed baby is born and parents don't want to accept it they still have the choice to make it male or female |
18:49 |
benrob0329 |
alternatively being able to direct the loading functions to another world database might work |
18:49 |
tumeninodes |
just script out the need for the player to have to esc to menu, choose another world, then start |
18:53 |
tumeninodes |
IhrFussel: only difficult part in that, is hoping the parents made the correct choice, as each individual will have one dominant in the brain and if the wrong is chosen that individual may deal with many difficulties through life |
18:54 |
tumeninodes |
anyway, enough of that for me today :) |
18:54 |
tumeninodes |
I really want to focus on world teleportation |
18:55 |
rubenwardy |
Couldn't you make the choice based on dna? |
18:55 |
tumeninodes |
probably |
18:56 |
tumeninodes |
some will/are prob glad the choice was made for them as infants, some probably are not. Hardly ever a "perfect" solution |
18:57 |
sofar |
veering wildly into [off] but brain chemistry and gender are not the same thing |
18:57 |
tumeninodes |
exactly |
18:57 |
* sofar |
is so far in [off] he can see a chinese moon rover |
18:57 |
tumeninodes |
hahahaha |
18:58 |
|
ssieb joined #minetest-hub |
18:58 |
* tumeninodes |
has to head out to check on his "new to him" vehicle to see if it is ready to roll |
19:13 |
IcyDiamond |
!mod [off] |
19:13 |
MinetestBot |
IcyDiamond: Could not find anything. |
19:13 |
IcyDiamond |
What's this [off] mod everyone's talking about |
19:13 |
IcyDiamond |
;p |
19:20 |
BillyS |
What's the "correct" way to shut down a MT client? Isn't it to send a SIGINT? Because whenever I send my client a SIGINT, it times out instead of leaving the game then and there ... |
19:22 |
Krock |
SIGINT is correct |
19:22 |
nerzhul |
kill -9 -1 |
19:22 |
Krock |
although Ctrl+C would probably be better |
19:23 |
BillyS |
nerzhul: I'm inexperienced but not stupid :P |
19:23 |
BillyS |
Krock: Kk, thx |
19:24 |
Krock |
xkill and *click* |
19:25 |
IhrFussel |
If you only have 1 client open 'killall minetest' |
19:27 |
nerzhul |
BillyS another way is: echo "1" > /sys/class/block/sda/ro |
19:27 |
IcyDiamond |
Ctrl+C is SIGINT |
19:27 |
Krock |
or press that weird ⏻ button on your computer. it's shorthand for closing Minetest |
19:29 |
IcyDiamond |
SIGKILL is murder, I'm calling the *nix police |
19:34 |
BillyS |
nerzhul: Yeah, but I prefer :(){ :|: & };: |
19:34 |
BillyS |
It's shorter |
19:35 |
IcyDiamond |
:) |
19:37 |
IcyDiamond |
Just switch off the power to your machine, that's guaranteed to shut down a mt server |
19:37 |
IcyDiamond |
..along with everything else |
19:39 |
Krock |
it's about shutting down a client |
19:39 |
Krock |
not that it would matter |
19:43 |
garywhite |
kill a client: Alt+F4 :P |
19:52 |
IhrFussel |
Shutting down a PC/server completely ... will it also close everything "normally"? |
19:54 |
rubenwardy |
yes |
19:54 |
rubenwardy |
no |
19:54 |
IcyDiamond |
shutdown 0 |
19:54 |
rubenwardy |
if you use the shutdown feature, it'll probably send signals to everything |
19:54 |
rubenwardy |
Minetest will handle SIGINT (ie: ctrl+c) well |
19:54 |
IcyDiamond |
No shit Sherlock |
19:54 |
IcyDiamond |
:) |
19:54 |
rubenwardy |
I wasn't talking to you |
19:55 |
IcyDiamond |
:( |
19:55 |
rubenwardy |
ah |
19:55 |
rubenwardy |
so, on shutdown the system gives SIGTERM to all processes |
19:55 |
IcyDiamond |
Lol |
19:56 |
rubenwardy |
in anycase, you should have backups anyway :) |
19:56 |
IhrFussel |
But a program that doesn't catch SIGTERM to cleanup is considered crappy |
19:57 |
IhrFussel |
Only SIGKILL should be able to corrupt things |
19:58 |
IhrFussel |
Minetest handles SIGTERM the same as SIGINT someone here said recently |
20:03 |
Krock |
https://github.com/minetest/minetest/blob/master/src/porting.cpp#L73-L99 |
20:03 |
IcyDiamond |
You probably have irrlicht to thank for that |
20:03 |
IcyDiamond |
Oh nvm |
20:21 |
celeron55 |
if some old-timer found that fact about MT's handling of SIGTERM and SIGINT weird, that might be because MT originally only handled SIGINT and you had to avoid SIGTERM, IIRC |
20:22 |
|
FrostRanger joined #minetest-hub |
20:41 |
IhrFussel |
Every programmer should know that lots of people use killall to end processes ... and they should just handle it ... I don't think it#s the user's fault if a program cannot react to a perfectly fine and widely used method to end processes |
20:42 |
IhrFussel |
Otherwise kill/killall etc would send SIGINT by default |
20:46 |
IhrFussel |
#linux said not handling SIGTERM is a bug basically and should be reported |
20:47 |
rubenwardy |
... |
20:48 |
rubenwardy |
I don't get your point really, or why you keep discussing this |
20:50 |
sfan5 |
mt handles sigint |
20:50 |
sfan5 |
sigterm i mean |
20:52 |
IhrFussel |
I wasn't talking about Minetest now, it was just a reply to the above ... I mean the old behavior of MT was a "bug" back then |
20:56 |
rubenwardy |
it wasn't a bug, it was just non-conformance |
20:57 |
rubenwardy |
which is basically the same thing |
20:57 |
sofar |
https://www.freedesktop.org/software/systemd/man/systemd.kill.html |
20:57 |
sofar |
Defaults to SIGTERM |
20:57 |
sofar |
better modify minetest.service to include KillSignal=SIGINT |
20:58 |
rubenwardy |
sofar: no, because Minetest handles SIGTERM well already |
20:58 |
sofar |
I know :) |
20:58 |
sofar |
as it should |
20:58 |
rubenwardy |
IcyDiamond: just realised that you said the same thing as me earlier |
20:58 |
* sofar |
writes socket activation code |
21:07 |
IhrFussel |
It's seriously sad to see so many github issues of other repos mentioning missing SIGTERM handling |
21:26 |
|
ssieb joined #minetest-hub |
21:32 |
benrob0329 |
why did b3d become the standard model format again? Doesn't it have bugs and is a pain to work with because Blender can't import/export it directly? |
21:33 |
sofar |
irrlicht only supports a few formats that allow animated models |
21:33 |
sofar |
(.x and .b3d afaik) |
21:33 |
sofar |
.x isn't an open format |
21:34 |
sofar |
irrlicht likes to use the textures stored in the b3d file, minetest likes them externally |
21:36 |
benrob0329 |
then why not support something like assimp or a newer version of collada? |
21:37 |
sofar |
$work |
21:38 |
benrob0329 |
or MilkShape |
21:40 |
rubenwardy |
!up ctf.rubenwardy.com 30001 |
21:40 |
MinetestBot |
ctf.rubenwardy.com:30001 is up (86ms) |
21:45 |
benrob0329 |
can sounds have reverb in-engine? |
21:52 |
sofar |
I think you can but it's limited (openal-soft) |
21:53 |
celeron55 |
it's not immediately obvious by googling what openal-soft supports |
21:54 |
celeron55 |
one could try and see, i guess |
21:54 |
celeron55 |
or look at the source |
21:55 |
celeron55 |
https://github.com/kcat/openal-soft/blob/master/examples/alreverb.c |
21:55 |
benrob0329 |
I mean from the lua API |
21:55 |
celeron55 |
ok i think it does |
21:56 |
benrob0329 |
doesn't look like it's supported (or documented in lua_api) |
21:56 |
celeron55 |
no, that's currently not in the lua API |
21:56 |
benrob0329 |
but it would be nice for if an area was large or cavernous, and a mod or game wanted to convey that |
21:58 |
benrob0329 |
Ofc you can bake reverb in, but that won't play nice with -ND licenses and will bloat media size if you want both reverb and non-reverbed sounds |
21:59 |
sofar |
adding the API's might not be too difficult, I suspect the problem is that you need to make a per-player method to set reverb parameters |
21:59 |
sofar |
and so you're talking a network packet change |
22:00 |
benrob0329 |
I'm not sure that it's a worthwhile change, considering the few things that might want to do it (like me for a game) can just bake it in |
22:01 |
celeron55 |
it might not be a huge issue as reverb could be set when playing the sound; i mean if one player hears a positional sound with reverb, others that are close enough to hear it should generally hear a reverb also |
22:01 |
CTF5 |
!up ctf.rubenwardy.com 30001 |
22:01 |
MinetestBot |
ctf.rubenwardy.com:30001 is up (86ms) |
22:01 |
celeron55 |
but yes, obviously a network protocol extension and so on |
22:01 |
sofar |
then you'd have to modify the sound_play packet to include a reverb param as well |
22:01 |
celeron55 |
but that's normal |
22:01 |
sofar |
yep |
22:03 |
celeron55 |
the most demanding part of that probably is putting some thought into the network protocol |
22:03 |
celeron55 |
so that it doesn't fall on its face when more things are to be added |
22:03 |
benrob0329 |
Something that would be a very useful extension to the sound spec is a node_type specification, ie play this sound from all nodes of type X |
22:04 |
benrob0329 |
then implementing ambiance and in-game music would be simple (as well as the dreaded fire noises) |
22:05 |
celeron55 |
sounds like giving quite a lot of non-trivial work to the engine |
22:05 |
benrob0329 |
it could probably be implemented as a SSCSM, but those need to exist first |
22:08 |
|
BuckarooBanzai joined #minetest-hub |
22:08 |
BuckarooBanzai |
hi all |
22:08 |
BuckarooBanzai |
some spam-bot in the forums: https://forum.minetest.net/search.php?author_id=24200&sr=posts |
22:08 |
BuckarooBanzai |
...and bye :) |
22:12 |
* sofar |
takes a look |
22:14 |
sofar |
taken care of |
22:17 |
IcyDiamond |
I don't understand Ukrainian |
22:18 |
IcyDiamond |
But why spam about digital terrestrial television |
22:19 |
sofar |
russian propaganda |
22:48 |
|
ssieb joined #minetest-hub |
22:48 |
Fixer |
was not fast enough to read that spam, weird, why would they spam that on minetest forums |
22:59 |
|
garywhite joined #minetest-hub |
23:00 |
|
garywhite1 joined #minetest-hub |
23:42 |
* benrob0329 |
tries to figure out why the lighting on his Vmanip isn't being calculated properly |
23:48 |
sofar |
because it b0rk |
23:49 |
sofar |
I've had many issues with it |
23:49 |
sofar |
every ITB restart vmanips hate me |
23:51 |
benrob0329 |
I mean, I've had it work for other things fine |
23:51 |
* benrob0329 |
looks at previous testing code that worked properly |
23:56 |
benrob0329 |
ahh, my light sources weren't defined properly |
23:56 |
|
paramat joined #minetest-hub |
23:56 |
* benrob0329 |
notes that it doesn't make sense that we need both paramtype = "light" and light_source in nodedef |