Post Reply 
Social Buttons
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[VB .NET][TuT]Stick RPG Trainer
Author Message
Ethereal Offline
Moderator
*******

Trade Count: (0)
Posts: 39
Joined: Jan 2011
Reputation: 5
Post: #1
[VB .NET][TuT]Stick RPG Trainer
This is my project that I have been working on. It took me 7 hours straight, so please be nice. The tutorial is at the bottom.

I take full credit for the Program and the tutorial.

Requirements:
WinRAR
.NET Framework 4

Make sure that you extract all of the files into the same folder.

Screenshots
http://min.us/mvohTdd
[spoiler]
[Image: pic1xc.jpg]
[Image: pic2ui.jpg]
For Image 3, look at Minus.
[/spoiler]

Virus Scan
http://www.virustotal.com/file-scan/repo...1288467713
[spoiler]
Code:
Firefox    Clean site
G-Data    Clean site
Google Safebrowsing    Clean site
Opera    Clean site
ParetoLogic    Clean site
Phishtank    Clean site
Additional information
Show all
Normalized URL: http://www.multiupload.com/EMFFK17RDB
URL MD5: a2ef57a142856029eef86df640550f48
Content-Type: text/html

Antivirus     Version     Last Update     Result
AhnLab-V3    2010.10.31.00    2010.10.30    -
AntiVir    7.10.13.74    2010.10.29    -
Antiy-AVL    2.0.3.7    2010.10.30    -
Authentium    5.2.0.5    2010.10.30    -
Avast    4.8.1351.0    2010.10.30    -
Avast5    5.0.594.0    2010.10.30    -
AVG    9.0.0.851    2010.10.30    -
BitDefender    7.2    2010.10.30    -
CAT-QuickHeal    11.00    2010.10.26    -
ClamAV    0.96.2.0-git    2010.10.30    -
Comodo    6561    2010.10.30    -
DrWeb    5.0.2.03300    2010.10.30    -
eSafe    7.0.17.0    2010.10.28    -
eTrust-Vet    36.1.7943    2010.10.29    -
F-Prot    4.6.2.117    2010.10.30    -
F-Secure    9.0.16160.0    2010.10.30    -
Fortinet    4.2.249.0    2010.10.30    -
GData    21    2010.10.30    -
Ikarus    T3.1.1.90.0    2010.10.30    -
Jiangmin    13.0.900    2010.10.30    -
K7AntiVirus    9.67.2865    2010.10.29    -
Kaspersky    7.0.0.125    2010.10.30    -
McAfee    5.400.0.1158    2010.10.30    -
McAfee-GW-Edition    2010.1C    2010.10.30    -
Microsoft    1.6301    2010.10.30    -
NOD32    5576    2010.10.29    -
Norman    6.06.10    2010.10.30    -
nProtect    2010-10-30.02    2010.10.30    -
Panda    10.0.2.7    2010.10.30    -
PCTools    7.0.3.5    2010.10.30    -
Prevx    3.0    2010.10.30    -
Rising    22.71.03.02    2010.10.29    -
Sophos    4.59.0    2010.10.30    -
Sunbelt    7173    2010.10.30    -
SUPERAntiSpyware    4.40.0.1006    2010.10.30    -
Symantec    20101.2.0.161    2010.10.30    -
TheHacker    6.7.0.1.074    2010.10.30    -
TrendMicro    9.120.0.1004    2010.10.30    -
TrendMicro-HouseCall    9.120.0.1004    2010.10.30    -
VBA32    3.12.14.1    2010.10.29    -
ViRobot    2010.10.30.4121    2010.10.30    -
VirusBuster    12.70.13.0    2010.10.30    -
[/spoiler]

Download:
http://www.multiupload.com/EMFFK17RDB

Tutorial!
[spoiler]
First, create a new WindowsFormsApplication

Then open up Toolbox, right-click on General and click "Choose Items."
[Image: toolboxchooseitems.jpg]

Select the COM Components Tab, scroll down to Shockwave Flash, and Check it.
[Image: shockwaveflashcomtab.jpg]

Click Ok and Drag your newly made Shockwave Flash Object onto Form1
[Image: form1swfobject.jpg]

Now go to properties in the bottom right, and change the Form1 size to "800x600" and the Shockwave Flash Object to "800x540." You will re-size this later.
[Image: resizede.jpg]

Also in Properties, change the Flash Object's "Movie" to the game of your choice(Link must end with .swf) For this tutorial, we will use
[Image: movielinkedit.jpg]

Finally, drag a MenuStrip onto the top of your Form. Name the first section "Stats". You may need to resize the Flash Object.
[Image: menustrip.jpg]

Code

To hack the flash game, we are going to edit the memory. If you've ever used Cheat Engine, or Tsearch, you will understand this.
However, while this takes time and effort using Memory Scanners, this is relatively easy on VB. VB allows us to directly alter the Flash Objects' Variables.

On your Menu at the top, add a sub menu to "Stats" and call it "Strength" We will use editing the Strength stat as our example.
[Image: addingstrengthstat.jpg]

Then double click the Strength menu element, and enter this code:
Code:
AxShockwaveFlash1.SetVariable("Strength", "100")
[Image: addingstrengthcode.jpg]

This code makes the Button_Click event change the "Strength" Variable to 100. If you click the Menu item in game, you will initialize the code, and your stat will change.

That's pretty much all there is to it. To find out the variable names, either guess at them(Look at the string in game) or decompile the .swf file.

Useful Codes for Trainers:
Editing Variables
Code:
AxShockwaveFlash1.SetVariable("Variable", "Value")

Custom Variables
Code:
Dim s As String = InputBox("Enter custom [Variable] level:")
AxShockwaveFlash1.SetVariable("Variable", s)

Launching files from same Folder as VB App
Code:
Shell(Application.StartupPath & "\Filename.exe") ;; This can be used to run scripts/other .exe's

Variable List for StickRPG
Code:
Strength
Intelligence
Charm
Karma
HP
HPMAX
Cash
Day
Time
pname
[/spoiler]

I hope the TuT was useful Smile
01-15-2011 06:20 PM
Find all posts by this user Quote this message in a reply
Ironside Offline
Site Owner
**********

Trade Count: (0)
Posts: 170
Joined: Nov 2010
Reputation: 7
Post: #2
RE: [VB .NET][TuT]Stick RPG Trainer
Interesting, was thinking some time back of something similar.
01-15-2011 06:21 PM
Find all posts by this user Quote this message in a reply
Hidden Dragon Offline
Amazing
*******

Trade Count: (0)
Posts: 63
Joined: Jan 2011
Reputation: 4
Post: #3
RE: [VB .NET][TuT]Stick RPG Trainer
It looks pretty good. I've never done a trainer before but this looks quite easy. Thanks for sharing.
01-15-2011 07:24 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: