Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoTrayIcon
- #include <NomadMemory.au3>
- $vIniFile = @ScriptDir & "\Loader.ini"
- If FileExists($vIniFile) = False Then
- $vOpenClient = FileOpenDialog("Open elementclient.exe", @DesktopDir, "Client (elementclient.exe)", 3)
- If $vOpenClient = "" Then Exit
- IniWrite($vIniFile, "Settings", "ClientPath", $vOpenClient)
- IniWrite($vIniFile, "Settings", "Zoomhack", "1")
- IniWrite($vIniFile, "Settings", "ZoomhackBase", "4226096")
- EndIf
- $vPath = IniRead($vIniFile, "Settings", "ClientPath", "elementclient.exe")
- $vPID = Run($vPath, StringLeft($vPath, StringInStr($vPath, "\", 0, -1)))
- If IniRead($vIniFile, "Settings", "Zoomhack", "1") = 1 Then
- $vOpen = _MemoryOpen($vPID)
- $vZHBase = IniRead($vIniFile, "Settings", "ZoomhackBase", "4226096")
- If _MemoryRead($vZHBase, $vOpen, "byte") = 117 Then
- _MemoryWrite($vZHBase, $vOpen, 235, "byte")
- Else
- MsgBox(0, "Error", "Please update ZoomhackBase.")
- Exit
- EndIf
- _MemoryClose($vOpen)
- EndIf
- Exit
Add Comment
Please, Sign In to add comment