PostQuestion about Source Code

Posts 1617 of 17 · Page 2 of 2
Quote Originally Posted by Msdonald View Post
Byte? What doing for this?

---------- Post added at 03:16 PM ---------- Previous post was at 03:13 PM ----------



Weapons Level: 1DC02C0 - set value 31?
solved?
/2short
Code:
Dim Weapons As Integer = &H1DC02C0 'Steam-Address (1.9.461)
Dim UAV As Integer = &H1D08864 'Steam-Address (1.9.461)
Code:
Dim allWeaponsMaxBytes As Byte() = _
{&HB0, &H36, &H0, &H0, &HB0, &H36, &H0, &H0, &HB0, &H36, &H0, &H0, &HB0, &H36, &H0, &H0, &HB0, &H36, &H0, &H0, &HB0, &H36, &H0, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &HB0, &H36, &H0, &H0, &HB0, &H36, &H0, &H0, &HB0, &H36, &H0, &H0, &HB0, &H36, &H0, &H0, &H0, &H0, &H0, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H91, &HBD, &H2, &H0, &H0, &H0, &H0, &H0, &HB0, &H36, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &HB0, &H36, &H0, &H0, &HB0, &H36, &H0, &H0, &HB0, &H36, &H0, &H0, &HB0, &H36, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H91, &HBD, &H2, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &HB0, &H36, &H0, &H0} 'All Weapons on Max. Level (31 on Primary & 10 on Secondary)
Code:
    Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
        If .Process_Handle("Process") Then
            .Hack("Process")
            .SetByte/.WriteBytes(Weapons, allWeaponsMaxBytes)
        Else
            MsgBox("Game is not running." + vbLf + _
                   "Start GameName/GameProcess before you try to hack.", _
            MsgBoxStyle.Information, "Warning!")
        End If
    End Sub
I don't know if WriteFloat was the right method for UAV ... I think yes.
Code:
    Private Sub Timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer1.Tick 
    'Set Timer.Interval to 10000-30000 - I think this is enough
        If .Process_Handle("Process") Then
            .Hack("Process") 'I don't know if this is required for WriteFloat
            .WriteFloat(UAV, 2) 'I think it was 2 - I have test it before some Weeks, so I think 2 is right
    End Sub
#Class 'Credits for WriteFloat to Jorndel (if you use it)
Code:
    Public Sub WriteFloat(ByVal Address As Integer, ByVal Value As Single)
        Dim Buffer As Byte() = BitConverter.GetBytes(Value)
        Dim Zero As IntPtr = IntPtr.Zero
        WriteProcessMemory(pHandel, New IntPtr(Address), Buffer, UInt32.Parse(Buffer.Length), Zero)
    End Sub
#Class
Posts 1617 of 17 · Page 2 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?