kito2
www.masteria.net
I have an idea... Online time since char first login.
Let me explain it a little, the idea is basically a php query on characters.php (gesior acc) where it shows how many time the player has been online since the first login.
How it should work? Using a function for login and logout.
When you log in, it set a storage x the current time, and when you log out, it set a storage y the current time, and also a query after this, that updates a storage z with this equation z = z + (x - y), where z is the new value and z is the old time.
Then, a php query that shows how many time the player has been online in months, weeks, days, hours, min, seconds...
Maybe it would work like that, if Im wrong, someone correct me
Let me explain it a little, the idea is basically a php query on characters.php (gesior acc) where it shows how many time the player has been online since the first login.
How it should work? Using a function for login and logout.
When you log in, it set a storage x the current time, and when you log out, it set a storage y the current time, and also a query after this, that updates a storage z with this equation z = z + (x - y), where z is the new value and z is the old time.
Then, a php query that shows how many time the player has been online in months, weeks, days, hours, min, seconds...
Maybe it would work like that, if Im wrong, someone correct me