Query Master Game Server Protocols

Discussion in 'Programming' started by Kalyse, Jan 21, 2007.

  1. #1
    I am hoping that some of you may know what this means and can tell me of the correct resource that will tell me how to do it.

    I am looking to query the master server (Counter Strike Source) for all CSS servers to retreive a list of all servers that are currently running. Is this possible?

    I just want to know all of the running servers IPs and Ports of all servers for CSS.

    I know how to query each individual game server, and I even know how the game servers and the master server communicate. However I do not know how I can communicate with the master server for it to then return a list of all IPs.



    Thanks.
     
    Kalyse, Jan 21, 2007 IP
  2. MattD

    MattD Peon

    Messages:
    161
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You'll need to look into the protocol used by the game. These things are usually really really simple UDP things - get a copy of Wireshark and start packet sniffing to see what is going on.

    There are probably a load of scripts for this already though surely?
     
    MattD, Jan 21, 2007 IP
  3. Kalyse

    Kalyse Peon

    Messages:
    1,221
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Theres lots for actual game servers, just not master servers.

    I can do the game servers okay.
     
    Kalyse, Jan 21, 2007 IP