KickBecomeBonesFix
Only the player who actually gets kicked punishes the kicker: the kicker turns into bones, the victim stays put with 20s fortified milk, and a notice names both. Kicking other players or zombies is never punished. Fix for PEAK 3.0.1.Changelog
1.1.1 — PEAK 3.0.1 support, final
The big change: the punishment now only fires for the player who actually got kicked. Before this, any kick — at another player, at a zombie, at thin air — killed the kicker.
Fixed
- Punishment no longer triggers on every kick. Detection is exact: the mod records who pressed kick, then confirms the hit when the ragdoll RPC for your own character arrives from that same player. Kicking another player, a zombie, or swinging at empty air is never punished.
- The kick now actually lands before the kicker dies. PEAK 3.0.1 runs the kick in a delayed coroutine on the kicker's client; the old build killed the kicker the moment the kick was announced, which cancelled the kick and made the on-screen notice and the fortified milk never appear.
- Detection patch no longer fails to load. The previous trigger hook
(
RPCA_KickImpactwith an explicit(Vector3, PhotonMessageInfo)signature) was rejected by Harmony at runtime withIL Compile Error. The trigger is now taken fromCharacterGrabbing.RPCA_Kick, which loads reliably. - No more startup banner. The "mod loaded" line that popped up on every game launch has been removed.
Changed
- The on-screen notice is now three lines and names both sides:
XXX 踢了你!/被踢的是:<victim>/已施加强化牛奶(20 秒无敌),XXX 已变成骷髅. - Kicker punishment uses a direct death RPC, so checkpoint flags can no longer turn the death into a checkpoint respawn.
- The victim keeps their position: the kick's ragdoll and launch force are cancelled locally, and the opposite force plus a stand-up RPC are broadcast so clients without the mod also see the victim stay on their feet.
- Every detection step is logged to
BepInEx/LogOutput.logunder[踢击检测]and[踢击提示].
1.1.0 — PEAK 3.0.1 compatibility
- Rewritten for the PEAK 3.0.1 kick flow (local coroutine on the kicker's
client,
RPCA_KickImpactreduced to an SFX broadcast). - Added 20 s fortified milk for the victim and the on-screen kick notice.
1.0.0 — first public release
- Community fix of KickBecomeBones 0.1.1 for PEAK 2.6.a.
- Kicker dies through the death RPC directly, bypassing checkpoint interception.
- Punishment also works from the kicked player's client, so the host does not need the mod.
