17.04.2011, 13:23
You really should use SQL for this, it's the wisest choice.
Anyhow, I'd say when a player logins, have a few global variables which store the largest current scores/online time along with a playerid allocated to it, then if someone logs back in with a higher statistic, update the global variables, and so forth.
Anyhow, I'd say when a player logins, have a few global variables which store the largest current scores/online time along with a playerid allocated to it, then if someone logs back in with a higher statistic, update the global variables, and so forth.