← modperf · analyzed mods

JunkYardDog

**UPDATE** Removed 'temp fix' for BIs messup with 1.18.. all works properly now. Changed to vanilla notication system when finding stuff. TODO (COMING SOON!): Add custom wrecks, including boats and air crafts. --------------------------------------------------- Adds the ability to salvage parts (using a wrench) and fuel from wrecks on the map, can also siphon fuel from active cars. Some fuel is lost when siphoning.… (more)

**UPDATE** Removed 'temp fix' for BIs messup with 1.18.. all works properly now. Changed to vanilla notication system when finding stuff. TODO (COMING SOON!): Add custom wrecks, including boats and air crafts. --------------------------------------------------- Adds the ability to salvage parts (using a wrench) and fuel from wrecks on the map, can also siphon fuel from active cars. Some fuel is lost when siphoning. Adds the ability to refill containers at the Medium fuel tanks with ladders, and as a side not, take caution as they also explode with more force than the fuel pumps. FIXED: no longer able to refill containers at ruined pumps. PRO TIP: Its is advisable to bring two containers with you when siphoning fuel, you can not siphon into a container that already has liquid in it. You will need to empty the container or pour liquid into a larger container to save it. Be careful not to swallow any fuel and make sure to wear gloves when salvaging parts, you don't want to get busted knuckles. Currently this is for Both vanilla maps UPDATED: for DeerIsle ALL MAPS! Please report any issues you find! TODO: -Make universal for all maps. -Add server config settings for parts array Other Mods: NoMuffle -Removes muffled voice from helemts and gas masks VendingSearch -Adds ability to search vending machines for drinks CREDITS: MostachoGG - intellectual input and testing Playdachi - intellectual input and scripting WIP This is a work in progress, please report any bugs. Thank you! USAGE & TERMS: - You may not repack or publish this mod on any platform including Steam. PERMISSION IS NOT GRANTED FOR THIS MOD TO BE INCLUDED IN A "SERVER PACK" or "MOD PACK". Use a Collection if you want to include this mod on your server for your users. Copyright © 2020 Zedmag Please consider donating, Thank you!

Workshop 2048694610 · mod updated 2022-09-14 · analyzed 2026-10-03 09:18 UTC · history · 12 script files

EnvironmentMechanicsVehicle Workshop tags, chosen by the author

Stall risks
None found

No file I/O on hot paths, no timers created per event, no per-player-per-frame hooks.

Compatibility
1 by design

1 chain break, all on specific classes the mod replaces wholesale — matters only if another mod patches the same classes.

Structural footprint 1.1
A
1 by design
Heavier than 58% of 328 scripted mods analyzed.

0.00254% of each server frame at 100 players (0.025 ms/s). Counts hook dispatch and timers only, not what the hooks do inside. Methodology.

Where this mod sits

Structural load of the 328 scripted mods analyzed, lightest on the left. This mod's bar is lit; 17 others share it. Ranked list.

20
40
60
  • 24 mods
    0.0000022 to 0.0000046 ms/s · grade A
  • 7 mods
    0.0000046 to 0.00001 ms/s · grade A
  • 1 mod
    0.00001 to 0.000022 ms/s · grade A
  • 1 mod
    0.000022 to 0.000046 ms/s · grade A
  • 37 mods
    0.0001 to 0.00022 ms/s · grade A
  • 26 mods
    0.00022 to 0.00046 ms/s · grade A
  • 33 mods
    0.00046 to 0.001 ms/s · grade A
  • 22 mods
    0.001 to 0.0022 ms/s · grade A
  • 13 mods
    0.0022 to 0.0046 ms/s · grade A
  • 10 mods
    0.0046 to 0.01 ms/s · grade A
  • 5 mods
    0.01 to 0.022 ms/s · grade A
  • This mod
  • 17 mods
    0.046 to 0.1 ms/s · grade A
  • 41 mods
    0.1 to 0.22 ms/s · grade A
  • 26 mods
    0.22 to 0.46 ms/s · grade A
  • 28 mods
    0.46 to 1 ms/s · grade A
  • 8 mods
    1 to 2.2 ms/s · grade A to B
  • 10 mods
    2.2 to 4.6 ms/s · grade B
  • 1 mod
    4.6 to 10 ms/s · grade B to C
A316
B11
C1
D0
E0
ms/s, log scale: each labelled step is ten times the one before. Letter grade and mods holding it below the axis.
Where the load comes from

Every-frame hooks carry 98% of this mod's structural load. 0.025 ms/s in all.

98%Every-frame hooks · 98%
1 hook · 0.025 ms/s
Event hooks · 2.3%
3 hooks · 0.00059 ms/s
Lifecycle hooks · <0.1%
4 hooks · 0.000008 ms/s
Every-frame hooksrun every server frame 1 hook 0.025 ms/s 98% MissionServer.OnUpdate
Event hooksrun when something happens: an inventory move, a hit, an action 3 hooks 0.00059 ms/s 2.3% ActionFillBottleBase.ActionCondition, Bottle_Base.SetActions, Wrench.SetActions
Lifecycle hooksrun when an entity is created, loaded or deleted 4 hooks 0.000008 ms/s <0.1% Bottle_Base.EEKilled, Land_FuelStation_Feed.EEKilled, MissionBaseWorld.OnInit 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.

Chain breaks, by consequence

1 override 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.

By design
Leaf class · Land_FuelStation_Feed
Land_FuelStation_Feed replaced on 1 method · 1 override

OnExplosionEffects

Only this class is affected. Matters only if another mod in your stack patches the same class.

1 classLand_FuelStation_Feed
1 locationJunkYardDogV4.pbo::scripts\4_World\JunkYardScriptClass.c:59

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.

OnUpdate on MissionServer
every server frame
no I/O, timers or RPC
SetActions × 2 classes
per event
no I/O, timers or RPC
ActionCondition on ActionFillBottleBase
per event
no I/O, timers or RPC super() on some paths

Other findings

What this report can tell you

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.

What it cannot

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 12 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.

methodsurfaceserversuper()where
ActionConstructor.RegisterActions — yes ✓ JunkYardDogV4.pbo::scripts\4_World\ActionConstructor.c:13
ActionFillBottleBase.ActionCondition T2 yes conditional JunkYardDogV4.pbo::scripts\4_World\FillBottleOverride.c:4
Bottle_Base.EEKilled T3 yes ✓ JunkYardDogV4.pbo::scripts\4_World\JunkYardScriptClass.c:4
Bottle_Base.OnExplosionEffects — yes ✓ JunkYardDogV4.pbo::scripts\4_World\JunkYardScriptClass.c:15
Bottle_Base.SetActions T2 yes ✓ JunkYardDogV4.pbo::scripts\4_World\ActionTools.c:6
Land_FuelStation_Feed.IsFuelStation — yes ✗ none JunkYardDogV4.pbo::scripts\4_World\JunkYardScriptClass.c:38
Land_FuelStation_Feed.EEKilled T3 yes ✓ JunkYardDogV4.pbo::scripts\4_World\JunkYardScriptClass.c:50
Land_FuelStation_Feed.OnExplosionEffects — yes ✗ none JunkYardDogV4.pbo::scripts\4_World\JunkYardScriptClass.c:59
MissionBaseWorld.OnInit T3 yes ✓ ServerConfig_JD.pbo::scripts\4_World\ConfigWrite.c:69
MissionServer.OnInit T3 yes ✓ ServerConfig_JD.pbo::scripts\5_Mission\MissionTest.c:4
MissionServer.OnUpdate T0 yes ✓ ServerConfig_JD.pbo::scripts\5_Mission\MissionTest.c:13
Wrench.SetActions T2 yes ✓ JunkYardDogV4.pbo::scripts\4_World\ActionTools.c:19
Dispatch surfaces and timers the grade prices
surfacetierrate (Hz)rate sourcems/s
MissionServer.OnUpdateT0 1000.0measured0.0248
ActionFillBottleBase.ActionConditionT2 8.0placeholder0.0002
Bottle_Base.SetActionsT2 8.0placeholder0.0002
Wrench.SetActionsT2 8.0placeholder0.0002
Bottle_Base.EEKilledT3 0.1placeholder0.0000
Land_FuelStation_Feed.EEKilledT3 0.1placeholder0.0000
MissionBaseWorld.OnInitT3 0.1placeholder0.0000
MissionServer.OnInitT3 0.1placeholder0.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.

JunkYardDogV4.pbo

  • JunkYardDogV4 — requires DZ_Data, DZ_Structures_Wrecks

ServerConfig_JD.pbo

  • ServerConfig_JD — requires DZ_Data, JunkYardDogV4

census 1.1 · findings 1.1 · hash 3cb48fdabba0dea8