1
0
Fork
You've already forked nssm
0

Error from version actual in contentdb #5

Closed
opened 2025年12月10日 20:31:20 +01:00 by SFENCE · 1 comment

2025年12月10日 20:30:45: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'nssm' in callback luaentity_Step(): /home/sfence/.minetest/mods/nssm/mobs/morde.lua:65: attempt to call global 'set_animation' (a nil value)
2025年12月10日 20:30:45: ERROR[Main]: stack traceback:
2025年12月10日 20:30:45: ERROR[Main]: /home/sfence/.minetest/mods/nssm/mobs/morde.lua:65: in function 'custom_attack'
2025年12月10日 20:30:45: ERROR[Main]: /home/sfence/.minetest/mods/mobs/api.lua:2332: in function 'do_states'
2025年12月10日 20:30:45: ERROR[Main]: /home/sfence/.minetest/mods/mobs/api.lua:3158: in function </home/sfence/.minetest/mods/mobs/api.lua:3054>

Looks like happened when the player is attacked.

2025年12月10日 20:30:45: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'nssm' in callback luaentity_Step(): /home/sfence/.minetest/mods/nssm/mobs/morde.lua:65: attempt to call global 'set_animation' (a nil value) 2025年12月10日 20:30:45: ERROR[Main]: stack traceback: 2025年12月10日 20:30:45: ERROR[Main]: /home/sfence/.minetest/mods/nssm/mobs/morde.lua:65: in function 'custom_attack' 2025年12月10日 20:30:45: ERROR[Main]: /home/sfence/.minetest/mods/mobs/api.lua:2332: in function 'do_states' 2025年12月10日 20:30:45: ERROR[Main]: /home/sfence/.minetest/mods/mobs/api.lua:3158: in function </home/sfence/.minetest/mods/mobs/api.lua:3054> Looks like happened when the player is attacked.

Fixed, added nil checks in all custom_attack functions :) thx

Fixed, added nil checks in all custom_attack functions :) thx
Sign in to join this conversation.
No Branch/Tag specified
master
No results found.
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tenplus1/nssm#5
Reference in a new issue
tenplus1/nssm
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?