Subj : umm...
To   : Hax0r
From : Digital Man
Date : Tue Jul 17 2001 05:41 am

RE: umm...
BY: Hax0r to Digital Man on Mon Jul 16 2001 11:16 pm

>  > There's definitely a problem with random numbers currently in v3.00 and i
>  > be fixed before the release of v3.10.
>
> heh.. glad that it just wasn't something i was doing -- has this been a know
> thing?

Nope, you're the first to discover/report it.

> i've used the random function before and it seemed to work ok...

It works in the sense, that it produces pseudo-random numbers. The problem is
that it produces the SAME numbers in the SAME order for every login. This has
been fixed in v3.10 (each thread has to seed the random number generator).

>  >  > # display answer0-3.ans
>  > int t
>  > str fname
>  > time t          # get time (in seconds)
>  > and t 3         # just use lower 2 bits
>  > sprintf fname "%%zANSWER.%ld" t
>  > printfile fname # display file
>
> thats a lot more elegant than my solution anyways... thanks for the tip!

No problem. Thanks for the bug report.

-Rob

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net