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++]Cant describe title

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

Joined: 17 Dec 2006
Posts: 786

PostPosted: Thu Jun 19, 2008 2:30 pm    Post subject: [C++]Cant describe title Reply with quote

Sorry for asking so many things, but i'm learning.

How would I like, read a pointer ONCE, and set a dword to that pointer value.

Example:

if(GetAsyncKeyState(VK_F3)){
readPointershithere
dwX1 = pointervalue
}

_________________
qwerty147 wrote:

ghostonline wrote:

what world are you in?

bera

but i live in NZ
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Thu Jun 19, 2008 3:27 pm    Post subject: Reply with quote

ReadProcessMemory on the address, store it in a DWORD.

Code:
ReadProcessMemory( hHandle, Address-Here, Storage-Var-Here, 4, NULL );

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
tombana
Master Cheater
Reputation: 2

Joined: 14 Jun 2007
Posts: 456
Location: The Netherlands

PostPosted: Fri Jun 20, 2008 1:04 am    Post subject: Reply with quote

Do you mean read a pointer from another process?
If not:
*(DWORD*)0x12345678 = value;
That would be set the value of an address at 0x12345678 I think.
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Fri Jun 20, 2008 5:55 am    Post subject: Reply with quote

Go find the source "valueReader" by blankrider?, it was in the MS section.
All about pointer reading and modification.

_________________
Back to top
View user's profile Send private message
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