cday41 / paz-search

Automatically exported from code.google.com/p/paz-search
0 stars 0 forks source link

Random numbers always generated from the same seed #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
All of the random numbers generated (i.e. rolling the dice) are, while random, 
the same sequence for every simulation. As if a new seed needs to be set at the 
beginning of a simulation to generate unique random numbers for that simulation.

See the attached log files from different simulations. You can see the same 
sequences of numbers rolled. For example search for “71338024” within the 
textfiles. Not only will that roll show up in every textfile, you can see the 
strings of numbers before and after are exactly the same.

Original issue reported on code.google.com by acohe...@gmail.com on 15 May 2014 at 8:09

Attachments:

GoogleCodeExporter commented 9 years ago
Found where the seed was set.  Took it out.  Now it will be seeded based on the 
time of day.  

Original comment by ran...@mwwb.net on 17 May 2014 at 2:48