Biosupremacy write MAX to Address

Memory scanning, code injection, debugger internals and other gamemodding related discussion
Post Reply
User avatar
Kalas
Expert Cheater
Expert Cheater
Posts: 386
Joined: Fri Mar 03, 2017 9:49 am
Reputation: 69

Biosupremacy write MAX to Address

Post by Kalas » Thu Mar 09, 2017 8:06 pm

Hello,

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)
Also, how do I add more Array of bytes, any tutorials about that please?

User avatar
++METHOS
Administration
Administration
Posts: 204
Joined: Thu Mar 02, 2017 9:02 pm
Reputation: 27

Re: Biosupremacy write MAX to Address

Post by ++METHOS » Fri Mar 10, 2017 12:08 am

Assuming current stamina is at [rax+1C] and the original instruction is not accessing any other addresses:
newmem:
movss xmm5,[rax+18]

code:
movss [rax+1C],xmm5
jmp return

User avatar
Kalas
Expert Cheater
Expert Cheater
Posts: 386
Joined: Fri Mar 03, 2017 9:49 am
Reputation: 69

Re: Biosupremacy write MAX to Address

Post by Kalas » Fri Mar 10, 2017 9:21 am

Oh ok thank you :)

Post Reply

Who is online

Users browsing this forum: No registered users