Help"client.dll"+Address in VB.NET. Help?

Posts 1–2 of 2 · Page 1 of 1
"client.dll"+Address in VB.NET. Help?
I am interested in making a bhop hack for CS:GO. I'm trying to read "client.dll"+04A8905C which points to 067A0800 with the offset of 534
which gives me 257 (On ground state)

How can I read this with VB.net? I can only read addresses, not pointerscanned results from "client.dll"

Code:
Private Declare Function ReadProcessMemory1 Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Integer, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer
Code:
 Public Function GetBaseAddress(ByVal modulename As String) As String
        Dim myprocess As Process() = Process.GetProcessesByName("csgo")
        Dim Mymodule As ProcessModule
        If myprocess.Length = 0 Then
            Return 0
        End If
        For Each Mymodule In myprocess(0).Modules
            If modulename = Mymodule.ModuleName Then
                Return Mymodule.BaseAddress
            End If
        Next
    End Function
Code:
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        TextBox1.Text = GetBaseAddress("client.dll")
        Dim hprocess As Process() = Process.GetProcessesByName("csgo")
        Dim address As String = GetBaseAddress("client.dll")
        Dim a As Integer = ReadProcessMemory1(hprocess(0).Handle, address + &H4A89080, 2, 4, 0)
        Textbox2.text = a
The result I get is 1. Not 257.

Anyone who can point out where I mess up?
Been over a week since last update/bump after no answers, marked as unresolved.

/Closed.
Posts 1–2 of 2 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us