Jump to content
Sign in to follow this  
sifter

Python3 Gamespy Query

Recommended Posts

Recently created a query module in Python3 for gathering server information (players, host, mission etc.) for the C5 server. If any one is interested, the pypi link is below.

[urlhttp://pypi.python.org/pypi/GameSpy4Query_Python3/2[/url]

Edited by sifter

Share this post


Link to post
Share on other sites

I was looking for something like this and I was worried I would have to write it. If it was in Python 2.7 then it would be perfect.

Share this post


Link to post
Share on other sites

Hey Phoenix_ZA,

Glad you like it. The reason it was made in Python 3 is because I think there are many others already in Python2.7 out there. However, I originally got the protocol working in Python 2.7 (it was actually much easier and cleaner), so it should be very easy to port it over in the query method. I do not have time right now, but if you need help let me know. You should only have to use the hex() function instead of the binasscii module. Just follow the comments and shoot me an email (see README) if you need a hand. Also, the score, death, team functionality is all there for the player class, just gotta get the parsing right. Once again, I do not have time to do this right now.

Hey MissileMoose,

That's sad to here. However, this was made for ARMA2, and the protocol works independently from any gamespy servers. In fact, this could ensure people have a way to query their servers should there be an outage in the multiplayer server tables. Also, with ARMA3 coming out soon, I expect there will be a new protocol and this would be obsolete.

Thanks for the feedback guys!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×