|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Golokopitenko Newbie cheater Reputation: 0
Joined: 29 Jan 2018 Posts: 18
|
Posted: Sun Mar 04, 2018 9:09 am Post subject: Shared rate of fire |
|
|
The player and the AI have different addresses for the value of the damage of the weapons we use, but the rate of fire seems to be shared.
That is, if I change the rate of fire, it changes for both of us. I know this is related to the 9th step of the tutorial, which I was able to solve, but I don't really know how to use what I learned there in this case, because the rate of fire is a fixed stat, that happens to be used by both weapons (even if said weapons are the same).
How should I separate the Rate of Fire?
|
|
Back to top |
|
|
antrfs Newbie cheater Reputation: 1
Joined: 29 Jun 2017 Posts: 15
|
Posted: Mon Mar 05, 2018 10:10 am Post subject: |
|
|
Use a CMP and then jump if equal to.
load up your structure for yourself and the enemy and look for an offset where the player structure is say a 1 and the enemy is say a 0
code:
Code: |
[ENABLE]
aobscanmodule(INJECT,WHGame.DLL,F3 0F 11 40 1C 48 83 C4 20 5F) // should be unique
alloc(newmem,$1000,"WHGame.DLL"+F1E342)
label(code)
label(return)
newmem:
movss [rax1C],"insert rate here" <<<< at what rate you'd want to add to your weapon
code:
cmp [rax+4C],1 <<<< this is the compare you use to separate your rate of fire from the enemies
je newmem <<<< this jumps to newmem
movss [rax+1C],xmm1 <<<<say this is rate of fire just as an example
jmp return
INJECT:
jmp newmem
return:
registersymbol(INJECT)
[DISABLE]
INJECT:
db F3 0F 11 40 1C
unregistersymbol(INJECT)
dealloc(newmem)
|
that means when you change your rate of fire it shouldn't affect theirs.
_________________
Help The noob |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|