hud.lua:159: attempt to call field 'remove_rank_entity' (a nil value) #1858

Closed
opened 2022-04-30 20:43:08 +00:00 by AliasAlreadyTaken · 1 comment

Looks like someone wanted to disable the xp hud with the chatcommand "xp_hud", but the function xp_redo.remove_rank_entity(player) was nowhere to be found.

2022-04-30 22:37:54: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'xp_redo' in callback on_chat_message(): ...e/mtlive/5.5.0/Minetest_live/bin/../mods/xp_redo/hud.lua:159: attempt to call field 'remove_rank_entity' (a nil value)
2022-04-30 22:37:54: ERROR[Main]: stack traceback:
2022-04-30 22:37:54: ERROR[Main]: 	...e/mtlive/5.5.0/Minetest_live/bin/../mods/xp_redo/hud.lua:159: in function 'func'
2022-04-30 22:37:54: ERROR[Main]: 	...inetest_live/bin/../builtin/profiler/instrumentation.lua:107: in function 'func'
2022-04-30 22:37:54: ERROR[Main]: 	.../mtlive/5.5.0/Minetest_live/bin/../builtin/game/chat.lua:79: in function 'func'
2022-04-30 22:37:54: ERROR[Main]: 	...inetest_live/bin/../builtin/profiler/instrumentation.lua:107: in function <...inetest_live/bin/../builtin/profiler/instrumentation.lua:100>
2022-04-30 22:37:54: ERROR[Main]: 	...ive/5.5.0/Minetest_live/bin/../builtin/game/register.lua:425: in function <...ive/5.5.0/Minetest_live/bin/../builtin/game/register.lua:409>
Looks like someone wanted to disable the xp hud with the chatcommand "xp_hud", but the function xp_redo.remove_rank_entity(player) was nowhere to be found. ``` 2022-04-30 22:37:54: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'xp_redo' in callback on_chat_message(): ...e/mtlive/5.5.0/Minetest_live/bin/../mods/xp_redo/hud.lua:159: attempt to call field 'remove_rank_entity' (a nil value) 2022-04-30 22:37:54: ERROR[Main]: stack traceback: 2022-04-30 22:37:54: ERROR[Main]: ...e/mtlive/5.5.0/Minetest_live/bin/../mods/xp_redo/hud.lua:159: in function 'func' 2022-04-30 22:37:54: ERROR[Main]: ...inetest_live/bin/../builtin/profiler/instrumentation.lua:107: in function 'func' 2022-04-30 22:37:54: ERROR[Main]: .../mtlive/5.5.0/Minetest_live/bin/../builtin/game/chat.lua:79: in function 'func' 2022-04-30 22:37:54: ERROR[Main]: ...inetest_live/bin/../builtin/profiler/instrumentation.lua:107: in function <...inetest_live/bin/../builtin/profiler/instrumentation.lua:100> 2022-04-30 22:37:54: ERROR[Main]: ...ive/5.5.0/Minetest_live/bin/../builtin/game/register.lua:425: in function <...ive/5.5.0/Minetest_live/bin/../builtin/game/register.lua:409> ```
AliasAlreadyTaken added the
1. kind/bug
2. prio/critical
labels 2022-04-30 20:43:15 +00:00
Author
Owner

Fixed in 1dcdc0a45e

Fixed in https://gitea.your-land.de/your-land/xp_redo/commit/1dcdc0a45e97d41de8c21ea08101d85754edc6fc
AliasAlreadyTaken added the
5. result/fixed
label 2022-05-01 00:26:17 +00:00
AliasAlreadyTaken added this to the 1.1.110 milestone 2022-05-01 00:26:20 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 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: your-land/bugtracker#1858
No description provided.