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
356 stars 67 forks source link

ConditionZero Server malformed UTF8 #45

Closed idev closed 14 years ago

idev commented 14 years ago

Hey,

for 85.131.163.169:27015 i get "illegal/malformed utf-8" on to_json. it seems to me that tv_name M?@P is the point of fail.

Can you check this? Thanks for your help!

koraktor commented 14 years ago

I checked this against other CZ servers and it seems like the protocol is different than described here. Although those servers send S2A_INFO2 replies (the new format also used by Source, header 0x49), the format isn't the documented one. The part after the so called EDF seems to be different.

This needs some research. Thanks for pointing this out.

koraktor commented 14 years ago

This seems to affect all servers using the new S2A_INFO2 replies, i.e. newer GoldSrc and all Source servers. Seems like the format has changed without notice.

koraktor commented 14 years ago

Added parsing of server SteamIDs from S2A_INFO2 replies

Closed by 245e798143ea1dc4194973ff8b23cccbfdb71b92