Vultr.com - Instant Cloud Server Deployment
GAMETRACKER FORUMS
Forum Home > General Discussion > How does gametracker save player info
klajdi3PM
#1
How does gametracker save player info
Jul 28, 2017 3:30 PM
Joined: Apr 18, 2012
Posts: 7
Hello,
I was wondering how does gametracker save player data such as score or time online? Does it use cron jobs?

http://www.youtube.com/watch?v=NnMcxSBba5c
burnPM
#2
Jul 28, 2017 7:09 PM
Joined: Sep 27, 2006
Posts: 10924
If you're interested from a coding perspective, here is one place you can get some info the play around with:

https://developer.valvesoftware.com/wiki/Server_Queries
I am retired from GameTracker after 11 years and will not be responsive for support requests.

klajdi3PM
#3
Jul 31, 2017 11:52 AM
Joined: Apr 18, 2012
Posts: 7
burn wrote:
If you're interested from a coding perspective, here is one place you can get some info the play around with:

https://developer.valvesoftware.com/wiki/Server_Queries

Yeah, i know that, but im more interested on how it saves and generates statistics.

http://www.youtube.com/watch?v=NnMcxSBba5c
chimaera500PM
#4
Jul 31, 2017 1:01 PM
GAMETRACKER MODERATOR Joined: Jul 14, 2009
Posts: 4303
Scan servers -> insert into database.
Clever calculations -> update current day results in database.
User click -> display statistics.

__
I am a community user. I do not reply to private message requests for support.
Hint: I do not accept (or reply to) personal requests for re-ranking or unbanning.
You must use the forums please.

Links:
Forum Guidelines | Reporting abuse | Guides & FAQs | General Help
klajdi3PM
#5
Jul 31, 2017 2:39 PM
Joined: Apr 18, 2012
Posts: 7
chimaera500 wrote:
Scan servers -> insert into database.
Clever calculations -> update current day results in database.
User click -> display statistics.


So, gametracker is running cron jobs each hour for each player? And then ofc saving them.

http://www.youtube.com/watch?v=NnMcxSBba5c
burnPM
#6
Jul 31, 2017 8:52 PM
Joined: Sep 27, 2006
Posts: 10924
There are a variety of scheduled tasks that help keep the site up-to-date and running smoothly. Obviously if you query servers on a schedule you need a way to schedule that and I'm sure there are a variety of ways this can be done depending on your system.
I am retired from GameTracker after 11 years and will not be responsive for support requests.