Normal caves "grow" sometimes into forests
Huge caves are floating in the air. Inside the huge caves are small caves
And they are eveywhere
An interesting fact is, that the large caves always spawn at specific heights
burli wrote:I guess I found the reason for the shadows and other issues with the v6 lua cavegen. I replaced "air" with "default:cobble" for large caves and "default:wood" for normal caves.
azekill_DIABLO wrote:a crystal cave?!?cool!
duane wrote:burli wrote:I guess I found the reason for the shadows and other issues with the v6 lua cavegen. I replaced "air" with "default:cobble" for large caves and "default:wood" for normal caves.
Ok, but why would that cause shadows when you're only placing air?
vector.add(v, x)`: returns a vectorlocal p1 = vector.add(orpi, vector.add(veci, vector.add(this.of, this.rs / 2)))
local p2 = vector.add(orpi, vector.add(this.of, this.rs / 2)burli wrote:This one is a special one. It does not collapse
Is it possible that lua mapgens are executed AFTER the decoration? This would explain the destroyed plants
burli wrote:If you fly above the shadow you see, that the wield hand gets darker and normal again around 48.
I also think that there must be normal caves in the air. I can see them in the water, they are inside the large caves and they "grow" along other nodes like trees. But for whatever reason air is not replaced by the small caves. It is really strange.
Another thing I noticed is, that h1 is always 1. Are you sure that vector.add can add 4 values?
duane wrote:I started to miss the surface world, so I added it back in. It should work with any mapgen that produces a heightmap.
burli wrote:I have a texture bug. Mob Textures are not loaded with your latest version
burli wrote:I noticed that your top dirt block is a full grass block. Do you use a mod for this? I asked for this feature a few weeks ago, but did not find a satisfying solution
duane wrote:burli wrote:I have a texture bug. Mob Textures are not loaded with your latest version
Which ones? It shouldn't matter much, since the affected mobs will die out and be replaced.
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)azekill_DIABLO wrote:stupid question : inyour 1st post u say there's no surface... but why there is a river, grass and sun??!?!
duane wrote:I started to miss the surface world, so I added it back in. It should work with any mapgen that produces a heightmap.
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)paramat wrote:See https://forum.minetest.net/viewtopic.php?p=218419#p218419
I think your heightmap checks may be failing, large caves should not be generated high in the air. The dark air of overgenerated large caves can cause lighiting bugs.
duane wrote:The code is now faster, but it still develops a lot of lag at times. I think some of that is due to the large number of creatures I have available.
2016-05-25 10:25:43: ACTION[Server]: Player singleplayer punched by LuaEntitySAO at (412.109,-21.5,-230.328), damage 1 HP
2016-05-25 10:25:44: ACTION[Server]: singleplayer punches object 622: LuaEntitySAO at (412.807,-21.5,-233.346)
2016-05-25 10:25:44: ERROR[Main]: ServerError: Lua: Runtime error from mod 'fun_caves' in callback luaentity_Punch(): /home/markus/minetest/bin/../mods/mobs/api.lua:1711: attempt to index local 'tool_capabilities' (a nil value)
2016-05-25 10:25:44: ERROR[Main]: stack traceback:
2016-05-25 10:25:44: ERROR[Main]: /home/markus/minetest/bin/../mods/mobs/api.lua:1711: in function </home/markus/minetest/bin/../mods/mobs/api.lua:1692>
2016-05-25 10:25:44: ERROR[Main]: /home/markus/minetest/bin/../builtin/game/mod_profiling.lua:290: in function </home/markus/minetest/bin/../builtin/game/mod_profiling.lua:288>
2016-05-25 10:25:44: ACTION[Server]: singleplayer leaves game. List of players:
burli wrote:And if I punch a mob the game crachesYour phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
2016-05-25 10:25:43: ACTION[Server]: Player singleplayer punched by LuaEntitySAO at (412.109,-21.5,-230.328), damage 1 HP
2016-05-25 10:25:44: ACTION[Server]: singleplayer punches object 622: LuaEntitySAO at (412.807,-21.5,-233.346)
2016-05-25 10:25:44: ERROR[Main]: ServerError: Lua: Runtime error from mod 'fun_caves' in callback luaentity_Punch(): /home/markus/minetest/bin/../mods/mobs/api.lua:1711: attempt to index local 'tool_capabilities' (a nil value)
2016-05-25 10:25:44: ERROR[Main]: stack traceback:
2016-05-25 10:25:44: ERROR[Main]: /home/markus/minetest/bin/../mods/mobs/api.lua:1711: in function </home/markus/minetest/bin/../mods/mobs/api.lua:1692>
2016-05-25 10:25:44: ERROR[Main]: /home/markus/minetest/bin/../builtin/game/mod_profiling.lua:290: in function </home/markus/minetest/bin/../builtin/game/mod_profiling.lua:288>
2016-05-25 10:25:44: ACTION[Server]: singleplayer leaves game. List of players:
burli wrote:A few days old. But I can update again if there was an update shortly
duane wrote:burli wrote:A few days old. But I can update again if there was an update shortly
That's definitely not the version I've got, which has the mobs_redo directory and different code. I got mine from https://github.com/tenplus1/mobs_redo.
burli wrote:I was attacked by naked spiders. I add mobs mod, but not mobs_monsters. I expected, that you just need the api, but you removed some textures. So I had to add mobs_monsters to get the textures
Or are you using an older mobs mod befor it was splitted?
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)Users browsing this forum: No registered users and 3 guests