Engine Testing

From Zero-K
Revision as of 07:35, 13 October 2021 by GoogleFrog (talk | contribs) (Created page with "=== Steps to test the engine === # Host a Custom room and set a password. # Check https://github.com/beyond-all-reason/spring/releases for the most recent version. # Look at t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Steps to test the engine

  1. Host a Custom room and set a password.
  2. Check https://github.com/beyond-all-reason/spring/releases for the most recent version.
  3. Look at the most recent release.
  4. Type '!engine X' where X is the part after {BAR105}. At the time of writing X is '105.1.1-475-gd112b9e'.
  5. If Nightwatch says 'Engine changed to X' then the engine was set successfully. See the heading below if it fails.
  6. Optional: Remove the password with '!password'.
  7. Not Optional: Do not change the game mode from Custom, this will reset the engine to default.
  8. Have people join the game, screw around in the lobby, etc.
  9. Reassure everyone that it is fine if nothing appears to happen for many minutes when you start the game.
  10. Start the game.
  11. Wait for the engine to silently download in the background.
  12. Have the game start, spend a while caching, and exit because you took minutes to connect.
  13. Go back to the lobby, wait for everyone to indicate that they have completed the previous two steps.
  14. Start the game - for real this time (or maybe the second last time, because now you have to do the first-time ZK launch).
  15. Note any weirdness, bugs, or performance issues on the battle thread or elsewhere.
  16. Have everyone else in the room do the above.
  17. Repeat

What if Step 5 Fails?

Two options:

  1. Ask GoogleFrog to load the desired release into the server.
  2. Try a release further down the list.