MagazineLoading
[РУ] ФУНКЦИОНАЛ Ящик и кейс предназначены для зарядки/разрядки патронов в магазин и распаковки коробок с патронами. ПЕРЕПАКОВКА Мод ЗАПРЕЩЕННО перепаковывать, монетизировать, брать за основу, и публиковывать заново без моего личного разрешения. ПОДДЕРЖКА Boosty Discord Server VK Мои моды Classmane | types: GitHub FUNCTIONAL The box and case are for loading/unloading cartridges into the magazine and unpacking… (more)
[РУ] ФУНКЦИОНАЛ Ящик и кейс предназначены для зарядки/разрядки патронов в магазин и распаковки коробок с патронами. ПЕРЕПАКОВКА Мод ЗАПРЕЩЕННО перепаковывать, монетизировать, брать за основу, и публиковывать заново без моего личного разрешения. ПОДДЕРЖКА Boosty Discord Server VK Мои моды Classmane | types: GitHub FUNCTIONAL The box and case are for loading/unloading cartridges into the magazine and unpacking cartridge boxes. REPAIR Mods may not be repackaged, monetized, taken as a basis, and republished without my personal permission. SUPPORT Boosty Discord Server VK My Mods
No file I/O on hot paths, no timers created per event, no per-player-per-frame hooks.
6 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.003 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; 12 others share it. Ranked list.
Event hooks carry 99.9% of this mod's structural load. 0.003 ms/s in all.
1 hook · 0.0032 ms/s
1 hook · 0.000002 ms/s
| Event hooksrun when something happens: an inventory move, a hit, an action | 1 hook | 0.0032 ms/s | 99.9% | Hel_MagazineLoading.EEItemAttached |
| Lifecycle hooksrun when an entity is created, loaded or deleted | 1 hook | 0.000002 ms/s | <0.1% | Hel_MagazineLoading.EEInit |
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.
OnExecuteServer
Only these classes are affected. Matters only if another mod in your stack patches the same classes.
6 classes
ActionMagazineLoading, ActionMagazineLoadingEmp, ActionMagazineLoadingHand, ActionMagazineLoadingHandEmp, ActionUnpackAmmoBox, ActionUnpackAmmoBoxHand6 locations
HelziMagazineLoading_SERVER.pbo::Scripts\4_World\Action\ActionMagazineLoading.c:3HelziMagazineLoading_SERVER.pbo::Scripts\4_World\Action\ActionMagazineLoadingEmp.c:3HelziMagazineLoading_SERVER.pbo::Scripts\4_World\Action\ActionMagazineLoadingHand.c:3HelziMagazineLoading_SERVER.pbo::Scripts\4_World\Action\ActionMagazineLoadingHandEmp.c:3HelziMagazineLoading_SERVER.pbo::Scripts\4_World\Action\ActionUnpackAmmoBox.c:3HelziMagazineLoading_SERVER.pbo::Scripts\4_World\Action\ActionUnpackAmmoBoxHand.c:3Where 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 10 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 |
|---|---|---|---|---|
ActionConstructor.RegisterActions |
— | yes | ✓ | HelziMagazineLoading_CLIENT.pbo::Scripts\4_World\ActionConstructor.c:3 |
ActionMagazineLoading.OnExecuteServer |
— | yes | ✗ none | HelziMagazineLoading_SERVER.pbo::Scripts\4_World\Action\ActionMagazineLoading.c:3 |
ActionMagazineLoadingEmp.OnExecuteServer |
— | yes | ✗ none | HelziMagazineLoading_SERVER.pbo::Scripts\4_World\Action\ActionMagazineLoadingEmp.c:3 |
ActionMagazineLoadingHand.OnExecuteServer |
— | yes | ✗ none | HelziMagazineLoading_SERVER.pbo::Scripts\4_World\Action\ActionMagazineLoadingHand.c:3 |
ActionMagazineLoadingHandEmp.OnExecuteServer |
— | yes | ✗ none | HelziMagazineLoading_SERVER.pbo::Scripts\4_World\Action\ActionMagazineLoadingHandEmp.c:3 |
ActionUnpackAmmoBox.OnExecuteServer |
— | yes | ✗ none | HelziMagazineLoading_SERVER.pbo::Scripts\4_World\Action\ActionUnpackAmmoBox.c:3 |
ActionUnpackAmmoBoxHand.OnExecuteServer |
— | yes | ✗ none | HelziMagazineLoading_SERVER.pbo::Scripts\4_World\Action\ActionUnpackAmmoBoxHand.c:3 |
Hel_MagazineLoading.EEInit |
T3 | yes | ✓ | HelziMagazineLoading_SERVER.pbo::Scripts\4_World\Classes\AmmoBox.c:480 |
Hel_MagazineLoading.EEItemAttached |
T2 | yes | ✓ | HelziMagazineLoading_SERVER.pbo::Scripts\4_World\Classes\AmmoBox.c:487 |
ModItemRegisterCallbacks.RegisterOneHanded |
— | yes | ✓ | HelziMagazineLoading_CLIENT.pbo::Scripts\4_World\ModItemRegisterCallbacks.c:3 |
Dispatch surfaces and timers the grade prices
| surface | tier | rate (Hz) | rate source | ms/s |
|---|---|---|---|---|
Hel_MagazineLoading.EEItemAttached | T2 | 130.0 | measured | 0.0032 |
Hel_MagazineLoading.EEInit | 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.
HelziMagazineLoading_CLIENT.pbo
HelziMagazineLoading_CLIENTrequiredVersion 0.1 — requiresDZ_Data,DZ_Scripts,DZ_Structures_Furniture,DZ_Gear_Containers,DZ_Weapons_Firearms,DZ_Weapons_Magazines,HelziMagazineLoading_DATAHelziMagazineLoading_CLIENT_BASErequiredVersion 0.1 — requiresDZ_Data,DZ_Structures_Furniture,DZ_Gear_Containers,DZ_Weapons_Firearms,DZ_Weapons_Magazines
HelziMagazineLoading_DATA.pbo
HelziMagazineLoading_DATArequiredVersion 0.1 — requiresDZ_Data,DZ_ScriptsHelziMagazineLoading_CLIENT_BASErequiredVersion 0.1 — requiresDZ_Data,DZ_Structures_Furniture,DZ_Gear_Containers,DZ_Weapons_Firearms,DZ_Weapons_Magazines
HelziMagazineLoading_SERVER.pbo
HelziMagazineLoading_SERVERrequiredVersion 0.1 — requiresHelziMagazineLoading_CLIENT
census 1.1 · findings 1.1 · hash b12a6092cfdf75e3