whgfa01 How do I cheat?
Reputation: 0
Joined: 31 Mar 2013 Posts: 1
|
Posted: Sun Mar 31, 2013 1:18 am Post subject: Help Convert AA to C++ |
|
|
Can anyone help me convert this script?
I checked the tutorials but I'm still confused.
| Code: |
[ENABLE]
alloc(Aggro,48)
alloc(CharXY,128)
alloc(X,4)
alloc(Y,4)
label(ChangeXY)
X:
dd #1000
Y:
dd #0
007BD373:
jmp Aggro
nop
Aggro:
mov [ecx+000002D8],eax
jmp 007BD37F
005017AF:
jmp CharXY
nop
CharXY:
push eax
mov eax,[esp+0C]
cmp eax,00DC3E40 // Normal Mobs
je ChangeXY
cmp eax,00DC06C3 // Jumping Mobs
je ChangeXY
cmp eax,00DC1A34 // Flying Mobs
je ChangeXY
pop eax
mov [eax],edi
pop edi
mov [eax+04],ecx
jmp 005017B5
ChangeXY:
pop eax
mov edi,[X]
mov [eax],edi
pop edi
mov ecx,[Y]
mov [eax+04],ecx
jmp 005017B5
[DISABLE]
007BD373:
cmp [ecx+000002D8],eax
005017AF:
mov [eax],edi
pop edi
mov [eax+04],ecx
dealloc(Aggro)
dealloc(CharXY)
dealloc(X)
dealloc(Y)
|
Thanks
|
|