No external links.
Also A nullpointer error happens when you don't create an object for the class first.
Code:MemoryModule memMod = new MemoryModule();
Hello, just tried to Read all players, I tried to add a own Function but it Always throw a NullpointerException could some one help me?
I use the Modul from this site [Removed from author]
Last edited by waffl95; 12-21-2012 at 05:32 AM.
No external links.
Also A nullpointer error happens when you don't create an object for the class first.
Code:MemoryModule memMod = new MemoryModule();
CoD Minion from 09/19/2012 to 01/10/2013
I always get a Null Pointer Exception hereI added this to the ModulcbFrost2Player1.Text = ReadString(MW3(0), &HA12A70)
I have a button which freez my ammo and he works fine so MW3(0) shoulden't be nullPublic RBuffString(20) As Byte
Public returnString As String
Public Function ReadString(ByVal ProcessName As Process, ByVal Address As Integer)
Dim GameLookUp As Process() = Process.GetProcessesByName(ProcessName.ProcessName )
If GameLookUp.Length = 0 Then
End
End If
Dim processHandle As IntPtr = OpenProcess(&H1F0FFF, 0, GameLookUp(0).Id)
ReadProcessMemory(processHandle, Address, RBuffString(0), 20, Nothing)
returnString = System.Text.Encoding.ASCII.GetString(RBuffString)
CloseHandle(processHandle)
Return returnString
End Function
And I don't know why q.q only coded a lot with jave befor
Got it to work
@-InSaNe- @Nachos solved
Last edited by waffl95; 12-21-2012 at 02:55 PM.