Results 1 to 7 of 7
  1. #1
    dezer's Avatar
    Join Date
    Nov 2006
    Gender
    male
    Posts
    285
    Reputation
    12
    Thanks
    4
    My Mood
    Aggressive

    VB.net help (must see)

    I've got problem... im writing module for VB.net (declaring basic functions for trainers: reading, writing 2 bytes, 4 bytes and floating point values). Writing went easy, but im stuck at reading. Here's code of ReadALong function:

    Code:
    Public Function ReadALong(ByVal address As Integer, ByVal vBuffer As Long) As Long
            Dim ReadBuffer As Long() = New Long(0) {}
    
            If SetProcess(("WarRock")) Then
                MemAPI.PeekLong(mGameProcess, address, ReadBuffer)
                vBuffer = ReadBuffer(0)
                Return vBuffer
            Else
                MsgBox("Warrock not found", MsgBoxStyle.Critical, "Error")
                Exit Function
            End If
    End Function
    i tried modifying it in multiple ways, but it always returns me 0. That means i cant make pointers, read any value... maybe here's some1 who can help me? I won't post code for PeekLong or SetProcess here, not yet for sure. When im done then i'll probably releasing this to public, so u can make trainers in VB.net, not only in VB 6
    Quote Originally Posted by killerofsake987 View Post
    wuts search button
    owned

  2. #2
    webtijn's Avatar
    Join Date
    May 2007
    Gender
    male
    Posts
    168
    Reputation
    10
    Thanks
    3
    Go learn a real language =) VB.NET sucks almost as much as VB6. C++.NET owned ^^
    Some people own, some doesn't. No mather what hack theire using.

  3. #3
    Dokuda's Avatar
    Join Date
    Mar 2007
    Location
    Your fucking basment screwing you mother. Now. GTFO OFF MY PROFILE YOU FUC
    Posts
    2,706
    Reputation
    26
    Thanks
    281
    yerr, but VB is easy to learn =/ C++ Is kinda hard

  4. #4
    dezer's Avatar
    Join Date
    Nov 2006
    Gender
    male
    Posts
    285
    Reputation
    12
    Thanks
    4
    My Mood
    Aggressive
    vb completely fits my needs :P just help me with this shit :/
    Quote Originally Posted by killerofsake987 View Post
    wuts search button
    owned

  5. #5
    scooby107's Avatar
    Join Date
    Apr 2007
    Posts
    496
    Reputation
    11
    Thanks
    40
    Instead of ReadALong try using ReadAByte.

  6. #6
    dezer's Avatar
    Join Date
    Nov 2006
    Gender
    male
    Posts
    285
    Reputation
    12
    Thanks
    4
    My Mood
    Aggressive
    i tried
    either gives me error or returns 0
    Quote Originally Posted by killerofsake987 View Post
    wuts search button
    owned

  7. #7
    MS Word's Avatar
    Join Date
    Jun 2007
    Gender
    male
    Posts
    483
    Reputation
    11
    Thanks
    2
    i kinda don't like .net

Similar Threads

  1. Must See Website
    By BluSpex in forum General
    Replies: 6
    Last Post: 08-31-2007, 04:52 AM
  2. [MUST-SEE]TreeTrainerv1
    By mvpkiller in forum WarRock - International Hacks
    Replies: 48
    Last Post: 08-20-2007, 03:18 PM
  3. Wow Sexy Must see!! 18+ only!
    By wolfdragon14 in forum General
    Replies: 6
    Last Post: 08-08-2007, 01:03 AM
  4. Diehard fans must see
    By iverson954360 in forum General
    Replies: 0
    Last Post: 06-30-2007, 03:19 AM
  5. Mimic Octopus! Must SEE!
    By arunforce in forum General
    Replies: 1
    Last Post: 03-08-2007, 02:50 PM