On this page
Teleport: the feature checklist
Teleport 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: 9 of 139 lines checked.
Situations: 1 of 19 checked for what the game does, 0 of 19 for what a player sees. The original's code: 8 of 101 checked (25 functions and 76 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#
a device to throw; the hero is put at it after a delay
That is this wiki's own line about it, taken at build time from the page that tells it.
| the name a player knows | Teleport |
| kind | widget |
| in the game's data | Teleport (2196) |
| its row in the sweeps | notes/bfheroes/widget_sweep.md, the row Teleport; notes/bfheroes/abilities_table.md row W25 |
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 |
|---|---|---|
0x0070ccd5 | the activation | whole |
0x0070d94e | the update step | whole |
0x0070cead | the server's teleport | whole |
0x006ebeaf | the put (Player vt+0x660) | whole |
0x0070aebd | the cancel, called by the fire arm's disable and by its fire | 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_teleport (PASS in run 20261119_115044_h13_r0105_tp_t1 on 6fb6300)) | open: play with a recorded pass, state asserts (scenario bfh_r0105_teleport (PASS in run 20261119_115044_h13_r0105_tp_t1 on 6fb6300)) | 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: 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 | |
| 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#
2 more scenarios the ledger names have no row in the records file: bfh_r0105_teleport, bfh_teleport.
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#
59 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 |
|---|---|---|---|---|---|---|
0x0070ccd5 FUN_0070ccd5 | S | entry, depth 0 | crates/bf2-client/src/fx/client.rs:2589 (fn heroes_teleport_activations) | scenario bfh_client_teleport (PASS in run 20261022_184604_bfh_client_chat_keysxbfh_client_gate_sky) (+2 more) | play with a recorded pass, state asserts | open |
0x0070d94e FUN_0070d94e | W | entry, depth 0 | crates/bf2-server/src/teleport_heroes.rs:109 (fn tick) | crates/bfh-game/tests/teleport_tick_bfh126.rs:1 (fn hold) | test from the original's code | yes |
0x0070cead FUN_0070cead | S | entry, depth 0 | crates/bf2-client/src/fx/client.rs:3059 (fn heroes_teleports) | scenario bfh_r0105_teleport (PASS in run 20261119_115044_h13_r0105_tp_t1 on 6fb6300) (+1 more) | play with a recorded pass, state asserts | open |
0x006ebeaf Player::vslot408 | W | entry, depth 0 | crates/bf2-net/src/bfh_events.rs:538 (struct TeleportEvent) | scenario bfh_gate_jeep (PASS in run 20261127_064841_c12_3 on e5b0d9c) (+1 more) | play with a recorded pass, state asserts | yes |
0x0070aebd FUN_0070aebd | S | entry, depth 0 | crates/bf2-client/src/weapons.rs:6256 (fn disable) | bfh_ability_overload, bfh_alt_fire_ammo_pool | the counter's weaker proof | open |
0x0041ad9b FUN_0041ad9b | S | 0x0070ccd5, depth 1 | crates/bf2-client/src/heroes_teleport.rs:175 (fn heroes_teleport_clock) | crates/bf2-client/tests/client_events_bfh126.rs:1146 (fn heroes_game_time_getter_hands_back_the_stored_double) | not a line: tested in every game: bf2142 0x00666070, bf2 0x004c4400 | |
0x0041b829 FUN_0041b829 | W | 0x0070ccd5, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x0045d160 FUN_0045d160 | S | 0x0070ccd5, depth 1 | crates/bfh-client/src/sound_comp.rs:88 (fn init) | bfh_client_ctf_sounds, bfh_client_footsteps | not a line: tested in every game: bf2142 0x0042b800, bf2 0x00440510 | |
0x004b3cf5 FUN_004b3cf5 | W | 0x0070ccd5, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x0070aeac FUN_0070aeac | W | 0x0070ccd5, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x0070bc27 FUN_0070bc27 | S | 0x0070ccd5, depth 1 | crates/bf2-client/app/src/client/heroes_hud.rs:3264 (fn heroes_weapon_bar) | bfh_apparel_ingame, bfh_client_alt_ammo_bar | the counter's weaker proof | open |
0x004821ae FUN_004821ae | W | 0x0070cead, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x006a86fb FUN_006a86fb | W | 0x0070cead, depth 1 | crates/bfh-game/src/ctf.rs:634 (fn drop) | scenario bfh_client_browser_seated_widget_sound (no recorded result) | has a scenario, no recorded pass | open |
0x006a9ceb FUN_006a9ceb | W | 0x0070cead, depth 1 | crates/bf2-net/src/bfh_ctf.rs:24 | scenario bfh_client_browser_seated_widget_sound (no recorded result) | has a scenario, no recorded pass | open |
0x006aa06e FUN_006aa06e | W | 0x0070cead, depth 1 | crates/bfh-game/src/ctf.rs:11 | bf2_rotation_eor_camera, bfh_client_cdm_late_events | the counter's weaker proof | open |
0x0070bbd7 FUN_0070bbd7 | S | 0x0070cead, depth 1 | crates/bf2-client/src/heroes_teleport.rs:4 | scenario bfh_client_teleport (PASS in run 20261022_184604_bfh_client_chat_keysxbfh_client_gate_sky) (+2 more) | play with a recorded pass, state asserts | open |
0x004073ce ~animationSystem::setCameraSpring.amplitude | W | 0x006ebeaf, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x0041b7fd FUN_0041b7fd | W | 0x006ebeaf, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x0049d641 FUN_0049d641 | S | 0x006ebeaf, depth 1 | 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 | |
0x004edc76 FUN_004edc76 | W | 0x006ebeaf, depth 1 | crates/bf2-net/src/join.rs:248 (fn post_remote) | crates/bf2-net/tests/net_record_bfh126.rs:1875 (fn post_remote_event_run_flag_senders_write_the_delay_zero_bfh126) | not a line: hub (77 callers): not expanded |
Show all 59 functions (the other 39)
| The original's function | Kind | Reached | Ours | Proof | Its kind | Checked |
|---|---|---|---|---|---|---|
0x0071d6f8 FUN_0071d6f8 | W | 0x006ebeaf, depth 1 | crates/bf2-server/src/soldier_phys.rs:3153 (fn teleport_to) | scenario bfh_client_teleport (PASS in run 20261022_184604_bfh_client_chat_keysxbfh_client_gate_sky) | play with a recorded pass, state asserts | yes |
0x00721aae FUN_00721aae | W | 0x006ebeaf, depth 1 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x009bd22c FUN_009bd22c | W | 0x006ebeaf, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x009f0895 __EH_prolog3 | W | 0x006ebeaf, depth 1 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x009f096d __EH_epilog3 | W | 0x006ebeaf, depth 1 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x009f127c MSVCR90.DLL::_CIsqrt | S | 0x006ebeaf, 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 | |
0x006e8894 Player::vslot21 | S | 0x006ebeaf vt+0x54, depth 1 | crates/bfh-client/src/outline.rs:35 (struct OutlinePlayer) | scenario bfh_r0105_sixth_sense_seated_mate (FAIL in run 20261128_132429_site1_r2b on 93b1ab6) | has a scenario, its last recorded result is not a pass | open |
0x006fb574 Player::vslot24 | W | 0x006ebeaf vt+0x60, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x006e9db6 Player::vslot51 | S | 0x006ebeaf vt+0xcc, depth 1 | crates/bfh-client/src/outline.rs:34 (struct OutlinePlayer) | scenario bfh_r0105_sixth_sense_seated_mate (FAIL in run 20261128_132429_site1_r2b on 93b1ab6) | has a scenario, its last recorded result is not a pass | open |
0x004073a5 FUN_004073a5 | W | 0x006a86fb, depth 2 | not a line: engine utility (653 call sites, the counter's rule of 100); the counter has no row for it | |||
0x0053410c FUN_0053410c | W | 0x006a86fb, depth 2 | crates/bf2-net/src/bfh_ctf.rs:16 | scenario bfh_client_browser_seated_widget_sound (no recorded result) | has a scenario, no recorded pass | open |
0x006a7fe1 FUN_006a7fe1 | W | 0x006a86fb, depth 2 | crates/bfh-game/src/ctf.rs:29 (type Ground) | bfh_client_ctf_sounds, bfh_ctf_pickup_national | the counter's weaker proof | open |
0x0088f213 FUN_0088f213 | W | 0x006a86fb, depth 2 | engine utility (>= 100 call sites) | not a line | ||
0x00528583 world::PlayerManager::getPlayerFromId | W | 0x006a86fb vt+0x20, depth 2 | 1.89 twin 0x004f9b61 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-world/src/player.rs:1239, crates/bf2-world/src/player.rs:1365 | the counter's weaker proof | open |
0x006aa0ad FUN_006aa0ad | W | 0x006a9ceb, depth 2 | not ported | none | open | |
0x006aa038 FUN_006aa038 | W | 0x006aa06e, depth 2 | by design: constructor of a GameLogic record (two members 0x006aa122, one 0x006aa31a); Rust Default | not a line | ||
0x009f0a57 _atexit | W | 0x006aa06e, depth 2 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x004a580f FUN_004a580f | W | 0x0071d6f8, depth 2 | crates/bf2-core/src/fmath.rs:63 (fn normalize3_heroes) | crates/bf2-core/tests/normalize_bfh126.rs:1 (fn hold) | not a line: hub (132 callers): not expanded | |
0x00503f2f FUN_00503f2f | W | 0x0071d6f8, depth 2 | thin wrapper (<= 80 bytes, calls only library code) | not a line | ||
0x0072021e FUN_0072021e | S | 0x00721aae, depth 2 | crates/bf2-client/src/predict.rs:1826 (fn bounding_radius) | crates/bf2-physics/src/soldier.rs:3166 (fn hero_camera_pitch_stops_at_retail_limits), crates/bf2-physics/src/soldier_control.rs:1914 (fn hero_seat_look_stops_at_the_seat_limits) | test from the original's code | yes |
0x00529c0e FUN_00529c0e | W | 0x00528583, depth 3 | not ported | none | open | |
0x006a9877 ~std::_Tree::_Lbound_006a9877 | W | 0x006aa0ad, depth 3 | small helper: STL tree walk (MSVC std::_Tree: tests or sets the node's _Isnil byte; find / erase / iterate / buy a node) (< 64 bytes) | not a line | ||
0x00403601 FUN_00403601 | W | 0x0072021e, depth 3 | not ported | none | open | |
0x00460d7b FUN_00460d7b | W | 0x0072021e, depth 3 | engine utility (>= 100 call sites) | not a line | ||
0x00484407 ~Mat4::setIdentity | W | 0x0072021e, depth 3 | small helper: math leaf (no branches, no calls: FPU arithmetic) (< 64 bytes) | not a line | ||
0x0049857d FUN_0049857d | W | 0x0072021e, depth 3 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x0088f965 FUN_0088f965 | W | 0x0072021e, depth 3 | 1.89 twin 0x008761f4 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-anim/tests/rot_xy_bfh126.rs:1 (fn the_turns_about_x_and_y_by_degrees_are_heroes_machine_code_bit_for_bit) | test from the original's code | yes |
0x0088f9be FUN_0088f9be | W | 0x0072021e, depth 3 | 1.89 twin 0x0087624c pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-anim/tests/rot_xy_bfh126.rs:2 (fn the_turns_about_x_and_y_by_degrees_are_heroes_machine_code_bit_for_bit) | test from the original's code | yes |
0x0088fc8f FUN_0088fc8f | S | 0x0072021e, depth 3 | crates/bf2-anim/src/pose.rs:209 (fn rot3) | crates/bf2-anim/tests/quat_normalize_bfh126.rs:304 (fn bfh126_3x3_product_of_the_pose_sums_x_and_y_then_z_and_writes_nothing_else), crates/bf2-gameplay/tests/fire_comps_bfh126.rs:746 (fn heroes_3x3_product_sums_x_and_y_then_z_bit_for_bit) | test from the original's code | yes |
0x00b1edb2 FUN_00b1edb2 | W | 0x0072021e, depth 3 | engine utility (>= 100 call sites) | not a line | ||
0x00b1f1a2 FUN_00b1f1a2 | W | 0x0072021e, depth 3 | engine utility (>= 100 call sites) | not a line | ||
0x005294c1 ~std::_Tree::_Lbound_005294c1 | W | 0x00529c0e, depth 4 | small helper: STL tree walk (MSVC std::_Tree: tests or sets the node's _Isnil byte; find / erase / iterate / buy a node) (< 64 bytes) | not a line | ||
0x00403552 FUN_00403552 | W | 0x00403601, depth 4 | 1.89 twin 0x004034c1 is library code (coverage_bfh boilerplate) | not a line | ||
0x004035bb FUN_004035bb | W | 0x00403601, depth 4 | not ported | none | open | |
0x009f08c8 __EH_prolog3_catch | W | 0x00403601, depth 4 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x0049853d FUN_0049853d | S | 0x0049857d, depth 4 | crates/bf2-client/src/networld.rs:2017 (fn lerp3) | crates/bf2-client/tests/client_events_bfh126.rs:1193 (fn heroes_point_toward_a_point_rounds_to_a_single_after_every_step) | test from the original's code | yes |
0x004034d0 FUN_004034d0 | W | 0x004035bb, depth 5 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x00497864 FUN_00497864 | W | 0x0049853d, depth 5 | crates/bf2-physics/src/soldier.rs:866 (fn add_acceleration_in) | crates/bf2-physics/tests/heroes_movement_matrix.rs:94 (fn heroes_vec3_add_assign_adds_each_component_into_the_nodes_acceleration) | not a line: hub (74 callers): not expanded | |
0x004984f5 FUN_004984f5 | W | 0x0049853d, depth 5 | crates/bf2-physics/src/culler.rs:1039 (fn sub_bfh126) | bfh_ability_overload, bfh_alt_fire_ammo_pool | not a line: hub (144 callers): not expanded |
Inner calls#
A call through a virtual table has no line in the call graph; the ledger lists every one it met: 80 here, 76 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): not checked
- used from a passenger's or a gunner's seat (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
- 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 93 lines about the original's code (the first 25):
- a step of the original (FUN_0070ccd5): played and passed, but no test written from the original and nothing read the screen
- a step of the original (FUN_0070cead): played and passed, but no test written from the original and nothing read the screen
- a step of the original (FUN_0070aebd): in ours, but no test written from the original's code holds it
- a step of the original (FUN_0070bc27): in ours, but no test written from the original's code holds it
- a step of the original (FUN_006a86fb): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (FUN_006a9ceb): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (FUN_006aa06e): in ours, but no test written from the original's code holds it
- a step of the original (FUN_0070bbd7): played and passed, but no test written from the original and nothing read the screen
- 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 (Player::vslot51): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (FUN_0053410c): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (FUN_006a7fe1): in ours, but no test written from the original's code holds it
- a step of the original (world::PlayerManager::getPlayerFromId): in ours, but no test written from the original's code holds it
- a step of the original (FUN_006aa0ad): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_00529c0e): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_00403601): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_004035bb): this part of the original is in no count of ours: nobody has placed it
- an inner call of the original (in 0x0070ccd5, slot 0x10) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x0070ccd5, slot 0x18) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x0070ccd5, slot 0x1c) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x0070ccd5, slot 0x3c) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x0070ccd5, slot 0x50) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x0070ccd5, slot 0x7c) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x0070ccd5, slot 0xa0) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x0070ccd5, slot 0xcc) is not followed yet: nobody has named what it calls
The other 68 stand in the ledger's file.
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/teleport.toml (its ticks: the folder notes/bfheroes/features/widget/teleport.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.