• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 5 of 5
    1. #1
      Newbie
      0000
       
      Hacking
       
      Kopuz's Avatar
      Join Date
      Apr 2013
      Posts
      15
      Thanks (-->)
      1
      Thanks (<--)
      10

      [SOLVED] vb6 how to display player coordinatesin a text box?

      John Kittz
      I have been working on a trainer for S:GW2 for a few weeks now and i have managed to get all the base addresses i need including player coordinates. This is my first project in a while and i am using old school visual basics 6 enterprise, so far my trainer is working fine with a tone of features including a teleport speed hack but i am not satisfied! for example i can input x, y and z coordinates into text boxes and teleport to that location in the map but will usually end up dieing from being out of bounds.

      Is there a way to read from the process memory at the address of Z coord and then place the value into a text box?

      I have designed a nice system where the user can store loads of different locations all saved into a .txt, this text file is loaded when the trainer is launched. It all works smoothy now i just need to somehow get the current coords shown in the trainer.

      any help is appreciated!

      Thanks in advance!
      Last edited by Kopuz; 05-06-2013 at 01:08 PM. Reason: solved

    2. #2
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      Radobot's Avatar
      Join Date
      Dec 2012
      Posts
      13
      Thanks (-->)
      0
      Thanks (<--)
      0
      Well, if you can write to process, I'm sure you can also read. You can try using ReadProcessMemory function from kernel32.dll. I don't know how to correctly define it in Visual Basic, but it shouldn't be much different from WriteProcessMemory if you're using it for writing.

    3. #3
      Newbie
      0000
       
      Hacking
       
      Kopuz's Avatar
      Join Date
      Apr 2013
      Posts
      15
      Thanks (-->)
      1
      Thanks (<--)
      10
      Problem solved! I was trying to use this.

      Code:
      Dim coordz As Long
      Call ReadAFloat("Sniper Ghost Warrior 2", &Haddress, coordz)
      pzcoord.Text = coordz
      Code:
      Dim coordz As Long
      that obviously dose not work as i am working with floats so by changing from "Long" to "Single" it works perfectly. I am now happy i can finish this trainer!

    4. #4
      Coder
      v-v
       
      Lurking
       
      Styx™'s Avatar
      Join Date
      Aug 2012
      Posts
      118
      Thanks (-->)
      1
      Thanks (<--)
      27
      Quote Originally Posted by Kopuz View Post
      Problem solved! I was trying to use this.

      Code:
      Dim coordz As Long
      Call ReadAFloat("Sniper Ghost Warrior 2", &Haddress, coordz)
      pzcoord.Text = coordz
      Code:
      Dim coordz As Long
      that obviously dose not work as i am working with floats so by changing from "Long" to "Single" it works perfectly. I am now happy i can finish this trainer!
      Why were you storing a float as a double?

    5. #5
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      arrapajoe's Avatar
      Join Date
      Sep 2013
      Posts
      1
      Thanks (-->)
      0
      Thanks (<--)
      0
      Cheats'n'Trainers
      as I have to use this code??? thanks

    Similar Game Hacker Threads

    1. [Help] I don't understand how to display a process memory value
      By SpookyReborn78 in forum Hacking Help
      Replies: 8
      Last Post: 04-15-2016, 08:47 PM
    2. [Help] Draw box, text
      By dromenox in forum Assault Cube Hacks
      Replies: 11
      Last Post: 08-25-2015, 11:53 AM
    3. [Help] need some, help text on screen
      By mcdeliver18 in forum C/C++
      Replies: 2
      Last Post: 05-29-2014, 08:50 AM
    4. [Help] Add text to chams
      By DR.BOB in forum GH Tutorials Help
      Replies: 4
      Last Post: 04-20-2014, 01:06 AM
    5. Replies: 3
      Last Post: 10-22-2013, 03:05 PM

    Tags for this Thread