| View previous topic :: View next topic |
| Author |
Message |
Habbashooey How do I cheat?
Reputation: 0
Joined: 02 May 2014 Posts: 3
|
Posted: Fri May 02, 2014 4:08 am Post subject: Visual Studio Lock Integer |
|
|
Im very new to programming, I have got all my addresses and am ready to make a trainer.
My problem is that I am creating a trainer in Visual Studio, and I have figured out how to edit my addresses but I cannot figure out how to "lock" the integer like CE would do. I can change the integer using writeInteger command in VB, but it just changes back shorty after.
any help with this would be very much appreciated.
|
|
| Back to top |
|
 |
Gi@nnis Cheater
Reputation: 1
Joined: 26 Oct 2013 Posts: 32 Location: Greece
|
Posted: Fri May 02, 2014 5:04 am Post subject: Re: Visual Studio Lock Integer |
|
|
| Habbashooey wrote: | Im very new to programming, I have got all my addresses and am ready to make a trainer.
My problem is that I am creating a trainer in Visual Studio, and I have figured out how to edit my addresses but I cannot figure out how to "lock" the integer like CE would do. I can change the integer using writeInteger command in VB, but it just changes back shorty after.
any help with this would be very much appreciated. |
I think that you need to add a timer, that will change the value each xx ms. That's how CE does it (I think). That's what the "Freeze interval" option refers to.
To actually freeze it, you'd have to find the assembly code that change it and alter it. (maybe a little of topic)
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri May 02, 2014 1:31 pm Post subject: |
|
|
You can do it one of a few ways:
1.) Use a thread to constantly write the value to the address.
2.) Use a timer to constantly write the value to the address.
3.) Debug the address and find whats writing to it, and nop out or alter the functions that write data to that address.
If you nop them out it will just kill the instruction entirely and stop it from writing at all. However in some cases you may want to allow certain values to write to the address, so you can also do a code cave on the address(s) writing to it and make conditions for when the game value is written, and then if not, just force it to the value you want instead.
_________________
- Retired. |
|
| Back to top |
|
 |
Habbashooey How do I cheat?
Reputation: 0
Joined: 02 May 2014 Posts: 3
|
Posted: Fri May 02, 2014 2:33 pm Post subject: |
|
|
Thank you guys , added a timer set interval to 1 problem solved
|
|
| Back to top |
|
 |
|