dtrick
Total Posts: 148 Joined: January 24th, 2012, 3:18 am
 |
 | | premium |
|
This is posted from another site,
Thought i'd post this here for some people.
NOTE:
The keys can be modified.
F6 = Execute the script
C = Inventory
Click F6 while in-game to make it switch your gear. Do not move your mouse for a second when you execute it.
(HD Ver - 1920x1080)
1.Download AutoIt http://www.autoitscript.com/cgi-bin/get ... -setup.exe
2.Open SciTE Script Editor and copy paste this
Code: Select all
Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{DELETE}","terminate")
$runs = 0
While 1
WinActivate("Diablo III")
HotKeySet("{F6}")
Send("{F6}")
HotKeySet("{F6}", "EquipSwitcher")
WEnd
Func EquipSwitcher()
Send('{c}')
MouseClick ( "right", 1434, 612, 1, 1)
MouseClick ( "right", 1486, 612, 1, 1)
MouseClick ( "right", 1524, 612, 1, 1)
MouseClick ( "right", 1580, 612, 1, 1)
MouseClick ( "right", 1629, 612, 1, 1)
MouseClick ( "right", 1672, 612, 1, 1)
MouseClick ( "right", 1729, 612, 1, 1)
MouseClick ( "right", 1768, 612, 1, 1)
MouseClick ( "right", 1824, 609, 1, 1)
MouseClick ( "right", 1823, 664, 1, 1)
MouseCLick ( "right", 1874, 606, 1, 1)
Send('{ALT down}')
Sleep(100)
MouseClick ( "right", 1866, 656, 1, 1)
Send('{ALT up}')
Send('{c}')
EndFunc
Func TogglePause()
$Paused = Not $Paused
While $Paused
Sleep(100)
ToolTip('Script is "Paused"', 0, 0)
WEnd
ToolTip("")
EndFunc ;==>TogglePause
Func terminate()
Local $pos = MouseGetPos()
MsgBox(0, "Mouse x,y:", $pos[0] & "," & $pos[1] & "Runs " & $runs)
Exit 0
EndFunc
3.File -> Save As
4.Open Compile Script to .exe (x86) (because it works in 32bit not 64bit obviously)
5.Choose the file u saved and then choose the destination folder for the compiled file.
6.Start it and have fun.
(1280x1024)
Code: Select all Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{DELETE}","terminate")
$runs = 0
While 1
WinActivate("Diablo III")
HotKeySet("{F6}")
Send("{F6}")
HotKeySet("{F6}", "EquipSwitcher")
WEnd
Func EquipSwitcher()
Send('{c}')
MouseClick ( "right", 814, 590, 1, 1)
MouseClick ( "right", 860, 599, 1, 1)
MouseClick ( "right", 912, 591, 1, 1)
MouseClick ( "right", 949, 596, 1, 1)
MouseClick ( "right", 1001, 595, 1, 1)
MouseClick ( "right", 1039 590, 1, 1)
MouseClick ( "right", 1095, 591, 1, 1)
MouseClick ( "right", 1135, 594, 1, 1)
MouseClick ( "right", 1175, 578, 1, 1)
MouseClick ( "right", 1189, 620, 1, 1)
MouseCLick ( "right", 1233, 576, 1, 1)
Send('{ALT down}')
Sleep(100)
MouseClick ( "right", 1232, 620, 1, 1)
Send('{ALT up}')
Send('{c}')
EndFunc
Func TogglePause()
$Paused = Not $Paused
While $Paused
Sleep(100)
ToolTip('Script is "Paused"', 0, 0)
WEnd
ToolTip("")
EndFunc ;==>TogglePause
Func terminate()
Local $pos = MouseGetPos()
MsgBox(0, "Mouse x,y:", $pos[0] & "," & $pos[1] & "Runs " & $runs)
Exit 0
EndFunc
3.File -> Save As
4.Open Compile Script to .exe (x86) (because it works in 32bit not 64bit obviously)
5.Choose the file u saved and then choose the destination folder for the compiled file.
6.Start it and have fun.
|
|