[RELEASE] .NET Trainer Helper Library

Share Your Own Code Samples With the World

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

[RELEASE] .NET Trainer Helper Library

Postby CoMPMStR » Mon Sep 21, 2009 7:35 am

This one is for all of you who enjoy coding in .NET whether it be VB or C#. This is a memory library I made awhile back to help in my trainer making, and I finally cleaned it up and compiled it into a dll. :oops:

This library lets you quickly and easily write trainers without the hassle of figuring out how to get it done the best way possible. It allows you to read and write any numeric data type possible, also including byte arrays, code caves, ASM bytes, strings, and pointers. It uses the standard ReadProcessMemory and WriteProcessMemory APIs so don't expect it to work in online games that use Xtrap, GG, Hackshield, etc. but it's a great solution to writing trainers for any singleplayer game.

There are lots of other helpful methods that I also included because I found them useful and used them in one situation or another. Not much else to say unless you want me to post all methods and properties available. :roll: :lol:

I've included, in the archive, a VB and C# example project that shows how to use the library, both complete with comments, along with some binaries of each. I used the Windows Pinball game in the examples because it shows both how to read/write pointers as well as how to write code caves and ASM bytes, everything else should be self explanatory. If not, you can always post your questions here (which I doubt there'll be many of those) and I'll do my best to answer them. Let me know if there needs to be any improvements or additions! ;) All comments are welcome!


Download:
http://www.mediafire.com/download.php?nn3ommemndd
Last edited by CoMPMStR on Fri Oct 16, 2009 7:30 am, edited 3 times in total.
Image

______________________________________________________
My Utilities:
CT <-> LSSAVE Converter
LSS Visual Dialog Designer
.NET Trainer Helper Library

~Whether you think you can or you think you can't, you're right.

L. Spiro wrote:In my left hand is a red pill. If you take it I will show you the truth. I lost my right hand in the war, so I’m afraid you’re stuck with the red pill.
User avatar
CoMPMStR
(P)ot (I)n (M)y (P)ipe
 
Posts: 451
Joined: Thu Mar 06, 2008 7:50 am
Location: Best Place

Postby trialusert » Mon Sep 21, 2009 3:57 pm

Wow, that's amazing. Thanks a lot. Really, I'm so happy you released it, you've no idea how much you helped me by doing this. Thank you...
Edit - yes, the trainer is absolutely working.
User avatar
trialusert
NULL
 
Posts: 155
Joined: Tue May 20, 2008 6:19 pm

Postby CoMPMStR » Tue Sep 22, 2009 3:36 am

trialusert wrote:Wow, that's amazing. Thanks a lot. Really, I'm so happy you released it, you've no idea how much you helped me by doing this. Thank you...
Edit - yes, the trainer is absolutely working.


I'm glad you like it, also thanks for confirming that the trainer works. Now I can upload it to GCW. :D
Image

______________________________________________________
My Utilities:
CT <-> LSSAVE Converter
LSS Visual Dialog Designer
.NET Trainer Helper Library

~Whether you think you can or you think you can't, you're right.

L. Spiro wrote:In my left hand is a red pill. If you take it I will show you the truth. I lost my right hand in the war, so I’m afraid you’re stuck with the red pill.
User avatar
CoMPMStR
(P)ot (I)n (M)y (P)ipe
 
Posts: 451
Joined: Thu Mar 06, 2008 7:50 am
Location: Best Place

Postby mc.flash » Fri Oct 09, 2009 9:21 am

Ohhhhhhhhhhhhhh baby thats cool man thanks a lot Bro :o
im was lookin for something like that :D
♣♦☻☺I ♥ MHS ☺☻♦♣
Image
Image
<a href="http://www.starsofwww.com//community_showvideos.php?prdPassId=1820" target="_blank"><center><strong style="font-size:22px;"><img alt="Hit Me To Vote My Videos" hspace=3 src="http://www.starsofwww.com/images/blinkstar1.gif" width=50 height="50" border=0><br />

Click Here to Vote Me
Best (Rapper, Singer) on StarofWWW.com

</strong><br />
</center><img border=1 style="BORDER-LEFT-COLOR: #4D0606; BORDER-BOTTOM-COLOR: #4D0606; BORDER-TOP-COLOR: #4D0606; BORDER-RIGHT-COLOR: #4D0606" src="http://www.starsofwww.com/community/LiLDizY/thumb_prdImg2010_Jan_Wed_06_04_53_281327.jpg"><br />
LiLDizY<br />
<strong>Name:</strong> Loay Ahmed<br />Lil dizy rapper from egypt 15 years old ..
<br />Code of Nominations:<strong>1820c6dbb1</strong><br /></a><br /><center><img alt="Hit Me To Vote My Videos" hspace=3 src="http://www.starsofwww.com/images/blinkstar1.gif" width=50 height="50" border=0></center>
vote for me please!
User avatar
mc.flash
NULL
 
Posts: 171
Joined: Tue Jul 22, 2008 9:27 am
Location: In Da Club!

Postby CoMPMStR » Fri Oct 16, 2009 7:24 am

I updated the library with lots of new things.

I added two new namespaces (TrainerHelper.Audio and TrainerHelper.Visual) and lots of new helper functions. The namespaces are self explanatory, and explained in-depth in both source examples. To put it short, you can easily now play music or implement a custom form shape from an image with just a few methods. :D

Most of the new helper functions can be found in the Operations class. I also added a new class for use with XLive related games (can be accessed via memCore.GFWL after hooking the process). There are a couple methods for patching the integrity check (that one which exits the game when you modify game code), and also for patching the debugger check. Note the debugger patch may not work for all games, especially those with a seperate launcher app. You can learn more and/or try to do it manually by reading my other post. If you want, you can also read [Psych]'s post. ;)
Image

______________________________________________________
My Utilities:
CT <-> LSSAVE Converter
LSS Visual Dialog Designer
.NET Trainer Helper Library

~Whether you think you can or you think you can't, you're right.

L. Spiro wrote:In my left hand is a red pill. If you take it I will show you the truth. I lost my right hand in the war, so I’m afraid you’re stuck with the red pill.
User avatar
CoMPMStR
(P)ot (I)n (M)y (P)ipe
 
Posts: 451
Joined: Thu Mar 06, 2008 7:50 am
Location: Best Place

Re: [RELEASE] .NET Trainer Helper Library

Postby TopHat » Thu Sep 01, 2011 8:33 pm

Very nice, some xml documentation would make it ++. :D
TopHat
I Have A Few Questions
 
Posts: 9
Joined: Sun Aug 07, 2011 6:13 am


Return to Code Submissions

Who is online

Users browsing this forum: No registered users and 0 guests

cron