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 


Books teaching me shit I'm not interested in

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Negima
I post too much
Reputation: 6

Joined: 22 May 2007
Posts: 2221

PostPosted: Sat Apr 05, 2008 11:44 pm    Post subject: Books teaching me shit I'm not interested in Reply with quote

Been learning C++ and I was wondering when will I learn to make trainers/memory editors/change values of addys.
Back to top
View user's profile Send private message Visit poster's website
Snootae
Grandmaster Cheater
Reputation: 0

Joined: 16 Dec 2006
Posts: 969
Location: --->

PostPosted: Sat Apr 05, 2008 11:53 pm    Post subject: Reply with quote

i doubt a general C++ will teach you anything like that, look for tuts, or buy a specific book

you need to learn this 'Shit' or you wont be able to do any of the more advanced stuff

_________________
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sun Apr 06, 2008 1:13 am    Post subject: Reply with quote

SIMPLE 'trainers' are not very hard.

If you have the basics and a little more down pat and understood, then a simple trainer would not be hard to construct.
Back to top
View user's profile Send private message
XxOsirisxX
Grandmaster Cheater Supreme
Reputation: 0

Joined: 30 Oct 2006
Posts: 1597

PostPosted: Sun Apr 06, 2008 2:57 am    Post subject: Reply with quote

I doubt a book will tech you that.

Just learn the basic, and learn how to manipulated then well, so, then use multiples knowledge to make then, like everyone else may normally do when it's from "nothing" to trainer.

_________________

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: Sun Apr 06, 2008 3:25 am    Post subject: Reply with quote

Books almost never teach you how to use API. (Except books that are specifically made to overview them.) More the most, books just teach you syntax, methods, and features of a language.

So long story short, you wont learn how to do anything hacking related from a book. Instead, start learning the API on your own.

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

Joined: 26 Nov 2007
Posts: 47

PostPosted: Sun Apr 06, 2008 6:10 am    Post subject: Reply with quote

Programming Windows by Charles Petzold is a reference about programming in Win32 API. It doesn't tell you everything you need to know to write your own trainer, but I guess it is not bad to start with it if you are new to it.
Back to top
View user's profile Send private message
WafflesFTW
Expert Cheater
Reputation: 0

Joined: 21 Mar 2008
Posts: 131

PostPosted: Sun Apr 06, 2008 9:04 am    Post subject: Reply with quote

BTW, you will most probably need that "shit" if you want to hack.
Back to top
View user's profile Send private message AIM Address
Heartless
I post too much
Reputation: 0

Joined: 03 Dec 2006
Posts: 2436

PostPosted: Sun Apr 06, 2008 9:36 am    Post subject: Reply with quote

Yes, I completely afree with you, I bought 2 books and I've read half of both of them and I lost interest in them. that is why I came here to learn soe fun stuff.
_________________
What dosen't kill you, usually does the second time.
Back to top
View user's profile Send private message
Negima
I post too much
Reputation: 6

Joined: 22 May 2007
Posts: 2221

PostPosted: Sun Apr 06, 2008 11:30 pm    Post subject: Reply with quote

Google has done nothing but shown me tuts on making "saved game" trainers. Which, for online multiplayer games, will not work. I know about addresses/pointers already, and I know the basics of C++. I dont know how to make a program which will attach to a process and edit memory. Does anyone know where I could find a tut on this?
Back to top
View user's profile Send private message Visit poster's website
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Mon Apr 07, 2008 8:37 am    Post subject: Reply with quote

Here's an example, about as simple as it gets. Writes 255 time to minesweeper. Look up the API calls if you don't get what's going on. MSDN is your friend, it will turn up first hit on google.

Code:
#include <windows.h>

HWND gameWindow      = NULL;
HANDLE gameProcess   = NULL;
DWORD pid         = 0;
BYTE coques[]      = { 0xFF }; //255

int main(){
   gameWindow = FindWindow("Minesweeper", NULL);
   GetWindowThreadProcessId(gameWindow, &pid);
   gameProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid);
   
   WriteProcessMemory(gameProcess, (LPVOID)0x0100579C, &coques, sizeof(coques), NULL);      
   CloseHandle(gameProcess);   
}
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