how can i update autopots?

08/06/2010 10:28 PainForce#1
how can i update autopots ?? if i search with array of bytes code it dont work !!! help me please :/
08/06/2010 10:37 matii1509#2
currently offset: 007E1AD8
Working code for array of bytes is: 83 78 08 13 0F 85
08/06/2010 16:12 shinitenshi#3
[Only registered and activated users can see links. Click Here To Register...]
08/06/2010 16:23 elfulll#4
use this script:
Auto Update script

[ENABLE]
aobscan(_aPots,83 78 08 13 0F 85)
label(_aPotsLabel)
registersymbol(_aPotsLabel)
alloc(newmem,1024)
label(returnhere)
label(originalcode)
label(exit)
label(check_mana)
label(finished_check)

_aPots:
_aPotsLabel:
jmp newmem
nop
nop
nop
nop
nop
returnhere:

newmem:
originalcode:
cmp dword ptr [eax+08],01 // checking for HP pot?
jne check_mana
mov dword ptr[eax+08],11 // change to auto pot
mov dword ptr[eax+10],11
check_mana:
cmp dword ptr [eax+08],02 // checking for MP pot?
jne finished_check
mov dword ptr[eax+08],12 // change to auto pot
mov dword ptr[eax+10],12
finished_check:
cmp dword ptr [eax+08],13
je 0052d13a

exit:
jmp returnhere

[DISABLE]
dealloc(newmem)
_aPotsLabel:
cmp dword ptr [eax+08],13
db 0F 84 91 00 00 00
unregistersymbol(_aPotsLabel)