Autoloot Gw2

01/07/2013 03:42 ameasy#1
I just need something simple as to loot the mobs around me. When a mob is lootable the Search icon appears and the button to loot is "F" is I could get something that just spams the "F" key would be great. Please teach me how to do this.

Thank you

Please and thank you =)
01/07/2013 04:04 lovecrayon#2
Your finger can spam the "F" key, talk about lazy
01/07/2013 04:08 ameasy#3
The issue is that I lag during big events and sometimes miss out on looting some mobs because of lag. This would help me out alot and I am not asking for a lot just a simple spam 'F" key.

I tried using Uhacker and Kadauchi's gathering tool as a spammer but can't get it to work with GW2 but will work with other programs spamming the desired key.
01/07/2013 06:00 TheOnlyOne652089#4
[Only registered and activated users can see links. Click Here To Register...]

Code:
While True
	Send("f")
	Sleep(100)
WEnd
That in a vacuum is all you need.

Sleep is that it doesnt spam "ridiculous" amounts of f, only does send it once in 100ms (1/10 second).

Code:
HotKeySet("{End}", "_exit")

Func _exit()
	Exit 1
EndFunc

While True
	Send("f")
	Sleep(100)
WEnd
Slighty better, has a button to stop the script, here the "end" key, without its annoying.

Code:
HotKeySet("{End}", "_exit")

Func _exit()
	Exit 1
EndFunc

Global $title = "Guild Wars 2"
Global $hwnd = WinGetHandle($title)

While True
	ControlSend($hwnd, "", "", "f")
	Sleep(100)
WEnd
Better again, sends "f" only to the guildwars window and not outside of it.

Code:
HotKeySet("{End}", "_exit")
Func _exit()
	Exit 1
EndFunc

HotKeySet("{PAUSE}", "_pause")
Global $isPaused = false
Func _pause()
	$isPaused = NOT $isPaused
	if ($isPaused == true) Then
		ToolTip("paused",0,0) ;display paused tooltip
		While $isPaused == true
			;paused loop
		WEnd
		ToolTip("") ;remove tooltip if no longer paused
	EndIf
EndFunc

Global $title = "Guild Wars 2"
Global $hwnd = WinGetHandle($title)
if (NOT $hwnd) Then
	MsgBox("", "Error", "No window found with title " & $title)
	Exit 2
EndIf

While True
	ControlSend($hwnd, "", "", "f")
	Sleep(100)
WEnd
Here we also have a paused function with "Paused" on your keyboard.


Overall should do anything you want and its quite easy and quick to write.


Just invest a second in AutoIT and stuff like this is quickly done.


AutoHotkey and other macro tools might do the trick aswell, simply choose what you like, its more or less the same.
01/07/2013 06:47 ameasy#5
Thank you =)
01/07/2013 09:45 soundofshadow#6
have fun with npcs when spamming "F"
01/07/2013 10:04 TheOnlyOne652089#7
Quote:
Originally Posted by soundofshadow View Post
have fun with npcs when spamming "F"
Thats what a "pause" function is for ...