BaseBuildingPlus 1.30 EXP Fix
ZMG BBP 1.30 Fix Fixes two compile errors in BaseBuildingPlus on DayZ 1.30 Experimental: "Unexpected statement 'ref'" – As of DayZ 1.30, Enforce Script no longer allows "ref" before local variables "Undefined function 'CombinationLock.UnlockServer'" – Vanilla DayZ replaced UnlockServer() with UnlockOnServer() Important: This is a compatibility-only mod. When loaded, this mod only overrides the affected script files.… (more)
ZMG BBP 1.30 Fix Fixes two compile errors in BaseBuildingPlus on DayZ 1.30 Experimental: "Unexpected statement 'ref'" – As of DayZ 1.30, Enforce Script no longer allows "ref" before local variables "Undefined function 'CombinationLock.UnlockServer'" – Vanilla DayZ replaced UnlockServer() with UnlockOnServer() Important: This is a compatibility-only mod. When loaded, this mod only overrides the affected script files. Free to use – Repack, give thumbs up!
No file I/O on hot paths, no timers created per event, no per-player-per-frame hooks.
3 chain breaks on base classes or persisted data. 3 more are whole-class replacements of specific classes.
0.0165% of each server frame at 100 players (0.165 ms/s). Counts hook dispatch and timers only, not what the hooks do inside. Methodology.
Structural load of the 328 scripted mods analyzed, lightest on the left. This mod's bar is lit; 40 others share it. Ranked list.
Repeating timers carry 99.8% of this mod's structural load. 0.165 ms/s in all.
2 hooks · 0.0004 ms/s
2 hooks · 0.000004 ms/s
1 timer · 0.16 ms/s
| Event hooksrun when something happens: an inventory move, a hit, an action | 2 hooks | 0.0004 ms/s | 0.2% | ActionBuildPart.ActionCondition, ActionDialCombinationLockOnTarget.ActionCondition |
| Lifecycle hooksrun when an entity is created, loaded or deleted | 2 hooks | 0.000004 ms/s | <0.1% | MissionServer.InvokeOnConnect, MissionServer.OnInit |
| Repeating timersstay in the timer queue, which is walked every frame | 1 timer | 0.16 ms/s | 99.8% | every frame |
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
6 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.
Construction.DropNonUsableMaterialsServer
Vanilla stops dropping leftovers — expected when a mod replaces building wholesale.
What it is for: Vanilla base-building: drops leftover materials when a part is built/dismantled.
ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Construction.c:72Hologram.AddProjectionRotation
Vanilla rotation handling is replaced — expected for placement-system overhauls.
What it is for: Vanilla placement hologram rotation input.
ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Hologram.c:769Hologram.SubtractProjectionRotation
Vanilla rotation handling is replaced — expected for placement-system overhauls.
What it is for: Vanilla placement hologram rotation input.
ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Hologram.c:809CreateActionComponent
Only this class is affected. Matters only if another mod in your stack patches the same class.
1 class
ActionBuildPartCB1 location
ZMG_BBP_130Fix.pbo::scripts\4_World\actions\vanilla\ActionBuildPart.c:3OnFinishProgressServer
Only this class is affected. Matters only if another mod in your stack patches the same class.
1 class
ActionDialCombinationLockOnTarget1 location
ZMG_BBP_130Fix.pbo::scripts\4_World\actions\vanilla\ActionDialCombinationLockOnTarget.c:21SpawnConstructionMaterialPiles
Only this class is affected. Matters only if another mod in your stack patches the same class.
1 class
StaticConstructionMethods1 location
ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Construction.c:189Where this mod runs often
Hooks on per-frame and high-rate surfaces, with what their bodies call. Body work, not the hook itself, is what costs frame time.
Other findings
super() only on some paths · 10 · warning
- ActionBuildPart.OnActionInfoUpdate calls super.OnActionInfoUpdate() only on some paths — on the others the chain below this mod is dropped.
ZMG_BBP_130Fix.pbo::scripts\4_World\actions\vanilla\ActionBuildPart.c:37 - ActionBuildPart.OnFinishProgressServer calls super.OnFinishProgressServer() only on some paths — on the others the chain below this mod is dropped.
ZMG_BBP_130Fix.pbo::scripts\4_World\actions\vanilla\ActionBuildPart.c:100 - ActionDialCombinationLockOnTarget.ActionCondition returns true without consulting super.ActionCondition() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
ZMG_BBP_130Fix.pbo::scripts\4_World\actions\vanilla\ActionDialCombinationLockOnTarget.c:3 - Construction.CanBuildPart returns true without consulting super.CanBuildPart() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Construction.c:3 - Hologram.AlignProjectionOnTerrain calls super.AlignProjectionOnTerrain() only on some paths — on the others the chain below this mod is dropped.
ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Hologram.c:956 - Hologram.EvaluateCollision calls super.EvaluateCollision() only on some paths — on the others the chain below this mod is dropped.
ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Hologram.c:204 - Hologram.GetProjectionEntityPosition calls super.GetProjectionEntityPosition() only on some paths — on the others the chain below this mod is dropped.
ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Hologram.c:7 - Hologram.ProjectionBasedOnParent calls super.ProjectionBasedOnParent() only on some paths — on the others the chain below this mod is dropped.
ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Hologram.c:194 - Hologram.SetProjectionOrientation calls super.SetProjectionOrientation() only on some paths — on the others the chain below this mod is dropped.
ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Hologram.c:707 - ActionBuildPart.ActionCondition vetoes early (returns false) on some paths and defers to super.ActionCondition() otherwise — composes safely with vanilla's and earlier mods' conditions.
ZMG_BBP_130Fix.pbo::scripts\4_World\actions\vanilla\ActionBuildPart.c:59
- ActionBuildPart.OnActionInfoUpdate calls super.OnActionInfoUpdate() only on some paths — on the others the chain below this mod is dropped.
Checks answered without super() · 2 · warning
- Construction.IsColliding returns its own answer without consulting super.IsColliding() — vanilla's conditions on this check, and those of every earlier-loaded mod, no longer apply. Intended when a mod owns the rule outright; otherwise it is how another mod's restriction quietly stops working.
ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Construction.c:62 - Construction.IsCollidingEx returns its own answer without consulting super.IsCollidingEx() — vanilla's conditions on this check, and those of every earlier-loaded mod, no longer apply. Intended when a mod owns the rule outright; otherwise it is how another mod's restriction quietly stops working.
ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Construction.c:67
- Construction.IsColliding returns its own answer without consulting super.IsColliding() — vanilla's conditions on this check, and those of every earlier-loaded mod, no longer apply. Intended when a mod owns the rule outright; otherwise it is how another mod's restriction quietly stops working.
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 26 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 |
|---|---|---|---|---|
ActionBuildPart.OnActionInfoUpdate |
— | yes | conditional | ZMG_BBP_130Fix.pbo::scripts\4_World\actions\vanilla\ActionBuildPart.c:37 |
ActionBuildPart.ActionCondition |
T2 | yes | conditional | ZMG_BBP_130Fix.pbo::scripts\4_World\actions\vanilla\ActionBuildPart.c:59 |
ActionBuildPart.OnFinishProgressServer |
— | yes | conditional | ZMG_BBP_130Fix.pbo::scripts\4_World\actions\vanilla\ActionBuildPart.c:100 |
ActionBuildPart.GetAdminLogMessage |
— | yes | ✗ none | ZMG_BBP_130Fix.pbo::scripts\4_World\actions\vanilla\ActionBuildPart.c:167 |
ActionBuildPartCB.CreateActionComponent |
— | yes | ✗ none | ZMG_BBP_130Fix.pbo::scripts\4_World\actions\vanilla\ActionBuildPart.c:3 |
ActionDialCombinationLockOnTarget.ActionCondition |
T2 | yes | conditional | ZMG_BBP_130Fix.pbo::scripts\4_World\actions\vanilla\ActionDialCombinationLockOnTarget.c:3 |
ActionDialCombinationLockOnTarget.OnFinishProgressServer |
— | yes | ✗ none | ZMG_BBP_130Fix.pbo::scripts\4_World\actions\vanilla\ActionDialCombinationLockOnTarget.c:21 |
Construction.CanBuildPart |
— | yes | conditional | ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Construction.c:3 |
Construction.IsColliding |
— | yes | ✗ none | ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Construction.c:62 |
Construction.IsCollidingEx |
— | yes | ✗ none | ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Construction.c:67 |
Construction.DropNonUsableMaterialsServer |
— | yes | ✗ none | ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Construction.c:72 |
Hologram.GetProjectionEntityPosition |
— | yes | conditional | ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Hologram.c:7 |
Hologram.ProjectionBasedOnParent |
— | yes | conditional | ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Hologram.c:194 |
Hologram.EvaluateCollision |
— | yes | conditional | ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Hologram.c:204 |
Hologram.SetProjectionOrientation |
— | yes | conditional | ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Hologram.c:707 |
Hologram.GetProjectionRotation |
— | yes | ✓ | ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Hologram.c:749 |
Hologram.AddProjectionRotation |
— | yes | ✓ | ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Hologram.c:754 |
Hologram.SubtractProjectionRotation |
— | yes | ✓ | ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Hologram.c:758 |
Hologram.GetProjectionRotation |
— | yes | ✗ none | ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Hologram.c:764 |
Hologram.AddProjectionRotation |
— | yes | ✗ none | ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Hologram.c:769 |
Hologram.SubtractProjectionRotation |
— | yes | ✗ none | ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Hologram.c:809 |
Hologram.IsFloating |
— | yes | ✓ | ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Hologram.c:849 |
Hologram.AlignProjectionOnTerrain |
— | yes | conditional | ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Hologram.c:956 |
MissionServer.InvokeOnConnect |
T3 | yes | ✓ | ZMG_BBP_130Fix.pbo::scripts\5_Mission\mission\missionServer.c:24 |
MissionServer.OnInit |
T3 | yes | ✓ | ZMG_BBP_130Fix.pbo::scripts\5_Mission\mission\missionServer.c:32 |
StaticConstructionMethods.SpawnConstructionMaterialPiles |
— | yes | ✗ none | ZMG_BBP_130Fix.pbo::scripts\4_World\overrides\Construction.c:189 |
Dispatch surfaces and timers the grade prices
| surface | tier | rate (Hz) | rate source | ms/s |
|---|---|---|---|---|
ActionBuildPart.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
ActionDialCombinationLockOnTarget.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
MissionServer.InvokeOnConnect | T3 | 0.1 | placeholder | 0.0000 |
MissionServer.OnInit | T3 | 0.1 | placeholder | 0.0000 |
Repeating timers
| period (ms) | residency ms/s | firing ms/s | where |
|---|---|---|---|
| 0 | 0.1400 | 0.024800 | ZMG_BBP_130Fix.pbo::scripts\4_World\items\BBP_BASE.c:1113 |
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.
ZMG_BBP_130Fix.pbo
ZMG_BBP_130FixrequiredVersion 0.1 — requiresBaseBuildingPlus
census 1.1 · findings 1.1 · hash 0bbe68970cd387d8