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 


Best language to write a trainer?

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

Joined: 30 Aug 2011
Posts: 114
Location: ::1

PostPosted: Sat Apr 14, 2012 6:48 pm    Post subject: Best language to write a trainer? Reply with quote

I decided against posting this in general gamehacking.
I would like to write a trainer; what language should I use? Are there any good tutorials for making one with this language? I have made a few CE lua trainers, but I want to make a stand-alone one...
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: Sat Apr 14, 2012 7:04 pm    Post subject: Reply with quote

There is no best language for programming trainers. Any language that can access the platforms API that you are working on will work. It is entirely up to you, based on preference, to pick a language from that point on.

If you plan to make trainers only, the main languages that are used are:
- C/C++
- ASM
- Delphi
- C#
- Java
- VB.NET

But any language that has access to the systems API, for example on Windows: OpenProcess, ReadProcessMemory, WriteProcessMemory and such, can be used.

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

Joined: 17 Apr 2004
Posts: 316

PostPosted: Sat Apr 14, 2012 9:35 pm    Post subject: Reply with quote

For a trainer, using ASM is the best choice. Its fast and very easy to do memory modifications and you'd be doing that a lot.

then C/C++ and the rest. But for a small application like trainer, using a HLL is just overkill

_________________
...
Back to top
View user's profile Send private message
Innovation
Grandmaster Cheater
Reputation: 12

Joined: 14 Aug 2008
Posts: 617

PostPosted: Sat Apr 14, 2012 10:04 pm    Post subject: Reply with quote

Kavvman wrote:
For a trainer, using ASM is the best choice. Its fast and very easy to do memory modifications and you'd be doing that a lot.

then C/C++ and the rest. But for a small application like trainer, using a HLL is just overkill

Why would you use assembly when it's less work to write it in a higher level language?
Back to top
View user's profile Send private message
Stylo
Grandmaster Cheater Supreme
Reputation: 3

Joined: 16 May 2007
Posts: 1073
Location: Israel

PostPosted: Sun Apr 15, 2012 12:21 pm    Post subject: Reply with quote

C + Asm = Nuclear bomb.
_________________
Stylo
Back to top
View user's profile Send private message
Obitio
Advanced Cheater
Reputation: 0

Joined: 09 Apr 2012
Posts: 68
Location: null

PostPosted: Thu Apr 19, 2012 3:03 pm    Post subject: Reply with quote

delphi.
note:
Make sure you hook WPM if you use D6 - D7.
Back to top
View user's profile Send private message
goat69
Master Cheater
Reputation: 2

Joined: 20 Jul 2010
Posts: 284

PostPosted: Thu Apr 19, 2012 7:32 pm    Post subject: Reply with quote

Delphi is unstable

VB/C
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Sat Apr 21, 2012 10:21 am    Post subject: Reply with quote

Kavvman wrote:
For a trainer, using ASM is the best choice. Its fast and very easy to do memory modifications and you'd be doing that a lot.

then C/C++ and the rest. But for a small application like trainer, using a HLL is just overkill

Have fun writing GUI code in ASM.
Back to top
View user's profile Send private message
Acubra
Advanced Cheater
Reputation: 0

Joined: 19 Jun 2011
Posts: 64
Location: C:\Windows\System32\HoG

PostPosted: Sun Apr 22, 2012 12:35 am    Post subject: Reply with quote

Slugsnack wrote:
Kavvman wrote:
For a trainer, using ASM is the best choice. Its fast and very easy to do memory modifications and you'd be doing that a lot.

then C/C++ and the rest. But for a small application like trainer, using a HLL is just overkill

Have fun writing GUI code in ASM.

Hey,
if you are using GDI functions than there is almost no difference between MASM and for example C++.
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