Closed ghost closed 6 years ago
@gorkoda1 thanks for reporting :)
For now, it's not crashing, but snowing isn't working.
@Reedych snow works, it just doesn't work when there is not snow nearby
its crashing for me. running Lubuntu 16.04 minetest 0.4.16 release. video proof: https://youtu.be/XOkWVHUb15Q
just compiled and tested the dev version. it is affected aswell
@gorkoda1 could you send us the debug information? It's hard to read from video.
@Reedych heres my debug.txt https://pastebin.com/MKVej86d
bad argument #2 to 'random' (interval is empty)
Ehm, I think your farlands is too old. Could you try to load last version? I see that this math.random call probably is correct.
oops. i just realized that this has already fixed in the 1.1 branch.
/change_weather rain
and/change_weather storm
results in a runtime error https://i.imgur.com/l5zy5f6.png this is due to the fact that the arguments of math.random() is passed in the wrong ordervelocity = {x=0, y=math.random(-15,-20), z=0},
should bevelocity = {x=0, y=math.random(-20,-15), z=0},
velocity = {x=0, y=math.random(-25,-30), z=0},
should bevelocity = {x=0, y=math.random(-30,-25), z=0},
velocity = {x=math.random(-5,5)/10, y=math.random(-4,-6), z=math.random(-5,5)/10},
should bevelocity = {x=math.random(-5,5)/10, y=math.random(-6,-4), z=math.random(-5,5)/10},