Others read books, I hack PHPSuicidal wrote:arent u meant to be on HOIDAY?!?!? agreed it is raining here atm but.... lol
#1 BigBattleServers.com - Forum
|
Others read books, I hack PHPSuicidal wrote:arent u meant to be on HOIDAY?!?!? agreed it is raining here atm but.... lol
OVERVIEW OF DATA:
HyperStore (updated once per minute):
globalvars: onceperminutecounter PROC_TransformOne STATS_ProcessOne
servers: scanclass type missed lastscandata prelastscandata firstscan lastscan
DynamicData (updated once per hour):
DD_RecreateTable ("server__player_seconds", array("server", "week"))
DD_CreateTable ("server_{$address}_players_clq1", array ("player", "week"))
DD_CreateTable ("server_{$address}_players_clq2", array ("player", "week"))
DD_CreateTable ("server_{$address}_players", array ("player", "week"))
DD_CreateTable ("server_{$address}_players_points", array ("player", "week"))
DD_CreateTable ("server_{$address}_players_pph", array ("player", "week"))
DD_CreateTable ("server_{$address}_maps", array ("map", "week"))
DD_CreateTable ("server_maps", array ("map", "week")) not used yet
Disk:
/data/scans/2008/07/28/..: raw scan data (multi files per minute): address=>scandata, scandata containing now
/data/scans/2008/07/28/proc/..: processes scan data (multi files per hour, based on $hashsize): address=>now=>scandata
Objects:
scandata: always: status name maxplayers players retries map playerlist optional: now servertype gametype
OVERVIEW OF LOGIC:
Cycle:
QSTAT_InitScanAndStore ($specs, $threads=1): initiates the background scanning
QSTAT_ScanNow ($scanspecs, $timeout=60): does the REAL scanning
QSTAT_ScanAndStore ($specs, $timeout=60)
PROC_RT ($address, $scandata): process scandata, update hs:servers
PROC_Transform ($dir, $hashsize=1)
STATS_ProcessMulti ($multi=1)
STATS_Process1 ($dir, $last)
STATS_ProcessServer1 ($address, $scandata, $last)
SERVERS_FindNewNow(): to be called manually does clearcache + findnew + manualscan 6 + manualscan 7
SERVERS_ManualScan ($amount=25, $scanclass=6): only updates status and scanclass (to 1, 2 or 7)
PROC_FIX ($scandata, $address): repairs scandata (e.g. removes bots and non players) 
I use the CLQ counter for that, so it includes those counts as well.thomaster wrote:This one seems "unreal" for me: "Total pageviews: 200,818,345"
Return to TheCLQ.com / AllGameServers.com
Users browsing this forum: No registered users and 1 guest