MT-Eurythmia / Eurythmia-Evolution

Repository for the Eurythmia Evolution server
1 stars 1 forks source link

Moretrees crash #2

Open paly2 opened 7 years ago

paly2 commented 7 years ago
2017-09-14 17:00:59: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'moretrees' in callback node_on_timer(): ...minetest/minetest_ce/bin/../mods/moretrees/date_palm.lua:226: find_nodes_in_area(): area volume exceeds allowed value of 551368
2017-09-14 17:00:59: ERROR[Main]: stack traceback:
2017-09-14 17:00:59: ERROR[Main]:   [C]: in function 'find_nodes_in_area'
2017-09-14 17:00:59: ERROR[Main]:   ...minetest/minetest_ce/bin/../mods/moretrees/date_palm.lua:226: in function 'find_fruit_trunks_near'
2017-09-14 17:00:59: ERROR[Main]:   ...minetest/minetest_ce/bin/../mods/moretrees/date_palm.lua:436: in function 'find_male_blossom'
2017-09-14 17:00:59: ERROR[Main]:   ...minetest/minetest_ce/bin/../mods/moretrees/date_palm.lua:543: in function <...minetest/minetest_ce/bin/../mods/moretrees/date_palm.lua:522>
ghost commented 7 years ago

Hi,

here's something to cherry pick:

https://github.com/minetest-mods/moretrees/pull/36/commits

paly2 commented 7 years ago

Okay, I'll apply this patch to avoid those inconvenient crashes 😃 However, I leave this issue open since moretrees developers will probably propose a more elegant fix 😉

paly2 commented 7 years ago

https://github.com/MT-Eurythmia/Eurythmia-Evolution/commit/f9d1880900817036ba3a1a470102e8acefb437aa