Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new fun debugging features! #2942

Merged
merged 3 commits into from
Jan 9, 2024

Conversation

demonds1
Copy link
Contributor

@demonds1 demonds1 commented Jan 8, 2024

New flag/args:

  • -show_game_turns - Displays the current GameTurn in the bottom right of the screen
  • -framestep - When the game is paused, pressing the period key . (not numpad) will step forward a single GameTurn (also enables -show_game_turns)
  • -pause_at_gameturn - Pauses the game at the specified GameTurn. (also enables -show_game_turns)

packetload enables -framestep and -show_game_turns by default

  • Frame stepping during packet save/load is very useful!

example of -pause_at_gameturn for launch.json:

"-pause_at_gameturn", "750",

New flag/args:
- `-dbggameturns` - Displays the current GameTurn in the bottom right of the screen
- `-framestep` - When the game is paused, pressing the period key `.` (not numpad) will step forward a single GameTurn (also enables `-dbggameturns`)
- `-pause_at_gameturn` - Pauses the game at the specified GameTurn. (also enables `-dbggameturns`)

`packetsave` and `packetload` both enable `-framestep` and `-dbggameturns` by default
- Frame stepping during packet save/load is very useful!
updated `-pause_at_gameturn` to terminate packet replay when using `-packetload` to allow pausing at that turn.
@Loobinex Loobinex merged commit 1ceed7c into dkfans:master Jan 9, 2024
@demonds1 demonds1 deleted the new-bug-hunting-features branch January 9, 2024 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants