I noticed everytime I used rnd in the client is was giving me a set pattern.. I used:
Int(Rnd * 4) + 1
And it always gave me this order:
3 - 3 - 3 - 2 - 2 - 4 - 1 - 4 - 4 - 3
No matter what.
I don't understand, and it's driving me nuts. It works fine in the server.
Makes no sense. Blah.
:oops:
I put it in Sub Main now, thnx Verrigan.
Well now that it got me thinking about it, why dos it produce that pattern when it's not randomized?
Hah, alright, makes sense then. I knew that the rnd function ran off a base apttern of some sort, becasue I remember being told it's not 'perfectly' random. The timer bit makes perfect sense now.
Thanks again.
I needed it client side because everytime you login it displays a new game tip.
Most of the commercial mmo games have that. Took awhile for Lineage 2 to get it, but they put that in when they released C5. Not an original idea, but it is an original MS idea.
Dragoons Master
Unregistered
Verrigan, I always used just "Randomize", without Timer. What seed it uses I use only "Randomize"?
Dragoons Master
Unregistered
I do have, but I'm not at home right now xD I'm at college and I'll go homeonly tonight. Well, anyway, I'll take a look tonight