fsockopen query to server
Hey guys, long time no see!
I've recently got into getting data from servers. For example, from a CoD 4 server. Simple enough eh?
Now the following, a script I can query the server for status. Meaning, the server's settings (maps, title) and the players with their scores. Now the question is, using a handshake in the fwrite function, what do these mean and how can I, if there is any, get more info out of it?
I am using "\xFF\xFF\xFF\xFFgetstatus\x00" to handshake with a CoD 4 server, but I am only getting the player's name, score and ping. What I need is the score, kills, deaths and assists. The point is, are these options/data available and up for grabs or not? I tried many things but I cant seem to get it to work in any other way.
The current script, rescripted from an other class:
Dont you have to send an RCON password through aswell?
If i can dig out my RCON tool I wrote about 3 years ago, I'll have a look as currently I can't remember how the quake3 engine accepts RCON commands.
Well, the idea is to query the server and get the data without the client giving me anything in return. So only by IP:Port
Already found something sketchMedia? (small bump)
|All times are GMT. The time now is 01:11 PM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0