Guest User

Simple PWI Zoomhack Loader

a guest
Jul 16th, 2010
458
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.95 KB | None | 0 0
  1. #NoTrayIcon
  2. #include <NomadMemory.au3>
  3. $vIniFile = @ScriptDir & "\Loader.ini"
  4.  
  5. If FileExists($vIniFile) = False Then
  6.     $vOpenClient = FileOpenDialog("Open elementclient.exe", @DesktopDir, "Client (elementclient.exe)", 3)
  7.     If $vOpenClient = "" Then Exit
  8.     IniWrite($vIniFile, "Settings", "ClientPath", $vOpenClient)
  9.     IniWrite($vIniFile, "Settings", "Zoomhack", "1")
  10.     IniWrite($vIniFile, "Settings", "ZoomhackBase", "4226096")
  11. EndIf
  12.  
  13. $vPath = IniRead($vIniFile, "Settings", "ClientPath", "elementclient.exe")
  14. $vPID = Run($vPath, StringLeft($vPath, StringInStr($vPath, "\", 0, -1)))
  15.  
  16. If IniRead($vIniFile, "Settings", "Zoomhack", "1") = 1 Then
  17.     $vOpen = _MemoryOpen($vPID)
  18.     $vZHBase = IniRead($vIniFile, "Settings", "ZoomhackBase", "4226096")
  19.     If _MemoryRead($vZHBase, $vOpen, "byte") = 117 Then
  20.         _MemoryWrite($vZHBase, $vOpen, 235, "byte")
  21.     Else
  22.         MsgBox(0, "Error", "Please update ZoomhackBase.")
  23.         Exit
  24.     EndIf
  25.     _MemoryClose($vOpen)
  26. EndIf
  27.  
  28. Exit
Add Comment
Please, Sign In to add comment