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++]Help, Input colliding with Bytes

 
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: Sun Feb 22, 2009 11:44 am    Post subject: [C++]Help, Input colliding with Bytes Reply with quote

Well i was thinking about making a program that will work like so.

Code:
WriteBytes 89 90 90


And make that use WriteProcessmemory with a BYTE[3].
But i'm not completely sure how im going to get Strings from a char* or string and use them as Bytes. Any ideas are appreciated.
Back to top
View user's profile Send private message AIM Address MSN Messenger
Jani
Grandmaster Cheater
Reputation: 2

Joined: 29 Dec 2006
Posts: 804

PostPosted: Sun Feb 22, 2009 11:54 am    Post subject: Reply with quote

Just remove everything else (spaces etc), but the hex values. Then read two chars from your string and do unsigned char byte = char[0]*0x10 + char[1]; and then WPM ?

For a string, check the length, divide by two, allocate memory, do the constructing with a loop and then just WPM
Back to top
View user's profile Send private message
BanMe
Master Cheater
Reputation: 0

Joined: 29 Nov 2005
Posts: 375
Location: Farmington NH, USA

PostPosted: Sun Feb 22, 2009 1:25 pm    Post subject: Reply with quote

a program that does what exactly..

are you talking about like a ASM interpreter, or a Self Modifying Code or
just a program that gets input be it Data or Code and stores it o0 and executes it on some command?
Back to top
View user's profile Send private message MSN Messenger
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