View previous topic :: View next topic |
Author |
Message |
The Dab Cheater Reputation: 0
Joined: 22 May 2017 Posts: 33
|
Posted: Sun Jun 25, 2017 12:21 pm Post subject: Problem when changing integers with aob injection. |
|
|
Hello, I am trying to change the health value of myself when this script is enabled. However, whenever I enable it, it changes the value to something completely random. Even if I do something like
I still get an incredibly high value whenever the script is enabled. This also causes my game to freeze and crash. So to make it short my goal is to change my health value to the exact number specified in the script. I would also like to mention I am for sure using the right address. edi always equals the hex value of the health. My only changes are under "newmem"
Code: | [ENABLE]
aobscanmodule(health,server.dll,89 3E 5F 5E 5D C2 04 00 CC CC CC 8B 81) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
6EDCC44C:
mov edi,(int)10
code:
mov [esi],edi
pop edi
pop esi
pop ebp
jmp return
health:
jmp newmem
return:
registersymbol(health)
[DISABLE]
health:
db 89 3E 5F 5E 5D
unregistersymbol(health)
dealloc(newmem)
|
|
|
Back to top |
|
|
STN I post too much Reputation: 42
Joined: 09 Nov 2005 Posts: 2672
|
Posted: Sun Jun 25, 2017 4:41 pm Post subject: |
|
|
Code: | newmem:
[b]6EDCC44C:[/b]
mov edi,(int)10 |
What is this?
_________________
|
|
Back to top |
|
|
The Dab Cheater Reputation: 0
Joined: 22 May 2017 Posts: 33
|
Posted: Sun Jun 25, 2017 5:01 pm Post subject: |
|
|
STN wrote: | Code: | newmem:
[b]6EDCC44C:[/b]
mov edi,(int)10 |
What is this? |
First of all thank you for replying.
" 6EDCC44C: " Is the address of my players health.
When I change the value to 10 in the script and activate it. It changes the health value to 2721. That random health value is my problem.
|
|
Back to top |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Sun Jun 25, 2017 8:04 pm Post subject: |
|
|
ehmmm its changes it to something bigger.
it might be binary value. go couple lines above and see if theres xor / and.
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote: | i am a sweetheart. |
|
|
Back to top |
|
|
|