Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 1.63 KB | None | 0 0
  1. #include <ButtonConstants.au3>
  2. #include <EditConstants.au3>
  3. #include <GUIConstantsEx.au3>
  4. #include <StaticConstants.au3>
  5. #include <WindowsConstants.au3>
  6. #include <NomadMemory.au3>
  7. #RequireAdmin
  8. #Region ### START Koda GUI section ### Form=
  9. $Form1 = GUICreate("Speedhack", 253, 36, 200, 122)
  10. $Button1 = GUICtrlCreateButton("On", 160, 8, 25, 17, $WS_GROUP)
  11. GUICtrlSetFont(-1, 8, 400, 0, "Palatino Linotype")
  12. $Button2 = GUICtrlCreateButton("Off", 192, 8, 25, 17, $WS_GROUP)
  13. GUICtrlSetFont(-1, 8, 400, 0, "Palatino Linotype")
  14. $Input1 = GUICtrlCreateInput("", 80, 8, 73, 19)
  15. GUICtrlSetFont(-1, 6, 400, 0, "Palatino Linotype")
  16. $Label1 = GUICtrlCreateLabel("Speedhack", 8, 8, 58, 20)
  17. GUICtrlSetFont(-1, 8, 400, 0, "Palatino Linotype")
  18. $Graphic1 = GUICtrlCreateGraphic(224, 8, 25, 17)
  19. GUICtrlSetColor(-1, 0x000000)
  20. GUICtrlSetBkColor(-1, 0xFF0000)
  21. GUISetState(@SW_SHOW)
  22. #EndRegion ### END Koda GUI section ###
  23.  
  24.  
  25. $GamePid1 = ProcessExists ("TClient.exe")
  26. $GameHandle1 = _MemoryOpen($GamePid1)
  27. $BaseAdresse1 = 0x00686D04
  28.  
  29. Dim $Speedhack[3]
  30. $Speedhack[0]=0
  31. $Speedhack[1]=0xA08
  32. $Speedhack[2]= 0x9F6
  33.  
  34.  
  35. While 1
  36.     $nMsg = GUIGetMsg()
  37.     Switch $nMsg
  38.         Case $GUI_EVENT_CLOSE
  39.             Exit
  40.         Case $Button1
  41.             AdlibRegister("_Speedhack", 20)
  42.         Case $Button2
  43.             AdlibUnRegister("_Speedhack")
  44.             _MemoryPointerWrite($BaseAdresse1,$GameHandle1,$Speedhack, 16230)
  45.             GUICtrlSetBkColor($Graphic1, 16711680)
  46.  
  47.     EndSwitch
  48. WEnd
  49.  
  50.  
  51. Func _Speedhack()
  52.     _MemoryPointerWrite($BaseAdresse1,$GameHandle1,$Speedhack, GUICtrlRead($Input1))
  53.     GUICtrlSetBkColor($Graphic1, 65280)
  54. EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement