Time |
Nick |
Message |
00:03 |
|
SFENCE joined #minetest |
00:21 |
|
SFENCE joined #minetest |
00:38 |
|
SFENCE joined #minetest |
00:44 |
dzho |
cheapie: heh, that's pretty awesome |
00:50 |
|
kyle56 joined #minetest |
00:50 |
Mantar |
are you using some kind of voxel area entity arrangement? |
00:56 |
|
SFENCE joined #minetest |
01:01 |
|
ShadowBot joined #minetest |
01:28 |
|
SFENCE joined #minetest |
01:35 |
cheapie |
Mantar: Abusing the celevator.drives.entity.nodestoentities() function from celevator, via two command blocks triggered by a Luacontroller. |
01:38 |
cheapie |
Specifically it's feeding the relevant positions into that, which handles removing the nodes and spawning new entities in the same place that look like the nodes. The command block code then sets the velocity of these entities, then after a certain time it deletes them and places a schematic I saved earlier (containing all of the nodes that were moving). |
01:39 |
cheapie |
The Luacontroller handles sending the digilines signals (for the bells, warning gates, traffic signals, blank-out signs, and resistance gate pistons) itself, as well as providing the necessary interlocking to prevent it from trying to raise and lower at the same time. |
01:40 |
cheapie |
Normally celevator.drives.entity.nodestoentities() would be used to convert the elevator car in celevator into entities so it can move, but it'll at least attempt to work with any nodes it's given. |
01:46 |
|
SFENCE joined #minetest |
01:49 |
|
silverwolf73828_ joined #minetest |
01:49 |
|
Trifton_ joined #minetest |
01:50 |
|
vampi__ joined #minetest |
01:50 |
|
Warr1024 joined #minetest |
01:50 |
|
big-MAC0 joined #minetest |
01:51 |
|
Thomas-S_ joined #minetest |
01:51 |
|
ln5_ joined #minetest |
02:03 |
|
SFENCE joined #minetest |
02:08 |
|
Verticen joined #minetest |
02:22 |
|
SFENCE joined #minetest |
02:35 |
|
SFENCE joined #minetest |
02:53 |
|
SFENCE joined #minetest |
03:11 |
|
SFENCE joined #minetest |
03:19 |
|
seasharp joined #minetest |
03:23 |
|
Verticen joined #minetest |
03:31 |
|
qqq joined #minetest |
03:39 |
|
SFENCE joined #minetest |
03:40 |
|
est31 joined #minetest |
04:00 |
|
MTDiscord joined #minetest |
04:11 |
|
SFENCE joined #minetest |
04:20 |
|
lemonzest joined #minetest |
04:38 |
|
gregon joined #minetest |
04:41 |
cheapie |
Speaking of celevator, destination-based dispatching works now :D https://cheapiesystems.com/media/2024-05-31%2023-09-56.webm |
04:43 |
|
SFENCE joined #minetest |
04:44 |
|
olliy joined #minetest |
05:15 |
|
cryne joined #minetest |
05:17 |
|
SFENCE joined #minetest |
05:24 |
|
tarsovbak joined #minetest |
05:25 |
|
SFENCE joined #minetest |
05:42 |
|
SFENCE joined #minetest |
05:59 |
|
SFENCE joined #minetest |
06:09 |
|
TomTom joined #minetest |
06:16 |
|
SFENCE joined #minetest |
06:17 |
|
olliy joined #minetest |
06:27 |
|
SFENCE joined #minetest |
06:32 |
|
sivarajan joined #minetest |
06:44 |
|
SFENCE joined #minetest |
07:01 |
|
SFENCE joined #minetest |
07:06 |
|
Road_Killer joined #minetest |
07:10 |
|
amfl2 joined #minetest |
07:18 |
|
SFENCE joined #minetest |
07:27 |
|
TheSilentLink joined #minetest |
07:27 |
|
SFENCE joined #minetest |
07:38 |
|
YuGiOhJCJ joined #minetest |
07:44 |
|
SFENCE joined #minetest |
07:48 |
|
zleap joined #minetest |
07:48 |
|
zleap joined #minetest |
08:01 |
|
SFENCE joined #minetest |
08:14 |
|
mrkubax10 joined #minetest |
08:17 |
|
mrkubax10 joined #minetest |
08:19 |
|
SFENCE joined #minetest |
08:30 |
|
SFENCE joined #minetest |
09:02 |
|
SFENCE joined #minetest |
09:20 |
|
SFENCE joined #minetest |
09:28 |
|
jaca122 joined #minetest |
09:30 |
|
SFENCE joined #minetest |
09:36 |
|
Glaedr joined #minetest |
09:46 |
|
SFENCE joined #minetest |
09:48 |
|
mrkubax10 joined #minetest |
10:04 |
|
SFENCE joined #minetest |
10:09 |
|
gregon joined #minetest |
10:23 |
|
SFENCE joined #minetest |
10:26 |
|
ireallyhateirc joined #minetest |
10:27 |
|
est31 joined #minetest |
10:27 |
|
waffelo joined #minetest |
10:27 |
|
waffelo joined #minetest |
10:27 |
|
fling joined #minetest |
10:29 |
|
olliy joined #minetest |
10:44 |
|
imi joined #minetest |
10:45 |
|
SFENCE joined #minetest |
11:04 |
|
SFENCE joined #minetest |
11:22 |
|
SFENCE joined #minetest |
11:25 |
|
Thomas-S joined #minetest |
11:48 |
|
SFENCE joined #minetest |
12:04 |
|
Leopold joined #minetest |
12:05 |
|
SFENCE joined #minetest |
12:22 |
|
SFENCE joined #minetest |
12:33 |
|
SFENCE joined #minetest |
12:50 |
|
SFENCE joined #minetest |
13:07 |
|
SFENCE joined #minetest |
13:10 |
|
est31 joined #minetest |
13:25 |
|
SFENCE joined #minetest |
13:25 |
|
appguru joined #minetest |
13:34 |
|
SFENCE joined #minetest |
13:37 |
|
seasharp_ joined #minetest |
13:45 |
|
mrkubax10 joined #minetest |
13:49 |
|
Kimapr joined #minetest |
13:50 |
|
SFENCE joined #minetest |
13:54 |
|
tarsovbak1 joined #minetest |
14:08 |
|
SFENCE joined #minetest |
14:26 |
|
SFENCE joined #minetest |
14:32 |
|
tarsovbak joined #minetest |
14:35 |
|
SFENCE joined #minetest |
14:36 |
MinetestBot |
[git] appgurueu -> minetest/minetest: Fix fog moon tint not working a4768d1 https://github.com/minetest/minetest/commit/a4768d163804d6e0ca5616dd4639fd510c53933f (2024-06-01T14:34:32Z) |
14:38 |
MinetestBot |
[git] sfence -> minetest/minetest: Allow game to specify first and last mod in mod loading order (#14177) 140b9e5 https://github.com/minetest/minetest/commit/140b9e5a5a40476659cad689621fc01e8b1182b1 (2024-06-01T14:36:20Z) |
14:45 |
|
grorp joined #minetest |
14:51 |
|
SFENCE joined #minetest |
15:03 |
MinetestBot |
[git] grorp -> minetest/minetest: Mainmenu: Unify gamedata.errormessage and messagebox formspecs (#14716) 981d673 https://github.com/minetest/minetest/commit/981d67324b5f8a63c4187195494910d4a21f9de4 (2024-06-01T15:03:06Z) |
15:11 |
|
SFENCE joined #minetest |
15:32 |
|
Verticen joined #minetest |
15:36 |
|
waffelo joined #minetest |
15:50 |
|
PoochInquisitor joined #minetest |
15:50 |
|
SFENCE joined #minetest |
15:53 |
|
fluxionary joined #minetest |
16:05 |
|
seasharp_ joined #minetest |
16:10 |
|
silverwolf73828_ joined #minetest |
16:18 |
|
shaft joined #minetest |
16:18 |
shaft |
How do you convert table format to .mts? I need it to fix the cactus since nobody else is willing to do it |
16:22 |
|
SFENCE joined #minetest |
16:23 |
MTDiscord |
<luatic> shaft: write the result of minetest.serialize_schematic to a file. the schematic specifier should be found in the file sfan5 linked you, you just have to change the param2 value. |
16:24 |
MTDiscord |
<luatic> "nobody else is willing to do it" is a false assumption btw. the correct version would be "nobody else has it as a priority right now, since it's a minor issue and just about anyone can fix it"; in fact i was considering fixing it just today, but am currently doing some engine work. |
16:25 |
MTDiscord |
<luatic> i'm always glad when these kinds of things get picked up by someone else :) |
16:28 |
shaft |
How do I do that with //lua? |
16:29 |
MTDiscord |
<luatic> i'd put this in a mod file since it's gonna be a couple lines |
16:30 |
shaft |
Is there a function that saves to a file other than the lua one? |
16:30 |
shaft |
The standard library one |
16:30 |
MTDiscord |
<luatic> you need to copy the code from https://github.com/minetest/minetest_game/blob/3ad8a6a473afcdfccdc675fd4eb771f9a9d4897d/schematic_tables.txt#L2048C1-L2098C3. you can then implement mts_save yourself in terms of minetest.safe_file_write and minetest.serialize_schematic. |
16:36 |
|
SFENCE joined #minetest |
16:43 |
shaft |
/lua local C = {name = "default:cactus", prob = 255} local R = {name = "default:cactus", prob = 255, force_place = true} local E = {name = "default:cactus", prob = 127} minetest.safe_file_write("/home/nutzer/.minetest/worlds/ethereal4/schems/large_cactus.mts",minetest.serialize_schematic("large_cactus", { size = {x = 5, y = 7, z = 5}, data = { _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, |
16:43 |
shaft |
_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, C, _, _, _, _, R, _, _, _, _, C, _, _, C, C, C, C, C, C, _, C, _, C, E, _, C, _, E, _, _, C, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, |
16:43 |
shaft |
_, _, _, }, yslice_prob = { {ypos = 2, prob = 127}, }, })) |
16:43 |
shaft |
Where did I index a nil value? Chat errors are so unhelpful |
16:44 |
Niklp |
Hi, is there a reason why `minetest.get_node_light()` isn't available in the async mapgen env? |
16:47 |
ireallyhateirc |
I think that function can only be used after chunk gets generated |
16:47 |
ireallyhateirc |
you can read light data in the voxel manipulator though |
16:48 |
ireallyhateirc |
the "reason" is probably that anything that's not thread-safe was excluded from the env |
16:49 |
ireallyhateirc |
use VoxelManip:get_light_data() instead |
16:53 |
MTDiscord |
<luatic> shaft: you need to pass "mts" and probably an empty "options" table, judging by the docs. note that "attempt to index a nil value" errors need not be in your script - they can also be in the engine. |
17:09 |
|
SFENCE joined #minetest |
17:12 |
|
olliy joined #minetest |
17:19 |
|
mrkubax10 joined #minetest |
17:22 |
|
Noisytoot joined #minetest |
17:27 |
|
SFENCE joined #minetest |
17:51 |
|
Noisytoot joined #minetest |
17:54 |
|
SFENCE joined #minetest |
17:55 |
|
waffelo joined #minetest |
18:02 |
shaft |
NEVER USE INKSCAPE FILTERS GUYS. They are entirely raster based and introduce weird white artifacts on the edges and cause ugly stepped gradients. I just had to redo the coloring of an item by hand because the colorize filter from inkscape is so retarded. |
18:06 |
ireallyhateirc |
will remember, thanks |
18:11 |
|
SFENCE joined #minetest |
18:21 |
|
SFENCE joined #minetest |
18:32 |
|
Izaya left #minetest |
18:34 |
|
Izaya joined #minetest |
18:34 |
|
Izaya left #minetest |
18:37 |
|
Izaya joined #minetest |
18:44 |
|
SFENCE joined #minetest |
18:54 |
Niklp |
Thanks ireallyhateirc seems to work:) |
19:21 |
|
shaft_contentdb joined #minetest |
19:32 |
|
SFENCE joined #minetest |
19:37 |
|
jaca122 joined #minetest |
19:41 |
|
Izaya left #minetest |
19:45 |
|
SFENCE joined #minetest |
19:51 |
|
SFENCE joined #minetest |
20:03 |
|
shaft joined #minetest |
20:03 |
|
SFENCE joined #minetest |
20:09 |
|
Izaya joined #minetest |
20:10 |
|
Izaya left #minetest |
20:12 |
|
Izaya joined #minetest |
20:13 |
|
Izaya left #minetest |
20:15 |
|
Izaya joined #minetest |
20:16 |
|
Izaya left #minetest |
20:17 |
|
Talkless joined #minetest |
20:18 |
|
Izaya joined #minetest |
20:20 |
|
SFENCE joined #minetest |
20:24 |
shaft |
Okay, I was able to make a 6 KB schematic file with //lua but for some reason it turned out to invalid when trying to place it |
20:27 |
shaft |
/lua do local _ = {name = "air", prob = 0} local C = {name = "default:cactus", prob = 255} local R = {name = "default:cactus", prob = 255, force_place = true} local E = {name = "default:cactus", prob = 127} minetest.safe_file_write(PATH,TABLE,"lua",{})) end |
20:27 |
shaft |
Table is the same as I just posted |
20:28 |
shaft |
ups I shortened it too much |
20:28 |
|
Road_Killer joined #minetest |
20:32 |
shaft |
I've done it. format specifier was the format I want to encode to not the format it's in. Command I used: |
20:32 |
shaft |
/lua do local _ = {name = "air", prob = 0} local C = {name = "default:cactus", prob = 255} local R = {name = "default:cactus", prob = 255, force_place = true} local E = {name = "default:cactus", prob = 127} minetest.safe_file_write("PATH",minetest.serialize_schematic(SCHEM,"mts",{})) end |
20:39 |
shaft |
https://github.com/minetest/minetest_game/pull/3123 |
20:42 |
|
SFENCE joined #minetest |
20:51 |
|
waffelo joined #minetest |
20:53 |
shaft |
btw Krock the week is over you can merge now https://github.com/minetest-mods/mesecons/pull/669 |
20:54 |
|
PoochInquisitor joined #minetest |
20:54 |
|
PoochInquisitor joined #minetest |
20:55 |
|
PoochInquisitor joined #minetest |
21:00 |
|
SFENCE joined #minetest |
21:18 |
|
SFENCE joined #minetest |
21:35 |
|
SFENCE joined #minetest |
21:51 |
|
Izaya left #minetest |
21:53 |
|
SFENCE joined #minetest |
22:05 |
|
SFENCE joined #minetest |
22:08 |
|
Izaya joined #minetest |
22:15 |
|
TheCoffeMaker joined #minetest |
22:22 |
|
SFENCE joined #minetest |
22:23 |
|
TheCoffeMaker joined #minetest |
22:29 |
|
TheCoffeMaker joined #minetest |
22:32 |
|
panwolfram joined #minetest |
22:39 |
|
SFENCE joined #minetest |
22:51 |
|
stormchaser3000 joined #minetest |
22:57 |
|
SFENCE joined #minetest |
23:07 |
|
seasharp joined #minetest |
23:14 |
|
SFENCE joined #minetest |
23:29 |
|
TheCoffeMaker joined #minetest |
23:32 |
|
SFENCE joined #minetest |
23:49 |
|
SFENCE joined #minetest |