Galentro Heavy Works
  2127 active members
  227 are online

Year

20

Day

13

Time

20:26:22

Guest
Login
snewsgnewsmessagegeneralfactioninventorycombatroom
Message CentreRPG CentreQuestion Centre
Archives » Which kind of randomness ?
Year 10 Day 196 14:19
Just out of curiosity, which kind of randomness does Combine use ? Is it ultra-cyclic function or chaos like Random.org ?


____________

mystats.php?uid=c2237\"

Former Wraith - Former Valeo Exarch and SRE Master Trader

Former KDY 2IC
Year 10 Day 196 16:29
I can't be an Admin any longer, cause I have no idea what to say to this.
Ashura, what randomness do you mean?


____________

DacSigcopy.png
Avid Soyak
Asst Simmaster
avid@swcombine.com

[21:08] [.Veynom] love is for the weak !
Year 10 Day 196 17:53
Xim Reyes

I believe he means the randomness used in equations like the one for production cost
Cost = round((RMP * (1.5 - (0.5 * (Morale - Crime))) * Random) * Quantity * Mass Production Factor + ((RMP * Tax Level) * Quantity)) 


Ashura, I'd guess that the random numbers are produced using Javascript math, but that's just my guess.


Year 10 Day 196 19:36
http://au2.php.net/manual/en/function.rand.php

All the documentation you could ever want on random numbers in PHP :)


____________

Kids these days!
Year 10 Day 197 10:30
rand() returns a pseudo-random integer 


Khan rules ! Thanks.


____________

mystats.php?uid=c2237\"

Former Wraith - Former Valeo Exarch and SRE Master Trader

Former KDY 2IC