Use this
master131 Module
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 ^^)
Last edited by thesparkofhope; 11-18-2014 at 01:28 PM. Reason: Becuz I'm dumb xD
Use this
master131 Module
Last edited by i4mTh3Fr34kPr0; 11-18-2014 at 02:37 PM.
H0rn3tPr0 (11-22-2014)
Also make sure that build configuration is x64 no x86 or Any Cpu.
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.
Ok as soon as i'm home i will try it out,thanks