api_on_punch.lua:79: attempt to concatenate a nil value #3053

Closed
opened 2022-11-16 06:59:29 +00:00 by AliasAlreadyTaken · 8 comments

2022-11-16 06:58:36: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'petz' in callback luaentity_Punch(): ...Minetest_live/bin/../mods/petz/petz/api/api_on_punch.lua:79: attempt to concatenate a nil value
2022-11-16 06:58:36: ERROR[Main]: stack traceback:
2022-11-16 06:58:36: ERROR[Main]: ...Minetest_live/bin/../mods/petz/petz/api/api_on_punch.lua:79: in function 'on_punch'
2022-11-16 06:58:36: ERROR[Main]: ...inetest_live/bin/../mods/petz/petz/petz/piggy_mobkit.lua:83: in function 'func'
2022-11-16 06:58:36: ERROR[Main]: ...inetest_live/bin/../builtin/profiler/instrumentation.lua:107: in function <...inetest_live/bin/../builtin/profiler/instrumentation.lua:100>

2022-11-16 06:58:36: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'petz' in callback luaentity_Punch(): ...Minetest_live/bin/../mods/petz/petz/api/api_on_punch.lua:79: attempt to concatenate a nil value 2022-11-16 06:58:36: ERROR[Main]: stack traceback: 2022-11-16 06:58:36: ERROR[Main]: ...Minetest_live/bin/../mods/petz/petz/api/api_on_punch.lua:79: in function 'on_punch' 2022-11-16 06:58:36: ERROR[Main]: ...inetest_live/bin/../mods/petz/petz/petz/piggy_mobkit.lua:83: in function 'func' 2022-11-16 06:58:36: ERROR[Main]: ...inetest_live/bin/../builtin/profiler/instrumentation.lua:107: in function <...inetest_live/bin/../builtin/profiler/instrumentation.lua:100>
flux added the
1. kind/bug
3. source/mod upstream
3. source/integration
2. prio/critical
labels 2022-11-16 18:48:25 +00:00
Member

upstream issue, which was closed w/out fixing because it's somehow mob_core's fault and we need to switch to creatura...

upstream issue, which was closed w/out fixing because it's somehow mob_core's fault and we need to switch to creatura...
Author
Owner

We're not even using mob_core except the spawning function. All the rest is disabled.

Plus, in that stacktrace there's no sign of mobcore?

We're not even using mob_core except the spawning function. All the rest is disabled. Plus, in that stacktrace there's no sign of mobcore?
Member

forgot to link the upstream issue:

https://github.com/runsy/petz/issues/127

forgot to link the upstream issue: https://github.com/runsy/petz/issues/127
Author
Owner

The fix is on the testserver, do we have a 100% repro?

The fix is on the testserver, do we have a 100% repro?
Member

it used to do it for me when punching a baby chicken

it used to do it for me when punching a baby chicken
Member

just tested that and it seems fine

just tested that and it seems fine
AliasAlreadyTaken added this to the 1.1.117 milestone 2022-11-24 21:25:30 +00:00
AliasAlreadyTaken added the
4. step/ready to QA test
label 2022-11-24 21:26:13 +00:00
Author
Owner

I punched a lot of baby chickens by now, no crash.

I punched a lot of baby chickens by now, no crash.
AliasAlreadyTaken added the
ugh/QA OK
label 2023-01-18 08:48:19 +00:00
flux added
5. result/fixed
and removed
4. step/ready to QA test
labels 2023-01-25 19:05:30 +00:00
Member

this is live

this is live
flux closed this issue 2023-01-25 19:05:36 +00:00
Sign in to join this conversation.
No Milestone
No project
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: your-land/bugtracker#3053
No description provided.