Time |
Nick |
Message |
00:24 |
|
jin_xi joined #minetest |
01:05 |
MrIbby |
Should templates like http://wiki.minetest.net/Template:Grown_blocks be a subpage of Blocks? |
01:05 |
MrIbby |
e.g. moving "Template:Grown blocks" to "Blocks/Grown" |
01:06 |
MrIbby |
(referring to wiki templates) |
01:07 |
MrIbby |
Thinking about it, the templates in question already work, so I should just leave them alone. |
01:21 |
|
Allonphone joined #minetest |
01:21 |
|
All|knowing joined #minetest |
01:27 |
|
benrob0329 joined #minetest |
01:40 |
silent_elk |
xD |
01:41 |
silent_elk |
The wiki says "mod development channel, mostly quiet" |
01:41 |
silent_elk |
It's difficult for it to not be quiet when it is invite-only lol |
01:54 |
|
All|On|Laptop joined #minetest |
02:23 |
|
Allonphone joined #minetest |
02:28 |
|
paramat joined #minetest |
02:39 |
MrIbby |
Oh huh |
02:39 |
MrIbby |
The wiki has ParserFunctions installed |
02:40 |
MrIbby |
and Scribunto |
02:40 |
MrIbby |
What the... I don't remember those being there |
02:42 |
MrIbby |
Maybe I was just stupid and never thought to check |
02:43 |
MrIbby |
All that aside, I can do SO much more now |
02:43 |
MrIbby |
(I think) |
03:00 |
MrIbby |
Welp, did a search of the logs, and apparently people were discussing Scribunto in 2013 |
03:09 |
silent_elk[afk] |
lol |
03:09 |
silent_elk |
That's some time ago xD |
03:10 |
MrIbby |
"Some" is a bit of an understatement :P |
03:12 |
silent_elk |
Understatements are my forte :P |
03:18 |
|
eidy joined #minetest |
03:28 |
MinetestBot |
[git] paramat -> minetest/minetest_game: Carts: Remove '+' added in commit 077316b 5fe831e https://git.io/vSGMb (2017-03-30T03:24:29Z) |
03:28 |
MinetestBot |
[git] paramat -> minetest/minetest_game: Glasslike_framed nodes: Add 'glasslikeliquidlevel' paramtype2 2f46103 https://git.io/vSGMN (2017-03-30T03:24:23Z) |
03:37 |
|
Not_a_Robot joined #minetest |
03:43 |
silent_elk |
Is it possible to handle the death with a mod? |
03:43 |
silent_elk |
(i.e. having it not display the death formspec) |
03:47 |
silent_elk |
I've tried returning true (as mentioned on the wiki) but this isn't doing what I am expecting |
03:56 |
MinetestBot |
[git] paramat -> minetest/minetest: Paramtype2: Add missing type CPT2_GLASSLIKE_LIQUID_LEVEL ea549bb https://git.io/vSGy4 (2017-03-30T03:52:54Z) |
04:01 |
|
eidy joined #minetest |
04:02 |
|
lordfingle joined #minetest |
04:07 |
|
epicwalrus joined #minetest |
04:08 |
|
epicwalrus left #minetest |
04:12 |
|
est31 joined #minetest |
04:14 |
|
lumidify joined #minetest |
04:22 |
|
Freejack joined #minetest |
04:39 |
|
book` joined #minetest |
04:49 |
|
ssieb joined #minetest |
04:53 |
|
Allonphone joined #minetest |
04:56 |
|
MrIbby joined #minetest |
05:14 |
|
Not_a_Robot_ joined #minetest |
05:22 |
|
kimitux joined #minetest |
05:42 |
|
lumidify joined #minetest |
06:14 |
|
MrIbby joined #minetest |
06:14 |
|
passant joined #minetest |
06:26 |
|
ensonic joined #minetest |
06:32 |
|
mransom joined #minetest |
06:46 |
|
ensonic joined #minetest |
06:52 |
|
juli joined #minetest |
06:53 |
|
juli left #minetest |
06:58 |
|
aheinecke joined #minetest |
07:13 |
|
^v joined #minetest |
07:14 |
silent_elk |
Colour me confused. |
07:14 |
silent_elk |
I'm using minetest.register_on_respawnplayer(function(player) |
07:14 |
|
proller joined #minetest |
07:14 |
silent_elk |
but my function to move the player doesn't work |
07:14 |
silent_elk |
I'm using code based on that from beds |
07:15 |
PureTryOut[m] |
maybe that hook is called too early? like before the actual respawning? |
07:17 |
silent_elk |
Hmmm |
07:17 |
silent_elk |
I'll try delaying it |
07:19 |
silent_elk |
Yeah that works PureTryOut[m] :D |
07:19 |
PureTryOut[m] |
"Called when player is to be respawned. Called before repositioning of player occurs" |
07:19 |
PureTryOut[m] |
so yeah too early then :p |
07:20 |
PureTryOut[m] |
it would be nice to have a hook that gets called just after the respawn |
07:20 |
PureTryOut[m] |
that or allow positioning before the player is spawned |
07:21 |
silent_elk |
Yes |
07:21 |
silent_elk |
Look at the register on die |
07:21 |
silent_elk |
You're supposed to return true if you're doing the respawning |
07:21 |
PureTryOut[m] |
what about it? |
07:22 |
silent_elk |
It isn't exactly clear what the difference between returning true or false is |
07:22 |
silent_elk |
to me |
07:22 |
PureTryOut[m] |
false just breaks the respawning it seems |
07:22 |
PureTryOut[m] |
no clue what that means though |
07:23 |
PureTryOut[m] |
the description could be a little bit more... explaining.... |
07:23 |
silent_elk |
ys |
07:24 |
PureTryOut[m] |
I think most Minetest developers use lua_api.txt for documentation. I prefer https://dev.minetest.net, but it's outdated in a lot of places |
07:25 |
PureTryOut[m] |
some method has a note beneath it saying the function is new, while linking to a commit from 2015 |
07:26 |
silent_elk |
I also use the wiki :P |
07:26 |
silent_elk |
xD |
07:27 |
silent_elk |
Look at these commit messages xD |
07:27 |
silent_elk |
https://github.com/wilkgr76/eggwars/commits/master |
07:27 |
PureTryOut[m] |
yeah it's just way easier on the eyes, and more clear |
07:27 |
PureTryOut[m] |
lol |
07:27 |
PureTryOut[m] |
"for real" |
07:27 |
silent_elk |
xD |
07:27 |
silent_elk |
Or "Well, I gotta have fun =P" |
07:28 |
silent_elk |
Also, just the last commits: 4 hours, an hour, 18 minutes, 7 minutes ago LOL |
07:28 |
PureTryOut[m] |
I try to keep my commits somewhat professional :p |
07:30 |
silent_elk |
lol |
07:32 |
silent_elk |
I obviously don't :P |
07:35 |
silent_elk |
I'm just trigger happy on my commits |
07:35 |
silent_elk |
as I'm using an IDE with a keyboard shortcut for |
07:35 |
silent_elk |
adding files, commiting and pushing |
07:46 |
|
redblade7 joined #minetest |
07:54 |
|
shangul joined #minetest |
07:55 |
PureTryOut[m] |
ooh god |
07:55 |
PureTryOut[m] |
that's where it goes wrong :p |
07:55 |
PureTryOut[m] |
I just use CLI cause in the case of Git, CLI > GUI |
07:58 |
silent_elk |
xD |
07:58 |
silent_elk |
I used to use CLI too |
07:59 |
silent_elk |
And then I though "What the heck", the extension exists, why not use it? |
08:27 |
celeron55 |
it's nice to have your own project that nobody's judging 8) |
08:27 |
celeron55 |
for comparison, here's some MT commits from 6 years ago https://github.com/minetest/minetest/commits/master?after=ea549bbae3650d246db7b70a2b07485a4b404409+6055 |
08:27 |
celeron55 |
looks basically the same |
08:30 |
PureTryOut[m] |
lol |
08:30 |
PureTryOut[m] |
are you the main dev? you started the project right? |
08:44 |
|
JamesTait joined #minetest |
08:45 |
JamesTait |
Good morning all! Happy Thursday, and happy I am in Control Day! 😃 |
09:06 |
silent_elk |
Morning :) |
09:07 |
silent_elk |
Absolutely nothing could go wrong with you in control JamesTait :P |
09:10 |
OldCoder |
Hm? |
09:11 |
OldCoder |
JamesTait, are you actually Freenode staff? We have a Freenode MT fan? |
09:11 |
* OldCoder |
is not startled because MT is nice |
09:12 |
silent_elk |
OldCoder, every day he logs in he says "Good morning all! Happy <day of week>, and happy <special day>! :D" |
09:12 |
silent_elk |
basically |
09:12 |
OldCoder |
To each their |
09:12 |
OldCoder |
own |
09:12 |
VanessaE |
morning James |
09:12 |
OldCoder |
There are many special days |
09:12 |
OldCoder |
as well as special daze |
09:12 |
OldCoder |
Let each be respected |
09:13 |
silent_elk |
Last week: <JamesTait> Good morning all! Happy Thursday, and happy Son and Daughter Day! 😃 |
09:13 |
* OldCoder |
used to run a script which announced all of these days |
09:13 |
OldCoder |
Such as Australia Day, silent_elk :-) |
09:13 |
VanessaE |
OldCoder: you're over-analyzing it. he gets the "special day" from a list on a website. |
09:13 |
silent_elk |
:) |
09:14 |
VanessaE |
now what was that other greeting we used to see here.. |
09:15 |
JamesTait |
Several web sites, but yeah. |
09:15 |
VanessaE |
keep thinking it had something to do with ponies. |
09:15 |
JamesTait |
Nothing complicated. |
09:15 |
JamesTait |
OldCoder, I'm not Freenode staff any more, no. |
09:15 |
silent_elk |
"any more" |
09:15 |
silent_elk |
? |
09:16 |
JamesTait |
I was for a couple of years, but found I didn't have the time to commit to it that I thought I would, so I stepped down. |
09:16 |
OldCoder |
https://www.youtube.com/watch?v=8jHXu86O01w |
09:17 |
JamesTait |
👋 VanessaE, lovely to see you as always. |
09:17 |
silent_elk |
Whyyyyy xD |
09:17 |
silent_elk |
jk |
09:18 |
silent_elk |
OldCoder, and here I was so happy listening to a song based in the Wild West xD |
09:18 |
JamesTait |
OldCoder, the special days thing came about because "Good morning" every day got boring, and I figured there must be at least *something* worth celebrating every day. |
09:18 |
OldCoder |
There is |
09:18 |
* OldCoder |
had a script for it |
09:18 |
OldCoder |
pretzel day |
09:18 |
OldCoder |
secretaries day |
09:18 |
OldCoder |
tec. |
09:18 |
OldCoder |
etc. |
09:19 |
JamesTait |
Exactly. |
09:19 |
OldCoder |
|
09:19 |
JamesTait |
It's the simple things. |
09:20 |
VanessaE |
damn it, what was that other greeting? |
09:27 |
silent_elk |
What the |
09:27 |
silent_elk |
lol |
09:27 |
VanessaE |
THAT is why matrix needs to die. |
09:28 |
|
Megaf[m] joined #minetest |
09:28 |
^7heo |
totally agree on that one |
09:28 |
silent_elk |
But what does the [m] mean? |
09:28 |
VanessaE |
(that's the third time in the past week I've seen everyone on that service just randomly disconnect from here) |
09:28 |
VanessaE |
silent_elk: it means they're using matrix. |
09:28 |
^7heo |
silent_elk: it'sto avoid nick collisions |
09:28 |
silent_elk |
Ahh I see |
09:28 |
silent_elk |
Thanks :) |
09:28 |
^7heo |
it's stupid hack |
09:29 |
^7heo[m] |
see? |
09:29 |
^7heo[m] |
not restritced |
09:29 |
^7heo[m] |
oops |
09:29 |
^7heo[m] |
restricted |
09:36 |
|
silwol joined #minetest |
09:36 |
|
PureTryOut[m] joined #minetest |
09:36 |
|
passant[m] joined #minetest |
09:36 |
|
yusf[m] joined #minetest |
09:36 |
|
sam7777[m] joined #minetest |
09:36 |
|
fireglow[m] joined #minetest |
09:36 |
|
topsy-N joined #minetest |
09:36 |
|
MatrixTraveler[m joined #minetest |
09:36 |
|
M-JLuc joined #minetest |
09:36 |
|
Milan[m] joined #minetest |
09:37 |
|
Baffy[m] joined #minetest |
09:44 |
|
proller joined #minetest |
09:46 |
|
juli joined #minetest |
09:56 |
silent_elk |
Gn everyone! o/ |
09:56 |
|
YuGiOhJCJ joined #minetest |
09:56 |
|
juli joined #minetest |
10:13 |
|
jin_xi joined #minetest |
10:35 |
|
proller joined #minetest |
10:42 |
|
Pie-jacker875 joined #minetest |
11:03 |
|
kimitux joined #minetest |
11:10 |
|
juli left #minetest |
11:12 |
|
proller joined #minetest |
11:38 |
|
nowhere_man joined #minetest |
11:45 |
|
CWz joined #minetest |
11:54 |
|
lordfingle joined #minetest |
11:57 |
|
xunto joined #minetest |
12:16 |
|
lumidify joined #minetest |
12:18 |
|
Jordach joined #minetest |
12:28 |
|
Fritigern joined #minetest |
12:49 |
|
proller joined #minetest |
13:00 |
|
lumidify joined #minetest |
13:09 |
|
Darcidride joined #minetest |
13:09 |
|
troller joined #minetest |
13:16 |
|
Allonphone joined #minetest |
13:17 |
|
calculon joined #minetest |
13:22 |
|
troller joined #minetest |
13:26 |
|
Allonphone joined #minetest |
13:43 |
|
xtremehacker_ joined #minetest |
13:43 |
|
octacian joined #minetest |
13:48 |
|
twoelk joined #minetest |
13:53 |
|
twoelk left #minetest |
13:54 |
|
Taose joined #minetest |
14:04 |
|
shangul joined #minetest |
14:11 |
|
twoelk joined #minetest |
14:25 |
|
shangul joined #minetest |
14:54 |
|
Fixer joined #minetest |
15:05 |
|
The_Loko joined #minetest |
15:11 |
|
Pie-jacker875 joined #minetest |
15:13 |
|
est31 joined #minetest |
15:42 |
|
troller joined #minetest |
15:49 |
|
Alcyone2 joined #minetest |
15:52 |
|
shangul joined #minetest |
16:03 |
|
nowhere_man joined #minetest |
16:11 |
|
TalkLounge joined #minetest |
16:21 |
|
troller joined #minetest |
16:24 |
|
shangul joined #minetest |
16:26 |
|
Pie-jacker875 joined #minetest |
16:28 |
|
meldrian joined #minetest |
16:53 |
|
Telesight joined #minetest |
17:00 |
|
shangul joined #minetest |
17:01 |
|
twoelk|2 joined #minetest |
17:02 |
|
Krock joined #minetest |
17:02 |
|
Krock joined #minetest |
17:03 |
|
Grandolf joined #minetest |
17:22 |
|
kaeza joined #minetest |
17:41 |
|
Pie-jacker875 joined #minetest |
17:58 |
|
shangul joined #minetest |
17:59 |
|
thatgraemeguy joined #minetest |
17:59 |
|
thatgraemeguy joined #minetest |
18:00 |
|
exoplanet joined #minetest |
18:00 |
|
exoplanet joined #minetest |
18:03 |
|
Darcidride_ joined #minetest |
18:15 |
|
Yst joined #minetest |
18:15 |
PureTryOut[m] |
is there a way too get id's off all the hud elements shown to the player? |
18:19 |
|
Dumbeldor joined #minetest |
18:20 |
kaeza |
PureTryOut[m], not currently AFAIK, but the "id" is just a number 0 <= n < 32 |
18:20 |
PureTryOut[m] |
always under 32? |
18:20 |
kaeza |
yes |
18:21 |
PureTryOut[m] |
ooh, good enough for me then |
18:21 |
kaeza |
you could iterate from 0 to 31 and call hud_get on each and see if it returns nil |
18:21 |
PureTryOut[m] |
(thanks) |
18:22 |
|
kaeza joined #minetest |
18:23 |
|
diemartin joined #minetest |
18:24 |
|
shangul joined #minetest |
18:30 |
MinetestBot |
[git] adrido -> minetest/minetest: Windows: Set window icon (#5486) cc1ff26 https://git.io/vSnzB (2017-03-30T18:28:37Z) |
18:34 |
|
troller joined #minetest |
18:36 |
Jordach |
>wonders what that commit is for |
18:36 |
Jordach |
>realises it's the windowed mode icon at the top left |
18:40 |
red-004[IRC] |
lol that was one small net split |
18:41 |
|
thatgraemeguy joined #minetest |
18:41 |
|
thatgraemeguy joined #minetest |
18:42 |
|
^v joined #minetest |
18:42 |
* PureTryOut[m] |
uploaded an image: Screenshot_2017-03-30_20-43-09.png (4KB) - https://matrix.org/_matrix/media/v1/download/matrix.org/NbbPwnRBGMoSPgVITwkcoOXE |
18:42 |
PureTryOut[m] |
Jordach: top right you mean? ^ |
18:43 |
Jordach |
it's top left for windows for all programs |
18:43 |
Jordach |
that use a standard titlebar |
18:43 |
PureTryOut[m] |
ooh Windows, of course.... |
18:43 |
PureTryOut[m] |
but that icon you mean right? |
18:43 |
Jordach |
yes |
18:43 |
Jordach |
the one for the actual focusable window |
18:43 |
PureTryOut[m] |
strange, I had it before |
18:44 |
PureTryOut[m] |
this seems purely an Xorg thing though (looking at the code), so it has nothing to do with Windows |
18:44 |
PureTryOut[m] |
ooh wait nvm |
18:44 |
Jordach |
>: Windows: Set window icon (#5486) |
18:45 |
PureTryOut[m] |
`#elif defined(_WIN32)` |
18:45 |
PureTryOut[m] |
yeah I was being dumb ;) |
18:45 |
PureTryOut[m] |
still, some Xorg code changes as well, so not purely Windows |
18:50 |
Fixer |
windows users like |
18:50 |
Fixer |
now need to get in that hide console thing |
18:51 |
Fixer |
for maximum happinness |
18:52 |
PureTryOut[m] |
lol |
18:52 |
PureTryOut[m] |
the Windows version launches a client with the game? |
18:54 |
|
FreeFull joined #minetest |
18:54 |
Jordach |
windows launches a console and the client |
18:54 |
Jordach |
i like the console since windows 10 default console isn't ass |
18:54 |
PureTryOut[m] |
huh. why? can't Windows users just launch Minetest via the terminal as well if they want too? |
18:54 |
PureTryOut[m] |
s/terminal/command prompt |
18:55 |
|
Pie-jacker875 joined #minetest |
18:57 |
Fixer |
cmd is useless for most people, it will be enabled only if needed, there is mtail if you really need real time console-like output |
19:02 |
|
shangul joined #minetest |
19:17 |
|
garywhite joined #minetest |
19:31 |
|
shangul joined #minetest |
19:39 |
|
ssieb joined #minetest |
19:43 |
|
Player_2 joined #minetest |
19:47 |
|
shangul left #minetest |
20:04 |
|
electrodude512 joined #minetest |
20:10 |
|
Pie-jacker875 joined #minetest |
20:27 |
fireglow |
anybody else ran into problems with leaftest, minetestmapper and recent dev versions of minetestserver? Here, minetestmapper always complains about corrupted block data and aborts. on 0.4.15 release, no problem |
20:32 |
sfan5 |
https://github.com/Rogier-5/minetest-mapper-cpp/issues/21 |
20:35 |
fireglow |
oooh thanks sfan5 |
21:06 |
|
jin_xi joined #minetest |
21:10 |
fireglow |
subscribed to the issue |
21:11 |
|
Puka joined #minetest |
21:13 |
|
pgimeno joined #minetest |
21:18 |
pgimeno |
I want to create a flat world that is half air, half a specific node (say, stone). I've managed to create a flat world without plants, caves or dungeons, but it still generates biomes with different nodes. Any idea how to accomplish this? |
21:19 |
VanessaE |
for that, I think you need the singlenode mapgen (with the single node set to "air"), and generate the "terrain" yourself. |
21:19 |
VanessaE |
or write a mod that aliases all of the mapgen nodes to stone, and use the "flat" mapgen |
21:20 |
VanessaE |
maybe that'll work. |
21:20 |
pgimeno |
thanks, i figured so, but how would I go about the latter? I'm looking into this: http://dev.minetest.net/Category:Mapgen is that the right way to go? is the documentation up to date? |
21:20 |
VanessaE |
not sure. |
21:20 |
pgimeno |
hm, that's not a bad idea, there aren't that many generated by the biomes after all |
21:20 |
VanessaE |
I've never written a custom mapgen, just terrain modifications (e.g. biome_lib) |
21:22 |
pgimeno |
I'll try your shortcut first, thanks! |
21:22 |
VanessaE |
good luck :) |
21:25 |
|
Pie-jacker875 joined #minetest |
21:28 |
|
Allonphone joined #minetest |
21:29 |
pgimeno |
well, when trying to learn how to force flat from a mod (to not have to edit map_meta.txt by hand), I've run into this: http://dev.minetest.net/VoxelManip#Examples |
21:33 |
pgimeno |
now I'm wondering what will be faster, if the alias trick (which runs in C++ but needs to generate biomes) or that example (which goes straight to the point but runs in Lua) |
21:37 |
|
Allonphone joined #minetest |
21:38 |
|
All|knowing joined #minetest |
21:40 |
nore |
pgimeno: C++ will probably be faster I think, 2d perlin map is not very expensive IIRC |
21:41 |
pgimeno |
thanks nore, I'm trying that route, maybe I try the other later |
21:42 |
twoelk |
pgimeno: there are at least two mods out there that can create such a map |
21:44 |
twoelk |
http://krock-works.16mb.com/MTstuff/modSearch.php?st=0&at=0&q=flat |
21:44 |
|
PsychoVision joined #minetest |
21:44 |
pgimeno |
twoelk: thanks, I'll look into that next |
21:53 |
|
paramat joined #minetest |
21:54 |
paramat |
pgimeno i can help out |
21:55 |
paramat |
use mgflat with 'mg_flags = nocaves,nodungeons,light,nodecorations' |
21:55 |
pgimeno |
paramat: I already did that, the problem is that it generates biomes, not the same node everywhere |
21:56 |
paramat |
also run a mod that depends on default that has the line 'minetest.clear_registered_biomes()' |
21:56 |
paramat |
all biomes should then become stone |
21:56 |
pgimeno |
ah, sweet! |
21:56 |
paramat |
let me know if it works, will be on IRC for hours |
21:57 |
paramat |
that reminds me perhaps we should have a mg_flag for biome surface nodes too |
21:57 |
pgimeno |
the alias trick is not working |
21:58 |
paramat |
yeah don't use aliases |
22:01 |
pgimeno |
https://gist.github.com/pgimeno/1e046dd6bacb1624a70b37af5ea1d805 failed |
22:01 |
paramat |
btw spacex launch and landing attempt of first reused booster in 30 mins |
22:03 |
paramat |
don't use aliases, looking at the rest |
22:04 |
paramat |
use this form with commas 'minetest.set_mapgen_params({mgname = "singlenode", water_level = -31000})' |
22:05 |
paramat |
instead of semicolons |
22:05 |
pgimeno |
is there a style guide or something? |
22:06 |
paramat |
https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L2303 |
22:06 |
paramat |
it's deprecated but still works |
22:06 |
paramat |
you don't need 'register on mapgen init' anymore around it |
22:06 |
pgimeno |
ah okay |
22:07 |
paramat |
also your table needs to be inside smooth brackets as in my mod |
22:07 |
|
wilkgr joined #minetest |
22:08 |
pgimeno |
paramat: that's a question of style, that's why I asked if there's a style guide |
22:08 |
paramat |
back after launch |
22:09 |
|
Hinsbart joined #minetest |
22:09 |
paramat |
https://www.youtube.com/watch?v=xsZSXav4wI8 |
22:15 |
pgimeno |
https://gist.github.com/pgimeno/1e046dd6bacb1624a70b37af5ea1d805 - still problems |
22:15 |
pgimeno |
but yes, there's quite some stone |
22:16 |
pgimeno |
trying twoelk's link now |
22:19 |
pgimeno |
oops, latest link is wrong: https://gist.github.com/pgimeno/1e046dd6bacb1624a70b37af5ea1d805 |
22:21 |
twoelk |
pgimeno: superflat and flatgen mods should still be working |
22:23 |
sofar |
https://www.youtube.com/watch?v=xsZSXav4wI8 4 mins until launch |
22:23 |
paramat |
ninja'd you |
22:23 |
sofar |
+1 :) |
22:24 |
paramat |
pgimeno you're missing smooth brackets and are using semicolons |
22:24 |
pgimeno |
paramat: that works in Lua, thus my question of whether there's a style guide prohibiting that |
22:25 |
pgimeno |
twoelk: yes, flatgen works great, thanks! |
22:26 |
sofar |
https://www.youtube.com/watch?v=xsZSXav4wI8 - 1 min until launch |
22:28 |
pgimeno |
well, I've run into lighting issues (I think the kind that is fixed in current master) |
22:37 |
nore |
oh wow they did it again |
22:37 |
sofar |
yay! it landed successfully again! |
22:37 |
nore |
and with an already-flown stage this time :) |
22:38 |
sofar |
yup |
22:38 |
sofar |
we paused our go class to watch the feed on screen |
22:38 |
sofar |
lol |
22:38 |
nore |
:D |
22:38 |
nore |
(Elon Musk is talking, first time I see that in a spacex webcast) |
22:39 |
sofar |
anyone can build a rocket |
22:39 |
sofar |
even bozos can land a rocket now |
22:39 |
|
Pie-jacker875 joined #minetest |
22:39 |
sofar |
not everyone can re-fly a rocket that can get you to geostationary :D |
22:41 |
nore |
yep :) |
22:42 |
nore |
<sofar> anyone can build a rocket <-- can you build me one please? :) |
22:42 |
nore |
(I accept working MT rockets though :D) |
22:42 |
* silent_elk |
places an order for a rocket too |
22:43 |
sofar |
didn't shadowninja make a nuclear bomb rocket already? |
22:46 |
|
whitephoenix joined #minetest |
22:46 |
nore |
hmm, I'm not sure about the rocket |
22:47 |
paramat |
pgimeno mgname should be "mgflat" not "flat" |
22:47 |
nore |
IIRC someone did rockets, but they had problems with unloaded blocks |
22:47 |
paramat |
what lighting issues? there should not be any in mgflat |
22:49 |
pgimeno |
paramat: I meant using the flatgen mod. And thanks, I didn't notice it was mgflat. Trying now. |
22:50 |
pgimeno |
Oops, segfault. |
22:50 |
pgimeno |
2017-03-31 00:49:58: ERROR[Main]: EmergeManager: mapgen 'mgflat' not valid; falling back to v7 |
22:50 |
pgimeno |
also this: 2017-03-31 00:49:58: ERROR[Server]: EmergeManager: getSpawnLevelAtPoint() called before mapgen init |
22:51 |
paramat |
minetest.set_mapgen_params({mgname = "mgflat", seed = 2, water_level = 5, flags = "nocaves,nodungeons,light,nodecorations"}) |
22:52 |
paramat |
what version of MT are you using? |
22:52 |
pgimeno |
0.4.15 |
22:52 |
paramat |
hmm |
22:52 |
silent_elk |
Can I include code that is licensed under the GPL3 in a project that is licensed under the AGPL3? |
22:53 |
paramat |
well 'flat' might work |
22:53 |
pgimeno |
paramat: it works, and clear_... generates mostly stone, but it also generates ores and other stuff |
22:53 |
paramat |
ahh |
22:53 |
|
troller joined #minetest |
22:54 |
paramat |
in your mod include 'minetest.clear_registered_ores()' |
22:54 |
paramat |
forgot about that |
22:55 |
pgimeno |
ok, note though that it is also emitting some errors |
22:55 |
paramat |
'cannot get biome ..'? |
22:56 |
pgimeno |
yes, "register decoration: couldn't get all biomes" and "get biome list: failed to get biome..." |
22:56 |
paramat |
yes those are harmless and those error messages have been removed in latest dev |
22:56 |
paramat |
that's decorations looking for biomes that have been cleared |
22:57 |
paramat |
minetest.clear_registered_decorations() |
22:57 |
paramat |
will solve that, in your mod |
22:58 |
pgimeno |
that worked indeed, thanks! now yes, it would be nice to be able to specify the filler |
23:00 |
paramat |
in the mod after the 'clears' add a biome registration |
23:00 |
paramat |
see mtgame default/mapgen.lua for examples |
23:00 |
pgimeno |
https://gist.github.com/pgimeno/1e046dd6bacb1624a70b37af5ea1d805 |
23:00 |
|
DI3HARD139 joined #minetest |
23:00 |
pgimeno |
looking |
23:01 |
paramat |
but since you have a single biome set heat and humidity points to 50 |
23:01 |
paramat |
that gist is wrong btw |
23:02 |
pgimeno |
does it fail for you? |
23:02 |
paramat |
biome reg docs are here https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L4102 |
23:03 |
paramat |
that gist you just linked has many errors it should not work at all |
23:03 |
pgimeno |
it's the one I'm using and works perfectly |
23:03 |
pgimeno |
that's valid Lua |
23:03 |
pgimeno |
single-parameter functions can omit parentheses if the parameter is a table or a string |
23:04 |
pgimeno |
tables can use semicolons instead of commas |
23:04 |
paramat |
ok |
23:04 |
paramat |
you don't need register on mapgen init though |
23:04 |
pgimeno |
I'll remove that |
23:05 |
pgimeno |
I was going from http://dev.minetest.net/Mapgen_Parameters#Mapgen_Parameter_Lua_API and since it worked, I sticked to it |
23:05 |
paramat |
it's just a use of lua we never use |
23:05 |
paramat |
ugh the wiki is out of date by many years |
23:06 |
paramat |
go by lua_api.txt instead |
23:06 |
pgimeno |
the first goal was to see what worked, polishing comes later :) |
23:06 |
pgimeno |
thanks |
23:07 |
paramat |
yes mgname = "flat" is correct, i was wrong |
23:07 |
paramat |
i'm too used to engine code where it has mg- |
23:07 |
pgimeno |
surprisingly, that made it crash too |
23:09 |
pgimeno |
using 'v7' also makes it crash |
23:10 |
pgimeno |
ah wait, no it doesn't, I misspelled it |
23:24 |
|
FreeFull joined #minetest |
23:31 |
pgimeno |
well, set_mapgen_setting doesn't seem to do anything, the updated code doesn't work: https://gist.github.com/pgimeno/1e046dd6bacb1624a70b37af5ea1d805 |
23:33 |
paramat |
hmmm |
23:33 |
paramat |
it might need the names used in .conf 'mg_name' and 'mg_flags' |
23:34 |
paramat |
yes try those |
23:35 |
pgimeno |
that worked, though I expected a warning |
23:36 |
pgimeno |
and water_level? |
23:37 |
pgimeno |
never mind, that one seems to be valid |
23:39 |
pgimeno |
this one works: https://gist.github.com/pgimeno/1e046dd6bacb1624a70b37af5ea1d805 |
23:56 |
|
Tmanyo joined #minetest |
23:59 |
paramat |
water_level is valid, use the mapgen setting names you see in minetest.conf.example |