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 


[Help please] how to create a working cheat table?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
TiredBoar
How do I cheat?
Reputation: 0

Joined: 16 Dec 2016
Posts: 4

PostPosted: Mon Dec 19, 2016 11:34 am    Post subject: [Help please] how to create a working cheat table? Reply with quote

First I'm sorry for bad English not sure about the rightness of sentences but the essence should be clear, I hope.

Not sure if it's in right topic, anyway I created a very simple table for terraria were i changed damage taken to heal me by doing this:

Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem:
add [edx+00000344],eax

originalcode:
//sub [edx+00000344],eax

exit:
jmp returnhere

10080000:
jmp newmem
nop
returnhere:


 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
10080000:
add [edx+00000344],eax
//Alt: db 01 82 44 03 00 00


but got a problem when i just added this it worked well but after restarting the game it doesn't work.
I know why it happens(the game changes addresses location or like this) but don't really understand how to make it to found the right address after restarting the game.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Mon Dec 19, 2016 4:12 pm    Post subject: Reply with quote

Did you try using the AOB Injection template?
Back to top
View user's profile Send private message
Kavvman
Master Cheater
Reputation: 2

Joined: 17 Apr 2004
Posts: 316

PostPosted: Mon Dec 19, 2016 9:05 pm    Post subject: Reply with quote

Terraria generates its data on the fly which means the code moves around. You need to use aob scanning to circumvent this. Using hard-coded addresses isn't gonna work
_________________
...
Back to top
View user's profile Send private message
Kronogenics
Advanced Cheater
Reputation: 0

Joined: 01 Dec 2016
Posts: 82

PostPosted: Mon Dec 19, 2016 10:07 pm    Post subject: Reply with quote

You could also use a Full Injection if you want it to go faster. But some form of injection that can cope adequately with the ever moving instructions is necessary.
_________________
Back to top
View user's profile Send private message
TiredBoar
How do I cheat?
Reputation: 0

Joined: 16 Dec 2016
Posts: 4

PostPosted: Tue Dec 20, 2016 8:00 am    Post subject: Reply with quote

Oh thanks it looks very easy according to Rydian's tutorial, but I have to study a lot before becoming a good cheater.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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