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 


I have a couple of questions.

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

Joined: 01 Sep 2018
Posts: 2

PostPosted: Sat Sep 01, 2018 4:59 am    Post subject: I have a couple of questions. Reply with quote

Q1:

When I have a pointer address and it says "game.exe"+offset, what exactly is "game.exe" and how do I find it using a C++ program? (Don't tell me to use GetModuleHandle, because it doesn't return "game.exe". I tested that myself by subtracting the offset from "game.exe"+offset and comparing it with GetModuleHandle())

Q2:

Take a look at the picture below. It says [03211000 + 5B0] -> 01695000. Why is 03211000 + 5B0 equal to 01695000? Shouldn't it be 32115B0? That happens with all offsets.



Offsets.jpg
 Description:
 Filesize:  18.49 KB
 Viewed:  1317 Time(s)

Offsets.jpg



_________________
My discord: Lucky#2819
Back to top
View user's profile Send private message Send e-mail
t328163
!BEWARE! Deletes post on answer
Reputation: 2

Joined: 19 Dec 2017
Posts: 73

PostPosted: Sat Sep 01, 2018 5:14 am    Post subject: Reply with quote

A1: base address.
A2: hex calc
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 51

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Sat Sep 01, 2018 6:15 am    Post subject: Reply with quote

https://guidedhacking.com/threads/get-module-base-address-tutorial-dwgetmodulebaseaddress.5781/
_________________
Back to top
View user's profile Send private message Visit poster's website
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4702

PostPosted: Sat Sep 01, 2018 7:24 am    Post subject: Reply with quote

1: GetModuleHandle(NULL) will return the base address of the .exe file of the calling process. If you're not injected into the game's process, it won't work.
Assuming you're not in the calling process, look into CreateToolhelp32Snapshot. If you are (e.g. injected dll), you're doing something wrong with GetModuleHandle.

2: Square brackets usually refer to the value stored at an address. [0x03211000 + 0x5B0] = 0x01695000 means the value stored at the address 0x032115B0 is 0x01695000.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Luckyxero
How do I cheat?
Reputation: 0

Joined: 01 Sep 2018
Posts: 2

PostPosted: Sun Sep 02, 2018 2:44 am    Post subject: Reply with quote

ParkourPenguin wrote:
1: GetModuleHandle(NULL) will return the base address of the .exe file of the calling process. If you're not injected into the game's process, it won't work.
Assuming you're not in the calling process, look into CreateToolhelp32Snapshot. If you are (e.g. injected dll), you're doing something wrong with GetModuleHandle.

2: Square brackets usually refer to the value stored at an address. [0x03211000 + 0x5B0] = 0x01695000 means the value stored at the address 0x032115B0 is 0x01695000.


Thank you for answering my questions. I appreciate that.

_________________
My discord: Lucky#2819
Back to top
View user's profile Send private message Send e-mail
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