simple autoloot till Xereon uploads better one
Your looter works only once for you only, as sayd before, gw2 uses dynamic adressess now, on every client on every startup it creates new id for loot pickup. You can't make it work for everyone unless you have memory scanner on it. atm that's the one broken right nowQuote:
simple autoloot till Xereon uploads better one
Quote:
Your looter works only once for you only, as sayd before, gw2 uses dynamic adressess now, on every client on every startup it creates new id for loot pickup. You can't make it work for everyone unless you have memory scanner on it. atm that's the one broken right now
Func _GetModuleBaseByName($pid, $module)
Local $hSnapshot, $me32, $bFound, $baseAddress[3]
$me32 = DllStructCreate("int;int;int;int;int;ptr;int;ptr;wchar[256];wchar[260]")
DllStructSetData($me32, 1, DllStructGetSize($me32))
$hSnapshot = DllCall("kernel32.dll", "hwnd", "CreateToolhelp32Snapshot", "int", 8, "int", $pid)
If $hSnapshot[0] = -1 Then Return 0
$bFound = DllCall("kernel32.dll", "int", "Module32FirstW", "hwnd", $hSnapshot[0], "ptr", DllStructGetPtr($me32))
If $bFound[0] Then
Do
If StringLower(DllStructGetData($me32, 9)) = StringLower($module) Or $module == "" Then
$baseAddress[1] = DllStructGetData($me32, 6)
$baseAddress[2] = DllStructGetData($me32, 7)
ExitLoop
EndIf
$bFound = DllCall("kernel32.dll", "int", "Module32NextW", "hwnd", $hSnapshot[0], "ptr", DllStructGetPtr($me32))
Until Not $bFound[0]
EndIf
DllCall("kernel32.dll", "int", "CloseHandle", "int", $hSnapshot[0])
Return $baseAddress
EndFunc ;==>_GetModuleBaseByName
$baseAddr = _GetModuleBaseByName(ProcessExists("Gw2.exe"), "")
If Not IsArray($baseAddr) Or $baseAddr[1] == 0 Then
MsgBox(0x10, "Error", "Gw2.exe not found")
Exit
EndIf
hmm so i would have to scan for new address everytime i start game?Quote:
Your looter works only once for you only, as sayd before, gw2 uses dynamic adressess now, on every client on every startup it creates new id for loot pickup. You can't make it work for everyone unless you have memory scanner on it. atm that's the one broken right now
Interesting, mine used different code on every start up. But buFFy! here allready showed the way how to dig up the code.Quote:
hmm so i would have to scan for new address everytime i start game?
because i made this right after patch and it still working after multi restarts of the client
baseaddress + 0x0150824FQuote:
hmm so i would have to scan for new address everytime i start game?
Quote:
this stuff works for me now (assemble it with my last program)
:facepalm:Quote:
... could you please upload a ready .exe? :handsdown:
Quote:
Autoloot not working after todays update ...Quote:
baseaddress + 0x0150824F
Buffy already put it straight forward for getting the base.
You can update it yourself if given the effort/time, enough information is given on how.Quote:
Autoloot not working after todays update ...