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 


mov value to a intruction but with C++

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

Joined: 23 Dec 2023
Posts: 1

PostPosted: Sat Dec 23, 2023 1:54 pm    Post subject: mov value to a intruction but with C++ Reply with quote

Hello, like a month ago i made a simple infinite ammo script for a game, and now i would like to activate it directly with a internal dll hack written on c++ i have made simple value changes with c++ before but now i want to do this.
this is my script:
newmem:
mov [rbx+000001E8], #99 {rbx+000001E8 = All characters ammo}
code:
sub eax,[rbx+000001E8]
jmp return
---------------------------------------------------------------------------------
considering that there are 50+ characters in the game and rbx+000001E8 points to all of them, i can only make ONE pointer for each character ammo
i also have tried making a pointer to rbx and adding 1E8 to it but it just crashes the game
Crying or Very sad



asasd.png
 Description:
my script
 Filesize:  69.25 KB
 Viewed:  1192 Time(s)

asasd.png


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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