View previous topic :: View next topic |
Author |
Message |
thebmxbandit11 Newbie cheater
Reputation: 0
Joined: 03 Jul 2014 Posts: 15
|
Posted: Thu Dec 25, 2014 2:09 am Post subject: How can I find the address of a randomly generated number |
|
|
In super meat boy there is a boss called larry and he has a random chance of jumping into the saws to kill himself, which makes speedrunning this game a complete nightmare because if he takes more than 3 cycles you are losing time. After over 500 hours of speedrunning this game I don't want to deal with this anymore. (I will make it clear that I am using a script when doing attempts with this tool if it even is possible for me to figure out how to make)
how could I find the address of the thing that determines whether he will jump or not?
i think there is a separate values for each worm(3 in total) and each is re-rolled every 3 seconds.
|
|
Back to top |
|
 |
stanoja Cheater
Reputation: 0
Joined: 08 Mar 2007 Posts: 33 Location: Mk.
|
Posted: Thu Dec 25, 2014 10:14 am Post subject: |
|
|
Do you know some properties of the actual value of the randomized number?
_________________
Busy thinking... |
|
Back to top |
|
 |
thebmxbandit11 Newbie cheater
Reputation: 0
Joined: 03 Jul 2014 Posts: 15
|
Posted: Thu Dec 25, 2014 9:24 pm Post subject: |
|
|
stanoja wrote: | Do you know some properties of the actual value of the randomized number? |
unfortunately all i really know is that the chance decreases with each cycle, so if none have jumped the chance is higher and if only one is left then the chance is low. In total for 3 to jump in a row the chance is 9%. other than that i don't really know too much unfortunately. My only thoughts were to maybe find the bosses x or y coordinates then maybe the random variable would be nearby if I just scan for a changed value every reroll and unchanged before each roll. I've tried this, but I haven't come up with anything of value yet. Also as for data type, I would assume that it is a 4 byte value but once again I really am not sure.
edit: also a possibility I tried scanning for was a 4 byte value that is 1 when the worm jumps and 0 when it pokes its head up without jumping, but that didn't yield any useful results
This video shows what i mean by the different worms jumping or not and also shows how it loses a lot of time. (this video is not mine)
youtube . com/watch?v=CfUHWour_Tc
|
|
Back to top |
|
 |
stanoja Cheater
Reputation: 0
Joined: 08 Mar 2007 Posts: 33 Location: Mk.
|
Posted: Fri Dec 26, 2014 12:19 pm Post subject: |
|
|
To be honest, sounds hardly possible.
Without knowing the type, search for value type : "all", try your guessing. Some number is changing that's for sure. Either it is a whole number or a double/float, try looking for something that's changed/unchanged, you don't know if it's increasing or a decreasing number, it's probability, it can be p(A) it can be 1-p(A). IF you happen to find the value, I mean IF, find out what writes to that address and keep the code. I don't have the game to try so I really don't know how to help you in another way.
If it's a speedrun make it segmented, good luck and I expect to see your results of the searching and the run!
_________________
Busy thinking... |
|
Back to top |
|
 |
thebmxbandit11 Newbie cheater
Reputation: 0
Joined: 03 Jul 2014 Posts: 15
|
Posted: Fri Dec 26, 2014 6:14 pm Post subject: |
|
|
stanoja wrote: | To be honest, sounds hardly possible.
Without knowing the type, search for value type : "all", try your guessing. Some number is changing that's for sure. Either it is a whole number or a double/float, try looking for something that's changed/unchanged, you don't know if it's increasing or a decreasing number, it's probability, it can be p(A) it can be 1-p(A). IF you happen to find the value, I mean IF, find out what writes to that address and keep the code. I don't have the game to try so I really don't know how to help you in another way.
If it's a speedrun make it segmented, good luck and I expect to see your results of the searching and the run! |
well the thing is this has already been done, there is a larry script already out there but it was deleted and everyone I know who might have it doesn't anymore, so I know it is 100% possible. I'm just not sure how the heck they managed to do it.
|
|
Back to top |
|
 |
thebmxbandit11 Newbie cheater
Reputation: 0
Joined: 03 Jul 2014 Posts: 15
|
Posted: Mon Dec 29, 2014 7:02 am Post subject: |
|
|
Okay I just found that if you check the Unrandomizer checkbox then larry never jumps, so this unrandomizer is working, but i need it to instead of never making him jump make him jump everytime.
|
|
Back to top |
|
 |
|