Skip to content

feature: tell a hibernating server about its match on its ping - #512

Closed
lukepolo wants to merge 3 commits into
mainfrom
feature/hibernating-servers
Closed

lukepolo wants to merge 3 commits into
mainfrom
feature/hibernating-servers

Conversation

@lukepolo

@lukepolo lukepolo commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor
  • a hibernating CS2 server does not answer RCON at all, so get_match never reaches it
  • the server ping now replies { get_match }: true when the match the plugin says it has loaded is not the one it has been given
  • a plugin that reports hibernating=true is remembered for 45s, and a failed RCON connect to it is not recorded as a fault or alerted on
  • older plugins send neither parameter and are unaffected

Built on #513, so merge that first.

Draft: goes with 5stackgg/game-server#214, to be tested together on a dev server.

@lukepolo

lukepolo commented Oct 6, 2026

Copy link
Copy Markdown
Contributor Author

Not needed. A hibernating CS2 server does answer RCON: a corrected test logged in and read a cvar from one without waking it, so get_match reaches it as it does today. The earlier "no reply" came from a test that waited for more bytes than the server sends. The auth fix is in #513 on its own.

@lukepolo lukepolo closed this Oct 6, 2026
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.

1 participant