BaseRaidToolsV2
Added a config to control damage to tools A config will automatically be created within the RaidTools folder in your servers profile folder. You can change the values to anything between 0 and 1 The default settings are: { "FenceDam": 1, "LockDam": 1 } An updated version of my baseraidtools mod. This is an updated version for servers that run codelock. If you don't use that mod then you don't need to use this… (more)
Added a config to control damage to tools A config will automatically be created within the RaidTools folder in your servers profile folder. You can change the values to anything between 0 and 1 The default settings are: { "FenceDam": 1, "LockDam": 1 } An updated version of my baseraidtools mod. This is an updated version for servers that run codelock. If you don't use that mod then you don't need to use this version of the mod Limits tools that can destroy fences, gates and locks to the "Base Raid Hammer" and the "Base Raid Saw" Entries for types.xml are included in the mod folder Any questions or problems feel free to contact me here or on discord Square#1638 Discord Donations
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.001 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; 21 others share it. Ranked list.
Event hooks carry 99% of this mod's structural load. 0.001 ms/s in all.
7 hooks · 0.0014 ms/s
2 hooks · 0.000004 ms/s
| Event hooksrun when something happens: an inventory move, a hit, an action | 7 hooks | 0.0014 ms/s | 99% | FirefighterAxe.SetActions, Hacksaw.SetActions, HandSaw.SetActions and 4 more |
| Lifecycle hooksrun when an entity is created, loaded or deleted | 2 hooks | 0.000004 ms/s | 0.3% | MissionServer.InvokeOnConnect, MissionServer.OnInit |
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.
OnFinishProgressServer
Only these classes are affected. Matters only if another mod in your stack patches the same classes.
2 classes
ActionDestroyCombinationLock, ActionDestroyPart2 locations
BaseRaidTools2.pbo::Scripts\4_World\Classes\UserActionsComponent\Actions\Continuous\ActionDestroyCombinationLock.c:4BaseRaidTools2.pbo::Scripts\4_World\Classes\UserActionsComponent\Actions\Continuous\ActionDestroyPart.c:5Where 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
Checks answered without super() · 5 · warning
- FirefighterAxe.IsMeleeFinisher returns its own answer without consulting super.IsMeleeFinisher() — 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.
BaseRaidTools2.pbo::Scripts\4_World\Entities\Entities\Itembase\firefighteraxe.c:7 - Pickaxe.CanMakeGardenplot returns its own answer without consulting super.CanMakeGardenplot() — 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.
BaseRaidTools2.pbo::Scripts\4_World\Entities\Entities\Itembase\pickaxe.c:3 - Pickaxe.IsMeleeFinisher returns its own answer without consulting super.IsMeleeFinisher() — 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.
BaseRaidTools2.pbo::Scripts\4_World\Entities\Entities\Itembase\pickaxe.c:8 - SledgeHammer.IsMeleeFinisher returns its own answer without consulting super.IsMeleeFinisher() — 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.
BaseRaidTools2.pbo::Scripts\4_World\Entities\Entities\Itembase\sledgehammer.c:3 - WoodAxe.IsMeleeFinisher returns its own answer without consulting super.IsMeleeFinisher() — 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.
BaseRaidTools2.pbo::Scripts\4_World\Entities\Entities\Itembase\Gear\woodaxe.c:3
- FirefighterAxe.IsMeleeFinisher returns its own answer without consulting super.IsMeleeFinisher() — 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 17 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 |
|---|---|---|---|---|
ActionDestroyCombinationLock.OnFinishProgressServer |
— | yes | ✗ none | BaseRaidTools2.pbo::Scripts\4_World\Classes\UserActionsComponent\Actions\Continuous\ActionDestroyCombinationLock.c:4 |
ActionDestroyPart.OnFinishProgressServer |
— | yes | ✗ none | BaseRaidTools2.pbo::Scripts\4_World\Classes\UserActionsComponent\Actions\Continuous\ActionDestroyPart.c:5 |
DayZGame.DeferredInit |
— | yes | ✓ | BaseRaidTools2.pbo::Scripts\3_Game\DayZGame.c:3 |
FirefighterAxe.IsMeleeFinisher |
— | yes | ✗ none | BaseRaidTools2.pbo::Scripts\4_World\Entities\Entities\Itembase\firefighteraxe.c:7 |
FirefighterAxe.SetActions |
T2 | yes | ✓ | BaseRaidTools2.pbo::Scripts\4_World\Entities\Entities\Itembase\firefighteraxe.c:12 |
Hacksaw.SetActions |
T2 | yes | ✓ | BaseRaidTools2.pbo::Scripts\4_World\Entities\Entities\Itembase\hacksaw.c:3 |
HandSaw.SetActions |
T2 | yes | ✓ | BaseRaidTools2.pbo::Scripts\4_World\Entities\Entities\Itembase\Gear\tools\handsaw.c:3 |
Hatchet.SetActions |
T2 | yes | ✓ | BaseRaidTools2.pbo::Scripts\4_World\Entities\Entities\Itembase\hatchet.c:3 |
MissionServer.OnInit |
T3 | yes | ✓ | BaseRaidTools2.pbo::Scripts\5_Mission\Mission\MissionServer.c:3 |
MissionServer.InvokeOnConnect |
T3 | yes | ✓ | BaseRaidTools2.pbo::Scripts\5_Mission\Mission\MissionServer.c:9 |
Pickaxe.CanMakeGardenplot |
— | yes | ✗ none | BaseRaidTools2.pbo::Scripts\4_World\Entities\Entities\Itembase\pickaxe.c:3 |
Pickaxe.IsMeleeFinisher |
— | yes | ✗ none | BaseRaidTools2.pbo::Scripts\4_World\Entities\Entities\Itembase\pickaxe.c:8 |
Pickaxe.SetActions |
T2 | yes | ✓ | BaseRaidTools2.pbo::Scripts\4_World\Entities\Entities\Itembase\pickaxe.c:13 |
SledgeHammer.IsMeleeFinisher |
— | yes | ✗ none | BaseRaidTools2.pbo::Scripts\4_World\Entities\Entities\Itembase\sledgehammer.c:3 |
SledgeHammer.SetActions |
T2 | yes | ✓ | BaseRaidTools2.pbo::Scripts\4_World\Entities\Entities\Itembase\sledgehammer.c:8 |
WoodAxe.IsMeleeFinisher |
— | yes | ✗ none | BaseRaidTools2.pbo::Scripts\4_World\Entities\Entities\Itembase\Gear\woodaxe.c:3 |
WoodAxe.SetActions |
T2 | yes | ✓ | BaseRaidTools2.pbo::Scripts\4_World\Entities\Entities\Itembase\Gear\woodaxe.c:8 |
Dispatch surfaces and timers the grade prices
| surface | tier | rate (Hz) | rate source | ms/s |
|---|---|---|---|---|
FirefighterAxe.SetActions | T2 | 8.0 | placeholder | 0.0002 |
HandSaw.SetActions | T2 | 8.0 | placeholder | 0.0002 |
WoodAxe.SetActions | T2 | 8.0 | placeholder | 0.0002 |
Hacksaw.SetActions | T2 | 8.0 | placeholder | 0.0002 |
Hatchet.SetActions | T2 | 8.0 | placeholder | 0.0002 |
Pickaxe.SetActions | T2 | 8.0 | placeholder | 0.0002 |
SledgeHammer.SetActions | T2 | 8.0 | placeholder | 0.0002 |
MissionServer.OnInit | T3 | 0.1 | placeholder | 0.0000 |
MissionServer.InvokeOnConnect | T3 | 0.1 | placeholder | 0.0000 |
Includes 0.001 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.
BaseRaidTools2.pbo
BaseRaidToolsrequiredVersion 0.1 — requiresDZ_Weapons_Melee,DZ_Gear_Tools
census 1.1 · findings 1.1 · hash 3fad30dcb2b668a4