G
Guest
Guest
Archived from groups: rec.games.roguelike.angband (More info?)
For kicks, I used these two functions to choose a number between a range, and
from that number, it would display a certain message. This I coded in a
function for init2.c (sorta as a random greeting).
Imagine my surprise when I kept getting the SAME MESSAGE over and over!
So I did a simulation to see what the first 100 random numbers would spew out to
make sure it wasn't something stupid on my part. Sure enough, it would choose
the same 100 different numbers.
Am I doing something wrong? Then again, I don't know exactly how V handles its
RNG. It sure isnt randomized by time of day.
--
AKA Yumi_Saotome on #angband
For kicks, I used these two functions to choose a number between a range, and
from that number, it would display a certain message. This I coded in a
function for init2.c (sorta as a random greeting).
Imagine my surprise when I kept getting the SAME MESSAGE over and over!
So I did a simulation to see what the first 100 random numbers would spew out to
make sure it wasn't something stupid on my part. Sure enough, it would choose
the same 100 different numbers.
Am I doing something wrong? Then again, I don't know exactly how V handles its
RNG. It sure isnt randomized by time of day.
--
AKA Yumi_Saotome on #angband