Results 1 to 2 of 2
  1. #1
    marius7ss's Avatar
    Join Date
    Dec 2012
    Gender
    female
    Posts
    8
    Reputation
    10
    Thanks
    0
    My Mood
    Daring

    "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?

  2. #2
    Smoke's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    11,899
    Reputation
    2661
    Thanks
    4,610
    My Mood
    Amazed
    Been over a week since last update/bump after no answers, marked as unresolved.

    /Closed.


    CLICK TO BUY NOW!!


    Quote Originally Posted by Liz View Post
    This is my first vouch, ever. Rapidgator account worked perfectly. Would buy in the future.

Similar Threads

  1. [Help] How can I Write a multi level pointer address in vb.net please help
    By mrhi01 in forum Visual Basic Programming
    Replies: 4
    Last Post: 01-06-2018, 08:26 AM
  2. Base Address of hl2.exe vs Base Address of client.dll
    By tyguy550 in forum C++/C Programming
    Replies: 2
    Last Post: 09-26-2015, 09:11 AM
  3. [Help] Can't get base address of engine.dll (client.dll is ok)
    By W1Z in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 2
    Last Post: 07-21-2013, 03:16 PM
  4. [Help Request] Dll main for Mem hacks help
    By Vincent Dominguez in forum Crossfire Coding Help & Discussion
    Replies: 4
    Last Post: 02-28-2013, 09:11 AM
  5. [Help]DLL Hacks in VB.NET (Possible?)
    By Arkanzilla in forum Visual Basic Programming
    Replies: 12
    Last Post: 09-20-2010, 05:54 PM