
thanks in advance

Hello LMS here, creator from the Ys origin table. Currently I am not planning on making a table for this because of time, but I was curious about your problem so I looked into it. You are right, if you just look for the address and modify/freeze the value, it will not work. The reason for this is because there are assembly instructions running that are continuously overwriting the value for both Strength and Defense, so freezing the value is not sufficient. You need to do code injection in order for this to work properly.
Code: Select all
[ENABLE]
aobscanmodule(STR_Hack,ys2plus.exe,0F B7 56 08 8B 85 80 0F 00 00) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
code:
mov [ebp+00000C3C],FF
movzx edx,word ptr [esi+08]
mov eax,[ebp+00000F80]
jmp return
STR_Hack:
jmp newmem
nop
nop
nop
nop
nop
return:
registersymbol(STR_Hack)
[DISABLE]
STR_Hack:
db 0F B7 56 08 8B 85 80 0F 00 00
unregistersymbol(STR_Hack)
dealloc(newmem)
See my previous post for an updated table for Ys I.
Thank you so much !! <3
Users browsing this forum: AhrefsBot, Bing [Bot], Eleville, lariana, mikemyers, Supafast