Quote:
Originally Posted by Spirit_12
Never used Psychostats, but HLSTATSX uses a separate demon. It is a 3 step process.
- Game server generates the logs based on the events and then sends them to a dedicated IP where your demon is running.
- The stats processing demon parses the data from the logs and transposes the data into an SQL database.
- The front end uses the database and outputs the information.
I like this method as sending data directly to the database may lead to game server performance degradation. On top all servers create logs which already keep track of kills and what not, so its convenient to use it rather than re-implementing the whole tracker.
Hope that helps.
|
What kind of events does it use? And how can I get all the data from them? Does it send the events to a TCP/UDP server or to a web page?
I was also thinking of making a live preview of the game:
- live scoreboard
- a picture of the map with player icons on it, so you can know their location (with some delay to prevent cheating) - this means I would also need to send the player positions every 5 seconds
- a live log with kills and other events