On this page
Frenzy Fire: the feature checklist
Frenzy Fire is a Battlefield Heroes ability, Gunner. This page is its checklist from the project's feature ledger: every step of the original's code behind it and every situation it must work in, each with the proof that stands for it, or none. The ledger's status today: 6 of 58 lines checked.
Situations: 1 of 16 checked for what the game does, 1 of 16 for what a player sees. The original's code: 4 of 26 checked (18 functions and 8 inner calls). By the ledger's rule this feature is not called done, fixed or the same as the original. The ledger was written on 2026-11-28 11:55.
Every line has a kind: W, what the game does with nothing to see (a number, a speed, a refusal), or S, what a player sees or hears. A W line is checked by a test written from the original's code or by a play with a recorded pass; an S line only by a recorded play whose pixels an assert reads, or that a person looked at and wrote so. A scenario that merely exists, a test that merely calls the Rust function and a read of the listing are not checks. All feature checklists explains the rule.
What it is for a player#
4 / 5 / 6 / 7 / 8 health back on every fourth hit, accuracy +10 to +50 %, for 10 s; ready again after 23 / 20 / 17 / 14 / 10 s (Gunner)
That is this wiki's own line about it, taken at build time from the page that tells it.
| the name a player knows | Frenzy Fire |
| kind | ability, Gunner |
| in the game's data | Frenzy_BRI_MG_Lewis / Frenzy_GER_MG_MG40, levels 1 to 5 (2055 to 2064) |
| what it acts on (the ledger's tags) | targets-enemies |
| its row in the sweeps | notes/bfheroes/ability_sweep.md, the row Frenzy Fire; notes/bfheroes/abilities_table.md rows G2-L1 to G2-L5 |
The original's entry functions#
Where the original starts doing it (BFHeroes.exe 1.126). The code behind the feature is everything these reach.
| Address | What it is, in the ledger's words | Followed |
|---|---|---|
0x0052e974 | the damage call, a shared step of every hit: this feature's part is its first block (lines 79 to 111): the health back on the first hit and then on every hits-th | as a part: its calls are not followed |
0x006f1749 | the countdown's test | whole |
0x006e6634 | the countdown's step: the health on the first hit and on every hits-th | whole |
The situations#
Every situation the ledger's matrix names for a feature of this kind, with its two lines side by side. "Has a scenario, no recorded pass" and "passed on a branch not landed" are the ledger's words for a play that is not a check yet.
| Situation | What the game does (W) | What a player sees (S) | Note |
|---|---|---|---|
| used on foot | checked: play with a recorded pass, pixels read (scenario bfh_r0105_frenzy_wall (PASS in run 20261126_080138_fw2k on 4470d60)) | checked: play with a recorded pass, pixels read (scenario bfh_r0105_frenzy_wall (PASS in run 20261126_080138_fw2k on 4470d60)) | |
| used at the wheel of a vehicle | open: not checked | open: not checked | |
| used from a passenger's or a gunner's seat | open: has a scenario, no recorded pass (scenario bfh_r0105_seat_keys_gunner (no recorded result)) | open: has a scenario, no recorded pass (scenario bfh_r0105_seat_keys_gunner (no recorded result)) | played by state: no screenshot is read |
| enemy sitting in a vehicle | open: not checked | open: not checked | |
| the user dies while it runs | open: not checked | open: not checked | |
| after the user respawns | open: not checked | open: not checked | |
| the round ends while it runs, and the next round starts clean | open: not checked | open: not checked | |
| the map changes while it runs | open: not checked | open: not checked | |
| a player who joins while it runs sees it | open: not checked | open: not checked | |
| watching a team mate who uses it (after dying, or as a spectator) | open: not checked | open: not checked | |
| team mates against enemies (who gets it and who does not) | open: not checked | open: not checked | |
| in water (swimming) | open: not checked | open: not checked | |
| on a ladder | open: not checked | open: not checked | |
| while another effect runs on the same hero | open: not checked | open: not checked | |
| the effect on a target or user in a vehicle seat is drawn on the vehicle | open: not checked | open: not checked | |
| triggered in a round's last seconds, the next round | open: not checked | open: not checked |
Recorded plays#
4 more scenarios the ledger names have no row in the records file: bfh_r0105_frenzy_fire, bfh_r0105_frenzy_wall, bfh_frenzy_fire_levels, bfh_r0105_seat_keys_gunner.
A recorded pass on a commit that is not in the tree's history counts, in the ledger's words, as "passed on a branch not landed", and is not a check. A run is named by its folder's name; the runs themselves are not published, so a row links to nothing. The ledger also reads run folders that this file does not hold; the tables above carry its verdicts.
The code behind it#
61 functions of the original reachable from the entries, as the ledger's tool walked them: each with its kind, the port's place, the proof that stands for it and that proof's kind. "Checked" is the ledger's tick; a row that is no line of the checklist (library code, shared engine code that is tested in its own game) says so.
| The original's function | Kind | Reached | Ours | Proof | Its kind | Checked |
|---|---|---|---|---|---|---|
0x0052e974 ServerGameLogic::giveDamage | S | entry, depth 0 | crates/bf2-client/src/vehicles.rs:375 (fn view) | crates/bf2-server/src/titan_parts.rs:1147 (fn damage_point_on_destroy_gate), crates/bf2-server/tests/reset_cool_downs_heroes.rs:38 (fn heroes_a_hit_before_the_struck_heros_first_input_answers_the_hit_byte_and_takes_nothing) | test from the original's code | yes: PART: entered without its calls (expand = false) |
0x006f1749 Player::vslot359 | W | entry, depth 0 | crates/bf2-server/src/health_steal_heroes.rs:72 (fn has) | crates/bf2-server/tests/weapons_record_heroes.rs:1233 (fn frenzy_fire_steals_health_on_every_fourth_enemy_hit_and_carries_its_deviation_in_heroes), crates/bfh-game/tests/uncalled_bfh126.rs:1831 (fn player_slot_359_hands_the_list_0_arm_on_while_both_floats_are_above_zero) | test from the original's code | yes |
0x006e6634 Player::vslot358 | W | entry, depth 0 | crates/bfh-game/src/uncalled.rs:58 (fn step) | crates/bfh-game/tests/uncalled_bfh126.rs:35 (fn the_countdown_answers_its_value_when_the_count_runs_out) | test from the original's code | yes |
0x006fa1d0 FUN_006fa1d0 | W | 0x006f1749, depth 1 | not ported | none | open: hub (50 callers): not expanded | |
0x006fa237 FUN_006fa237 | W | 0x006f1749, depth 1 | crates/bfh-game/src/abilities/dot.rs:79 (struct DamageRecord) | scenario bfh_client_browser_seated_widget_sound (no recorded result) | has a scenario, no recorded pass | open |
0x009f08fe __EH_prolog3_GS | W | 0x006f1749, depth 1 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x009f0981 FUN_009f0981 | W | 0x006f1749, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x006e8894 Player::vslot21 | S | 0x006f1749 vt+0x54, depth 1 | crates/bfh-client/src/outline.rs:35 (struct OutlinePlayer) | scenario bfh_r0105_sixth_sense_seated_mate (no recorded result) | has a scenario, no recorded pass | open |
0x006f28aa Player::vslot310 | W | 0x006f1749 vt+0x4d8, depth 1 | crates/bf2-server/src/abilities_heroes.rs:3257 (fn on_soldier_damage) | crates/bf2-server/src/abilities_heroes.rs:4712 (fn the_record_asks_each_lists_current_item_with_its_own_active_byte), crates/bfh-game/src/abilities/tests.rs:558 (fn increase_damage_ability_bonus_on_its_weapon) | test from the original's code | yes |
0x00414b22 FUN_00414b22 | W | 0x006fa237, depth 2 | STL container code, UNREAD: it calls a body that holds a Dinkumware error string and no one has read it (a row of parity_stl_unread.tsv, H7762) | not a line | ||
0x006f7633 FUN_006f7633 | W | 0x006fa237, depth 2 | STL container code, READ: a container's own member by its listing; it calls a body that holds a Dinkumware error string (a stl-read: row of parity_denominator.yaml, H7762) | not a line | ||
0x006f767a FUN_006f767a | W | 0x006fa237, depth 2 | STL container code, READ: a container's own member by its listing; it calls a body that holds a Dinkumware error string (a stl-read: row of parity_denominator.yaml, H7762) | not a line | ||
0x009f0895 __EH_prolog3 | W | 0x006fa237, depth 2 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x009f096d __EH_epilog3 | W | 0x006fa237, depth 2 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x004b3cf5 FUN_004b3cf5 | W | 0x006e8894, depth 2 | engine utility (>= 100 call sites) | not a line | ||
0x004073ce ~animationSystem::setCameraSpring.amplitude | W | 0x006f28aa, depth 2 | engine utility (>= 100 call sites) | not a line | ||
0x00417c38 FUN_00417c38 | W | 0x006f28aa, depth 2 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x00418f17 FUN_00418f17 | W | 0x006f28aa, depth 2 | not ported | none | open: hub (66 callers): not expanded | |
0x0049d641 FUN_0049d641 | S | 0x006f28aa, depth 2 | crates/bf2-client/src/fx/collision.rs:121 (fn ground_hit_distance) | crates/bf2-client/src/fx/mod.rs:4541 (fn heroes_speed_inherit_order) | not a line: hub (301 callers): not expanded | |
0x006f9bde FUN_006f9bde | W | 0x006f28aa, depth 2 | crates/bfh-game/src/abilities/mod.rs:620 (struct WeaponBonus) | scenario bfh_client_browser_seated_widget_sound (no recorded result) | has a scenario, no recorded pass | open |
Show all 61 functions (the other 41)
| The original's function | Kind | Reached | Ours | Proof | Its kind | Checked |
|---|---|---|---|---|---|---|
0x006fa336 FUN_006fa336 | W | 0x006f28aa, depth 2 | not ported | none | open | |
0x006fa765 FUN_006fa765 | W | 0x006f28aa, depth 2 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x006fa785 FUN_006fa785 | W | 0x006f28aa, depth 2 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x009f127c MSVCR90.DLL::_CIsqrt | S | 0x006f28aa, depth 2 | crates/bf2-anim/src/x87.rs:413 (fn crt_sqrt) | bfh_ability_overload, bfh_apparel_ingame | not a line: hub (253 callers): not expanded | |
0x00417b54 FUN_00417b54 | W | 0x00417c38, depth 3 | not ported | none | open | |
0x0041b829 FUN_0041b829 | W | 0x006f9bde, depth 3 | engine utility (>= 100 call sites) | not a line | ||
0x006f5589 FUN_006f5589 | W | 0x006f9bde, depth 3 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x006f710f FUN_006f710f | W | 0x006f9bde, depth 3 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x006f8b1a FUN_006f8b1a | W | 0x006f9bde, depth 3 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x006f94ff FUN_006f94ff | W | 0x006f9bde, depth 3 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x004073a5 FUN_004073a5 | W | 0x006fa336, depth 3 | not a line: engine utility (653 call sites, the counter's rule of 100); the counter has no row for it | |||
0x004bd920 FUN_004bd920 | W | 0x006fa336, depth 3 | 1.89 twin 0x004b1968 is library code (coverage_bfh boilerplate) | not a line | ||
0x006f934e FUN_006f934e | W | 0x006fa336, depth 3 | not ported | none | open | |
0x006f93af FUN_006f93af | W | 0x006fa336, depth 3 | not ported | none | open | |
0x006f9fd3 FUN_006f9fd3 | W | 0x006fa765, depth 3 | not ported | none | open | |
0x006fa011 FUN_006fa011 | W | 0x006fa785, depth 3 | not ported | none | open | |
0x004177b0 FUN_004177b0 | W | 0x00417b54, depth 4 | not ported | none | open | |
0x004177ec FUN_004177ec | W | 0x00417b54, depth 4 | STL container code, READ: a container's own member by its listing; it calls a body that holds a Dinkumware error string (a stl-read: row of parity_denominator.yaml, H7762) | not a line | ||
0x006f62f1 FUN_006f62f1 | W | 0x006f710f, depth 4 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x006f8247 FUN_006f8247 | W | 0x006f8b1a, depth 4 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x006f9016 FUN_006f9016 | W | 0x006f94ff, depth 4 | not ported | none | open | |
0x006f8ae8 FUN_006f8ae8 | W | 0x006f934e, depth 4 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x009f08c8 __EH_prolog3_catch | W | 0x006f934e, depth 4 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x006f8b01 FUN_006f8b01 | W | 0x006f93af, depth 4 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x006f8fe8 FUN_006f8fe8 | W | 0x006f9fd3, depth 4 | not ported | none | open | |
0x006f96d0 FUN_006f96d0 | W | 0x006f9fd3, depth 4 | STL container code, READ: a container's own member by its listing; it calls a body that holds a Dinkumware error string (a stl-read: row of parity_denominator.yaml, H7762) | not a line | ||
0x006f988e FUN_006f988e | W | 0x006fa011, depth 4 | STL container code, READ: a container's own member by its listing; it calls a body that holds a Dinkumware error string (a stl-read: row of parity_denominator.yaml, H7762) | not a line | ||
0x00414fce FUN_00414fce | W | 0x004177b0, depth 5 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x00417149 FUN_00417149 | W | 0x004177b0, depth 5 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x006f7313 FUN_006f7313 | W | 0x006f8247, depth 5 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x006f81cf FUN_006f81cf | W | 0x006f8ae8, depth 5 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x006f821f FUN_006f821f | W | 0x006f8b01, depth 5 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x006f70e7 FUN_006f70e7 | W | 0x006f8fe8, depth 5 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x00414b90 FUN_00414b90 | W | 0x00414fce, depth 6 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x00416f23 FUN_00416f23 | W | 0x00417149, depth 6 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x006f649f FUN_006f649f | W | 0x006f7313, depth 6 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x006f729f FUN_006f729f | W | 0x006f81cf, depth 6 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x006f72ec FUN_006f72ec | W | 0x006f821f, depth 6 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x006f62be FUN_006f62be | W | 0x006f70e7, depth 6 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x0040d5bb FUN_0040d5bb | W | 0x00414b90, depth 7 | thin wrapper (<= 80 bytes, calls only library code) | not a line | ||
0x006f6485 FUN_006f6485 | W | 0x006f729f, depth 7 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line |
Inner calls#
A call through a virtual table has no line in the call graph; the ledger lists every one it met: 11 here, 8 of them open lines (nobody has named what they call, or what they call is not checked).
What is open#
In a player's words, as the ledger writes them:
- used at the wheel of a vehicle (what it does): not checked
- used at the wheel of a vehicle (what you see): not checked
- used from a passenger's or a gunner's seat (what it does): has a scenario, no recorded pass
- used from a passenger's or a gunner's seat (what you see): has a scenario, no recorded pass
- enemy sitting in a vehicle (what it does): not checked
- enemy sitting in a vehicle (what you see): not checked
- the user dies while it runs (what it does): not checked
- the user dies while it runs (what you see): not checked
- after the user respawns (what it does): not checked
- after the user respawns (what you see): not checked
- the round ends while it runs, and the next round starts clean (what it does): not checked
- the round ends while it runs, and the next round starts clean (what you see): not checked
- the map changes while it runs (what it does): not checked
- the map changes while it runs (what you see): not checked
- a player who joins while it runs sees it (what it does): not checked
- a player who joins while it runs sees it (what you see): not checked
- watching a team mate who uses it (after dying, or as a spectator) (what it does): not checked
- watching a team mate who uses it (after dying, or as a spectator) (what you see): not checked
- team mates against enemies (who gets it and who does not) (what it does): not checked
- team mates against enemies (who gets it and who does not) (what you see): not checked
- in water (swimming) (what it does): not checked
- in water (swimming) (what you see): not checked
- on a ladder (what it does): not checked
- on a ladder (what you see): not checked
- while another effect runs on the same hero (what it does): not checked
- while another effect runs on the same hero (what you see): not checked
- the effect on a target or user in a vehicle seat is drawn on the vehicle (what it does): not checked
- the effect on a target or user in a vehicle seat is drawn on the vehicle (what you see): not checked
- triggered in a round's last seconds, the next round (what it does): not checked
- triggered in a round's last seconds, the next round (what you see): not checked
And 22 lines about the original's code:
- a step of the original (FUN_006fa1d0): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_006fa237): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (Player::vslot21): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (FUN_00418f17): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_006f9bde): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (FUN_006fa336): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_00417b54): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_006f934e): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_006f93af): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_006f9fd3): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_006fa011): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_004177b0): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_006f9016): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_006f8fe8): this part of the original is in no count of ours: nobody has placed it
- a large shared step of the original (0x0052e974) is on the list by itself: what it calls for this feature is not followed yet
- an inner call of the original (in 0x006f1749, slot 0xc) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x006f1749, slot 0x80) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x006f28aa, slot 0xc) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x006f28aa, slot 0x10) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x006f28aa, slot 0x28) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x006f28aa, slot 0x40) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x006f28aa, slot 0x80) is not followed yet: nobody has named what it calls
How it is tested#
This page is the answer: the tables above name each test and each played scenario that stands for a line, with its kind. The ledger's own tool refuses a status that disagrees with its rows, a tick the rule does not give, and a proof that is not in the tree (feature_ledger.py --check). The wiki's test checks that this page says done only where the ledger does.
In the code#
| What | Where |
|---|---|
| this feature's ledger | notes/bfheroes/features/ability/frenzy_fire.toml (its ticks: the folder notes/bfheroes/features/ability/frenzy_fire.ticks) |
| the ledger's rule | notes/bfheroes/features/README.md |
| the recorded results | notes/bfheroes/features/records/<run>.tsv |
| the tool that walks the original's call graph and computes the status | tools/bfheroes/feature_ledger.py |
| the counter the ledger was made with | bfheroes e7ed773 2026-11-28T11:50:06 |
| this page's maker | tools/devwiki/features.py |
tools/devwiki/features.py · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.