On this page
Sarge's Rocket Fuel / Turbojet Fuel, Titan / CEC Thruster Fuel: the feature checklist
Sarge's Rocket Fuel / Turbojet Fuel, Titan / CEC Thruster Fuel is a Battlefield Heroes widget. 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: 5 of 53 lines checked.
Situations: 1 of 19 checked for what the game does, 0 of 19 for what a player sees. The original's code: 4 of 15 checked (6 functions and 9 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 22:37.
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#
addRocketPackItem 1.0 1.1 100 0.05 -1.0 1.0 4.0 7.0; active 2 s; wait 30 s
That is this wiki's own line about it, taken at build time from the page that tells it.
| the name a player knows | Sarge's Rocket Fuel / Turbojet Fuel, Titan / CEC Thruster Fuel |
| kind | widget |
| in the game's data | RocketPack, RocketPack_Ger, RocketPack_DS, RocketPack_DS_GER (2155, 2158, 2173, 2174) |
| its row in the sweeps | notes/bfheroes/widget_sweep.md, the row Sarge's Rocket / Turbojet Fuel; notes/bfheroes/abilities_table.md row W03 |
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 |
|---|---|---|
0x007388c3 | the rocket pack item's attach (the item is made by the enable 0x007728de at 0x772d37) | whole |
0x007377c6 | the push | 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, state asserts (scenario bfh_r0105_foot_jumps (PASS in run 20261120_090449_chk1_cf050d7_h2_fj_tr on cf050d7)) | open: play with a recorded pass, state asserts (scenario bfh_r0105_foot_jumps (PASS in run 20261120_090449_chk1_cf050d7_h2_fj_tr on cf050d7)) | played by state: no screenshot is read |
| 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_commando (no recorded result)) | open: has a scenario, no recorded pass (scenario bfh_r0105_seat_keys_commando (no recorded result)) | played by state: no screenshot is read |
| 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 | |
| bought for valor points at the store | open: not checked | open: not checked | |
| ready again only after its wait | open: not checked | open: not checked | |
| held at the account service, put in a widget slot and carried into a game | open: not checked | open: not checked | |
| a pack's uses count down and the key is refused at none (a kept widget takes none) | open: not checked | open: not checked |
Recorded plays#
| Scenario | Last result | Run | Mode | Date | Commit | Last pass |
|---|---|---|---|---|---|---|
bfh_rocket_fuel_packs | PASS | 20261128_203536_h25_r35_bfh_rocket_fuel_packs | headless | 2026-11-28 20:35 | c2aa16b | 2026-11-28 20:35 at c2aa16b |
bfh_ability_rocket_jump | PASS | 20261128_205132_h25_r35_bfh_ability_rocket_jump | headless | 2026-11-28 20:51 | c2aa16b | 2026-11-28 20:51 at c2aa16b |
2 more scenarios the ledger names have no row in the records file: bfh_r0105_foot_jumps, bfh_r0105_seat_keys_commando.
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#
9 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 |
|---|---|---|---|---|---|---|
0x007388c3 world::rocketPackItem::vslot4 | W | entry, depth 0 | crates/bf2-server/src/abilities_heroes.rs:1705 (fn activate) | crates/bf2-server/tests/global_random_heroes.rs:4 (fn the_heroes_sites_draw_from_the_global_generator) | test from the original's code | yes |
0x007377c6 FUN_007377c6 | W | entry, depth 0 | crates/bf2-server/src/global_random_runs.rs:106 (fn run_heroes_draws) | crates/bf2-server/tests/global_random_heroes.rs:4 (fn the_heroes_sites_draw_from_the_global_generator) | test from the original's code | yes |
0x0045c8d4 FUN_0045c8d4 | W | 0x007388c3, depth 1 | crates/bf2-server/src/bots.rs:2007 (const GLOBAL_RANDOM_STATIC) | bfh_client_itembar_vehicle, bfh_client_jeep_gunner_moving | the counter's weaker proof | open |
0x004073ce ~animationSystem::setCameraSpring.amplitude | W | 0x007377c6, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x0045c8ae FUN_0045c8ae | S | 0x007377c6, depth 1 | crates/bf2-client/src/predict.rs:2361 (fn dist) | crates/bf2-client/tests/client_events_bfh126.rs:1119 (fn heroes_shared_generators_unit_draw_is_k_over_two_to_the_24) | test from the original's code | yes |
0x009f127c MSVCR90.DLL::_CIsqrt | S | 0x007377c6, depth 1 | crates/bf2-anim/src/x87.rs:413 (fn crt_sqrt) | bfh_ability_overload, bfh_apparel_ingame | not a line: hub (253 callers): not expanded | |
0x009f1544 MSVCR90.DLL::_CIcos | S | 0x007377c6, depth 1 | crates/bf2-anim/src/x87.rs:397 (fn crt90_op) | bfh_ability_overload, bfh_apparel_ingame | the counter's weaker proof | open |
0x009f154a MSVCR90.DLL::_CIsin | S | 0x007377c6, depth 1 | crates/bf2-anim/src/x87.rs:397 (fn crt90_op) | bfh_ability_overload, bfh_apparel_ingame | not a line: hub (40 callers): not expanded | |
0x0045c829 FUN_0045c829 | W | 0x0045c8ae, depth 2 | crates/bfh-game/src/crit.rs:25 (struct FireRng) | crates/bfh-game/tests/small_helpers_bfh126.rs:8 (fn heroes) | test from the original's code | yes |
Inner calls#
A call through a virtual table has no line in the call graph; the ledger lists every one it met: 9 here, 9 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 on foot (what you see): played and passed, but no assert read the screen and nobody wrote that they looked
- 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
- 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
- bought for valor points at the store (what it does): not checked
- bought for valor points at the store (what you see): not checked
- ready again only after its wait (what it does): not checked
- ready again only after its wait (what you see): not checked
- held at the account service, put in a widget slot and carried into a game (what it does): not checked
- held at the account service, put in a widget slot and carried into a game (what you see): not checked
- a pack's uses count down and the key is refused at none (a kept widget takes none) (what it does): not checked
- a pack's uses count down and the key is refused at none (a kept widget takes none) (what you see): not checked
And 11 lines about the original's code:
- a step of the original (FUN_0045c8d4): in ours, but no test written from the original's code holds it
- a step of the original (MSVCR90.DLL::_CIcos): in ours, but no test written from the original's code holds it
- an inner call of the original (in 0x007377c6, slot 0x54) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x007377c6, slot 0x60) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x007377c6, slot 0x7c) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x007377c6, slot 0xa4) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x007377c6, slot 0xc8) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x007377c6, slot 0xcc) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x007377c6, slot 0xd0) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x007377c6, slot 0x160) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x007377c6, slot 0x1b4) 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/widget/rocket_fuel.toml (its ticks: the folder notes/bfheroes/features/widget/rocket_fuel.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 83706c0 2026-11-28T22:37:11 |
| 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.