View previous topic :: View next topic |
Author |
Message |
TiredBoar How do I cheat? Reputation: 0
Joined: 16 Dec 2016 Posts: 4
|
Posted: Mon Dec 19, 2016 11:34 am Post subject: [Help please] how to create a working cheat table? |
|
|
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 |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Mon Dec 19, 2016 4:12 pm Post subject: |
|
|
Did you try using the AOB Injection template?
|
|
Back to top |
|
|
Kavvman Master Cheater Reputation: 2
Joined: 17 Apr 2004 Posts: 316
|
Posted: Mon Dec 19, 2016 9:05 pm Post subject: |
|
|
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 |
|
|
Kronogenics Advanced Cheater Reputation: 0
Joined: 01 Dec 2016 Posts: 82
|
Posted: Mon Dec 19, 2016 10:07 pm Post subject: |
|
|
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 |
|
|
TiredBoar How do I cheat? Reputation: 0
Joined: 16 Dec 2016 Posts: 4
|
Posted: Tue Dec 20, 2016 8:00 am Post subject: |
|
|
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 |
|
|
|