Subj : umm...
To   : Hax0r
From : Digital Man
Date : Sun Jul 15 2001 03:27 pm

RE: umm...
BY: Hax0r to Digital Man on Sun Jul 15 2001 09:06 pm

>  > I don't know, that's odd. What if the module runs later? What's the numbe
>  > being generated?
>
> basically i'm having it generate a random number so i can display a random
> ANSWER screen.  it so happens that the random number generated (if no text i
> on the screen) is *always* zero.  If i do a "cls" in the baja module (thus o
> screen operation), the random number generated is always 1.  its just pretty
> strange.  if i run the module after logon (and a lot of screen activity has
> occured), i always do get a random number...
>
> any ideas?

I don't think the screen line has anything to do with it, but more likely
timing. Have you tried doing a small mswait before getting your random number?
Or perhaps getting a few random numbers first (as Evan suggested).

-Rob

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