Conquer Club

Why does CC use RANDOM.org?

Talk about all things related to Conquer Club

Moderator: Community Team

Forum rules
Please read the community guidelines before posting.

Why does CC use RANDOM.org?

Postby spearfish on Tue Mar 18, 2008 9:58 pm

Doesn't the transfer of numbers make it easier to hack it, or at least know what's coming up?

Meanwhile there's a random number generator built into PHP, here are my results from using it:
1000000 trials: 166870-166405-166726-166413-166530-167056
16.687%-16.6405%-16.6726%-16.6413%-16.653%-16.7056%

Here's the code if you guys want to try it on your own ;-)

<?php
for ( $counter = 0; $counter < 1000000; $counter++) {
$i = mt_rand(1,6);
if ( $i == 1) {
$one++;
}
if ( $i == 2) {
$two++;
}
if ( $i == 3) {
$three++;
}
if ( $i == 4) {
$four++;
}
if ( $i == 5) {
$five++;
}
if ( $i == 6) {
$six++;
}
}
echo "$counter trials: $one-$two-$three-$four-$five-$six";
$one = $one / 10000;
$two = $two / 10000;
$three = $three / 10000;
$four = $four / 10000;
$five = $five / 10000;
$six = $six / 10000;
echo "<br /> (or $one%-$two%-$three%-$four%-$five%-$six&)";
?>
Mess with the best, die like the rest...
User avatar
Cook spearfish
 
Posts: 214
Joined: Fri Jan 25, 2008 9:58 pm
Location: New York

Re: Why does CC use RANDOM.org?

Postby DiM on Tue Mar 18, 2008 10:06 pm

spearfish wrote:Doesn't the transfer of numbers make it easier to hack it, or at least know what's coming up?


i doubt hacking the dice is easy. random.org provides randomness for a lot of sites not only CC and so far i heard nothing about hacks.

as for knowing what dice come next, that wouldn't help at all since the dice come so fast it would be humanly impossible to press attack at an exact moment.

let's say i know the next 3 rolls are 6-6-6 vs 1-1. before i have time to read that and press attack those rolls are already used by somebody else.
“In the beginning God said, the four-dimensional divergence of an antisymmetric, second rank tensor equals zero, and there was light, and it was good. And on the seventh day he rested.”- Michio Kaku
User avatar
Major DiM
 
Posts: 10415
Joined: Wed Feb 14, 2007 6:20 pm
Location: making maps for scooby snacks

Postby gloryordeath on Tue Mar 18, 2008 10:13 pm

they just like to hear about how bad the dice suck.... :lol:
The Society of Cooks Train a cook today battle an officer tomorrow! Making good players great! viewtopic.php?f=341&t=74468

xiGAMES Member

Image
User avatar
Lieutenant gloryordeath
 
Posts: 1877
Joined: Sun May 28, 2006 6:56 pm
Location: Denver, CO U.S.A.

Postby spearfish on Tue Mar 18, 2008 10:19 pm

Well Random.org does charge a small fee.... and mt_rand is free.
Mess with the best, die like the rest...
User avatar
Cook spearfish
 
Posts: 214
Joined: Fri Jan 25, 2008 9:58 pm
Location: New York

Postby dividedbyzero on Tue Mar 18, 2008 10:43 pm

spearfish wrote:Well Random.org does charge a small fee.... and mt_rand is free.


Probably because mt_rand isn't truly random. No computer generated random function is truly random by itself.
Image
User avatar
Major dividedbyzero
 
Posts: 884
Joined: Wed Jul 26, 2006 7:09 pm

Postby greenoaks on Tue Mar 18, 2008 11:17 pm

Lack uses random.org because for the one low fee they provide two sets of random dice files. the second file is for premium members only.
User avatar
Sergeant greenoaks
 
Posts: 9977
Joined: Mon Nov 12, 2007 12:47 am

Postby owenshooter on Wed Mar 19, 2008 12:03 am

greenoaks wrote:Lack uses random.org because for the one low fee they provide two sets of random dice files. the second file is for premium members only.


we aren't supposed to discuss this in the open! someone needs to lock this down now and delete it before the word gets out!!-0
Image
Thorthoth,"Cloaking one's C&A fetish with moral authority and righteous indignation
makes it ever so much more erotically thrilling"
User avatar
Sergeant owenshooter
 
Posts: 13274
Joined: Wed Mar 07, 2007 6:01 pm
Location: Deep in the Heart of Tx

Postby Iliad on Wed Mar 19, 2008 12:08 am

owenshooter wrote:
greenoaks wrote:Lack uses random.org because for the one low fee they provide two sets of random dice files. the second file is for premium members only.


we aren't supposed to discuss this in the open! someone needs to lock this down now and delete it before the word gets out!!-0
Why did you ruin that call? :roll:
User avatar
Private 1st Class Iliad
 
Posts: 10394
Joined: Mon Mar 05, 2007 12:48 am

Postby yeti_c on Wed Mar 19, 2008 4:07 am

spearfish wrote:Well Random.org does charge a small fee.... and mt_rand is free.


Actually random.org is free...

Also - there is no "data feed" from random.org - that can be "hacked"... it's done by ... <muffled noises>...
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby BaldAdonis on Wed Mar 19, 2008 6:23 am

yeti_c wrote:
spearfish wrote:Well Random.org does charge a small fee.... and mt_rand is free.


Actually random.org is free...

Also - there is no "data feed" from random.org - that can be "hacked"... it's done by ... <muffled noises>...
Did I hear carrier pigeons?

I'd also wager that it's easier to request the data from random.org and then read it, as opposed to processing all the dice on conquerclub.
User avatar
Captain BaldAdonis
 
Posts: 2334
Joined: Fri Aug 24, 2007 1:57 am
Location: Trapped in Pleasantville with Toby McGuire

Postby firth4eva on Wed Mar 19, 2008 6:50 am

dividedbyzero wrote:
spearfish wrote:Well Random.org does charge a small fee.... and mt_rand is free.


Probably because mt_rand isn't truly random. No computer generated random function is truly random by itself.

True. They only use different sections of pi.
User avatar
Captain firth4eva
 
Posts: 6188
Joined: Sat Mar 03, 2007 7:20 am

Postby spearfish on Wed Mar 19, 2008 9:07 am

And btw Yeti, they *do* charge. I worked it out; CC pays about $1.50 daily.
Mess with the best, die like the rest...
User avatar
Cook spearfish
 
Posts: 214
Joined: Fri Jan 25, 2008 9:58 pm
Location: New York

Postby yeti_c on Wed Mar 19, 2008 9:11 am

Really?

I reckon I can just go here

http://www.random.org/files/

And download the files for free...

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby spearfish on Wed Mar 19, 2008 3:19 pm

That works, but if somebody found out which file they were using, ouch!

I was just wondering, that's all, because the Mersenne Twister algorithm is more than accurate enough for the site's purposes.
Mess with the best, die like the rest...
User avatar
Cook spearfish
 
Posts: 214
Joined: Fri Jan 25, 2008 9:58 pm
Location: New York

Postby yeti_c on Wed Mar 19, 2008 4:09 pm

spearfish wrote:That works, but if somebody found out which file they were using, ouch!

I was just wondering, that's all, because the Mersenne Twister algorithm is more than accurate enough for the site's purposes.


And what are you gonna do if you know which file they're using?

First off you have to work out how to parse all those 1's and 0's into a "dice file"... and then you need to find where you are in the dice file when you roll the first roll - by the time you've worked that out - about 500 other rolls have rolled - and you won't know where you are in the dice file...

Also - what happens if they use more than 1 file? They could also then change the order of the files...

Either way - you aren't gonna be able to "hack" the dice.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby spearfish on Wed Mar 19, 2008 5:22 pm

Sounds good. Converting the 0's and 1's to dice rolls is easy though. Take a set of six numbers and add them up!

Yet the Help file says that they have a 5 x 500,000 list of numbers, meaning they have them 1-6.
Mess with the best, die like the rest...
User avatar
Cook spearfish
 
Posts: 214
Joined: Fri Jan 25, 2008 9:58 pm
Location: New York


Return to Conquer Club Discussion

Who is online

Users browsing this forum: No registered users