koraktor / steam-condenser

A multi-language library for querying the Steam Community, Source, GoldSrc servers and Steam master servers
https://koraktor.de/steam-condenser
Other
359 stars 65 forks source link

GoldSrc (+L4D2) does not support A2S_SERVERQUERY_GETCHALLENGE #150

Closed massl closed 12 years ago

massl commented 12 years ago

I wondered why initialize() fails on GoldSource servers and found out that it's because of the method updateChallengeNumber() that is not supported by GoldSource and L4D2 servers.

See https://developer.valvesoftware.com/wiki/Server_queries#A2S_SERVERQUERY_GETCHALLENGE and https://developer.valvesoftware.com/wiki/Talk:Server_Queries#A2S_SERVERQUERY_GETCHALLENGE_not_working_since_last_HLDS_update reported by Koraktor ;)

WIll this be fixed for the steam-condenser? I'm using the PHP version.

koraktor commented 12 years ago

This should definitely be fixed.

To be honest, I just forgot to update the code. And it seems a lot of people weren't using updateChallengeNumber() or initialize() at all. If you don't use them, you'll be fine.

massl commented 12 years ago

Not using initialize() is what I'm doing now. I just wanted to inform you about it :) Thanks!

koraktor commented 12 years ago

Fixed.