Can somebody help me out? I'm able to read and write correct values from/to other games using this code, but whenever I use it for csgo it never returns the correct values, does anybody know why? (vb.net)
I got the offsets myself from the most recent update of csgo using CheatEngine, these values were also posted in other threads so I don't think it's an offset issue. Not sure if this makes a difference but I also had the assembly running with Administrator Privileges.
(this is just something basic to get me started, I of course plan on making a much more complex cheat once I get the hang of things as i'm familiar with vb.net, just fairly new to memory modification)
Code:
Dim csgo_process As Process()
'Using the VAMemory v1.3 class.
Dim LocalPlayer_Offset As Integer = &HAAFD7C
Dim Health_Offset As Integer = &HFC
Private Sub BtnDisplayHealth_Click(sender As Object, e As EventArgs) Handles BtnDisplayHealth.Click
csgo_process = Process.GetProcessesByName("csgo")
If csgo_process.Length > 0 Then
Dim VAM As New VAMemory("csgo")
MessageBox.Show(VAM.ReadInt32(LocalPlayer_Offset + Health_Offset))
Else
MessageBox.Show("CSGO is not running")
End If
End Sub