2009-11-03, 18:06:25
random in jass isnt really random..
or better, random on a pc isnt really random.
if you have <?php echo rand(0,10) ?> on your pc/webserver and refresh it 10 times, then you will (sometimes) get something like this: 3 7 5 1 3 5 3 3 1 8...
in bt does that mean, that you can get n times medi in a row, then get n times light tank.... and so on
update:
try it yourself by opening command line (Start -> run -> "cmd" [enter]) and type: echo %RANDOM%
then try to submit it every second (arrow up->enter)
for me i got this:
18831-18717-13842-1931-30852-10776-10701-18316-18727-24448-2024-21902-15472-27387
u see 18k very often, in a range from 0 - 65000 i think..
or better, random on a pc isnt really random.
if you have <?php echo rand(0,10) ?> on your pc/webserver and refresh it 10 times, then you will (sometimes) get something like this: 3 7 5 1 3 5 3 3 1 8...
in bt does that mean, that you can get n times medi in a row, then get n times light tank.... and so on
update:
try it yourself by opening command line (Start -> run -> "cmd" [enter]) and type: echo %RANDOM%
then try to submit it every second (arrow up->enter)
for me i got this:
18831-18717-13842-1931-30852-10776-10701-18316-18727-24448-2024-21902-15472-27387
u see 18k very often, in a range from 0 - 65000 i think..
No Support via PM!!