 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
h3x1c Master Cheater
Reputation: 17
Joined: 27 Apr 2013 Posts: 306
|
Posted: Sun Jul 05, 2015 5:26 pm Post subject: Unable to disable AA AOB script? |
|
|
For the life of me, I can't figure out why I can't disable this script! I've even tried making this script the only script I have in my table, but no dice. I feel like I'm going crazy having spent hours on this... I'm sure my solution here is crude for what I'm looking to achieve (trying to account for 2 possible offsets), so any thoughts on shoring that up are more than welcome.
Anyway, here's the script, and thanks for any help/suggestions! (Oh, and when I try to manually go to aobEOWInstaKill in the memory viewer after enabling this script, it says it's not a valid address...)
Code: | [ENABLE]
aobscan(aobEOWInstaKill,29 86 DC 00 00 00)
alloc(newmem,$2000)
label(firstCheck)
label(secondCheck)
label(singleInstaKill)
label(killAll)
label(return)
newmem:
firstCheck: //Check for segment 1 offset A04
push ecx
mov ecx,[esi+00000AE4]
cmp ecx,(int)150
pop ecx
jne secondCheck
push ebx
lea ebx,[esi+00000AE0]
mov [esi+000000DC],0
mov [esi+00000AE0],0
jmp killAll
secondCheck: //Check for segment 1 offset A48
push ecx
mov ecx,[esi+00000B28]
cmp ecx,(int)150
pop ecx
jne singleInstaKill
push ebx
lea ebx,[esi+00000B24]
mov [esi+000000DC],0
mov [esi+00000B24],0
jmp killAll
killAll:
mov [ebx+00000990],0
mov [ebx+00000990*2],0
mov [ebx+00000990*3],0
mov [ebx+00000990*4],0
mov [ebx+00000990*5],0
mov [ebx+00000990*6],0
mov [ebx+00000990*7],0
mov [ebx+00000990*8],0
mov [ebx+00000990*9],0
mov [ebx+00000990*A],0
mov [ebx+00000990*B],0
mov [ebx+00000990*C],0
mov [ebx+00000990*D],0
mov [ebx+00000990*E],0
mov [ebx+00000990*F],0
mov [ebx+00000990*10],0
mov [ebx+00000990*11],0
mov [ebx+00000990*12],0
mov [ebx+00000990*13],0
mov [ebx+00000990*14],0
mov [ebx+00000990*15],0
mov [ebx+00000990*16],0
mov [ebx+00000990*17],0
mov [ebx+00000990*18],0
mov [ebx+00000990*19],0
mov [ebx+00000990*1A],0
mov [ebx+00000990*1B],0
mov [ebx+00000990*1C],0
mov [ebx+00000990*1D],0
mov [ebx+00000990*1E],0
mov [ebx+00000990*1F],0
mov [ebx+00000990*20],0
mov [ebx+00000990*21],0
mov [ebx+00000990*22],0
mov [ebx+00000990*23],0
mov [ebx+00000990*24],0
mov [ebx+00000990*25],0
mov [ebx+00000990*26],0
mov [ebx+00000990*27],0
mov [ebx+00000990*28],0
mov [ebx+00000990*29],0
mov [ebx+00000990*2A],0
mov [ebx+00000990*2B],0
mov [ebx+00000990*2C],0
mov [ebx+00000990*2D],0
mov [ebx+00000990*2E],0
mov [ebx+00000990*2F],0
pop ebx
jmp return
singleInstaKill:
mov [esi+000000DC],0
jmp return
aobEOWInstaKill:
jmp firstCheck
nop
return:
[DISABLE]
aobEOWInstaKill:
db 29 86 DC 00 00 00
dealloc(newmem) |
_________________
|
|
Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sun Jul 05, 2015 5:38 pm Post subject: |
|
|
registersymbol(aobEOWInstaKill)
Also, you didn't need to do all that ECX manipulation, you could've simply used
Code: | cmp [esi+00000AE4],(int)150
jne secondCheck
...
cmp [esi+00000B28],(int)150
jne singleInstaKill |
|
|
Back to top |
|
 |
h3x1c Master Cheater
Reputation: 17
Joined: 27 Apr 2013 Posts: 306
|
Posted: Sun Jul 05, 2015 6:07 pm Post subject: |
|
|
Zanzer wrote: | registersymbol(aobEOWInstaKill)
Also, you didn't need to do all that ECX manipulation, you could've simply used
Code: | cmp [esi+00000AE4],(int)150
jne secondCheck
...
cmp [esi+00000B28],(int)150
jne singleInstaKill |
|
Thanks, Zanzer. That did fix it, even though I could've sworn I did that with this script after seeing that as a recommendation for why someone else's script wouldn't enable.
Also, I did have those compares initially, but some funkiness kept happening that I thought was maybe caused by it (likely another error on my behalf elsewhere in one of the script's previous iterations).
Thanks again!
_________________
|
|
Back to top |
|
 |
|
|
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
|
|