Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. Public Class Form1
  2.  
  3. Dim memory As New Memory.Memory
  4.  
  5. Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  6. Timer1.Interval = 100
  7. Timer1.Start()
  8. End Sub
  9.  
  10. Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
  11. Dim procs() As Process = Process.GetProcessesByName("S4Client")
  12.  
  13. If procs.Length = 0 Then
  14. Exit Sub
  15. End If
  16.  
  17. Dim s4 As Process = procs(0)
  18.  
  19.  
  20.  
  21. If CheckBox1.Checked Then
  22. Memory.WriteFloat(s4, &HF5FB0C, 10000) ' Example 0x11 = &H11, 0x63 = &H63 etc (Replace 0c with &H)
  23.  
  24. End If
  25.  
  26. If CheckBox3.Checked Then
  27. memory.WriteString(s4, &HF57634, "0", "5")
  28.  
  29.  
  30. End If
  31.  
  32.  
  33.  
  34.  
  35. Timer1.Stop()
  36.  
  37. Me.Close()
  38.  
  39. End Sub ' TADAAA q.q press start?
  40.  
  41.  
  42.  
  43. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement