View previous topic :: View next topic |
Author |
Message |
blazterzt404 Newbie cheater Reputation: 0
Joined: 11 Apr 2016 Posts: 13
|
Posted: Tue Jul 12, 2016 10:36 am Post subject: Cheat Does not work if Reopen the game? |
|
|
Hello guys, i have a problem, why my cheat does not work if i reopen game, are the address is outdate? or change, how to make it fix? please give me the clue guys.
_________________
- Nobody Perfect. |
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Tue Jul 12, 2016 11:02 am Post subject: |
|
|
Use AOB Injection instead of Code Injection.
|
|
Back to top |
|
|
blazterzt404 Newbie cheater Reputation: 0
Joined: 11 Apr 2016 Posts: 13
|
Posted: Wed Jul 20, 2016 4:45 am Post subject: |
|
|
and... can you show me the tutorial? really i have search and dont find the good one complete tutorial.
_________________
- Nobody Perfect. |
|
Back to top |
|
|
STN I post too much Reputation: 42
Joined: 09 Nov 2005 Posts: 2672
|
Posted: Wed Jul 20, 2016 7:20 am Post subject: |
|
|
There is no need for a tutorial, just open CE autoassembler and select the aobinjection template.
_________________
|
|
Back to top |
|
|
PinPoint Expert Cheater Reputation: 10
Joined: 07 Apr 2016 Posts: 223 Location: Scotland
|
Posted: Wed Jul 20, 2016 8:18 am Post subject: |
|
|
blazterzt404 wrote: | and... can you show me the tutorial? really i have search and dont find the good one complete tutorial. |
You must not have looked at all...
12th post from the sticky's in the cheat engine tutorials section
http://forum.cheatengine.org/viewtopic.php?t=570083
There are many videos on youtube also showing you step by step how to do it.
|
|
Back to top |
|
|
blazterzt404 Newbie cheater Reputation: 0
Joined: 11 Apr 2016 Posts: 13
|
Posted: Fri Jul 29, 2016 8:36 am Post subject: |
|
|
i have watching the videos and completing the tutorial of cheat engine, i just wonder how to work AoB injection from the result of multilevel pointer? since i dont know too much how's the pointer's work. just change the value, and freeze it but i want to more advance like use asm command, on the pointer.
_________________
- Nobody Perfect. |
|
Back to top |
|
|
PinPoint Expert Cheater Reputation: 10
Joined: 07 Apr 2016 Posts: 223 Location: Scotland
|
Posted: Fri Jul 29, 2016 8:52 am Post subject: |
|
|
you want a script to freeze a value on the pointer?
I would usually keep AOB injections and pointers separate. you would use AOB injection to modify the instruction that writes to address. But if you only wanted a script to write a value to a pointer I would use createthread.
Say this is your pointer [[[Game.exe+1234]+C]+6F]+5 you could try something like this, which would write the value of the pointer to 1000 every half second if the pointer is valid.
Code: |
[ENABLE]
globalalloc(pointer,2048)
CREATETHREAD(pointer)
label(skip)
registersymbol(end)
label(end)
pointer:
mov eax,[Game.exe+1234] //code cave to get pointer into a register
test eax,eax //check for validity
je skip //if pointer not valid jump
mov eax,[eax+C]
test eax,eax
je skip
mov eax,[eax+6F]
test eax,eax
je skip
mov word ptr [eax+5],#1000 //set value to 1000 in 2 bytes
skip:
push #500 //500ms to top of stack
call sleep //sleep value on top of stack
cmp [end],01 //check if script enabled/disabled
jne pointer //if enabled jump to pointer
ret //terminate thread
end:
dd 0 //declare bytes so we dont end the thread
[DISABLE]
end:
dd 01 //declare bytes so we can end the thread when we disable
|
|
|
Back to top |
|
|
blazterzt404 Newbie cheater Reputation: 0
Joined: 11 Apr 2016 Posts: 13
|
Posted: Fri Jul 29, 2016 1:56 pm Post subject: |
|
|
PinPoint wrote: | you want a script to freeze a value on the pointer?
I would usually keep AOB injections and pointers separate. you would use AOB injection to modify the instruction that writes to address. But if you only wanted a script to write a value to a pointer I would use createthread.
Say this is your pointer [[[Game.exe+1234]+C]+6F]+5 you could try something like this, which would write the value of the pointer to 1000 every half second if the pointer is valid.
Code: |
[ENABLE]
globalalloc(pointer,2048)
CREATETHREAD(pointer)
label(skip)
registersymbol(end)
label(end)
pointer:
mov eax,[Game.exe+1234] //code cave to get pointer into a register
test eax,eax //check for validity
je skip //if pointer not valid jump
mov eax,[eax+C]
test eax,eax
je skip
mov eax,[eax+6F]
test eax,eax
je skip
mov word ptr [eax+5],#1000 //set value to 1000 in 2 bytes
skip:
push #500 //500ms to top of stack
call sleep //sleep value on top of stack
cmp [end],01 //check if script enabled/disabled
jne pointer //if enabled jump to pointer
ret //terminate thread
end:
dd 0 //declare bytes so we dont end the thread
[DISABLE]
end:
dd 01 //declare bytes so we can end the thread when we disable
|
|
i'll try it to modify script on game but not that complicated like this one?
the functionof sleep is freezing value?
okay i'll try it.
_________________
- Nobody Perfect. |
|
Back to top |
|
|
cooleko Grandmaster Cheater Reputation: 11
Joined: 04 May 2016 Posts: 717
|
Posted: Sat Jul 30, 2016 1:37 am Post subject: |
|
|
the function of sleep is quite literally, sleeping. It prevents the next line of code from running until the sleep interval has passed.
|
|
Back to top |
|
|
|