I found out that at offset of 18 the value of 100 is the MAX Stamina,
How can I write a Script so it will write 100 always to my Stamina?
This is the Script without modifications:
Code: Select all
[ENABLE]
aobscan(aobStaminaMAX,ERROR: Could not find unique AOB, tried code "F3 0F 11 68 1C")
alloc(newmem,$100,15A60EA5)
label(code)
label(return)
newmem:
code:
movss [rax+1C],xmm5
jmp return
aobStaminaMAX+B20268:
jmp newmem
return:
registersymbol(aobStaminaMAX)
[DISABLE]
aobStaminaMAX+B20268:
db F3 0F 11 68 1C
unregistersymbol(aobStaminaMAX)
dealloc(newmem)