bill21 Posted December 24, 2007 Share Posted December 24, 2007 alright, basically, im querying a half life server in order to get information on players. i am succesful, i can read the names of all the people that are on the server, but that is it. According to valve's query protocol, the reply has much more than the player name. the reply should be in this format: Index - byte - The index into [0.. Num Players] for this entry Player Name - string - Player's name Kills - long - Number of kills this player has Time connected - float - The time in seconds this player has been connected now this is what it looks like in my site http://www.ironcityevil.branzone.com/stats/test.php and here is the script http://www.ironcityevil.branzone.com/stats/test.txt i believe my problem is with all the different variable types, and trying to output it as if it were a string. is there any script i could use to make sure it outputs correctly? Quote Link to comment https://forums.phpfreaks.com/topic/83046-udp-reply-translation/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.