Skip to content

Commit

Permalink
Fixed ilvl hotkey
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyromyr committed Feb 1, 2017
1 parent 59ca2f6 commit 77db6b2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions D2Stats.au3
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (not IsAdmin()) then
exit
endif

global $version = "0.3.2.2 - [31.01.2017]"
global $version = "0.3.2.3 - [01.02.2017]"

OnAutoItExitRegister("_Exit")

Expand Down Expand Up @@ -439,13 +439,13 @@ func InjectCode()
if (not UpdateHandle()) then return False
local $checksum = 1465275221

local $injected = _MemoryRead($addr, $d2handle)
local $injected = _MemoryRead($d2inject, $d2handle)
if ($injected == $checksum) then return True

local $sCode = "0x5553565768000000006820DEB76F33C0BB50D8B26FFFD35F5E5B5DC30000000069006C0076006C003A002000300030000000"
local $ret = _MemoryWrite($d2inject, $d2handle, $sCode, "byte[50]")

$injected = _MemoryRead($addr, $d2handle)
$injected = _MemoryRead($d2inject, $d2handle)
return $injected == $checksum
endfunc

Expand All @@ -457,8 +457,7 @@ func D2Call()

_WinAPI_WaitForSingleObject($call[0])
_WinAPI_CloseHandle($call[0])

return $ret
return True
endfunc ;==>_CreateRemoteThread

#cs
Expand Down

0 comments on commit 77db6b2

Please sign in to comment.