dbo_slots
No repacking or uploading is allowed to preserve the continuity of development of this addon Author : Deanosbeano What is it : This addon allows for myself and others to reduce the need for repetitive recoding and repeat coding of attachable items to the vehicles Cfgvehicles /scropts and cfgnonaivehicle elemnts of the addons . What ebefit and how do i utilise ir : this addon allows you to make a vehicle and use the… (more)
No repacking or uploading is allowed to preserve the continuity of development of this addon Author : Deanosbeano What is it : This addon allows for myself and others to reduce the need for repetitive recoding and repeat coding of attachable items to the vehicles Cfgvehicles /scropts and cfgnonaivehicle elemnts of the addons . What ebefit and how do i utilise ir : this addon allows you to make a vehicle and use the attahcments below without having to repeaat the cfgslots, cfg vehicle and cfgnonaivehicle elements , you only need to add the porxy and components in the model and bones to the model.cfg where applicable . i will develop in a manner that both suiots my own vehcile and any requested slots by other addon makers i feel are benefical to both parties and the community Have fun and pls visit my Discord fior further feedback so far i am using the popular "CanisterGasoline","CanisterGasoline_1", <<<<New 21/6/20>>>>> "55galDrum_1", "sea_chest" "woodencrate_1", "55galDrum_2", "sea_chest_1" "woodencrate_2", "55galDrum_3", "sea_chest_2" "woodencrate_3", "55galDrum_4", "sea_chest_3 " "woodencrate_4", "sea_chest_4" Cheers Credits to Gerhelius and Nehr their work to has also help trim my code for easier formatting . DBO UPDATES 2024 1.24 Fix added array + withhelp from nikosensei this was required due to copy and pasta brigae adding canister etc to every ingle config and car LUL Feedback on Discord PleZ https://discord.gg/vSDP3qz
No file I/O on hot paths, no timers created per event, no per-player-per-frame hooks.
Every server-visible override preserves its chain.
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; 32 others share it. Ranked list.
Event hooks carry 99.8% of this mod's structural load. 0.001 ms/s in all.
4 hooks · 0.00079 ms/s
| Event hooksrun when something happens: an inventory move, a hit, an action | 4 hooks | 0.00079 ms/s | 99.8% | Barrel_ColorBase.SetActions, CanisterGasoline.SetActions, SeaChest.SetActions and 1 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.
Where 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.
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 4 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 |
|---|---|---|---|---|
Barrel_ColorBase.SetActions |
T2 | yes | ✓ | dbo_slots.pbo::scripts\4_world\entities\core\inherited\inventoryitem.c:23 |
CanisterGasoline.SetActions |
T2 | yes | ✓ | dbo_slots.pbo::scripts\4_world\entities\core\inherited\inventoryitem.c:3 |
SeaChest.SetActions |
T2 | yes | ✓ | dbo_slots.pbo::scripts\4_world\entities\core\inherited\inventoryitem.c:13 |
WoodenCrate.SetActions |
T2 | yes | ✓ | dbo_slots.pbo::scripts\4_world\entities\core\inherited\inventoryitem.c:36 |
Dispatch surfaces and timers the grade prices
| surface | tier | rate (Hz) | rate source | ms/s |
|---|---|---|---|---|
CanisterGasoline.SetActions | T2 | 8.0 | placeholder | 0.0002 |
SeaChest.SetActions | T2 | 8.0 | placeholder | 0.0002 |
Barrel_ColorBase.SetActions | T2 | 8.0 | placeholder | 0.0002 |
WoodenCrate.SetActions | T2 | 8.0 | placeholder | 0.0002 |
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.
dbo_slots.pbo
dbo_slotsrequiredVersion 0.1 — requiresDZ_Scripts,DZ_Data,DZ_Gear_Containers,DZ_Sounds_Effects,DZ_Vehicles_Wheeled,DZ_Vehicles_Partsdbo_slotsrequiredVersion 0.1 — requiresDZ_Scripts,DZ_Data,DZ_Gear_Containers,DZ_Sounds_Effects,DZ_Vehicles_Wheeled,DZ_Vehicles_Parts
census 1.1 · findings 1.1 · hash ff3e124a80a866af