Giter VIP home page Giter VIP logo

valleys_mapgen's Issues

crash

I know this is a work in progress, I'm only reporting this crash as a mere information, hoping that will help to polish a bit more this great mod. Sorry I couldn't help more but mapgen is far away of my programming skills :-)

This was on default minetest_game (with valleys_mapgen of course) at -95.0, 22.5, 253.0, seed: 17544283114256957415

2015-05-26 21:30:53: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2015-05-26 21:30:53: ERROR[main]: ....minetest/games/mapgen/mods/valleys_mapgen/trees.lua:170: bad argument #2 to 'random' (interval is empty)
2015-05-26 21:30:53: ERROR[main]: stack traceback:
2015-05-26 21:30:53: ERROR[main]: [C]: in function 'random'
2015-05-26 21:30:53: ERROR[main]: ....minetest/games/mapgen/mods/valleys_mapgen/trees.lua:170: in function 'make_leavesblob'
2015-05-26 21:30:53: ERROR[main]: ....minetest/games/mapgen/mods/valleys_mapgen/trees.lua:128: in function 'grow_jungle_tree'
2015-05-26 21:30:53: ERROR[main]: ...minetest/games/mapgen/mods/valleys_mapgen/mapgen.lua:322: in function '?'
2015-05-26 21:30:53: ERROR[main]: ...e/ivan/minetest-dev/bin/../builtin/game/register.lua:341: in function <...e/ivan/minetest-dev/bin/../builtin/game/register.lua:329>

In thread 7f57e897e780:
/home/ivan/minetest-dev/src/server.cpp:494: void Server::step(float): A fatal error occurred: ....minetest/games/mapgen/mods/valleys_mapgen/trees.lua:170: bad argument #2 to 'random' (interval is empty)
stack traceback:
[C]: in function 'random'
....minetest/games/mapgen/mods/valleys_mapgen/trees.lua:170: in function 'make_leavesblob'
....minetest/games/mapgen/mods/valleys_mapgen/trees.lua:128: in function 'grow_jungle_tree'
...minetest/games/mapgen/mods/valleys_mapgen/mapgen.lua:322: in function '?'
...e/ivan/minetest-dev/bin/../builtin/game/register.lua:341: in function <...e/ivan/minetest-dev/bin/../builtin/game/register.lua:329>
Debug stacks:
DEBUG STACK FOR THREAD 7f57e119a700:
#0 virtual void* EmergeThread::Thread()

(Leftover data: #1 virtual MapBlock* ServerMap::emergeBlock(v3s16, bool): p=(-7,3,18), create_blank=0)
(Leftover data: #2 ServerMapSector* ServerMap::createSector(v2s16): p2d=(-9,18))
DEBUG STACK FOR THREAD 7f57e199b700:
#0 virtual void* ServerThread::Thread()
#1 void Server::Receive()

(Leftover data: #2 void Server::SendBlocks(float))
(Leftover data: #3 void Server::SendBlockNoLock(irr::u16, MapBlock_, irr::u8, irr::u16))
(Leftover data: #4 void ItemStack::serialize(std::ostream&) const)
(Leftover data: #5 bool getCraftingResult(Inventory_, ItemStack&, bool, IGameDef*))
DEBUG STACK FOR THREAD 7f57e897e780:
#0 int main(int, char**)
#1 Dedicated server branch
#2 void dedicated_server_loop(Server&, bool&)
#3 void Server::step(float)

./mapgen.sh: line 1: 3119 Avortat ~/minetest-dev/bin/minetest --server --config /home/ivan/.minetest/games/mapgen/minetest.conf --worldname world --gameid mapgen

several png textures are interlaced.

./mods/valleys_mapgen/textures/vmg_basalt.png: PNG image data, 16 x 16, 8-bit/color RGB, interlaced
./mods/valleys_mapgen/textures/vmg_willow_wood.png: PNG image data, 16 x 16, 8-bit colormap, interlaced
./mods/valleys_mapgen/textures/vmg_mangrove_fern.png: PNG image data, 16 x 16, 8-bit colormap, interlaced
./mods/valleys_mapgen/textures/vmg_willow_tree_top.png: PNG image data, 16 x 16, 8-bit/color RGB, interlaced

this can cause issues on some libpng versions where interlaced handling is turned off.

I suggest re-exporting these png's with interlacing disabled.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.