Crash with minetest 5.3 and mcl_mobs #880
Labels
No Label
#P1 CRITICAL
#P2: HIGH
#P3: elevated
#P4 priority: medium
#P6: low
#Review
annoying
API
bug
code quality
combat
commands
compatibility
configurability
contribution inside
controls
core feature
creative mode
delayed for engine release
documentation
duplicate
enhancement
environment
gameplay
graphics
ground content conflict
GUI/HUD
help wanted
incomplete feature
invalid / won't fix
items
looking for contributor
mapgen
meta
mineclone2+
Minecraft >= 1.13
Minecraft >= 1.17
missing feature
mobile
mobs
mod support
model needed
multiplayer
Needs adoption
needs discussion
needs engine change
needs more information
needs research
nodes
non-Minecraft feature
non-mob entities
performance
player
possible close
redstone
release notes
schematics
Skyblock
sounds
Testing / Retest
tools
translation
unconfirmed
mcl5
mcla
Media missing
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: VoxeLibre/VoxeLibre#880
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
And then restarting the game, got the same error.
So mysterious - function
within_limits()
(where the error occured) uses only in api.lua itself. I wonder did you add some foreign mobs to the game?I made an experiment with mob limits in my fork, it might help but this is odd still
5cf9ed272e
No, I havent added any foreign mobs. I only spawn some evokers and vexes.
I see only 3 places where
within_limits()
called, all in api.lua:Third part has built-in check for
nul
value, so it is in the first or the second one. Both are:local pos = self.object:get_pos()
whereself
is the entity passed throughon_step()
callback.I never saw this error and the only way I can imagine is if the entity destroyed during the call, but I'm not 100% sure. If nobody will have better ideas, I would merge my fix and close the issue...
My world:
https://drive.google.com/file/d/1eVx2tfS6DdCge3vO9tdBkjZzcpvHvchM/view?usp=sharing
Thanks for sharing the world.
I tried to run it with latest master.
I've seen dropped unknown item.
Them I was killed and there was a crash, but the error wasn't the same, probably because I haven't installed the mods: "shortnames", "test", "worldedit", "worldedit_brush", "worldedit_commands", "worldedit_hud_helper", "worldedit_shortcommands", "worldeditadditions", "worldeditadditions_commands" and "worldeditadditions_farwand". Server log isn't too big to copy-paste it right here, but I have no idea what I should do to reproduce the error:
In creative mode, without missing mods, I added as many evokers and vexes as I can - nothing happens :(
So maybe the problem is because of some incoplatible mod still.
Hope I fixed the problem. It was because of multiple attack, when the player is already defeated.
06c97be4a2
I am going to try.
Yes, the game doesn't crash, thank you !