Post
Topic
Board Meta
Merits 1 from 1 user
Re: Activity & new membergroup limits
by
theymos
on 11/08/2014, 17:12:19 UTC
⭐ Merited by PowerGlove (1)
Can you make getting legendary provability fair? So we know if you don't like us that we get it anyway Smiley

Nah, that'd significantly complicate things. Currently this randomness is done with a single SQL query, which is very convenient.

Code:
update smf_members set ID_POST_GROUP=21 where ID_POST_GROUP=8 and
activity>=775 and activity>=775+conv(substr(sha1(concat(ID_MEMBER,
secretSeed)), 1, 2), 16, 10);

The required activity level per user is suitably random for betting, but anyone who can read my code (there are a few such people) will be able to exactly predict when someone will become Legendary, so I don't really recommend it.