Search Unity

Traffic stats from Master Server?

Discussion in 'Multiplayer' started by DocSWAB, Jun 19, 2008.

  1. DocSWAB

    DocSWAB

    Joined:
    Aug 28, 2006
    Posts:
    615
    We're wondering two things:

    1. Does the Master Server automatically log anything that could be used to count the number of games that are advertised through the Master Server? If not, is there a hook that another server side script could listen to in order to save that information?

    2. Is there any chance that game connection info can be recovered from the UT Master Server with any ease?
     
  2. larus

    larus

    Unity Technologies

    Joined:
    Oct 12, 2007
    Posts:
    280
    Yes and no. It does save log information for each connection, and then details for client/server requests/registrations. This information is not accessible to the public in any easy manner though, its just a server log file.

    Not sure what you mean but if you mean like if you could get all information ever recorded regarding a specific game then no (see question 1). If you want current statistics I guess you could make an instance which once in a while requests the current host list and records the info. You should be able to see current server + client count (active players) by counting up the data.

    Since the master server is open source you have the possibility of doing whatever you like, if you have a bit of time and opportunity. You could make modifications so that the master server would update your web page or something with connection statistics or just host info.