Need help with an equasion.
#1

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?
Reply
#2

Use this equation
pOnlineTime / pDaysPlayed

example online time = 4, days = 4
4 / 4
= 1
he played 1 hr daily(on average)
Reply
#3

Quote:
Originally Posted by [HK]Ryder[AN]
Посмотреть сообщение
Use this equation
pOnlineTime / pDaysPlayed

example online time = 4, days = 4
4 / 4
= 1
he played 1 hr daily(on average)
Yes that's what i was thinking,i just need to make a variable that saves the Player Days.
Reply
#4

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.
Reply
#5

No problem i used dini to save the hours and the days and i used gettime to get the exact info.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)