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 


Need a big help whit pointer

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

Joined: 28 Feb 2007
Posts: 0

PostPosted: Wed Feb 28, 2007 6:59 pm    Post subject: Need a big help whit pointer Reply with quote

Hi all ppl,
I need a little help because i not know how can i use CheatEngine Pointer in external program.

Fox example i have found a normal memory address whia a (4Bytes) value: is 0x19BE1D. I have write little csharp program to read it:

Code:

....
....
int HP_Address = 0x19BE1D;
int bytesReaded;
byte[] memory;
memory = ReadProcessMemory((IntPtr)HP_Address, 4, out bytesReaded);
int HP = memory[0] + 256 * memory[1] + 256 * 256 * memory[2] + 256 * 256 * 256 * memory[3];
....
....


But my problem is this: after i restart game this address change and is not valid.
I have see Pointer in cheatengine keep it safe.
But i want know how can i calcolate randome memory address using pointer to add this calc to my csharp program and find correct location every time.

Thx


EDIT:

If not understand my question i want know this:

This expression Name.exe+00xxxx = Address

Ok but Name.exe is equals to ??? Proces momory usage or what ?
Back to top
View user's profile Send private message
j4ke
Expert Cheater
Reputation: 3

Joined: 07 Aug 2006
Posts: 157

PostPosted: Sun Apr 15, 2007 1:49 am    Post subject: Reply with quote

I have a similar type of question about a pointer.

Using the inject pointer scan method it came up with these two results..

pointer address = client.exe+000F6460 offset = 278

pointer address = client.exe+000F8C8C offset = 278

but how exactly do I go about getting the correct address from the "client.exe" included?

_________________
Back to top
View user's profile Send private message
3viserate
How do I cheat?
Reputation: 0

Joined: 14 Apr 2007
Posts: 5

PostPosted: Mon Apr 16, 2007 12:19 am    Post subject: Reply with quote

well to answer the OP the reason why your address Is no longer valid after a restart is because your program is using DMA, which is dynamic memory allocation. From what i understand in windows whenever you load up a game or program, the program will ask windows for free memory locations in your stack of memory to write out its data or handle data changes. The memory addresses you are finding are inside one of these DMA locations windows has assigned your program. If you can find one pointer that will lead you to the correct memory address that is controlling the values you are trying to manipulate then you need to trace back from that pointer till you find the Static pointer inside the programs Code that is accessing all the dynamic pointers. The program WILL ALWAYS have a pointer that leads to whatever address windows gives the program to allocate extra memory. Now if you run the tutorial that came with Cheat engine it will give you a basic idea on how to trace back from the dynamic pointers to the static pointers you are trying to find. Thats about all the help i can give you im stuck on these pointers myself, but there are a lot of tutorials that show you in examples on how to get past it, however it can only give you the idea, cause not every program will be the same, therefore tracing back through to these static pointers will not be an easy task all the time. So use the search and look up for these tutorials and you should be able to get the hang of it after a LOT of practice Very Happy

This may not be what you were asking if not jsut disregard lol
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 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