Skip to content

Undying Zombies

Phenomenon

Zombies have a specific mechanic so when the in game time goes to day, the zombies begin losing health. The way it worked: zombies lost health until it appeared that they had no HP, but they were still alive. Bosses were also affected.

~0 HP zombies

Cause

Oversight in the code. The zombie health loss during day mechanic was implemented wrong. The zombie health loss % was based on the current health, instead of the max health, which lead to an hp that asymptotes to 0.

As an example you can view some simulations, in the following examples:

Details

Before the patch

As an example, let's assume a zombie has 100HP, and has a 1% HP decay per tick, calculated on the current HP, as in the following table & graph. Note how the HP drop per tick gets lower and lower, until it's unsignificant.

TickHP
0100
199
298.01
397.0299
496.0596
595.099
......
10036.6032
10136.2372
10235.8748
......
9980.00440478
9990.00436073
10000.00431712
Example: Zombie health loss over time. x: tick, y: hp

The zombies or bosses never died. They could last indefinitely.

Details

After the patch

Once again, as an example, let's assume a zombie has 100HP, and has a 1% HP decay per tick, calculated on the max HP, as in the following table & graph. Note how the hp drops linerarly.

TickHP
0100
199
298
397
......
5050
5149
5248
......
982
991
1000
Example: Zombie health loss over time. x: tick, y: hp

Once reaching 0 HP, the zombie or the boss dies. 🫡

Example

Large pile of orange zombies

Large pile of zombies with ~0 HP

14+ bosses

A lot of bosses, and a green T1 zombie at purple waves.

4 zombie colours

4 different zombie colours at the same base.

Impact

Lag Bases

Zombies didn't die during the day, or at all, unless a player or tower killed them. This led to what people called lag bases or "wall" bases. These bases used all 1000 walls placed around the stash, fully upgraded, with no towers. Weaker zombies would spawn first and slowly chew through the walls, but the damage dealt was insignificant, compared to a T8 wall's HP. Stronger zombies spawned later but couldn't reach the walls because the weaker ones were blocking them. Since no zombies were dying, they kept piling up until the server started lagging badly within 30 minutes, causing delays for everyone and disconnecting players.

This was used as a way to ruin someone's wave or score attempt, or simply just to mess with someone's run in a server that wasn't full.

Lag base at wave 27. Ping: +47 seconds You can see all tiers of Green and Blue zombies.

Changelog

August 23, 2021 - Minor Update

md
- Extend hostility detection to work on individual players to stop scripts that start new partys and kick themselves to undo the old hostility detection
- Fix one method of pet invulnerability
- Zombie day time damage is now based on % of max health instead of % of current health to fix max tier walls + low level waves from lagging out the server
- Lower party change cooldown to 1 second from 15 seconds because the disconnection exploit has been fixed for a while now
- Remove cooldowns for open party toggle and party names because the disconnection exploit has been fixed for a while now