Wuzzy2 / MineClone2-Bugs

Bug tracker archive for MineClone 2 (no new posts allowed)
MIT License
7 stars 0 forks source link

Server crash #456

Closed RonnyBarthmann closed 6 years ago

RonnyBarthmann commented 6 years ago
2018-01-26 18:33:43: ERROR[Main]: ServerError: AsyncErr: environment_Step: Runtime error from mod 'mcl_portals' in callback environment_Step(): ...MineClone2/mods/ENVIRONMENT/mcl_weather/weather_core.lua:100: attempt to index local 'look_dir' (a nil value)
2018-01-26 18:33:43: ERROR[Main]: stack traceback:
2018-01-26 18:33:43: ERROR[Main]:       ...MineClone2/mods/ENVIRONMENT/mcl_weather/weather_core.lua:100: in function 'get_random_pos_by_player_look_dir'
2018-01-26 18:33:43: ERROR[Main]:       ...t/games/MineClone2/mods/ENVIRONMENT/mcl_weather/rain.lua:51: in function 'add_rain_particles'
2018-01-26 18:33:43: ERROR[Main]:       ...t/games/MineClone2/mods/ENVIRONMENT/mcl_weather/rain.lua:112: in function <...t/games/MineClone2/mods/ENVIRONMENT/mcl_weather/rain.lua:105>
2018-01-26 18:33:43: ERROR[Main]:       ....minetest/games/MineClone2/mods/CORE/mcl_worlds/init.lua:109: in function 'dimension_change'
2018-01-26 18:33:43: ERROR[Main]:       ...ames/MineClone2/mods/ITEMS/mcl_portals/portal_nether.lua:437: in function 'func'
2018-01-26 18:33:43: ERROR[Main]:       /usr/share/games/minetest/builtin/common/after.lua:18: in function </usr/share/games/minetest/builtin/common/after.lua:4>
2018-01-26 18:33:43: ERROR[Main]:       /usr/share/games/minetest/builtin/game/register.lua:412: in function </usr/share/games/minetest/builtin/game/register.lua:392>
2018-01-26 18:33:43: ERROR[Main]: stack traceback:

-------------
  Separator
-------------
Wuzzy2 commented 6 years ago

I sure did screw up this time … Wow.

The crash happened when a non-player object teleports through a Nether portal from the Nether to the Overworld while it is raining in the Overworld. Very nice find, thank you!

FIXED in c2d041425599cdb55a5983cf9951f419d00595a1.