 |
 |
Pkdude GamesThe place to find the best Dragonfable & Mechquest trainer downloads. |
|
|
Page 1 of 1
|
[ 12 posts ] |
|
| Author |
Message |
|
Pkdude
|
Post subject: Common VB6 variable knowledge Posted: April 7th, 2009, 3:35 pm |
|
Joined: February 20th, 2008, 4:30 pm Posts: 2187
PKDG Gold: 5849
Donate
Reputation: 59
Location: The hood Highscores: 14 Favorite Style: PK Ultimate How'd you find us: I created this site!
|
|
hello everyone, I'm making a thread about Variables and VB6. My goal is for you guys to understand coding better and make your own codes
Now let's study a common vb6 code: Call ShockwaveFlash1.SetVariable("character.origStats.intStr", 9999)
This code sets your STR to 9999, but how? I know that most of you making trainers just copy this part of the code: Call ShockwaveFlash1.SetVariable and just fill in the vars correct? Well, you will NOT get far in TMing(Trainer making) like this.
You must understand what the OPcodes(Operation codes) mean.
First of all the Call command
what the call command does is basically getting the attention of comething. In this code it's Shockwave flash.
Now the ShockwaveFlash1
This is the name of your flash window The one you load DF in. BUT be cautious however because the name could change. If it's the first shockwave flash window you have then it's ShockwaveFlash1
If it's the second it should be: ShockwaveFlash2 and so on
Now it's time for the SetVariable
Now you've called on your project, you need to command it. So SetVariable is the command you chose. SetVariable means to set a value of something. There are also other commands like show or hide
The last part ("character.origStats.intStr", 9999) Now you've command your project to set a variable, you need to define it. Meaning telling your project what variable to change, and what it should change to. So in this example the variable is: character.origStats.intStr and the value is:9999
And thats about it, my guide to vb6 coding. HAVE FUN MAKING TRAINERS!
_________________ TOP Runescape Guides Runescape F2P gold Guide Fist of Guthix Guide Runescape PvP Guide Guide to 99 Prayer ______________________________________________ To download the highest versions of PKDF and PKMQ become a VIP! Click here to find out how!
 You like Pkdude Games?I like donations.Donate now:
Pkdude's stats: ATK(Attack) = 29 DEF(Defence) = 16 STA(Stamina) = 14 LUK(Luck) = 14
|
|
| Top |
|
 |
|
jjkul
|
Post subject: Re: Common VB6 variable knowledge Posted: April 8th, 2009, 8:49 am |
|
Joined: January 15th, 2009, 7:38 am Posts: 875
PKDG Gold: 2289
Donate
Reputation: 6
Location: varrock or where ever i am Highscores: 2 Favorite Style: PK Ultimate How'd you find us: youtube
|
|
| Top |
|
 |
|
Pkdude
|
Post subject: Re: Common VB6 variable knowledge Posted: April 8th, 2009, 2:49 pm |
|
Joined: February 20th, 2008, 4:30 pm Posts: 2187
PKDG Gold: 5849
Donate
Reputation: 59
Location: The hood Highscores: 14 Favorite Style: PK Ultimate How'd you find us: I created this site!
|
|
| Top |
|
 |
|
jjkul
|
Post subject: Re: Common VB6 variable knowledge Posted: April 9th, 2009, 10:34 am |
|
Joined: January 15th, 2009, 7:38 am Posts: 875
PKDG Gold: 2289
Donate
Reputation: 6
Location: varrock or where ever i am Highscores: 2 Favorite Style: PK Ultimate How'd you find us: youtube
|
|
| Top |
|
 |
|
133xam
|
Post subject: Re: Common VB6 variable knowledge Posted: May 6th, 2009, 9:41 pm |
|
 |
| Global Moderator |
 |
Joined: May 1st, 2009, 10:47 pm Posts: 313
PKDG Gold: 1107
Donate
Reputation: 8
Location: Garlic City Favorite Style: PK Ultimate How'd you find us: Google
|
|
Ooh! I found out some things! I was looking all over the web n I think I can get some things working! If I ever make a trainer of my own I'll post it here!
_________________ -Max- If you ever need anything else, send me a message. ____________________________________________
|
|
| Top |
|
 |
|
jjkul
|
Post subject: Re: Common VB6 variable knowledge Posted: May 17th, 2009, 8:52 am |
|
Joined: January 15th, 2009, 7:38 am Posts: 875
PKDG Gold: 2289
Donate
Reputation: 6
Location: varrock or where ever i am Highscores: 2 Favorite Style: PK Ultimate How'd you find us: youtube
|
|
| Top |
|
 |
|
133xam
|
Post subject: Re: Common VB6 variable knowledge Posted: May 17th, 2009, 2:21 pm |
|
 |
| Global Moderator |
 |
Joined: May 1st, 2009, 10:47 pm Posts: 313
PKDG Gold: 1107
Donate
Reputation: 8
Location: Garlic City Favorite Style: PK Ultimate How'd you find us: Google
|
|
I've made 4 so far, each a bit more "advanced" than the last. I realized that it appeals more to people having them upload their own codes, but I need to know how to do something like:
The trainer's here and all, and the variables appear in a link form. Like, there's a button that loads another page that has all the options. Ex) ExpGain (Textbox) Str(Textbox).
How can I do that?
_________________ -Max- If you ever need anything else, send me a message. ____________________________________________
|
|
| Top |
|
 |
|
jjkul
|
Post subject: Re: Common VB6 variable knowledge Posted: May 18th, 2009, 8:47 am |
|
Joined: January 15th, 2009, 7:38 am Posts: 875
PKDG Gold: 2289
Donate
Reputation: 6
Location: varrock or where ever i am Highscores: 2 Favorite Style: PK Ultimate How'd you find us: youtube
|
|
| Top |
|
 |
|
133xam
|
Post subject: Re: Common VB6 variable knowledge Posted: May 18th, 2009, 8:52 pm |
|
 |
| Global Moderator |
 |
Joined: May 1st, 2009, 10:47 pm Posts: 313
PKDG Gold: 1107
Donate
Reputation: 8
Location: Garlic City Favorite Style: PK Ultimate How'd you find us: Google
|
|
My trainer's there right? I want to be able to click a button and have another page pop up.
_________________ -Max- If you ever need anything else, send me a message. ____________________________________________
|
|
| Top |
|
 |
|
jjkul
|
Post subject: Re: Common VB6 variable knowledge Posted: May 22nd, 2009, 8:52 am |
|
Joined: January 15th, 2009, 7:38 am Posts: 875
PKDG Gold: 2289
Donate
Reputation: 6
Location: varrock or where ever i am Highscores: 2 Favorite Style: PK Ultimate How'd you find us: youtube
|
|
| Top |
|
 |
|
133xam
|
Post subject: Re: Common VB6 variable knowledge Posted: May 22nd, 2009, 6:24 pm |
|
 |
| Global Moderator |
 |
Joined: May 1st, 2009, 10:47 pm Posts: 313
PKDG Gold: 1107
Donate
Reputation: 8
Location: Garlic City Favorite Style: PK Ultimate How'd you find us: Google
|
|
*sigh* Okay. WHen you click on the folder where my trainer's located, you run it, it shows up.
Click connect, it connects. What if I want another window to pop up when I click a button.
Ex) A button named Hacks. Click it, and a window with all the hacks shows up. How can you do that?
_________________ -Max- If you ever need anything else, send me a message. ____________________________________________
|
|
| Top |
|
 |
|
Tstertâ„¢
|
Post subject: Re: Common VB6 variable knowledge Posted: November 18th, 2009, 7:02 pm |
|
Joined: November 5th, 2009, 8:00 pm Posts: 134
PKDG Gold: 50320
Donate
Reputation: 4
Favorite Style: PK Ultimate How'd you find us: google
|
use this code to open up a different window Code: load frmHacks frmHacks.show
_________________

|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 12 posts ] |
|
Who is online |
Users browsing this forum: Google [Bot] and 0 guests |
|
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 post attachments in this forum
|
|
 |