Ninjins-Vehicle-Protection
Ninjins Upgraded Features SEE here: https://wiki.ninjin.org/overview.html Wiki https://wiki.ninjin.org/ Discord https://discord.gg/HpXXPJJKcv Ninjins Vehicle Protection Control car and boat damage by zone type. What it does Decide whether vehicles take player or explosive damage in Safe, PvP, Raid, PvE, and Visual zones. Per-zone name rules, enviro damage options, and a master switch in the Vehicle Protection admin… (more)
Ninjins Upgraded Features SEE here: https://wiki.ninjin.org/overview.html Wiki https://wiki.ninjin.org/ Discord https://discord.gg/HpXXPJJKcv Ninjins Vehicle Protection Control car and boat damage by zone type. What it does Decide whether vehicles take player or explosive damage in Safe, PvP, Raid, PvE, and Visual zones. Per-zone name rules, enviro damage options, and a master switch in the Vehicle Protection admin menu. Requirements Ninjins-Core Ninjins-PvP-PvE-Upgraded-Zones License Repack is not allowed. Modifications and reuploads are not allowed. Allowed on monetized servers (follow Bohemia DayZ Server Monetization rules).
No file I/O on hot paths, no timers created per event, no per-player-per-frame hooks.
2 chain breaks, all on specific classes the mod replaces wholesale — matters only if another mod patches the same classes.
less than 0.001% of each server frame at 100 players (0.000 ms/s). Counts hook dispatch and timers only, not what the hooks do inside. Methodology.
Structural load of the 348 scripted mods analyzed, lightest on the left. This mod's bar is lit; 1 other shares it. Ranked list.
Lifecycle hooks carry 81% of this mod's structural load. 0.000 ms/s in all.
5 hooks · 0.00001 ms/s
| Lifecycle hooksrun when an entity is created, loaded or deleted | 5 hooks | 0.00001 ms/s | 81% | BoatScript.EEDelete, BoatScript.EEInit, CarScript.EEDelete and 2 more |
Counts how often each hook is dispatched and how many timers stay alive, not what the code inside does. Some rates are order-of-magnitude estimates; the methodology lists which.
Chain breaks, by consequence
2 overrides that skip super(), ranked by how much they can affect. On any server a break replaces vanilla's behaviour on that method and silences every earlier-loaded mod hooking it.
AddAliveTransportsToEngine · AfterZonesTick
Only this class is affected. Matters only if another mod in your stack patches the same class.
1 class
NinjinsUpgraded_TransportZoneActorsHook2 locations
Ninjins_Vehicle_Protection.pbo::scripts\4_World\Ninjins_Vehicle_Protection\NinjinsVehicleProtectionWorld.c:868Ninjins_Vehicle_Protection.pbo::scripts\4_World\Ninjins_Vehicle_Protection\NinjinsVehicleProtectionWorld.c:872Other findings
super() only on some paths · 3 · warning
- BoatScript.EEOnDamageCalculated returns true without consulting super.EEOnDamageCalculated() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
Ninjins_Vehicle_Protection.pbo::scripts\4_World\Ninjins_Vehicle_Protection\BoatScript.c:30 - CarScript.EEOnDamageCalculated returns true without consulting super.EEOnDamageCalculated() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
Ninjins_Vehicle_Protection.pbo::scripts\4_World\Ninjins_Vehicle_Protection\CarScript.c:30 - ItemBase.EEOnDamageCalculated returns true without consulting super.EEOnDamageCalculated() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
Ninjins_Vehicle_Protection.pbo::scripts\4_World\Ninjins_Vehicle_Protection\ItemBase.c:3
- BoatScript.EEOnDamageCalculated returns true without consulting super.EEOnDamageCalculated() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
Which vanilla methods the mod hooks, which of them drop the chain, how often each hook fires, and which risky calls sit inside hot hooks.
How long hook bodies take, network cost, or engine-side load. Measured across live fleets, most server lag comes from the engine and world state, not mod script chains — a light footprint does not clear a mod of lag, and a heavy one does not convict it. Methodology.
Everything else
All 16 overrides
Surface is the dispatch tier the rubric can price (— = unpriced); server is whether the override exists on a dedicated server; super() shows whether the vanilla chain is preserved on a server.
| method | surface | server | super() | where |
|---|---|---|---|---|
BoatScript.EEInit |
T3 | yes | ✓ | Ninjins_Vehicle_Protection.pbo::scripts\4_World\Ninjins_Vehicle_Protection\BoatScript.c:10 |
BoatScript.EEDelete |
T3 | yes | ✓ | Ninjins_Vehicle_Protection.pbo::scripts\4_World\Ninjins_Vehicle_Protection\BoatScript.c:17 |
BoatScript.OnEngineStart |
— | yes | ✓ | Ninjins_Vehicle_Protection.pbo::scripts\4_World\Ninjins_Vehicle_Protection\BoatScript.c:23 |
BoatScript.EEOnDamageCalculated |
— | yes | conditional | Ninjins_Vehicle_Protection.pbo::scripts\4_World\Ninjins_Vehicle_Protection\BoatScript.c:30 |
CarScript.EEInit |
T3 | yes | ✓ | Ninjins_Vehicle_Protection.pbo::scripts\4_World\Ninjins_Vehicle_Protection\CarScript.c:10 |
CarScript.EEDelete |
T3 | yes | ✓ | Ninjins_Vehicle_Protection.pbo::scripts\4_World\Ninjins_Vehicle_Protection\CarScript.c:17 |
CarScript.OnEngineStart |
— | yes | ✓ | Ninjins_Vehicle_Protection.pbo::scripts\4_World\Ninjins_Vehicle_Protection\CarScript.c:23 |
CarScript.EEOnDamageCalculated |
— | yes | conditional | Ninjins_Vehicle_Protection.pbo::scripts\4_World\Ninjins_Vehicle_Protection\CarScript.c:30 |
ItemBase.EEOnDamageCalculated |
— | yes | conditional | Ninjins_Vehicle_Protection.pbo::scripts\4_World\Ninjins_Vehicle_Protection\ItemBase.c:3 |
MissionGameplay.OnInit |
T3 | yes | ✓ | Ninjins_Vehicle_Protection.pbo::scripts\5_Mission\Ninjins_Vehicle_Protection\NinjinsVehicleProtectionHost.c:130 |
MissionServer.OnInit |
T3 | yes | ✓ | Ninjins_Vehicle_Protection.pbo::scripts\5_Mission\Ninjins_Vehicle_Protection\NinjinsVehicleProtectionHost.c:49 |
MissionServer.NinjinsUpgraded_CoreReloadMainAndActions |
— | yes | ✓ | Ninjins_Vehicle_Protection.pbo::scripts\5_Mission\Ninjins_Vehicle_Protection\NinjinsVehicleProtectionHost.c:57 |
NinjinsUpgraded_AdminModRegHook.AppendPanelModules |
— | yes | ✓ | Ninjins_Vehicle_Protection.pbo::scripts\5_Mission\Ninjins_Vehicle_Protection\NinjinsVehicleProtectionHost.c:3 |
NinjinsUpgraded_AdminShell.OnAdminReopened |
— | yes | ✓ | Ninjins_Vehicle_Protection.pbo::scripts\5_Mission\Ninjins_Vehicle_Protection\NinjinsVehicleProtectionHost.c:37 |
NinjinsUpgraded_TransportZoneActorsHook.AddAliveTransportsToEngine |
— | yes | ✗ none | Ninjins_Vehicle_Protection.pbo::scripts\4_World\Ninjins_Vehicle_Protection\NinjinsVehicleProtectionWorld.c:868 |
NinjinsUpgraded_TransportZoneActorsHook.AfterZonesTick |
— | yes | ✗ none | Ninjins_Vehicle_Protection.pbo::scripts\4_World\Ninjins_Vehicle_Protection\NinjinsVehicleProtectionWorld.c:872 |
Dispatch surfaces and timers the grade prices
| surface | tier | rate (Hz) | rate source | ms/s |
|---|---|---|---|---|
BoatScript.EEInit | T3 | 0.1 | placeholder | 0.0000 |
BoatScript.EEDelete | T3 | 0.1 | placeholder | 0.0000 |
CarScript.EEInit | T3 | 0.1 | placeholder | 0.0000 |
CarScript.EEDelete | T3 | 0.1 | placeholder | 0.0000 |
MissionServer.OnInit | T3 | 0.1 | placeholder | 0.0000 |
Includes 0.000 ms/s from placeholder-rated surfaces.
Load-order constraints (CfgPatches)
What each PBO declares: its addon identity and the addons it requires to be loaded first (requiredAddons). A partial load-order signal from the mod's own metadata.
Ninjins_Vehicle_Protection.pbo
Ninjins_Vehicle_ProtectionrequiredVersion 0.1 — requiresDZ_Data,Ninjins_Core,Ninjins_PvP_PvE_Upgraded_Zones
census 1.1 · findings 1.1 · hash 64a89f726bfe1fc8