Post
Topic
Board Meta
Re: Forum ranks/positions/badges (What do those shiny coins under my name mean?)
by
OrganicCoin
on 09/01/2018, 11:12:39 UTC

The way activity is calculated:
The activity number is determined in this way:
time = number of two-week periods in which you've posted since your registration
activity = min(time * 14, posts)

Activity is updated every hour.


I have a question abouot this part: Is time an integer or a float?

Ofc its int
For example, check that:

Code:
waittime = 360;
if(activity >= 15)
        waittime = (int)(90 - activity);
if(activity >= 60)
        waittime=(int)(34.7586 - (0.0793103 * activity));
if(activity >= 100)
        waittime = max((int)(14-(activity/50)), 4);

Thank you Smiley
Well time could be a float as well e.g. 3 weeks being 1.5. Thats why I was asking.