The Daily Click ::. Forums ::. Klik Coding Help ::. Random seeds
 

Post Reply  Post Oekaki 
 

Posted By Message

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
20th July, 2004 at 11:14:30 -

How do you do those random seed thingies? You know, the thing where random numbers are generated from a 'seed'? It'll do wonders for my anti-cheat system...

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

Mr Coffee



Registered
  04/09/2003
Points
  440
20th July, 2004 at 12:34:41 -

It's under special conditions and is an option called "randomize". You set the seed there.

 
99 percent chance that the above post is 100 percent correct.

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
20th July, 2004 at 21:33:24 -

Ah, thank you. Didn't notice it. I'll check it out once I get access to MMF again.

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
21st July, 2004 at 06:54:33 -

Yeah, what does the randomise thingy do?

 
n/a

Kris

Possibly Insane

Registered
  17/05/2002
Points
  2017
21st July, 2004 at 07:35:42 -

when you create a seed it makes a bunch of numbers, which is what the randomiser gives you. They aren't really random, just 'pseudo-random', so if you use the same seed you'll get the same pattern of numbers. That's why it's good to base the seed on something like... how many milliseconds your PC's been on for

Image Edited by the Author.

 
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
21st July, 2004 at 07:52:22 -

If you have MMF 1.5, the Mersenne Twister object gives you 320 bits of randomisation

 
n/a

Mr Icekirby



Registered
  18/12/2003
Points
  846
21st July, 2004 at 09:57:55 -

quite a useful extension

 
Mr Icekirby says so!
OBEY ME!
   

Post Reply



 



Advertisement

Worth A Click