• Advertisement
Sign in to follow this  

Making a game 'trainer'

This topic is 1252 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Can anyone tell me how to make a game trainer in C++? I want to know because I want to experiment on ways to make flash work with Steamworks and I want to code it myself.I am not one who wants to cheat because I hate cheaters.I plan to detect some values in the game and go through some code before making e.g. achievements achieved.

 

Anyone knows?Please reply!

 

Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement

As the game maker, have your game look for a specific plug-in interface that is located in a specific directory, such as the application directory.  Expose to that plug-in functions that allows for the plug-in to query game data, and run IO.

 

Make your "trainer" in the form of a plug in.

 

Since you're the games author, and thus can add the plug-in interface, this is the easiest path.  Plug-in interfaces are kind of handy to have anyway.

Share this post


Link to post
Share on other sites

As the game maker, have your game look for a specific plug-in interface that is located in a specific directory, such as the application directory.  Expose to that plug-in functions that allows for the plug-in to query game data, and run IO.

 

Make your "trainer" in the form of a plug in.

 

Since you're the games author, and thus can add the plug-in interface, this is the easiest path.  Plug-in interfaces are kind of handy to have anyway.

Where can I start?

Share this post


Link to post
Share on other sites

By creating hooks into your code via some class, and exposing that class via a header, and then writing the code that installs a shared object/DLL as a plug-in.

 

The code for doing this is highly platform dependant, so you'll need to read up on how your platform deals with it.  In windows, google exporting/importing from a DLL.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement