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 


[C#]Question about Base addresses

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

Joined: 19 Oct 2014
Posts: 0

PostPosted: Sun Oct 19, 2014 11:23 am    Post subject: [C#]Question about Base addresses Reply with quote

Hello forum,
Im very new to memory editing, and i was trying to find some base addresses. Now after finding them im running into some issues. Lets say iv got my pointer to my base address, assuming im right it should be displayed in the pointer scanner as "BorderlandsPreSequel.exe"+01C3C39C, 01C3C39C would be the base address. Now how would i get from this address to the other ones where the health value is stored ? Cheers in advance.

Edit: Im coding n C#
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Sun Oct 19, 2014 11:37 pm    Post subject: Reply with quote

Use the Process class to locate the game. Then use the .MainModule object to get the executables main object. Within that you can obtain the base address via .BaseAddress.

See this for more info:
http://msdn.microsoft.com/en-us/library/system.diagnostics.process(v=vs.110).aspx

_________________
- Retired.
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 programming 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