Generators each have a state. You simply need to save and restore this state information to continue the sequence.
dont really get it, the only info tha a generator holds is the seed
(of course i am wrong, but thats what i have managed to grasp so far)
thanks for the link (didnt really get much, but thanks anyway)
O.K. I'll bite: Why do you want to do this?
in my (miserable) attempt to creating a Dungeon Master assistant software
i have noticed that people use their laptops and notebooks and netbooks and iPhones and..
and ofcourse they are really spoiling the fun but since they do it, why shouldnt i write a software?
the main idea is this: all (pseydo) random number generator algorithms try to fulfill some statistical criteria that apply to (trully) random numbers. but, as the Law of Large Numbers dictates, the sample (the random numbers used in the game) must be larger than countable in order for the hypothesis to be true (randomness). since the game of DnD uses a lot of dice , i believe that it can improve on the illusion of random numbers , in comparison to just changing the seed and using the same math from the beginning. for example having a day of luck and another of bad luck instead of having an averge day everytime
This code will always generate the same sequence of 'random' numbers from a given seed. With this you can go back to any previous states by replacing the current seed with one saved from an earlier state.
if only i were smarter i would be able to trully understand this piece of code
it is what i am looking for, i think
and 65.000 are more than enough random numbers
thank you both