View previous topic :: View next topic |
Author |
Message |
WhileTrueDoEnd How do I cheat? Reputation: 0
Joined: 16 Jan 2015 Posts: 8
|
Posted: Wed Feb 25, 2015 9:25 pm Post subject: Buttons and Toggle Breakpoint |
|
|
Alright so I am making a trainer, and I want it to have two buttons, one saying Fly On, the other, Fly Off. When I click Fly On, it changes the registers, but when I click Fly Off, it toggles breakpoint.
Can you help me?
Thanks.
|
|
Back to top |
|
|
Fnaticline How do I cheat? Reputation: 0
Joined: 27 Feb 2015 Posts: 2
|
Posted: Fri Feb 27, 2015 1:39 am Post subject: D |
|
|
I then want to read about this a long time ago too.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Fri Feb 27, 2015 5:56 am Post subject: |
|
|
start off by attaching the debugger : debugProcess(interface)
you probably want veh so use interface 2
then write a function debugger_onBreakpoint()
in there check that EIP or RIP is the address you wish to change the registers on, and if so, change them
then continue the breakpoint with debug_continueFromBreakpoint(co_run)
and exit the function with return 1 so the user won't get shows a debug screen
When that has been setup in the fly on button put the code debug_setBreakpoint(address) and in the fly off put the code debug_removeBreakpoint(address)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
|