Time |
Nick |
Message |
00:08 |
|
milkt joined #minetest |
00:13 |
|
milkt joined #minetest |
00:20 |
|
SwissalpS joined #minetest |
00:27 |
|
olliy joined #minetest |
00:35 |
cheapie |
tango_: Wasn't it just that you place it on the ground with the corner you want the high part in facing away and to the left? |
00:38 |
tango_ |
cheapie: it's not always easy to be able to place it that way. honestly I would prefer it the high part was at the corner you click on the ground |
00:39 |
cheapie |
It never really seemed all that hard to me, I'd usually just stand so that one wall was on my left and the other was in front of me. |
01:11 |
|
YuGiOhJCJ joined #minetest |
01:17 |
MTDiscord |
<Zzachary> okay |
01:50 |
|
hisforever joined #minetest |
01:52 |
hisforever |
Hi I have lighting problems? I think there is a Light fixing mod. the one in world edit makes the lighting worst. |
01:57 |
MTDiscord |
<Jonathon> you can use /fixlight command from builtin, or use /mapfix if you install mod mapfix |
02:32 |
|
Hawk777 joined #minetest |
02:43 |
|
mynick5 joined #minetest |
03:00 |
|
Taoki joined #minetest |
04:01 |
|
Taoki joined #minetest |
04:51 |
|
Hawk777 joined #minetest |
05:00 |
|
MTDiscord joined #minetest |
05:25 |
|
FeXoR joined #minetest |
06:02 |
|
Mia53 joined #minetest |
06:02 |
Mia53 |
hello |
06:03 |
Mia53 |
Can I ask modding questions here? |
06:08 |
cheshire_cat |
hi Mia53 how can we help? |
06:11 |
|
Flabb joined #minetest |
06:12 |
Mia53 |
Thanks! So I'm trying to test how feasible force loading an entire small limited world (1-2k square) is, so I so I created a function to forceload a bunch of blocks using nested loops, but most of the forceload_blocks end up returning "false", and when I look at the force_loaded.txt file in my world directory it only has a few blocks in it. |
06:13 |
Mia53 |
Is there some limit of how many forceloaded blocks you can have at once? |
06:14 |
Mia53 |
Here's my code: |
06:14 |
Mia53 |
local BLOCKSIZE = core.MAP_BLOCKSIZElocal squarsize = 1024local loadx = squarsizelocal loady = 256local loadz = squarsizelocal loadxblocks = math.floor(loadx/BLOCKSIZE)local loadyblocks = math.floor(loady/BLOCKSIZE)local loadzblocks = math.floor(loadz/BLOCKSIZE)local loadxblockshalf = math.floor(loadxblocks/2)local loadyblockshalf = |
06:14 |
Mia53 |
math.floor(loadyblocks/2)local loadzblockshalf = math.floor(loadzblocks/2)local pos1 = { x = - loadxblockshalf, y = - loadyblockshalf, z = - loadzblockshalf }local pos2 = { x = loadxblockshalf, y = loadyblockshalf, z = loadzblockshalf }function emerge()minetest.emerge_area(pos1, pos2)endfunction loadmap()minetest.chat_send_all("start force load") |
06:14 |
Mia53 |
for ix = - loadxblockshalf, loadxblockshalf , 1 do for iy = - loadyblockshalf, loadyblockshalf , 1 do for iz = - loadzblockshalf, loadzblockshalf , 1 do minetest.chat_send_all("loading " .. tostring(ix) .. " , " .. tostring(iy) .. " , " .. tostring(iz) )minetest.chat_send_all(tostring(minetest.forceload_block({ x = ix*16, y = |
06:14 |
Mia53 |
iy*16, z = iz*16 })))end endendend |
06:15 |
Mia53 |
oof nvm bad formatting |
06:15 |
cheshire_cat |
it would be best to use a paste service for code |
06:15 |
cheshire_cat |
in your server config, what is your 8max_forceloaded_blocks set to, if anything? |
06:15 |
Mia53 |
Yeah, anyone in particular? |
06:15 |
cheshire_cat |
like pastebin i think is ok |
06:15 |
Mia53 |
It's just a normal singleplayer world I've been testing on |
06:16 |
cheshire_cat |
the srver variable i mentioned is pretty low by default |
06:16 |
Mia53 |
https://pastebin.com/VW4MsDMc |
06:18 |
Mia53 |
where would I find the server config? |
06:19 |
cheshire_cat |
the default number of forceloaded blocks seems to be 16 |
06:19 |
cheshire_cat |
https://github.com/minetest/minetest/blob/master/minetest.conf.example#L1397 |
06:19 |
Mia53 |
oh got it |
06:20 |
cheshire_cat |
config location depends on your os i would guess |
06:20 |
Mia53 |
I'm running linux, the snap version |
06:20 |
Mia53 |
found it |
06:21 |
cheshire_cat |
nice, i was gonna send you here: https://wiki.minetest.net/Minetest.conf |
06:21 |
cheshire_cat |
i am not really sure how this works with snap |
06:22 |
cheshire_cat |
fyi a block is 16x16x16 nodes |
06:22 |
Mia53 |
So I guess I can just pump the max as high as I can and see what happens |
06:22 |
Mia53 |
Mhm |
06:22 |
cheshire_cat |
lol yeah :D |
06:22 |
cheshire_cat |
a human player loads about 125 they say |
06:23 |
Mia53 |
I've been trying to hack together an open source clone of Eco, which is really nice but disgustingly proprietary, ha ha |
06:23 |
cheshire_cat |
that's awesome, so many oss clones are distinctly better than the proprietary originals they are based on :D |
06:26 |
* cheshire_cat |
becomes semi-transparent, and then disappears completely |
06:26 |
Mia53 |
So a 2k by 2k by 256 world would require 262,144 blocks loaded at once... fun |
06:29 |
* cheshire_cat |
reappears |
06:29 |
cheshire_cat |
yeah i wonder if cpu becomes a bottleneck at that point |
06:32 |
Mia53 |
Heh, so that fixed it, and all the forcedloads returned true, the weird thing is performance seems fine? 60 fps, 52% cpu, 1.4% mem (out of 32GB) |
06:35 |
Mia53 |
well the "force_loaded.txt" crashes my text editor when I try to open it, and it's 1.7 mb |
06:37 |
Mia53 |
how can I actually test if blocks are loaded? |
06:38 |
|
erlehmann joined #minetest |
06:38 |
Mia53 |
Do ABMs operate in force_loaded blocks? |
06:44 |
cheshire_cat |
yeah they supposed to |
06:52 |
Mia53 |
so turns out the forceloads weren't actually loading the blocks, I'll check if emerging the blocks helps |
06:54 |
Mia53 |
heh that worked, and so far still 60 fps , but a bit more cpu and 7.8% of my memory, which out of 32 GB is 2.4 GB |
06:54 |
Mia53 |
so that checks out |
06:57 |
Mia53 |
guess now it's just a question to see if ABMs work, and to what extent |
07:01 |
Mia53 |
but it looks like kilometer scale full active worlds are actually feasible |
07:04 |
Hawk777 |
I was actually wondering a while ago, why is it that a player only loads such a small distance around themselves? a 125-mapblock cube is 5×5×5 mapblocks, or the one you’re standing in and ±2 in each dimension. That can be as little as 32 nodes in front of you. If you’re standing in a decent room, that means the far side of the room isn’t active. I hate to bring up That Other Really Popular Cube-Based Game, but it keeps th |
07:04 |
Hawk777 |
active at a much longer distance. So why was 5×5×5 chosen for MT? |
07:07 |
|
aheinecke joined #minetest |
07:08 |
Mia53 |
Pure speculation on my part, but my understanding is that some folks like MT because of how low it's requirements are, it can apparently run on a potato |
07:08 |
Mia53 |
So maybe it was leaning into that? |
07:09 |
Hawk777 |
Mm, certainly makes sense to allow it to be set that low, but it seems odd as a default. I’d have expected the default to be suitable for a typical decent computer and to give a good gameplay experience, and be tunable down for potatoes. |
07:10 |
Mia53 |
Basically like how the render range works |
07:36 |
Mia53 |
Can you make "multi-block" structures by simply like making a block with a nodebox render type and just make the nodebox larger than a block? |
07:37 |
Mia53 |
drawtype i mean |
07:48 |
Mia53 |
Is there a method to run some functions as soon as the world starts? |
07:51 |
MTDiscord |
<IhrFussel> ~api register_on_mods |
07:52 |
MTDiscord |
<IhrFussel> Doesn't work from here or I made a typo |
07:53 |
MTDiscord |
<IhrFussel> Use minetest.register_on_mods_loaded(function)) |
08:00 |
|
ShadowNinja joined #minetest |
08:04 |
Mia53 |
Thanks |
08:24 |
Mia53 |
So the /emergeblocks command works, but I can't get the actual minetest.emerge_area to function? does it only need the two pos args or am I missing something? |
09:03 |
|
calcul0n joined #minetest |
09:22 |
|
Peppy joined #minetest |
09:42 |
|
I_am_Grid joined #minetest |
09:58 |
Mia53 |
I am going insane |
09:58 |
Mia53 |
minetest.emerge_area(pos1, pos2) |
09:58 |
Mia53 |
should just work right? A long as pos are actually defined right? |
10:00 |
Mia53 |
is there a way to manually trigger a chat command in the lua? |
10:04 |
Mia53 |
https://github.com/minetest/minetest/blob/54606e10/builtin/game/chatcommands.lua#L479-L482 |
10:04 |
sfan5 |
yes |
10:05 |
Mia53 |
how? |
10:05 |
sfan5 |
minetest.registered_chatcommands["/whatever"].func(name, param) |
10:05 |
sfan5 |
anyway regarding emerge_area I think the callback & context are required arguments |
10:06 |
sfan5 |
wait, it's "whatever" instead of "/whatever" |
10:07 |
Mia53 |
what if callback and context are just dummy stuff? |
10:08 |
sfan5 |
that'd be okay, they just need to be present |
10:11 |
Mia53 |
just tried it, still not working like the emerge block command |
10:12 |
Mia53 |
https://pastebin.com/NdadU45t |
10:12 |
MTDiscord |
<IhrFussel> Maybe for some reason it executes too early? Try to run it inside a minetest.after() |
10:13 |
sfan5 |
¯\_(ツ)_/¯ |
10:13 |
Mia53 |
Oh my god i'm an idiot |
10:14 |
Mia53 |
I was using blocks to define the pos instead of nodes |
10:14 |
Mia53 |
so I was asking emerge to load an area 1/16 the size I wanted |
10:14 |
|
daiNoZord joined #minetest |
10:30 |
|
absurb joined #minetest |
10:38 |
|
proller joined #minetest |
10:40 |
systwi |
Hi, I'm trying to grow papyrus. I placed several on dirt blocks right next to a lake, but it just doesn't regrow, even after waiting about 12 hours in person. |
10:40 |
systwi |
Could that be because I'm trying to grow it in the tundra? |
10:40 |
systwi |
I'm using 5.3.0 by the way. |
10:41 |
systwi |
To be exact, it's actually the tundra beach. I extended the beach with dirt and lay my plants on there. |
11:16 |
|
Mia8 joined #minetest |
11:20 |
Mia8 |
heh, so for those that are curious you can hold a 2 kilometer by 2 kilometer minetest world in active memory only using like 7 gb of ram |
11:21 |
Mia8 |
using forceloads |
11:22 |
Mia8 |
Using otherwise unmodified Minetestgame and whatever ABM's it has |
11:34 |
|
Aris joined #minetest |
11:48 |
|
fattywompus_ joined #minetest |
11:48 |
|
Fixer joined #minetest |
12:48 |
|
MDude joined #minetest |
12:49 |
|
lmat joined #minetest |
12:51 |
MTDiscord |
<exe_virus> Nice, now to make a toRAM game of minetest that always is 100% in ram and limits world size to 2K by 2K. |
12:52 |
MTDiscord |
<exe_virus> Could maybe be used for arcade games or other game modes |
12:58 |
|
nowhere_man joined #minetest |
13:00 |
|
turtleman joined #minetest |
14:05 |
|
jluc joined #minetest |
14:22 |
|
lisac joined #minetest |
14:33 |
|
jluc joined #minetest |
14:57 |
|
Lukwe joined #minetest |
15:00 |
|
basxto joined #minetest |
15:06 |
|
kamdard joined #minetest |
15:08 |
|
MadScientist joined #minetest |
15:19 |
|
daiNoZord joined #minetest |
15:21 |
specing |
systwi: on which server? |
15:21 |
specing |
systwi: maybe it needs to be farmland? |
15:22 |
specing |
Mia8: you can also put the db onto tmpfs and not have to deal with forceloading |
16:10 |
|
Aris joined #minetest |
16:33 |
|
I_am_6r1d joined #minetest |
16:45 |
cheshire_cat |
specing: i thought having abms active in the area is one of Mia's goals |
16:54 |
|
Fixer_ joined #minetest |
17:03 |
tango_ |
specing: papyrus needs to be: in sunlight, on a block that is NOT farmland, and within 3 blocks (IIRC) from water |
17:03 |
tango_ |
ehm |
17:03 |
tango_ |
wrong person |
17:03 |
tango_ |
systwi: ^ |
17:14 |
|
Peppy joined #minetest |
17:31 |
cheshire_cat |
specing is right though to ask which server: some servers have custom farming rules, but the default in 5.3.0 is like tango_ says |
17:33 |
tango_ |
good point |
17:36 |
|
SwissalpS joined #minetest |
17:46 |
|
Hawk777 joined #minetest |
17:50 |
|
Talkless joined #minetest |
18:09 |
|
Taoki_1 joined #minetest |
18:12 |
|
Taoki joined #minetest |
18:33 |
|
milkt joined #minetest |
18:33 |
|
proller joined #minetest |
18:49 |
|
FeXoR joined #minetest |
19:14 |
|
Peppy joined #minetest |
19:23 |
perrier |
I can't install minetest game update from the installer and I installed it locally and right clicking a bed crashes it, just sayin. So I downgraded. |
19:25 |
|
sagax joined #minetest |
19:28 |
perrier |
Other things are working better though I'm seeing a lot more sheep and melons. |
19:42 |
|
AndDT joined #minetest |
19:55 |
|
I_am_6r1d joined #minetest |
19:58 |
|
cheshire_cat left #minetest |
20:01 |
|
cheshire_cat joined #minetest |
20:04 |
|
awell joined #minetest |
20:05 |
sfan5 |
what exactly does it crash with? |
20:06 |
perrier |
When I tried to sleep in a bed it crashed. |
20:06 |
perrier |
Minetest game |
20:07 |
perrier |
I should have saved the error message. |
20:07 |
|
SoylentCow joined #minetest |
20:08 |
Krock |
without an error message it's kinda difficult to figure out what went wrong |
20:08 |
Krock |
with some luck it's contained in debug.txt |
20:08 |
perrier |
I'll check. |
20:09 |
|
WonderingDane2 joined #minetest |
20:10 |
Krock |
-> pastebin.com, paste.debian.net etc |
20:11 |
SoylentCow |
ooo paste.deian.net, i was just wondering if there's like a binign version of that service out there :) |
20:14 |
perrier |
https://pastebin.com/fDhhLVWw |
20:16 |
SoylentCow |
perhaps an engine/game version mismatch? what is your minetest version, and what is the minetest-game version? |
20:16 |
perrier |
I left out a line |
20:17 |
SoylentCow |
if they are too different, it could spell problems |
20:17 |
perrier |
https://pastebin.com/wB6fa5JS |
20:19 |
perrier |
Minetest 5.3.0 (Linux) |
20:20 |
iamweasel |
which minetest_game did you get? |
20:21 |
Krock |
https://github.com/minetest/minetest_game/blob/5.3.0/mods/beds/functions.lua#L94 |
20:21 |
Krock |
there's no such line in the 5.3.0 MTG version |
20:21 |
Krock |
however, the lines match with the current master |
20:21 |
perrier |
I tried to get the latest minetest game from the updater but it won't allow it. |
20:22 |
perrier |
So I got it from the webpage and put it in a local folder. |
20:22 |
Krock |
problem is that get_velocity() on players isn't valid prior 5.4.0-dev AFAIK |
20:22 |
iamweasel |
there are plenty valid reasons to use the top of master branch, but for stability sake i would stick with 5.3.0 stable |
20:23 |
perrier |
So that tarball I got was too new? |
20:23 |
Krock |
either that, or your Minetest installation too old |
20:23 |
Krock |
either way, this would be the correct MTG version: https://github.com/minetest/minetest_game/tree/5.3.0 |
20:23 |
iamweasel |
perhaps, perrier; perhaps it only works correctly with top of the minetest branch, and there's also a small chance it's an actual regression that will be fixed inthe next few days :) |
20:24 |
Krock |
iamweasel: no regression. just a change on both ends that isn't reverse-compatible |
20:24 |
perrier |
I prefer to use the stable release. |
20:25 |
|
illwieckz joined #minetest |
20:26 |
Krock |
!next |
20:26 |
MinetestBot |
Another satisfied customer. Next! |
20:26 |
perrier |
I still can't install the minetest game update from the installer. |
20:26 |
perrier |
A permission problem perhaps. |
20:27 |
iamweasel |
Krock: good to hear :) |
20:27 |
Krock |
perhaps. you can still download the zip manually from the link above and patch your installation manually |
20:27 |
perrier |
I did that was the problem. |
20:27 |
Krock |
huh? you downloaded the 5.3.0 version? |
20:28 |
perrier |
The updater won't work for me so I got the zip and bed started crashing/ |
20:28 |
perrier |
yea |
20:28 |
Krock |
well see. you can download all revisions of MTG (minetest_game) from GitHub as a zip or tar archive |
20:29 |
Krock |
what you downloaded last time was "master". i.e. the currently newest version (for 5.4.0-dev) |
20:29 |
perrier |
really |
20:29 |
perrier |
ok |
20:29 |
Krock |
the link above (containing "5.3.0") will let you download the 5.3.0 version |
20:30 |
perrier |
https://content.minetest.net/packages/Minetest/minetest_game/ |
20:30 |
perrier |
That's the one I got. |
20:30 |
Krock |
well yeah, that's only for 5.4.0-dev I'd guess |
20:31 |
Krock |
> logs in to contentdb after like 2 months |
20:31 |
Krock |
> 38 notifications, 14 inbox thingies |
20:45 |
perrier |
Ok I unzipped minetest_game in ~/.mintest/games/ should I rename the one installed in /usr/share/? |
20:47 |
Krock |
I'm not sure about the loading priorities.. try it. |
20:47 |
|
proller joined #minetest |
20:51 |
perrier |
I renamed the one in /usr/share/minetest/games/minetest_game_save |
20:51 |
perrier |
Now the updater worked for me |
20:53 |
sfan5 |
yeah, using isn't really intended if your games are installed system-wide |
20:53 |
sfan5 |
using the updater* |
20:53 |
|
mizux joined #minetest |
20:55 |
|
fleeky_ joined #minetest |
20:55 |
perrier |
I like the new sounds I hear the furnace now. |
21:02 |
perrier |
Crashed again |
21:05 |
perrier |
I can't use the new minetest game |
21:05 |
perrier |
From the updater or download. |
21:13 |
perrier |
As soon as I go back to my system version the bed works. |
21:15 |
|
Hawk777 joined #minetest |
21:19 |
sfan5 |
Krock: MTG master is incorrectly packaged as 5.3.0 on contentdb |
21:20 |
Krock |
why is MTG on CDB anyway? |
21:20 |
rubenwardy |
I've deleted the release, it won't be downloadable now |
21:20 |
rubenwardy |
<Krock> why is MTG on CDB anyway? |
21:20 |
rubenwardy |
So people can review it, and because it isn't always installed by default |
21:24 |
Krock |
hmm I see |
21:36 |
|
nowhere_man joined #minetest |
21:43 |
|
I_am_6r1d joined #minetest |
21:50 |
perrier |
As a side note if you start the linux desktop version of Discord it says there's an update but the only options are a .deb a tarball and another opt out. |
21:51 |
perrier |
I opened the tarball but it segfaulted when I ran the binary. |
21:51 |
perrier |
It was working fine last week. |
21:54 |
|
dgsomerton joined #minetest |
21:54 |
|
Foz joined #minetest |
21:58 |
|
Andrey01 joined #minetest |
22:01 |
tango_ |
in moreblocks, how do you place a slab on the UPPER half of the block? I've managed to place it on the lower half and vertically in a variety of position, but never on the upper half |
22:02 |
tango_ |
which is considerably annoying because anything I place on the slab then has half a block of gap |
22:02 |
perrier |
I had the same problem. |
22:23 |
|
nowhereman joined #minetest |
22:25 |
tango_ |
I don't get it. how is it different from mtg? |
22:25 |
* tango_ |
goes to look at the logic there |
22:26 |
|
illwieckz joined #minetest |
22:27 |
tango_ |
ah onplace logic |
22:30 |
|
ShadowNinja joined #minetest |
22:30 |
|
fattywompus joined #minetest |
22:31 |
|
kb1000 joined #minetest |
22:31 |
|
niwla23[m] joined #minetest |
22:33 |
|
tech_exorcist joined #minetest |
22:33 |
|
xose[m] joined #minetest |
22:33 |
|
milkt joined #minetest |
22:36 |
tango_ |
perrier: got it.It's extremely annoying, but you can do it by placing it under another block |
22:46 |
perrier |
I might start compiling minetest because I want to try the ncurses console. |
22:47 |
perrier |
tango_: oh that's good to know. |
22:51 |
|
bdju joined #minetest |
22:53 |
|
nowhereman joined #minetest |
22:56 |
iamweasel |
tango_: stick them to the ceiling? |
22:56 |
iamweasel |
also, there's replacer mod |
22:56 |
|
calcul0n_ joined #minetest |
22:57 |
iamweasel |
it's pretty powerful, so you may want to nuke the recipe in a public server setting |
22:58 |
MTDiscord |
<exe_virus> Replacer is quite useful |
22:58 |
tango_ |
iamweasel: yeah, just found that out |
22:59 |
tango_ |
iamweasel: but having to stick it to the ceiling is pretty annoying since if you want to do it anywhere else you need to place something above it first and then place the slab |
22:59 |
tango_ |
annoying as heck and needs space below |
22:59 |
tango_ |
in MTG the logic was considerably improved |
23:25 |
|
hecks joined #minetest |
23:45 |
|
fattywompus joined #minetest |
23:53 |
tango_ |
uh nightskip doesn't actually accelerate time, the furnaces don't consume all they should |
23:58 |
perrier |
ah |