Results 1 to 5 of 5
  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)

  3. #2
    Rance-Sama's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    Ice
    Posts
    6,322
    Reputation
    653
    Thanks
    8,883
    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.

  4. #3
    gusdnide's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    287
    Reputation
    15
    Thanks
    1,847
    My Mood
    Amazed
    Quote Originally Posted by AqworldThunder 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..

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

    Rance-Sama (11-22-2013)

  6. #4
    DawgiiStylz's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Dawg House
    Posts
    7,811
    Reputation
    219
    Thanks
    2,896
    My Mood
    Tired
    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

  7. #5
    gusdnide's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    287
    Reputation
    15
    Thanks
    1,847
    My Mood
    Amazed
    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.

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