On this page
How to report a bug that gets fixed
A report gets fixed when somebody else can make the same thing happen. That takes five small things, and none of them is technical. This page says what to send, where to find each piece, and what never to send.
What to send#
| # | What | Why | Where you find it |
|---|---|---|---|
| 1 | Which game | one server and one client run three games, and they differ | Battlefield 2, Battlefield 2142 or Battlefield Heroes; and whether you played in the browser or with the desktop client |
| 2 | The build | a fault of yesterday's build may be gone today | the server's welcome message when you join carries its build line (as the play guide says); in the browser, the page's footer shows build and a short code (as the page's source says). Copy either as it stands |
| 3 | What you did | the steps are the report | the level, where you were, what you pressed, in order. "At the wheel of a jeep I pressed 3" beats "abilities are broken" |
| 4 | What you saw, and what you expected | most reports are "the original did it otherwise" | one sentence each. If you remember the original doing it differently, say how sure you are |
| 5 | A screenshot | a picture settles what words cannot | of the moment itself, the whole window, not cropped |
That is all a report of something in the game's rules needs: a wrong number, an ability that does nothing, a seat you cannot take.
For a graphics fault, two things more#
Something drawn wrong (a missing weapon in your hands, black ground, a flicker) depends on your machine, so add:
| What | Where you find it |
|---|---|
| the browser and its version, and your graphics card if you know it | the browser's "About" page |
the console's lines that start first-person colour or pipeline | in the browser press F12, open the Console tab, and copy the lines that begin with those words. They say what the renderer drew and which of its drawing programs failed to build |
Copy those lines as text, not as a picture, if you can.
What never to send#
A bug report never needs your password, your e-mail's password, a login code, or anything that lets somebody be you. Nobody who works on this project will ask for one. If a form or a person does, it is not us.
Leave out other players' names too, unless the fault is about a name.
What happens to a report#
- Somebody reproduces it: the same game, the same build or today's, your steps. A report that cannot be reproduced comes back with a question, which is why the steps matter most.
- The original is read: what did the original game's code do in that case? The answer decides whether it is a fault of the port or the way the game always was (how a port is made).
- A test is written that fails as your report says, then the mend, then the test passes.
- Your case becomes a line on a checklist, and not only of the feature you reported: a case nobody had checked is added for every feature of that kind (feature checklists).
- It appears in the changelog in a player's words (what's new).
"Fixed" is said of a feature only when its whole checklist is done. Until then the changelog names the case that was mended, which is yours.
Before you send it#
- Is it already known? What's new lists what is "not in yet", and for Heroes questions players ask answers the common "that is not how I remember it".
- Is it the original's own behaviour? Several things that look like faults are the original's: a tank has no third seat (Heroes' vehicles), a hero's item bar shows no cooldown number (the HUD).
Where to send it#
To the bug reports channel of the project's Discord server, reached from bf2.us. This wiki is built from the code's repository and does not take reports itself.
How it is tested#
The wiki's test checks that this page's links lead to pages of the build. The two console prefixes are the client's own: the wiki's test holds that the client's source still writes lines that begin first-person colour and pipeline, so that this page does not ask for lines that no longer exist.
In the code#
| What | Where |
|---|---|
the build line (<program> <version> (<build id>, <platform>)) | crates/bf2-core/src/version.rs |
| the first-person lines | crates/bf2-client/app/src/client/frame_overlap.rs |
| the pipeline lines | crates/bf2-render/src/pipeline.rs |
| the changelog's entries | docs/changelog |
docs/dev/guide/report-a-bug.md · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.