Results 1 to 5 of 5

Threaded View

  1. #1
    gusdnide's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    287
    Reputation
    15
    Thanks
    1,847
    My Mood
    Amazed

    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
    @AqworldThunder

  2. The Following User Says Thank You to gusdnide For This Useful Post:

    Rance-Sama (11-22-2013)

Similar Threads

  1. [Help] the god mod now can use??
    By pklfo123 in forum Mission Against Terror Discussions
    Replies: 0
    Last Post: 06-22-2011, 10:04 AM
  2. I was filmed flying&using knife mod
    By Telenim in forum Combat Arms Discussions
    Replies: 18
    Last Post: 12-21-2009, 12:06 PM
  3. To all those using SuperKnife mods
    By PyrexxHero® in forum Combat Arms Mod Discussion
    Replies: 20
    Last Post: 12-21-2009, 01:07 AM
  4. A method I use for shooting
    By Gotchuthief in forum Combat Arms Hacks & Cheats
    Replies: 20
    Last Post: 10-08-2008, 06:19 PM
  5. GunZ God Mod
    By Brunogol in forum Gunz Hacks
    Replies: 14
    Last Post: 02-07-2006, 09:09 PM