Undead Nights - Zombie Horde Nights

Undead Nights - Zombie Horde Nights

53.4k Downloads

Some zombies get stuck on spawn/drop down when a horde is starting

p0nx77 opened this issue ยท 5 comments

commented

Hi again Pete, sorry to bother you once again, but I just noticed something and I thought to let you know. So I've noticed that most of the time, when a horde is spawning near any player, there is a visible spawn for the zombies right? It's like they fall from the sky, near the ground, on some specific point, depending on the distance from the player, but they all drop from that point, and then proceed to chase and attack the players.

The problem is that some of those zombies, normally around 3-4 of them, never leave the spawn area, and they stay frozen in the air, suspended, and the total amount of zombies (example, 30) never reaches, because there were a few left that never touched the ground, and they are the ones that I've seen suspended in the air. and when you get close to the to see whats up, they immediately drop down and spawn, and you can see on the debug console that they were the left amount missing. I hope my explanation makes sense. Let me know if you have any questions.

Thanks!

Edit: maybe the reason for them to get stuck is that the player started to kill them before the total numbers of zombies dropped? I dont know im just guessing haha. Or maybe it will be the best to drop all of them at once? (With a limit on how many horde-zombies can spawn at once?) im just giving ideas, thanks!

commented

You are not bothering me, you are helping me to find and fix bugs :)
Thanks for reporting.

commented

I think I see the issue, seems to be related to the feature that the zombies can push each other up.
Right when they spawn their movement is 0 in all directions. If two zombies spawn in the same spot, they push each other up... and only up.
Working on a fix :)

commented

please check out release 0.9.1 :)
https://modrinth.com/mod/undead-nights/version/0.9.1-Fabric-mc1.20.1

The zombies should not get stuck after spawning anymore :)

commented

Did you have a chance to try out the 0.9.1 release? is the problem fixed?

commented

Did you have a chance to try out the 0.9.1 release? is the problem fixed?

Hi Pete, sorry for the late response, yes now it's working perfectly fine! thank you!