Post: How To Make A Basic Dragonfable Trainer
02-28-2011, 04:22 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); To make a DF trainer you need the following:
Visual basic 6

you can download them by going to are downloads page
You must login or register to view this content.


Open vb6
and click on "standard exe"
and you should have a blank "form". now right click on your toolbox and click on components.
Image

Scroll to the bottom of the list and add the component called "Shockwave flash"
Then put the Shockwave flash onto your blank form.

Image

What you need:

3 text boxes
1 command button(call it connect)


Now add 3 textboxes and in textbox 1 type in:
You must login or register to view this content.
In textbox2 type in:
You must login or register to view this content.
In textbox 3 type in:
gameX_X_X.swf (the X means the current game build)
SWF is now 8_6_1 swf by jackofbladesmah

Image

Now add a Button and put it onto your form
Double click on the button and type in this code:

    ShockwaveFlash1.Movie = Text2.Text
ShockwaveFlash1.Base = Text1.Text
ShockwaveFlash1.FlashVars = "strFileName=" + Text3.Text
ShockwaveFlash1.Play



Now click on the shockwaveflash once and on the bottom right you should see the properties menu. and change these settings:
SCALE = ExactFit
ALLOWSCRIPTACCESS = SameDomain

Test your project by pressing F5, then click the command button.
You should be able to log in.
Congratulations, you have now made a working DF loader. So now onto the hacks.


DF Hacks for your trainer

okay so now you want to add hacks to your trainer right? well I'm not going to give you the more advanced hacks, you have to find out by yourself, but i will tell you how to add basic hacks like HP, MP, stats and others.

okay so now add 3 things:

1 button
1 textbox (named text4)

double click on the button so the code area comes up, and type in this code:

now double click on the button and type in this code:

    Call ShockwaveFlash1.SetVariable("character.intHP", text4)
Call ShockwaveFlash1.SetVariable("character.intMaxHP", text4)



Test your project by clicking F5 and log in. type in 99999999 in the text box and click on the button, you should now have 99999999

All Variables I Can Find

    DMG hack:

Call ShockwaveFlash1.SetVariable("character.intDmgMin", Text5)
Call ShockwaveFlash1.SetVariable("character.intDmgMax", Text5)


Stat Hack:

_level0.character.origStats.intStr = 999999;
_level0.character.origStats.intInt = 999999;
_level0.character.origStats.intDex = 999999;
_level0.character.origStats.intEnd = 999999;
_level0.character.origStats.intCha = 999999;
_level0.character.origStats.intLuk = 999999;
_level0.character.intCrit = 999999;
_level0.character.intBonus = 999999;
_level0.character.intBoost = 100;
_level0.character.intDmgMax = "999999";
_level0.character.intDmgMin = "999999";
_level0.character.intDefMelee = 999999;
_level0.character.intDefRange = 999999;
_level0.character.intDefMagic = 999999;
_level0.character.intParry = 999999;
_level0.character.intDodge = 999999;
_level0.character.intBlock = 999999;
_level0.character.intMaxHP = 999999;
_level0.character.intMaxMP = 999999;
_level0.character.intLevel = 999999;


Hp&Mp hack:
Call ShockwaveFlash1.SetVariable("character.origStats.intEnd", Text3)
Call ShockwaveFlash1.SetVariable("character.origStats.intInt", Text3)



Ninja training

_level0._root.game.player.ItemCount(495) >= 10;
_level0._root.game.setArmorValue(7, 20);
_level0._root.game.getArmorValue(7);
_level0.notify("Ninja training complete!");
showTextBox = function (strTitle, strText)
_level0.game.playSound("click");
_level0.game.screens.gotoAndPlay("TextBox");
_level0.game.screens.mcTextBox.strTitle = strTitle;
_level0.game.screens.mcTextBox.strText = strText;
_level0.game.screens._visible = true;


Def hack:


Call ShockwaveFlash1.SetVariable("character.intDefMagic", Text7)
Call ShockwaveFlash1.SetVariable("character.intDefMelee", Text7)
Call ShockwaveFlash1.SetVariable("character.intDefRange", Text7)
Call ShockwaveFlash1.SetVariable("character.intBlock", Text7)
Call ShockwaveFlash1.SetVariable("character.intDodge", Text7)
Call ShockwaveFlash1.SetVariable("character.intParry", Text7)

Finish Quest

_level0.screen.showQuestWon();
_level0.notify("Quest finished!");


Loaders

_level0.conn.shopLoad(shopID.text);
_level0.conn.loadTown(townID.text);
_level0.conn.loadQuest(questID.text);
_level0.conn.loadClass(classID.text);
_level0.conn.mergeShopLoad(mergeshopID.text);




Auto Gold + Exp

_level0.quest.intEarnedExp = 999999;
_level0.quest.intEarnedGold = 999999;



End Battle

_level0.battle.endBattle();



Gold & xp Hack:

Call ShockwaveFlash1.SetVariable("character.StrExperience", Text9)
Call ShockwaveFlash1.SetVariable("character.intGold", Text9)


DragonAmulet Hack

Call ShockwaveFlash1.SetVariable("character.intDragonAmulet", "1")


Others (Just add the setvariable thing for the rest):

Call Shockwaveflash1.SetVariable("character.isBirthday", "1")
character.strClassName
character.strCharacterName
character.strRaceName
character.strQuestFileName
_root.character.strQuests
_root.character.strArmor
_root.character.strSkills
_root.battle.destroy();
objPet.strCharacterName
objPet.intHP
objPet.intDmgMin
objPet.intDmgMax
objPet.intPowerBoost
objPet.intStr
objPet.intInt
objPet.intDex
objPet.strWeaponType
_root.character.dragon.intMin
root.character.dragon.intMax
_root.character.dragon.intCrit
_root.character.dragon.strItemName
_root.battle.endBattle();
_root.game.player.isHighEnufLevel
obj.intLevel
_root.game.player.checkItemCount
_root.character.intDragonAmulet
getUserUpgrade()
_root.user.intUpgrade
_root.user.intAccessLevel >= 2
_root.conn.loadHomeTown();
_root.character.dragon.dateLastFed
_root.conn.loadClass(13)
intClassID
_root.game.player.fullHeal()
_root.game.player.ItemCount(intFoodID)
_root.character.dragon.intTotalStats
_root.character.intGold
objDragon.intHeal
objDragon.intMagic
objDragon.intMelee
objDragon.intBuff
objDragon.intDebuff
_root.conn.subtractMoney(2, 1000)
objTarget.quest.monsters.count
_root.quest.intEarnedExp
_root.quest.intEarnedSilver
_root.quest.intEarnedGold
_root.quest.intEarnedGems
_root.character.intExp
_root.character.intGems
_root.character.intGold
_root.character.intSilver
_root.screen.showQuestReward()
_root.conn.questReward = function (intNewItemID)
_root.util.clone(_root.quest.reward)
objTarget.quest.intCounter
_root.questreward.intExpToLevel;
_root.character.intLevel
_root.questreward.intLevel
_root.character.origStats.intMaxHP
_root.character.origStats.intMaxMP
_root.screen.showLevelUp()
_root.character.origStats.intStr
_root.character.origStats.intInt
_root.character.origStats.intDex
_root.character.origStats.intEnd
_root.character.origStats.intLuk
_root.character.origStats.intCha
_loc3.intColorBase
_loc3.intColorTrim
_root.shop.items
var _loc2 = _root.util.clone(_root.shop.items[intItemIndex]);
_root.game.player.addItemToInventory(_loc2);
_root.character.intMaxBagSlots
_root.conn.addMoney
_root.character.intCoins
_root.character.intGold
_root.character.intSilver
_root.mergeshop.items
_root.character.QuestID
_root.character.strQuestFileName
_root.character.strQuestXFileName
_root.conn.parseExtraInfoMaps
_root.conn.loadTown
_root.conn.changeTown
_root.conn.changeHomeTown
_root.conn.mergeShopLoad
_root.conn.itemMerge
_root.conn.buyBagSlots3
_root.conn.shopLoad
_root.conn.changeArmor = function (intColorBase, intColorTrim)
_root.conn.saveWeaponConfig
_root.conn.loadScene
objChar.intHPCount
objChar.intMPCount
objChar.backStats.intMaxHP
objChar.backStats.intMaxMP
objChar.dArmor.intBlock
objChar.dArmor.intDodge
objChar.dArmor.intParry
objChar.dArmor.intDefMagic
objChar.dArmor.intDefRange
objChar.dArmor.intDefMelee
objChar.dArmor.strArmorResists
objChar.intWeaponLevel
objChar.intCrit
objChar.intBonus
objChar.intDmgMin
objChar.intDmgMax
objChar.strElement
objTarget.ptrObj.intCoins
objTarget.ptrObj.intGold

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo