Pkdude Games

The place to find the best Dragonfable & Mechquest trainer downloads.

Skip to content

Common VB6 variable knowledge

Talk about dragonfable and download the PKDF trainer.

Moderator: Game ID Team

Common VB6 variable knowledge

Postby Pkdude on April 7th, 2009, 3:35 pm

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!

Image
You like Pkdude Games?I like donations.Donate now:

Pkdude's stats:
ATK(Attack) = 29
DEF(Defence) = 16
STA(Stamina) = 14
LUK(Luck) = 14
Item Shelf
User avatar
Pkdude
PK Admin
PK Admin
 
Posts: 2217
PKDG Gold: 4030
Donate
Joined: February 20th, 2008, 4:30 pm
Location: The hood
Highscores: 4
Favorite Style: PK Ultimate
How'd you find us: I created this site!
Reputation: 70

 

Re: Common VB6 variable knowledge

Postby jjkul on April 8th, 2009, 8:49 am

can i ask you a question?, look in trainers there are some SWFs you can use how can i load them to my trainer and make them work! give me the codes and how to remove them also from my trainer
Image
Image
Image
Image
Image
Item Shelf
User avatar
jjkul
Game ID Team
Game ID Team
 
Posts: 907
PKDG Gold: 2449
Donate
Joined: January 15th, 2009, 7:38 am
Location: varrock or where ever i am
Highscores: 1
Favorite Style: PK Ultimate
How'd you find us: youtube
Reputation: 6

Re: Common VB6 variable knowledge

Postby Pkdude on April 8th, 2009, 2:49 pm

that,u are going to have to figure out on ur own :green:
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!

Image
You like Pkdude Games?I like donations.Donate now:

Pkdude's stats:
ATK(Attack) = 29
DEF(Defence) = 16
STA(Stamina) = 14
LUK(Luck) = 14
Item Shelf
User avatar
Pkdude
PK Admin
PK Admin
 
Posts: 2217
PKDG Gold: 4030
Donate
Joined: February 20th, 2008, 4:30 pm
Location: The hood
Highscores: 4
Favorite Style: PK Ultimate
How'd you find us: I created this site!
Reputation: 70

Re: Common VB6 variable knowledge

Postby jjkul on April 9th, 2009, 10:34 am

-.- i tried call shockwave.flash1 movie = "document....../.SWF......
doesnt work!
come on help me im a very good member!! i wont give out the informatino atleast pm me in private
Image
Image
Image
Image
Image
Item Shelf
User avatar
jjkul
Game ID Team
Game ID Team
 
Posts: 907
PKDG Gold: 2449
Donate
Joined: January 15th, 2009, 7:38 am
Location: varrock or where ever i am
Highscores: 1
Favorite Style: PK Ultimate
How'd you find us: youtube
Reputation: 6

Re: Common VB6 variable knowledge

Postby 133xam on May 6th, 2009, 9:41 pm

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.
____________________________________________
Dark Warriors
133xam
Global Moderator
Global Moderator
 
Posts: 323
PKDG Gold: 1157
Donate
Joined: May 1st, 2009, 10:47 pm
Location: Garlic City
Favorite Style: PK Ultimate
How'd you find us: Google
Reputation: 8

Re: Common VB6 variable knowledge

Postby jjkul on May 17th, 2009, 8:52 am

ok
Image
Image
Image
Image
Image
Item Shelf
User avatar
jjkul
Game ID Team
Game ID Team
 
Posts: 907
PKDG Gold: 2449
Donate
Joined: January 15th, 2009, 7:38 am
Location: varrock or where ever i am
Highscores: 1
Favorite Style: PK Ultimate
How'd you find us: youtube
Reputation: 6

Re: Common VB6 variable knowledge

Postby 133xam on May 17th, 2009, 2:21 pm

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.
____________________________________________
Dark Warriors
133xam
Global Moderator
Global Moderator
 
Posts: 323
PKDG Gold: 1157
Donate
Joined: May 1st, 2009, 10:47 pm
Location: Garlic City
Favorite Style: PK Ultimate
How'd you find us: Google
Reputation: 8

Re: Common VB6 variable knowledge

Postby jjkul on May 18th, 2009, 8:47 am

wat didnt understand
Image
Image
Image
Image
Image
Item Shelf
User avatar
jjkul
Game ID Team
Game ID Team
 
Posts: 907
PKDG Gold: 2449
Donate
Joined: January 15th, 2009, 7:38 am
Location: varrock or where ever i am
Highscores: 1
Favorite Style: PK Ultimate
How'd you find us: youtube
Reputation: 6

Re: Common VB6 variable knowledge

Postby 133xam on May 18th, 2009, 8:52 pm

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.
____________________________________________
Dark Warriors
133xam
Global Moderator
Global Moderator
 
Posts: 323
PKDG Gold: 1157
Donate
Joined: May 1st, 2009, 10:47 pm
Location: Garlic City
Favorite Style: PK Ultimate
How'd you find us: Google
Reputation: 8

Re: Common VB6 variable knowledge

Postby jjkul on May 22nd, 2009, 8:52 am

huh?
Image
Image
Image
Image
Image
Item Shelf
User avatar
jjkul
Game ID Team
Game ID Team
 
Posts: 907
PKDG Gold: 2449
Donate
Joined: January 15th, 2009, 7:38 am
Location: varrock or where ever i am
Highscores: 1
Favorite Style: PK Ultimate
How'd you find us: youtube
Reputation: 6

Re: Common VB6 variable knowledge

Postby 133xam on May 22nd, 2009, 6:24 pm

*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.
____________________________________________
Dark Warriors
133xam
Global Moderator
Global Moderator
 
Posts: 323
PKDG Gold: 1157
Donate
Joined: May 1st, 2009, 10:47 pm
Location: Garlic City
Favorite Style: PK Ultimate
How'd you find us: Google
Reputation: 8

Re: Common VB6 variable knowledge

Postby Tstert™ on November 18th, 2009, 7:02 pm

use this code to open up a different window
Code: Select all
load frmHacks
frmHacks.show
Image
Item Shelf
User avatar
Tstert™
VIP
VIP
 
Posts: 278
PKDG Gold: 47065
Donate
Joined: November 5th, 2009, 8:00 pm
Highscores: 1
Favorite Style: PK Ultimate
How'd you find us: google
Reputation: 11


Return to Dragonfable

Who is online

Users browsing this forum: No registered users and 0 guests