Raised This Month: $ Target: $400
 0% 

Saving player scores and weapon stats before map change


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ghostdlr
Senior Member
Join Date: Aug 2010
Old 11-06-2022 , 05:02   Re: Saving player scores and weapon stats before map change
Reply With Quote #3

Quote:
Originally Posted by Spirit_12 View Post
Never used Psychostats, but HLSTATSX uses a separate demon. It is a 3 step process.
  1. Game server generates the logs based on the events and then sends them to a dedicated IP where your demon is running.
  2. The stats processing demon parses the data from the logs and transposes the data into an SQL database.
  3. 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

Last edited by ghostdlr; 11-06-2022 at 05:07.
ghostdlr is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode