Skip to content

Conversation

@altNightHawk
Copy link
Contributor

Exfil servers return player count in a 'current/max' format (e.g., '1/24') in the Players_s field from A2S_RULES query. This change adds special handling for exfil game type to:

  • Query A2S_RULES to get the Players_s field
  • Parse the 'current/max' format to extract current player count
  • Fallback to standard query if rules query fails
  • Override the info.players with the accurate count

Exfil servers return player count in a 'current/max' format (e.g., '1/24')
in the Players_s field from A2S_RULES query. This change adds special
handling for exfil game type to:

- Query A2S_RULES to get the Players_s field
- Parse the 'current/max' format to extract current player count
- Fallback to standard query if rules query fails
- Override the info.players with the accurate count
@altNightHawk
Copy link
Contributor Author

Update Exfil servers' player count to handle player count the "Exfil" way.

@BattlefieldDuck
Copy link
Member

thanks

@BattlefieldDuck BattlefieldDuck merged commit 9ffcf42 into DiscordGSM:main Jan 3, 2026
6 checks passed
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