klajdi3 • PM |
Jul 28, 2017 3:30 PM
|
![]() 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 |
burn • PM |
Jul 28, 2017 7:09 PM
|
![]() 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 ![]() |
klajdi3 • PM |
Jul 31, 2017 11:52 AM
|
![]() Posts: 7 |
burn wrote: Yeah, i know that, but im more interested on how it saves and generates statistics. http://www.youtube.com/watch?v=NnMcxSBba5c |
chimaera500 • PM |
Jul 31, 2017 1:01 PM
|
GAMETRACKER MODERATOR
![]() 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 |
klajdi3 • PM |
Jul 31, 2017 2:39 PM
|
![]() Posts: 7 |
chimaera500 wrote: So, gametracker is running cron jobs each hour for each player? And then ofc saving them. http://www.youtube.com/watch?v=NnMcxSBba5c |
burn • PM |
Jul 31, 2017 8:52 PM
|
![]() 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.
![]() |