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 


double Addresses.

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

Joined: 08 Aug 2006
Posts: 929

PostPosted: Wed Oct 29, 2008 7:53 pm    Post subject: double Addresses. Reply with quote

Using WPM, i want to write a value to an address set as a double.
For example in ce, the address, 0x00111111, i want to write to its' double value, as in the address is set as double, not 4-byte.

btw, C++ or delphi thank you in adv.
Back to top
View user's profile Send private message AIM Address MSN Messenger
smartz993
I post too much
Reputation: 2

Joined: 20 Jun 2006
Posts: 2013
Location: USA

PostPosted: Wed Oct 29, 2008 7:56 pm    Post subject: Reply with quote

See how DB did it in CE.
Back to top
View user's profile Send private message
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Wed Oct 29, 2008 7:57 pm    Post subject: Reply with quote

Code:

double d = 1.0;
int nBytesWritten;

WriteProcessMemory( hProc, 0x00111111, (void *)&d, sizeof( double ), &nBytesWritten );

assert( nBytesWritten == sizeof( double ) );

_________________
Wiccaan wrote:

Oh jeez, watchout I'm a bias person! Locked.


Auto Assembly Tuts:
In Depth Tutorial on AA
Extended


Last edited by samuri25404 on Sat Nov 01, 2008 3:59 pm; edited 4 times in total
Back to top
View user's profile Send private message
ups2000ups
I post too much
Reputation: 0

Joined: 31 Jul 2006
Posts: 2471

PostPosted: Wed Oct 29, 2008 11:45 pm    Post subject: Reply with quote

delphi
Code:

val:double;
WriteProcessMemory(HandleWindow,Pointer(Address),@val,SizeOf(double),x);

_________________
dont complain about my english...
1*1 = 2?
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