Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Cheat Does not work if Reopen the game?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
blazterzt404
Newbie cheater
Reputation: 0

Joined: 11 Apr 2016
Posts: 13

PostPosted: Tue Jul 12, 2016 10:36 am    Post subject: Cheat Does not work if Reopen the game? Reply with quote

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
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Tue Jul 12, 2016 11:02 am    Post subject: Reply with quote

Use AOB Injection instead of Code Injection.
Back to top
View user's profile Send private message
blazterzt404
Newbie cheater
Reputation: 0

Joined: 11 Apr 2016
Posts: 13

PostPosted: Wed Jul 20, 2016 4:45 am    Post subject: Reply with quote

and... can you show me the tutorial? really i have search and dont find the good one complete tutorial.
_________________
- Nobody Perfect.
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 42

Joined: 09 Nov 2005
Posts: 2672

PostPosted: Wed Jul 20, 2016 7:20 am    Post subject: Reply with quote

There is no need for a tutorial, just open CE autoassembler and select the aobinjection template.
_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
PinPoint
Expert Cheater
Reputation: 10

Joined: 07 Apr 2016
Posts: 223
Location: Scotland

PostPosted: Wed Jul 20, 2016 8:18 am    Post subject: Reply with quote

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
View user's profile Send private message
blazterzt404
Newbie cheater
Reputation: 0

Joined: 11 Apr 2016
Posts: 13

PostPosted: Fri Jul 29, 2016 8:36 am    Post subject: Reply with quote

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
View user's profile Send private message
PinPoint
Expert Cheater
Reputation: 10

Joined: 07 Apr 2016
Posts: 223
Location: Scotland

PostPosted: Fri Jul 29, 2016 8:52 am    Post subject: Reply with quote

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
View user's profile Send private message
blazterzt404
Newbie cheater
Reputation: 0

Joined: 11 Apr 2016
Posts: 13

PostPosted: Fri Jul 29, 2016 1:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
cooleko
Grandmaster Cheater
Reputation: 11

Joined: 04 May 2016
Posts: 717

PostPosted: Sat Jul 30, 2016 1:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites