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 


How to make a trainer for pc games?

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

Joined: 11 May 2011
Posts: 14

PostPosted: Thu Jun 02, 2011 12:52 am    Post subject: How to make a trainer for pc games? Reply with quote

How do I do this?
I want to make a trainer for like stronghold and other pc games.
For VB, (Visual basics)
Back to top
View user's profile Send private message
Krähne
Expert Cheater
Reputation: 0

Joined: 06 Jun 2010
Posts: 108
Location: Inside of my Kernel

PostPosted: Thu Jun 02, 2011 1:39 am    Post subject: Reply with quote

If you already has the cheat tables, the rest is easy.

Just use the OpenProcess() API for get the handle of Process you want to hack, after you have to use the WriteProcessMemory() API for modify the values of the game, finally Close the handle that you has opened, with the CloseHandle() API.

OpenProcess() API will need the ID of process (PID), so you will get it with another APIS, if the game has a Window title, you can use the FindWindow() API for get the Window Handle, and then you should use GetWindowThreadProcessID for get the PID of process by their Handle.

I'm not a VB programmer, but that's the way for do it in most programming languages.

Gruß.

_________________
Excuse me if you don't understand what I just said, but "english" isn't my native language.
Back to top
View user's profile Send private message MSN Messenger
Kadum1013
Newbie cheater
Reputation: 0

Joined: 11 May 2011
Posts: 14

PostPosted: Thu Jun 02, 2011 1:47 am    Post subject: I am a big noob at this lol. Reply with quote

Ok 2 things, 1 What is API 2 is there any way to say that in noob from? lol

I am so sorry i am a big noob at this. Just started programing.

Thanks a lot my friend.
Back to top
View user's profile Send private message
Krähne
Expert Cheater
Reputation: 0

Joined: 06 Jun 2010
Posts: 108
Location: Inside of my Kernel

PostPosted: Thu Jun 02, 2011 2:40 am    Post subject: Re: I am a big noob at this lol. Reply with quote

Kadum1013 wrote:
Ok 2 things, 1 What is API 2 is there any way to say that in noob from? lol

I am so sorry i am a big noob at this. Just started programing.

Thanks a lot my friend.


1) Why did you choose Visual Basic? (That "language" sucks!)
2) What are you doing changing external process data when you do not know what a is messagebox?.

Gruß.

_________________
Excuse me if you don't understand what I just said, but "english" isn't my native language.
Back to top
View user's profile Send private message MSN Messenger
Ax3l
Cheater
Reputation: 1

Joined: 22 May 2011
Posts: 37

PostPosted: Thu Jun 02, 2011 5:12 am    Post subject: Reply with quote

Visual basic sucks , It's often used by wannabe hackers/crackers/keygen makers/leets
It's dragging of controls into a form and 0% coding
Anyway google "VB.NET Editmemory" and such
Cheat engine is useful to get addresses
Back to top
View user's profile Send private message MSN Messenger
Kadum1013
Newbie cheater
Reputation: 0

Joined: 11 May 2011
Posts: 14

PostPosted: Thu Jun 02, 2011 12:06 pm    Post subject: Reply with quote

Ok will do and I am a nub at coding and i thought VB was the easy way to get started in this.
Back to top
View user's profile Send private message
M.CORP
Grandmaster Cheater Supreme
Reputation: 28

Joined: 28 Oct 2009
Posts: 1010

PostPosted: Thu Jun 02, 2011 11:47 pm    Post subject: Reply with quote

Kadum1013 wrote:
Ok will do and I am a nub at coding and i thought VB was the easy way to get started in this.

Do not start with VB6, it teaches you bad habits of coding. Instead, start with Python. Even though it's an easy language it's also used for some big projects and other stuff, eg. game writing.

_________________
Shameless Self Advertising Very Happy!
Steam
Just lurking around...
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: Fri Jun 03, 2011 1:23 pm    Post subject: This post has 1 review(s) Reply with quote

+=Marvin=+ wrote:
Kadum1013 wrote:
Ok will do and I am a nub at coding and i thought VB was the easy way to get started in this.

Do not start with VB6, it teaches you bad habits of coding. Instead, start with Python. Even though it's an easy language it's also used for some big projects and other stuff, eg. game writing.


While I will agree to not start with VB6 as it is dated and no longer supported, suggesting someone to learn a scripting language over a programming language isn't exactly the right direction. Either way, the language that someone chooses is entirely up to them, but keep in mind there are differences between programming and scripting that can land up becoming annoying later down the road.

If you are looking for a language that is easy to get into that has similar things to VB6 such as drag and drop design, I would suggest C#.

If you want to take programming more serious and plan to use it for other things outside of game hacking later in the future, I would suggest C/C++.

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