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 


Yet another ReadProcessMemory thread

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
180fok
Newbie cheater
Reputation: 0

Joined: 08 Jul 2010
Posts: 16

PostPosted: Fri Jul 29, 2011 2:39 am    Post subject: Yet another ReadProcessMemory thread Reply with quote

I need a lot of time to write relatively simple code because I'm a noob and have small experience in coding.
This can also be because my motivation is not the learning but to write a great useful program and forget coding until I have another goal. I'm not doing a simple program but a program that I will actually use as a configurable trainer.

I have 5 string variables that my program reads in succesfully from a text file:
Code:
WINDOWNAME "title of the window"

ADDRESS  "0x12345678"  ORIGINAL "00 55 ff" CHANGED "00 44 ff" HOTKEY "ctrl + g"
ADDRESS...(loop until run out of patch lines)


because of string WINDOWNAME I could do FindWindow(), GetWindowThreadProcessId(), and OpenProcess() with PROCESS_ALL_ACCESS all successfully. And I'm now stuck at ReadProcessMemory(). For half a year now!!! Can somebody push me to the right direction? At ADDRESS it should read a variable number of bytes(in this case 3) and compare it to the string ORIGINAL which was read from the config.txt(in this case 00 55 ff) and it has to match at given address. How do I go about converting the string ADDRESS and string ORIGINAL to make it work for ReadProcessMemory? I forgot to mention that string ORIGINAL is stored without spaces(0055ff) actually. Any help would be amazing, thanks!
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8588
Location: 127.0.0.1

PostPosted: Fri Jul 29, 2011 12:19 pm    Post subject: This post has 1 review(s) Reply with quote

Quote:

This can also be because my motivation is not the learning but to write a great useful program and forget coding until I have another goal.


This is going to cause you to get no help from anyone here probably. We are not interested in spoonfeeding people. If you have no interest to learn, then why bother?

_________________
- 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