Unity-Technologies / qstat

New official qstat repository
Artistic License 2.0
121 stars 33 forks source link

Always use challenge -1 to trigger a challenge response #65

Closed stevenh closed 7 years ago

stevenh commented 7 years ago

Although not technically needed for servers using the valve SDK, use a challenge of -1 (0xFFFFFFFF) instead of 0 to trigger a challenge response as that's whats documented: https://developer.valvesoftware.com/wiki/Server_queries#Request_Format_5

This improves compatibility with 3rd party implementations of the a2s protocol.