Deep Bot - Twitch Streamer Assistant

Deep Bot => Bug Reports => Topic started by: Wickedshrapnel on August 24, 2014, 02:36:55 PM

Title: Raffle awards last person who donated or subbed. Doesn't seem random
Post by: Wickedshrapnel on August 24, 2014, 02:36:55 PM
When I host a raffle and select a winner more often than not it "randomly" selects the last person who subbed or donated to the stream.  Is this a feature? Can I disable it to make sure that it is random.
Title: Re: Raffle awards last person who donated or subbed. Doesn't seem random
Post by: ExpertsOnline on August 24, 2014, 05:23:53 PM
This comes up a lot ....

"latest follower wins"
"person who types !override wins"
"first person to enter wins"
"last person to enter wins"
"mods always wins"
"subs always wins"
"girls always wins"

and all I can say is that this is RNG...the code behind is fully random and gives everyone who enters an equal chance. Only thing that tips the balance in your favor on ticket raffles is the number of tickets you enter.
Title: Re: Raffle awards last person who donated or subbed. Doesn't seem random
Post by: Dante557 on August 24, 2014, 11:55:50 PM
I will also add to what Expert has said by saying that it's also dependent on the pool of entries that you have. No RNG system in a program is truly random, no matter how much you seed it. If you want "true" randomness there is always this site http://www.random.org/ (http://www.random.org/). As Deepbot shows you the list of entries in the order they were entered you could use this to choose a winner randomly.

Although as an example, I put a range on 1 - 10 in that website I linked and these were the results I got

Code: [Select]
8, 8, 6, 10, 8
Even with "true" randomness in 5 tries 8 came out 3 times.

Thanks,
Dante557
Title: Re: Raffle awards last person who donated or subbed. Doesn't seem random
Post by: Wickedshrapnel on August 25, 2014, 08:47:14 AM
OK thanks guys. Just wanted to make sure there was no other weight to the raffle