Results 1 to 5 of 5
  1. #1
    thesparkofhope's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Location
    Deadman's Wonderland
    Posts
    63
    Reputation
    12
    Thanks
    68
    My Mood
    Amazed

    Question Problems With Trainer Creation (Visual Studio 2012 Express)

    Hello Mpgh!,
    I have an problem,i tried to make a trainer/hack for the singleplayer and i managed to code and give it a look ^^ but if i open this and change the value(in the textbox)and press the button nothing happens can someone tell me what Iam doing wrong?

    Here is the code:

    Public Class Form1

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

    End Sub

    Private Sub LinkLabel1_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked

    End Sub

    Private Sub Ammo_Click(sender As Object, e As EventArgs)
    Dim Amount As String [NOT PART OF THE CODE!--> in VS2012 Dim Amount As New String wont work and create an error]
    WriteInteger("s1_sp64_ship", &H37A9218, Amount)
    End Sub

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

    End Sub
    End Class


    I would be very grateful if someone could tell me my mistake ?
    And maybe if someones asks yep i have a Read/Writing Memory script? i dont know i will just call it script
    Screenies:
    https://prntscr.com/57qkvo
    (well now i added the screenshot but I'm to dumb to delete the attachment ^^)
    Attached Thumbnails Attached Thumbnails
    HaX AW.png  

    Last edited by thesparkofhope; 11-18-2014 at 01:28 PM. Reason: Becuz I'm dumb xD

  2. #2
    i4mTh3Fr34kPr0's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    Nagano
    Posts
    347
    Reputation
    16
    Thanks
    4,740
    Use this
    master131 Module

     




     

    WriteMemory(Of Integer)(&H37A9218, TextBox1.Text)
    Last edited by i4mTh3Fr34kPr0; 11-18-2014 at 02:37 PM.



  3. The Following User Says Thank You to i4mTh3Fr34kPr0 For This Useful Post:

    H0rn3tPr0 (11-22-2014)

  4. #3
    NightmareTX_RETIRED's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    1,240
    Reputation
    57
    Thanks
    15,357
    My Mood
    Fine
    Also make sure that build configuration is x64 no x86 or Any Cpu.

  5. #4
    Klintos's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Posts
    47
    Reputation
    10
    Thanks
    262
    My Mood
    Buzzed
    Make sure you're actually setting a address and that what you're trying to set is a number. Like WriteInteger("s1_sp64_ship", &H37A9218, 255) or WriteInteger("s1_sp64_ship", &H37A9218, Int32.Parse(textBox1.Text)). Also make sure the address is correct. If you need help try looking at distinys base and see how he does it.

  6. #5
    thesparkofhope's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Location
    Deadman's Wonderland
    Posts
    63
    Reputation
    12
    Thanks
    68
    My Mood
    Amazed
    Ok as soon as i'm home i will try it out,thanks

Similar Threads

  1. [Release] Visual Studio 2012 Express [Key]
    By iHexz in forum Programming Tools
    Replies: 2
    Last Post: 01-01-2013, 03:56 PM
  2. Problem compiling php5 in visual studio
    By nattsurf123 in forum C++/C Programming
    Replies: 3
    Last Post: 03-18-2010, 11:28 AM
  3. I am having problems with trainers that i make...
    By pwningemodrumers in forum WarRock - International Hacks
    Replies: 3
    Last Post: 06-21-2007, 10:19 PM
  4. Problem with trainers mades for CE, help me pls
    By juanitobalde in forum General Game Hacking
    Replies: 0
    Last Post: 04-24-2007, 04:31 AM
  5. who wants a uce with trainer creation?
    By shadowsecret in forum WarRock - International Hacks
    Replies: 20
    Last Post: 04-20-2007, 09:01 AM