[Release] GR Autolooter

05/25/2014 08:39 swir#241
simple autoloot till Xereon uploads better one
05/25/2014 16:30 Haakkelberg#242
Quote:
Originally Posted by swir View Post
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 now
05/25/2014 16:45 buFFy!#243
Quote:
Originally Posted by Haakkelberg View Post
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
Code:
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
Code:
$baseAddr = _GetModuleBaseByName(ProcessExists("Gw2.exe"), "")

If Not IsArray($baseAddr) Or $baseAddr[1] == 0 Then
	MsgBox(0x10, "Error", "Gw2.exe not found")
	Exit
EndIf
05/25/2014 18:48 swir#244
Quote:
Originally Posted by Haakkelberg View Post
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
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
05/25/2014 20:12 Haakkelberg#245
Quote:
Originally Posted by swir View Post
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
Interesting, mine used different code on every start up. But buFFy! here allready showed the way how to dig up the code.

Your looter didn't work for me
05/26/2014 21:19 xoraxax#246
Hm, waht am i doing wrong?
When i put a breakpoint in olly, game hangs and olly throws an error like this:

"Don't know how to bypass command at address 017B19F1. Try to change EIP or pass exception to program."

Could anyone kindly point me how to debug stuff like this?
05/26/2014 23:57 Ploxasarus#247
Quote:
hmm so i would have to scan for new address everytime i start game?
baseaddress + 0x0150824F

Buffy already put it straight forward for getting the base.
05/29/2014 17:48 sifkal#248
so anyone got working looter?
05/31/2014 19:50 xoraxax#249

this stuff works for me now (assemble it with my last program)
06/01/2014 10:35 kellerkind123456#250
Quote:
Originally Posted by xoraxax View Post

this stuff works for me now (assemble it with my last program)

... could you please upload a ready .exe? :handsdown:
06/01/2014 11:37 Xereon#251
Quote:
Originally Posted by kellerkind123456 View Post
... could you please upload a ready .exe? :handsdown:
:facepalm:

[Only registered and activated users can see links. Click Here To Register...]
06/01/2014 16:27 xoraxax#252
So i'll try to ask once more - hopefully anyone could help. What tools should i use to explore gw2 now (olly does not work now and i do not understand why and how to fix it)? Could anyone suggest me a good debugger or something i have to read to understand the problem better?
06/01/2014 17:19 Xereon#253
If you cant manage to get it to work with olly you can fall back on IDA which is particular useful for static analysis
06/03/2014 20:22 kellerkind123456#254
Quote:
Originally Posted by xoraxax View Post
Quote:
Originally Posted by Ploxasarus View Post
baseaddress + 0x0150824F

Buffy already put it straight forward for getting the base.
Autoloot not working after todays update ...
06/03/2014 20:54 Ploxasarus#255
Quote:
Autoloot not working after todays update ...
You can update it yourself if given the effort/time, enough information is given on how.