- neriumpopsiclecommented on [DZG-1479]Vehicles damaging players on exit
Stopped/riderless vehicles knock players unconscious, break legs and ruin clothing
Version: DayZ 1.30 (server 1.30.164289), Windows dedicated server Frequency: several times a day on our server; players report the same on official servers.
SUMMARY A car or motorbike with nobody driving damages a player who touches it, even though it isn't moving. The player is usually knocked unconscious, often gets broken legs, and can have every worn item ruined. Root cause: the game uses wheel speed (GetSpeedometerAbsolute) as if it were vehicle speed. A parked vehicle with jittering or spinning wheels reads above 2 km/h while its body is still.
STEPS TO REPRODUCE
Spawn a vanilla Motorbike_02/Motorbike_01 (most of our cases) or CivilianSedan and let it rest on uneven ground or against an object (fallen-over bikes trigger it most).
Nobody in any seat.
Walk into or stand against it. Actual: "hit by NO DRIVER with TransportHit", player unconscious, often broken legs and damaged clothing. Before a rate limit on our side, one bike hit a player 30-120 times in one second and killed them. Expected: a vehicle that isn't moving doesn't damage players.
Second path, same cause: getting out of a parked vehicle whose wheels report speed counts as a "jump out" (ActionGetOutTransport uses GetSpeedometerAbsolute). The player takes FallDamageHealth, gets broken legs and has every worn item ruined.
VANILLA CODE (3_Game/Entities/EntityAI.c, RegisterTransportHit) if (Car.CastTo(car, transport)) { if (car.GetSpeedometerAbsolute() > 2.0) // wheel speed ProcessDirectDamage(..., "TransportHit", ..., m_TransportHitVelocity.Length()); } else if (Motorbike.CastTo(motorbike, transport)) { if (motorbike.GetSpeedometerAbsolute() > 2.0) ... same }
The moving check is wheel speed; jitter passes it.
Damage is body velocity (about 1.5-4 HP in our logs), but the TransportHit shock still knocks the player out.
DayZPlayerImplement.EEHitBy resets m_TransportHitRegistered after every hit, so EOnContact applies a new hit every frame while contact lasts (30-120 hits/s). Suggested fix: use body velocity (GetVelocity(transport)) for the moving check, at least when there is no driver, and for the get-out jump-out decision; don't re-arm the hit every frame of one contact.
EVIDENCE (our ADM logs, 2026-10-15 to 2026-11-11, "hit by NO DRIVER with TransportHit")
242 incidents, 208 knocked the player unconscious, 32 different players, 2,131 hit lines
200 knockouts from vanilla bikes: Motorbike_02 Red 51, Yellow 48, Blue 47, Green 44; Motorbike_01 Yellow 5, Red 5
20 knockouts left the player under 10 HP, 52 under 50 HP; worst day 41 (2026-11-01)
Until 10-23: median 31 hits per incident, max 121 in one second. After we limited riderless bikes to one hit per second: 161 more knockouts, 142 from a single hit.
Leg breaks and clothing damage aren't in the ADM log; admins repaired them by hand after many incidents (e.g. 2026-10-28: a player at HP 100 knocked out twice in 5 min by FallDamageHealth while getting out of a parked car).
LOG EXCERPTS (names/IDs removed) 20:15:40 | Player "P1" (pos=<3770.4, 14287.3, 300.3>)[HP: 98.2238] hit by NO DRIVER with TransportHit (Motorbike_02_Green) ... 31 more hits in the same second, position unchanged ... 20:15:40 | Player "P1" (pos=<3770.4, 14287.3, 300.5>)[HP: 49.0205] hit by NO DRIVER with TransportHit (Motorbike_02_Green) 20:15:40 | Player "P1" is unconscious
00:16:15 | Player "P2" (pos=<4955.9, 6476.4, 212.0>)[HP: 95.0708] hit by NO DRIVER with TransportHit (Motorbike_01_Yellow) 00:16:15 | Player "P2" is unconscious
21:45:30 | Player "P3" (pos=<4839.1, 13092.2, 276.3>)[HP: 99.3829] hit by NO DRIVER with TransportHit (CivilianSedan) ... 6 more hits in the same second, unconscious 3 s later
NOTES Our server runs mods (some touch motorbikes), but the code path above is unmodified vanilla and the same symptoms are reported on official servers. Full ADM/RPT logs available on request.