Time |
Nick |
Message |
00:16 |
|
sobkas joined #minetest |
01:13 |
|
mazes_83 joined #minetest |
01:37 |
|
fling joined #minetest |
01:50 |
|
wallabra joined #minetest |
02:05 |
Parnikkapore_m |
TIL "orthogonal distance"; I've always called it taxicab / manhattan |
02:06 |
muurkha |
or L1 |
02:07 |
muurkha |
the L₁ norm: https://en.wikipedia.org/wiki/Taxicab_geometry |
02:07 |
muurkha |
"orthogonal distance" doesn't appear in that article |
02:51 |
|
Lesha_Vel joined #minetest |
03:55 |
|
Verticen joined #minetest |
04:00 |
|
MTDiscord joined #minetest |
04:38 |
|
loggingbot_ joined #minetest |
04:38 |
|
Topic for #minetest is now The official Minetest channel | Latest version: 5.5.1 (2022-05-15) | General, player and modding discussion is on-topic. If in doubt, post here | Responses may take a while, be patient | Rules: https://wiki.minetest.net/IRC#Rules | Development: #minetest-dev | Server list: https://minetest.net/servers | IRC logs: https://irc.minetest.net/minetest |
05:15 |
|
YuGiOhJCJ joined #minetest |
05:35 |
|
calcul0n joined #minetest |
05:50 |
|
TomTom joined #minetest |
05:57 |
|
lemonzest joined #minetest |
08:32 |
|
orwell96 joined #minetest |
08:45 |
|
lemonzest joined #minetest |
09:05 |
|
Alnotz joined #minetest |
09:08 |
|
nore joined #minetest |
09:39 |
|
proller joined #minetest |
09:44 |
|
Lesha_Vel joined #minetest |
10:18 |
|
YuGiOhJCJ joined #minetest |
10:24 |
|
Taoki joined #minetest |
10:39 |
|
harry-wood joined #minetest |
10:48 |
|
harry-wood joined #minetest |
10:54 |
|
harry-wood joined #minetest |
10:54 |
|
harry-wood1 joined #minetest |
11:02 |
|
harry-wood joined #minetest |
11:03 |
|
definitelya joined #minetest |
11:30 |
|
independent56 joined #minetest |
11:31 |
independent56 |
Sorry about the earlier downtime. We were moving Babushka into our house, and the router was down from 17:00 to 12:30 |
11:31 |
independent56 |
This downtime will be logged |
11:33 |
sfan5 |
? |
11:34 |
|
Alnotz joined #minetest |
11:37 |
independent56 |
Let me explain myself: my server used to be hosted in my babushkas house, 2 km away from our current house. We are planning on selling that house, so we moved our stuff, and EE would not turn our router until midday here |
11:37 |
independent56 |
So the server was offline |
11:37 |
independent56 |
But things are slowly coming back |
11:59 |
|
ronoaldo joined #minetest |
12:05 |
|
sec0nd joined #minetest |
12:07 |
|
specing joined #minetest |
12:13 |
|
independent56 joined #minetest |
12:33 |
|
independent56 joined #minetest |
12:34 |
|
independent56 joined #minetest |
12:45 |
|
independent56 joined #minetest |
12:55 |
|
proller joined #minetest |
13:06 |
|
Fixer joined #minetest |
13:07 |
|
YuGiOhJCJ joined #minetest |
13:12 |
|
debiankaios joined #minetest |
13:28 |
|
toluene joined #minetest |
14:12 |
|
YuGiOhJCJ joined #minetest |
14:22 |
|
independent56 joined #minetest |
14:24 |
|
independent56 joined #minetest |
14:35 |
fluxionary |
pretty sure this isn't a thing, but there's no way to get the y-elevation of the "surface" given x/z coords, outside the heightmap mapgen object, which is only for the most recently generated chunk? |
14:38 |
|
independent56 joined #minetest |
14:41 |
sfan5 |
I believe the mapgen class has a method for this, that could just be exposed |
14:42 |
sfan5 |
also depending on mapgen you can reimplement the "getSurfaceAtPoint" code in Lua if you need it |
14:44 |
fluxionary |
alright, perhaps i'll put in a PR for something in a bit |
14:45 |
|
independent56 joined #minetest |
14:47 |
fluxionary |
currently have to fix a bug where i assumed that checking to see if the biome @ water_level was an ocean biome meant that the area was once an ocean... |
14:56 |
|
independent56 joined #minetest |
15:01 |
|
independent56 joined #minetest |
15:03 |
|
harry-wood joined #minetest |
15:37 |
|
calcul0n joined #minetest |
15:48 |
|
independent_ joined #minetest |
16:09 |
|
independent_ joined #minetest |
16:12 |
|
independent_ joined #minetest |
16:27 |
|
independent_ joined #minetest |
16:28 |
|
sobkas joined #minetest |
16:30 |
|
independent_ joined #minetest |
16:30 |
|
Talkless joined #minetest |
16:40 |
|
Verticen joined #minetest |
16:55 |
|
independent_ joined #minetest |
17:00 |
|
sobkas joined #minetest |
17:28 |
|
sobkas joined #minetest |
17:45 |
|
Alnotz joined #minetest |
17:50 |
|
behalebabo joined #minetest |
17:54 |
|
sobkas joined #minetest |
18:18 |
|
dabbill joined #minetest |
18:19 |
|
sobkas joined #minetest |
18:22 |
|
orwell96 joined #minetest |
18:23 |
MTDiscord |
<Bastrabun> Is there a way to restore entities after a /clearobjects from a backup? |
18:24 |
sfan5 |
there is always a way but it will not be easy |
18:28 |
MTDiscord |
<Bastrabun> How would one go about that? |
18:32 |
sfan5 |
write one script that exports static objects for each map block, write another one that imports these into existing map blocks |
18:34 |
|
independent_ joined #minetest |
18:35 |
|
erstazi joined #minetest |
18:39 |
MTDiscord |
<Bastrabun> Ok. Anyone done something similar I could take a look at? Because from zero I wouldn't even know here to start. With script you most likely refer to a sql script instea of lua? |
18:41 |
sfan5 |
you need something external that can connect to your database and can decode the format it has |
18:41 |
sfan5 |
python is well suited I'd say |
18:42 |
sfan5 |
I have some existing library-like code that'd do much of the job but I haven't updated it to read the 5.5 map format |
18:44 |
|
sobkas joined #minetest |
18:47 |
|
appguru joined #minetest |
18:49 |
MTDiscord |
<Bastrabun> Heh, time for me to learn python then. Unfortunately it's a 5.5.1 server which uses the new map format. Not sure if every mapblock already migrated though |
18:51 |
sfan5 |
if you write python stuff that can connect to whatever database you have and read write the data blobs blocks are made of then I have the rest of the solution pretty much here and we can get it figured out |
18:52 |
MTDiscord |
<Bastrabun> It's a postgresql database, but a 76GB backup ... |
19:00 |
sfan5 |
that doesn't sound like a problem except you need correctly sized second server to load that backup first |
19:00 |
sfan5 |
but that's also not a problem |
19:01 |
sfan5 |
oh actually speaking of clearobjects, by default that only clears objects in active blocks (and those that become active in the future), you can avoid future object deletions by resetting the clearobjects time in map_meta.txt |
19:01 |
sfan5 |
but the objects in blocks that have been loaded since then will already be lost |
19:01 |
Sokomine |
it's one of the situations where i wish we had a field in the database that'd store date of last (player-based) modification in a mapblock |
19:03 |
Sokomine |
such a field could narrow the amount of things to be checked from tons of gb to a couple of mb i guess... |
19:03 |
MTDiscord |
<Bastrabun> We have a testserver and a liveserver. For this operation I'll set up a third server where we can test the insert script on the live DB, before it goes "fully live" |
19:05 |
MTDiscord |
<Bastrabun> Regarding the map_meta.txt: Do I need to restart the server to have it read? |
19:07 |
|
Alias joined #minetest |
19:08 |
Sokomine |
isn't that file only relevant when generating new map data? anyway...i think it's read just once at start of the server |
19:08 |
MTDiscord |
<Bastrabun> I don#t see a clearobjects time in mapt_meta.txt? |
19:09 |
Sokomine |
afaik map_meta.txt is for the mapgen - version (i.e. v6, v5, valleys, ..) and its parameters |
19:09 |
MTDiscord |
<Bastrabun> its in env_meta.txt |
19:10 |
Sokomine |
that only gives you the time. might be helpful, yes, but only marginal |
19:11 |
|
sobkas joined #minetest |
19:15 |
|
Fixer joined #minetest |
19:15 |
|
independent_ joined #minetest |
19:16 |
sfan5 |
yes you need to restart |
19:17 |
|
independent_ joined #minetest |
19:38 |
|
sobkas joined #minetest |
19:40 |
|
harry-wood joined #minetest |
19:43 |
MTDiscord |
<Bastrabun> I removed the value from env_meta.txt, restarted the server and at least the unloaded mapblocks kept their NPCs and mobs. |
19:50 |
|
independent56 joined #minetest |
19:54 |
|
wallabra joined #minetest |
20:05 |
|
wallabra joined #minetest |
20:06 |
|
sobkas joined #minetest |
20:18 |
|
Verticen joined #minetest |
20:21 |
|
independent56 joined #minetest |
20:38 |
|
independent56 joined #minetest |
20:40 |
|
sobkas joined #minetest |
20:46 |
|
independent56 joined #minetest |
20:54 |
|
independent56 joined #minetest |
21:00 |
|
proller joined #minetest |
21:13 |
|
independent56 joined #minetest |
21:19 |
|
wallabra_ joined #minetest |
21:58 |
rubenwardy |
!title https://blog.rubenwardy.com/2022/06/22/gpt-3-minetest-modding/ |
21:58 |
MinetestBot |
rubenwardy: GPT-3: An AI that can write Minetest mods... kinda - Blog - rubenwardy |
22:14 |
|
independent56 joined #minetest |
22:22 |
|
harry-wood joined #minetest |
22:32 |
|
panwolfram joined #minetest |
22:41 |
|
Alnotz joined #minetest |
22:43 |
|
harry-wood1 joined #minetest |
23:03 |
|
Lesha_Vel joined #minetest |
23:05 |
|
Alias joined #minetest |
23:59 |
|
specing_ joined #minetest |