-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for GoldSrc responses #30
Comments
Yep, can't get it working because of this error :( |
I am also having a similar error with the same example code:
EDIT: For me the issue was due to having an older version of a2s.py in my library. Updated and resolved the issue. |
Installing using setup.py from git repo rather than pip solves this. |
seems anyway, in my case every second request failing with |
@darkchemist @VatsalP |
Can you provide a server address or at least a game name so I can try to reproduce this? |
Here's one:
|
@lxnch I just tested with this address and the info request works for me, the player request doesn't, but that seems to be a server side implementation error. Unfortunately it's not related to the original issue. Thank you for submitting the example though! Edit: Oops, mixed up the issues and tested the address from #48 instead. This seems to be indeed the right issue and I will have a look later. |
I was able to confirm that the server in question returns a 109 response, which is not handled correctly. This is to be expected from a CounterStrike server, as it runs on the older GoldSrc engine, which is currently not supported by this library. But while this is working as intended, I think adding support for GoldSrc responses should not be too difficult for the increase in compatibility it provides. |
I've added support for GoldSrc in python-a2s |
Example: doc
Error at info = server.info()
The text was updated successfully, but these errors were encountered: