Posts: 125
Threads: 30
Joined: Jun 2012
Reputation:
0
Hello,basically what i need is an equasion that divides the total playing time of a player and gets the averege daily time out of it.I tried to make it but let's say math is not my power xD.Can anyone give me a hand?
Posts: 1,196
Threads: 45
Joined: Jan 2012
Reputation:
0
Use this equation
pOnlineTime / pDaysPlayed
example online time = 4, days = 4
4 / 4
= 1
he played 1 hr daily(on average)
Posts: 53
Threads: 0
Joined: Sep 2012
Reputation:
0
it must count the played days/hours, then divide both to get the average.
use some method to store, if you got any problems with it, post ur code.
Posts: 125
Threads: 30
Joined: Jun 2012
Reputation:
0
No problem i used dini to save the hours and the days and i used gettime to get the exact info.