minekmar How do I cheat?
Reputation: 0
Joined: 22 Jul 2013 Posts: 5
|
Posted: Mon Aug 12, 2013 7:05 pm Post subject: pcsx2 FF10 need help in auto asseble script |
|
|
Hi-Hi!
I now try to make a script for Final Fantasy X. When i'm in battle and get damage, instead of geting damage, i want my script to set my healt to fix value like 999.
I tired the aob scan, but i can't make it work on this...
(I load the first savestate(battle1), activate the script, aobscan works fine, script works fine, than i load the second savestate(battle2), script don't working, if i want to get it work, i need to reactivate it, than it will works fine until i'm in that battle...) the code for battle only loaded ,when u are going into the battle, out of battle it's not exist...
Here the code what i use currently, (it's hooked to the healt number indicator updates)
I think this will be fine if i can force it to auto recheck the aobscan in every 5-10 second. Can somebody help me?
| Code: |
[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(aob1_label)
registersymbol(aob1_label)
aobscan(aob1,89 11 A1 60 8A * *)
newmem:
pushfd
pushad
mov eax,[20646360]
lea eax,[eax+2000027c]
mov [eax],#9999
popad
popfd
mov [ecx],edx
mov eax,[pcsx2-r5350.exe+528A60]
jmp returnhere
aob1:
aob1_label:
jmp newmem
nop
nop
returnhere:
[DISABLE]
aob1_label:
mov [ecx],edx
mov eax,[pcsx2-r5350.exe+528A60]
unregistersymbol(aob1_label)
dealloc(newmem)
|
Thx in advance
Minekmar
Last edited by minekmar on Thu Aug 15, 2013 4:16 pm; edited 1 time in total |
|