Posted: Mon May 10, 2021 8:28 am Post subject: [Help] Unrandomize RNG
Alright, gonna try to explain my question as clear as possible. so bare with me here.
Theoretically, let say a game that is based on a dice roll action system (ex. 1d20 to charm). So the rng range is between 1-20, how would i find the rng seed to unradomize it and set a pre-designated number? or choke that range to a smaller one, so instead of 1-20 its choked to 15-20 or 18-20? what would the process be to find it and change it?
I'm not very skilled with cheat engine but i learn fast.
If you can control when the generator state progresses, scan for changed / unchanged values until you narrow it down. Freeze the state as desired. You should have basic knowledge of how RNGs are implemented first.
Otherwise, try finding something that's affected by randomness and look at where the value being written is derived from. This is closer to reverse engineering than simply reading assembly, and you'd have a very hard time doing this with no prior knowledge of assembly.
The CE tutorial is a very easy example of the latter, and maybe the former (haven't looked)- there are some steps where you click a button and health is decreased by a random amount. Try that if you're curious. _________________
I don't know where I'm going, but I'll figure it out when I get there.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum