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 


Guides: Pointer Scanner + Injection Copies + AOB To Data
Goto page Previous  1, 2, 3, 4, 5
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials
View previous topic :: View next topic  
Author Message
Kawaii desu ne
How do I cheat?
Reputation: 0

Joined: 13 Sep 2016
Posts: 7

PostPosted: Fri Sep 16, 2016 5:51 am    Post subject: Reply with quote

So I have a problem doing this with a game. I have multiple resources that are not too far away from each other. For example: Wood = 0F77C1F8 and Stone = 0F77C230 and Wool = 0EEBEB30.

My problem is, that the instruction that adds resources has no offset.
Just an add [eax],ecx. Heres what I see. Red is the add instruction.

Code:

"Game.exe"+93417: 8B CE                 -  mov ecx,esi
"Game.exe"+93419: 6A 00                 -  push 00
"Game.exe"+9341B: E8 D0 6D F9 FF        -  call Game.exe+2A1F0
"Game.exe"+93420: 85 C0                 -  test eax,eax
"Game.exe"+93422: 74 6F                 -  je Game.exe+93493
"Game.exe"+93424: 56                    -  push esi
"Game.exe"+93425: B9 80 A8 5B 01        -  mov ecx,Game.exe+53A880
"Game.exe"+9342A: E8 21 95 FC FF        -  call Game.exe+5C950
"Game.exe"+9342F: 8B 4D 0C              -  mov ecx,[ebp+0C]
"Game.exe"+93432: 8B 3D AC 9A 5B 01     -  mov edi,[Game.exe+539AAC]

"Game.exe"+93438: 01 08                 -  add [eax],ecx <--- Used instruction
"Game.exe"+9343A: 85 FF                 -  test edi,edi
"Game.exe"+9343C: 75 32                 -  jne Game.exe+93470

"Game.exe"+9343E: 68 14 B2 02 00        -  push 0002B214
"Game.exe"+93443: FF 15 48 C9 48 01     -  call dword ptr [Game.exe+40C948]
"Game.exe"+93449: 83 C4 04              -  add esp,04
"Game.exe"+9344C: 89 45 08              -  mov [ebp+08],eax
"Game.exe"+9344F: 89 7D FC              -  mov [ebp-04],edi
"Game.exe"+93452: 85 C0                 -  test eax,eax
"Game.exe"+93454: 74 0B                 -  je Game.exe+93461
"Game.exe"+93456: 8B C8                 -  mov ecx,eax
"Game.exe"+93458: E8 F3 92 16 00        -  call Game.exe+1FC750
"Game.exe"+9345D: 8B F8                 -  mov edi,eax


Its all the same with Wood,Stone and Wool. But how can I find the base address without any offsets? Is that even possible or am I just to stupid to understand what I should be doing?[/code]
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 Tutorials All times are GMT - 6 Hours
Goto page Previous  1, 2, 3, 4, 5
Page 5 of 5

 
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