minetest-mods / footprints

Adds footprints to Minetest, and allows them to be trampled down into a hard-packed trail from heavy traffic
Other
3 stars 3 forks source link

Crash on environment_Step() #4

Open cyber199 opened 5 months ago

cyber199 commented 5 months ago

Minetest version is 5.8.0 Game is Minetest Game, just downloaded it today (2024-05-26) so in theory it is the latest version. Traceback is:

AsyncErr: Lua: Runtime error from mod 'footprints' in callback environment_Step(): /home/user/.minetest/mods/footprints/init.lua:448: attempt to compare string with number
stack traceback:
    /home/user/.minetest/mods/footprints/init.lua:448: in function 'test_trample_count'
    /home/user/.minetest/mods/footprints/init.lua:523: in function </home/user/.minetest/mods/footprints/init.lua:463>
    /usr/share/minetest/builtin/common/register.lua:26: in function </usr/share/minetest/builtin/common/register.lua:12>

My settings are all default except for footprints_hardpack_count which I set to 5. I'll hit the reset arrow and try to recreate the crash on full default settings.

cyber199 commented 5 months ago

Snow packs down to ice with settings restored to default, and I'll assume the same is true for other nodes. Perhaps the problem is with Minetest Engine's settings page sending that 5 as a "5" as I notice the traceback says about comparing a string to a number?