Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Request] Killing floor 2 Infinite ammo 1028 update

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
pentacodex
How do I cheat?
Reputation: 0

Joined: 16 Apr 2016
Posts: 1

PostPosted: Sat Apr 16, 2016 11:20 am    Post subject: [Request] Killing floor 2 Infinite ammo 1028 update Reply with quote

Hello, I have found a killing floor 2 infinite ammo script but it is outdated.

this is the script

[Enable]

//--------------------------------------------------//
//Infinite Clip Ammo 1
aobscanmodule(ica_aob1,KFGame.exe,FE 0B 48 8B 5C 24 30)
registersymbol(ica_aob1)

ica_aob1:
db 90 90
//--------------------------------------------------//
alloc(ica_2,32,KFGame.exe) //Infinite Clip Ammo (2)
aobscanmodule(ica_aob2,KFGame.exe,28 03 0F B6 03)
registersymbol(ica_aob2)
label(returnhere_ica_2)

label(ica_UP)

label(ica_DOWN)

//--------------------------------------------------//
ica_2:
cmp al,1
je ica_DOWN
cmp al,7
je ica_DOWN
jmp ica_UP
//--------------------------------------------------//
ica_UP:
sub [rbx],al
movzx eax,byte ptr [rbx]
jmp returnhere_ica_2
//--------------------------------------------------//
ica_DOWN:
movzx eax,byte ptr [rbx]
jmp returnhere_ica_2
//--------------------------------------------------//

ica_aob2:
jmp ica_2
returnhere_ica_2:

[Disable]

ica_aob1:
db FE 0B
unregistersymbol(ica_aob1)

ica_aob2:
db 28 03 0F B6 03
unregistersymbol(ica_aob2)
dealloc(ica_2)

But i get this error

""The array of bytes named ica_aob2 could not be found"

Is anyone able to give me feedback or help on how to solve this?
Back to top
View user's profile Send private message
itsoqrappy
Advanced Cheater
Reputation: 0

Joined: 24 Mar 2016
Posts: 67

PostPosted: Sat Apr 16, 2016 1:05 pm    Post subject: Re: [Request] Killing floor 2 Infinite ammo 1028 update Reply with quote

pentacodex wrote:
Hello, I have found a killing floor 2 infinite ammo script but it is outdated.

this is the script

[Enable]

//--------------------------------------------------//
//Infinite Clip Ammo 1
aobscanmodule(ica_aob1,KFGame.exe,FE 0B 48 8B 5C 24 30)
registersymbol(ica_aob1)

ica_aob1:
db 90 90
//--------------------------------------------------//
alloc(ica_2,32,KFGame.exe) //Infinite Clip Ammo (2)
aobscanmodule(ica_aob2,KFGame.exe,28 03 0F B6 03)
registersymbol(ica_aob2)
label(returnhere_ica_2)

label(ica_UP)

label(ica_DOWN)

//--------------------------------------------------//
ica_2:
cmp al,1
je ica_DOWN
cmp al,7
je ica_DOWN
jmp ica_UP
//--------------------------------------------------//
ica_UP:
sub [rbx],al
movzx eax,byte ptr [rbx]
jmp returnhere_ica_2
//--------------------------------------------------//
ica_DOWN:
movzx eax,byte ptr [rbx]
jmp returnhere_ica_2
//--------------------------------------------------//

ica_aob2:
jmp ica_2
returnhere_ica_2:

[Disable]

ica_aob1:
db FE 0B
unregistersymbol(ica_aob1)

ica_aob2:
db 28 03 0F B6 03
unregistersymbol(ica_aob2)
dealloc(ica_2)

But i get this error

""The array of bytes named ica_aob2 could not be found"

Is anyone able to give me feedback or help on how to solve this?


you need to find the new aob pattern , find your addresses you are interested to. then you need to find the instruction which writes to that address (click f6 after you selected your address from the addylist) and use the memory view, go to the address of the instruction, copy more bytes replacing the dynamics one with some willcards (for example: xx or XX or ??).
when you finished your aob signature, do a scan for array of bytes with that pattern .. if you get a result only then you did a good aob signature, else you need to add some bytes.

remember also that some bytes this in memory view:
EB 07102092
would be replaced to
EB 07 10 20 92
and with wildcards
EB ?? ?? ?? ??
cuz the addy is dynamic and the bytes too.

gl
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites