I hope you already got a working app with the simple things like XP (see Cookie. 's thread HERE )
I was looking at Shcker 57's findings about weapon xp and wondered how I could turn those into my rank hack app.
After googling and consulting pro's I got it to work, Since I also depended on the help of superiors I'd like to share it as well (ty Impulser and x22)
I'm talking about this:
Originally Posted by
Shckr57
Weapons = 01CCC0DC
Code:
B0 36 00 00 B0 36 00 00 B0 36 00 00 B0 36 00 00 B0 36 00 00 B0 36 00 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 B0 36 00 00 B0 36 00 00 B0 36 00 00 B0 36 00 00 00 00 00 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 91 BD 02 00 00 00 00 00 B0 36 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 B0 36 00 00 B0 36 00 00 B0 36 00 00 B0 36 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 91 BD 02 00 00 00 00 00 00 00 00 00 B0 36 00 00
How the hell do I put that into vb.net // or C# there are online .net to C# converters
Add this above Public Class Form1
Code:
Imports System.Runtime.InteropServices
then under Public Class Form1
Code:
<DllImport("kernel32.dll")> _
Public Shared Function WriteProcessMemory(ByVal hProcess As IntPtr, ByVal lpBaseAddress As IntPtr, ByVal lpBuffer As Byte(), ByVal nSize As System.UInt32, <Out()> ByRef lpNumberOfBytesWritten As IntPtr) As Boolean
End Function
at your var declarations put:
Code:
Dim p As Process() = Process.GetProcessesByName("iw5mp")
Dim weaponhex As Byte() = {&HB0, &H36, &H0, &H0, etc etc} 'Bytes for weapon XP (see above at the example)
Make a button, double click it and put
Code:
Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button8.Click
WriteProcessMemory(p(0).Handle, &H1CCC0DC, weaponhex, weaponhex.Length, 0)
End Sub
Quick explanation:
WriteProcessMemory -> will write into the process' memory ; declared above
p(0).Handle -> in what process to change the mem iw5mp as declared above
&H1CCC0DC -> the start address from shckr 57
weaponhex -> the byte's we declared
weaponhex.Length -> the length calculated of the total byte's
0 -> always put 0 ^^
I hope it helps other starting coders.