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 


Metro Exodus code / script help! Ammo!

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Mobie
Cheater
Reputation: 0

Joined: 10 Feb 2011
Posts: 43

PostPosted: Mon Feb 25, 2019 4:16 am    Post subject: Metro Exodus code / script help! Ammo! Reply with quote

hello i want to hack last version of Metro Exodus 1.0.1.1


Code:
MetroExodus.exe"+B2083E1: 41 29 C6              -  sub r14d,eax
"MetroExodus.exe"+B2083E4: 85 DB                 -  test ebx,ebx
"MetroExodus.exe"+B2083E6: 74 1E                 -  je MetroExodus.exe+B208406
"MetroExodus.exe"+B2083E8: 48 8B 06              -  mov rax,[rsi]
"MetroExodus.exe"+B2083EB: 45 31 C0              -  xor r8d,r8d
"MetroExodus.exe"+B2083EE: B2 01                 -  mov dl,01
"MetroExodus.exe"+B2083F0: 48 89 F1              -  mov rcx,rsi
"MetroExodus.exe"+B2083F3: FF 90 48 1A 00 00     -  call qword ptr [rax+00001A48]
"MetroExodus.exe"+B2083F9: 41 39 C6              -  cmp r14d,eax
"MetroExodus.exe"+B2083FC: 41 0F 42 C6           -  cmovb eax,r14d
// ---------- INJECTING HERE ----------
"MetroExodus.exe"+B208400: 89 86 80 17 00 00     -  mov [rsi+00001780],eax  <----


This code mov [rsi+00001780],eax store lot of adresses , more as ammo adress. How i can filter out my adress ?

When i inject normal code like exemple: mov eax,63 . Crash the game or same like when i inject direkt in the [rsi+00001780] . Crash the game!

Hope any can help me to find a way to learn. I want not a pointer scan , want script.

thanks
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Mon Feb 25, 2019 5:09 am    Post subject: Reply with quote

you need to to find a way to identify whether the current address as ammo or not, usually done by comparing registers, stack, and addresses or their values.

maybe you can do that by finding the max clip size address (and how far its from ESI+OFFSET), then you can write some logic.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
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