sifter 10 Posted February 11, 2013 (edited) 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 February 12, 2013 by sifter Share this post Link to post Share on other sites
phoenix_za 23 Posted February 20, 2013 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
MissileMoose 10 Posted February 22, 2013 GameSpy is among a few services which IGN have recently announced to be shutting down. I have no idea how GameSpy works, but would assume that it affects such scripts as yours. :( Share this post Link to post Share on other sites
sifter 10 Posted February 23, 2013 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