Testserver mob_spawn_limiter nil in line 24 #4171

Closed
opened 2023-04-12 15:37:23 +00:00 by AliasAlreadyTaken · 4 comments
2023-04-11 20:12:17: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'petz' in callback luaentity_Activate(): .../mt/5.6.1/Minetest_test/bin/../builtin/common/vector.lua:99: attempt to index local 'v' (a nil value)
2023-04-11 20:12:17: ERROR[Main]: stack traceback:
2023-04-11 20:12:17: ERROR[Main]: 	.../mt/5.6.1/Minetest_test/bin/../builtin/common/vector.lua:99: in function 'round'
2023-04-11 20:12:17: ERROR[Main]: 	...st/bin/../mods/yl_commons/features/mob_spawn_limiter.lua:30: in function <...st/bin/../mods/yl_commons/features/mob_spawn_limiter.lua:24>
``` 2023-04-11 20:12:17: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'petz' in callback luaentity_Activate(): .../mt/5.6.1/Minetest_test/bin/../builtin/common/vector.lua:99: attempt to index local 'v' (a nil value) 2023-04-11 20:12:17: ERROR[Main]: stack traceback: 2023-04-11 20:12:17: ERROR[Main]: .../mt/5.6.1/Minetest_test/bin/../builtin/common/vector.lua:99: in function 'round' 2023-04-11 20:12:17: ERROR[Main]: ...st/bin/../mods/yl_commons/features/mob_spawn_limiter.lua:30: in function <...st/bin/../mods/yl_commons/features/mob_spawn_limiter.lua:24> ```
AliasAlreadyTaken added the
1. kind/bug
label 2023-04-12 15:37:27 +00:00
AliasAlreadyTaken added the
2. prio/critical
label 2023-04-13 01:24:24 +00:00
Author
Owner

For tomorrow Alias: I added if not obj then core.log("#4171: self="..dump(self)) return end to the line before on the testserver.

For tomorrow Alias: I added `if not obj then core.log("#4171: self="..dump(self)) return end` to the line before on the testserver.
Author
Owner

The entity has some values to it, an object, but get_pos() is nil??

The entity has some values to it, an object, but get_pos() is nil??
Member

what probably happened here is that the entity removed itself during its own initialization.

i've accounted for this in this update: fac99b2649

what probably happened here is that the entity removed itself during its own initialization. i've accounted for this in this update: https://gitea.your-land.de/your-land/yl_commons/commit/fac99b2649dc9b03be074da3b8f83a6905953a37
flux added the
4. step/ready to QA test
label 2023-04-13 14:57:45 +00:00
AliasAlreadyTaken added this to the 1.1.118 milestone 2023-04-25 14:23:51 +00:00
AliasAlreadyTaken added the
ugh/QA main
label 2023-04-25 14:23:55 +00:00
flux added
5. result/fixed
and removed
4. step/ready to QA test
labels 2023-04-26 15:13:13 +00:00
Member

this is live, seem #4142 for further discussion about the mob spawn limiter

this is live, seem #4142 for further discussion about the mob spawn limiter
flux closed this issue 2023-04-26 15:13: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#4171
No description provided.