Method GetVariable Using God Mod Return

Posts 1–5 of 5 · Page 1 of 1
Method GetVariable Using God Mod Return
Hello gusdnide am, I'm here to show how this method Returns the value of status, ex: the God Mode DF Trainer 1.5, when off the status would be 0, I will show a method of how to return the value of the old character:

1 - Add 6 public variables:
Code:
Public str As Integer
    Public int As Integer
    Public dex As Integer
    Public ends As Integer
    Public luk As Integer
    Public cha As Integer
2 - in the event "on" the God Mod, Add this code before it:
Code:
str = Me.AxShockwaveFlash1.GetVariable("_root.character.origStats.intStr")
        int = Me.AxShockwaveFlash1.GetVariable("_root.character.origStats.intInt")
        dex = Me.AxShockwaveFlash1.GetVariable("_root.character.origStats.intDex")
        ends = Me.AxShockwaveFlash1.GetVariable("_root.character.origStats.intEnd")
        luk = Me.AxShockwaveFlash1.GetVariable("_root.character.origStats.intLuk")
        cha = Me.AxShockwaveFlash1.GetVariable("_root.character.origStats.intCha")
Example:
Code:
  Private Sub OnToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OnToolStripMenuItem1.Click
        Str = Me.AxShockwaveFlash1.GetVariable("_root.character.origStats.intStr")
        Int = Me.AxShockwaveFlash1.GetVariable("_root.character.origStats.intInt")
        dex = Me.AxShockwaveFlash1.GetVariable("_root.character.origStats.intDex")
        ends = Me.AxShockwaveFlash1.GetVariable("_root.character.origStats.intEnd")
        luk = Me.AxShockwaveFlash1.GetVariable("_root.character.origStats.intLuk")
        cha = Me.AxShockwaveFlash1.GetVariable("_root.character.origStats.intCha")
        OnToolStripMenuItem1.CheckState = CheckState.Checked
        OffToolStripMenuItem1.CheckState = CheckState.Unchecked
        If OnToolStripMenuItem1.Checked = True Then
            Me.AxShockwaveFlash1.SetVariable("_root.character.origStats.intStr", 99999999)
            Me.AxShockwaveFlash1.SetVariable("_root.character.origStats.intInt", 99999999)
            Me.AxShockwaveFlash1.SetVariable("_root.character.origStats.intDex", 99999999)
            Me.AxShockwaveFlash1.SetVariable("_root.character.origStats.intEnd", 99999999)
            Me.AxShockwaveFlash1.SetVariable("_root.character.origStats.intLuk", 99999999)
            Me.AxShockwaveFlash1.SetVariable("_root.character.origStats.intCha", 99999999)
            OffToolStripMenuItem1.CheckState = CheckState.Unchecked
        End If
    End Sub

3 - In Event OFF God Mode Add In Value , the variable global exemple:

Code:
 Me.AxShockwaveFlash1.SetVariable("_root.character.origStats.intStr", str)
        Me.AxShockwaveFlash1.SetVariable("_root.character.origStats.intInt", int)
        Me.AxShockwaveFlash1.SetVariable("_root.character.origStats.intDex", dex)
        Me.AxShockwaveFlash1.SetVariable("_root.character.origStats.intEnd", ends)
        Me.AxShockwaveFlash1.SetVariable("_root.character.origStats.intLuk", luk)
        Me.AxShockwaveFlash1.SetVariable("_root.character.origStats.intCha", cha)
Credits :
@DawgiiStylz
@Rance-Sama
Nice

Have you coded a trainer or something? Anyways you should add more tutorials Ex: SWF creation, Dragon Amulet etc as those are more popular than something like this.
Quote Originally Posted by Rance-Sama View Post
Nice

Have you coded a trainer or something? Anyways you should add more tutorials Ex: SWF creation, Dragon Amulet etc as those are more popular than something like this.
I made my trainer based on your tutorials with DawgiiStylz , I did in C Sharp more before all created in VB.net.
I'll post some more tutorials..
Basically if you want a "God Mode" you want to set and reset your character stats indefinitely.

When you're logging into your character, you want to log your character stats. That way when you want to include an on or off switch, you can switch your character stats by its default value and to the new value anytime. This is what I have in the trainer that I have made.
When you have your set stat(s) after your character is logged in, you can have an active to switch that on or off. When on, you want to set the desired stats to a new value and when switched off, everything is reverted back to the default value, which is what you made those declarations for.
Simple

OP is a good way to look at it though
Quote Originally Posted by DawgiiStylz View Post
Basically if you want a "God Mode" you want to set and reset your character stats indefinitely.

When you're logging into your character, you want to log your character stats. That way when you want to include an on or off switch, you can switch your character stats by its default value and to the new value anytime. This is what I have in the trainer that I have made.
When you have your set stat(s) after your character is logged in, you can have an active to switch that on or off. When on, you want to set the desired stats to a new value and when switched off, everything is reverted back to the default value, which is what you made those declarations for.
Simple

OP is a good way to look at it though

kkkk Thanks for the tip, and beautiful fixed tutorial xD was there that I learned.
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us