Need to set a value to an address (modifying fstp)

Anything Cheat Engine related, bugs, suggestions, helping others, etc..
Post Reply
acast15
What is cheating?
What is cheating?
Posts: 1
Joined: Thu Oct 01, 2020 6:14 am
Reputation: 0

Need to set a value to an address (modifying fstp)

Post by acast15 »

I'm new to this kind scripting with fld and fstp. I'm working on a game and trying to set a certain float value to the current weapon the character is using. When I set the value, it affects everything else in the game. Hope someone can help me. Thanks

Is this an array?

Code: Select all

fstp dword ptr [esi*8+game.exe+B14710]
Here's the generated script (no changes made yet)

Code: Select all

aobscanmodule(infAmmo,game.exe,D9 1C F5 10 47 F1 00)
alloc(newmem,$100)

label(code)
label(return)

newmem:

code:
  fstp dword ptr [esi*8+game.exe+B14710] // SET VALUE HERE
  jmp return

infAmmo:
  jmp newmem
  nop 2
return:
registersymbol(infAmmo)

Post Reply

Who is online

Users browsing this forum: No registered users