anfang des monats einen bot geschrieben, mit dem man nur die coords der buttons setzen muss.
Code:
#include <Misc.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=C:\Users\x\Desktop\D3 autoit\D3 NEU.kxf
$Form1_1 = GUICreate("better nerf karma.", 290, 322, -1, -1)
GUISetBkColor(0xFFFFFF)
$Label1 = GUICtrlCreateLabel("Diablo III Auction House Hack 2.0", 24, 8, 234, 20)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
$Label2 = GUICtrlCreateLabel("Gems Button", 8, 48, 65, 17)
$Label3 = GUICtrlCreateLabel("Quality Dropdown", 8, 72, 88, 17)
$Label4 = GUICtrlCreateLabel("Flawless Square", 8, 96, 81, 17)
$Label5 = GUICtrlCreateLabel("Color Dropdown", 8, 120, 80, 17)
$Label6 = GUICtrlCreateLabel("Emerald", 8, 144, 42, 17)
$Label7 = GUICtrlCreateLabel("Quantity", 8, 168, 43, 17)
$Label8 = GUICtrlCreateLabel("Search Button", 8, 192, 72, 17)
$Label9 = GUICtrlCreateLabel("Buyout Button", 8, 216, 71, 17)
$Label10 = GUICtrlCreateLabel("Completed Button", 8, 240, 88, 17)
$Label11 = GUICtrlCreateLabel("Send To Stash Button", 8, 264, 109, 17)
$1x = GUICtrlCreateInput("0", 184, 44, 41, 21)
$1y = GUICtrlCreateInput("0", 232, 44, 41, 21)
$2x = GUICtrlCreateInput("0", 184, 68, 41, 21)
$2y = GUICtrlCreateInput("0", 232, 68, 41, 21)
$3x = GUICtrlCreateInput("0", 184, 92, 41, 21)
$3y = GUICtrlCreateInput("0", 232, 92, 41, 21)
$4x = GUICtrlCreateInput("0", 184, 116, 41, 21)
$4y = GUICtrlCreateInput("0", 232, 116, 41, 21)
$5x = GUICtrlCreateInput("0", 184, 140, 41, 21)
$5y = GUICtrlCreateInput("0", 232, 140, 41, 21)
$6x = GUICtrlCreateInput("0", 184, 164, 41, 21)
$6y = GUICtrlCreateInput("0", 232, 164, 41, 21)
$7x = GUICtrlCreateInput("0", 184, 188, 41, 21)
$7y = GUICtrlCreateInput("0", 232, 188, 41, 21)
$8x = GUICtrlCreateInput("0", 184, 212, 41, 21)
$8y = GUICtrlCreateInput("0", 232, 212, 41, 21)
$9x = GUICtrlCreateInput("0", 184, 236, 41, 21)
$9y = GUICtrlCreateInput("0", 232, 236, 41, 21)
$0x = GUICtrlCreateInput("0", 184, 260, 41, 21)
$0y = GUICtrlCreateInput("0", 232, 260, 41, 21)
$Label12 = GUICtrlCreateLabel("F1 - Start", 8, 296, 47, 17)
$Label13 = GUICtrlCreateLabel("F2 - Stop", 228, 296, 47, 17)
$Label14 = GUICtrlCreateLabel("#YOLO", 120, 296, 40, 17)
$Label15 = GUICtrlCreateLabel("1", 152, 48, 10, 17)
$Label16 = GUICtrlCreateLabel("2", 152, 72, 10, 17)
$Label17 = GUICtrlCreateLabel("3", 152, 96, 10, 17)
$Label18 = GUICtrlCreateLabel("4", 152, 120, 10, 17)
$Label19 = GUICtrlCreateLabel("5", 152, 144, 10, 17)
$Label20 = GUICtrlCreateLabel("6", 152, 168, 10, 17)
$Label21 = GUICtrlCreateLabel("8", 152, 216, 10, 17)
$Label22 = GUICtrlCreateLabel("7", 152, 192, 10, 17)
$Label23 = GUICtrlCreateLabel("9", 152, 240, 10, 17)
$Label24 = GUICtrlCreateLabel("0", 152, 264, 10, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
HotKeySet("{F1}", "_BotStart")
HotKeySet("{F2}", "_BotStop")
$Jesus = 0
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
#region _IfPressed
Local $MousePos = MouseGetPos()
If _IsPressed("61") Then
GUICtrlSetData($1x, $MousePos[0])
GUICtrlSetData($1y, $MousePos[1])
EndIf
If _IsPressed("62") Then
GUICtrlSetData($2x, $MousePos[0])
GUICtrlSetData($2y, $MousePos[1])
EndIf
If _IsPressed("63") Then
GUICtrlSetData($3x, $MousePos[0])
GUICtrlSetData($3y, $MousePos[1])
EndIf
If _IsPressed("64") Then
GUICtrlSetData($4x, $MousePos[0])
GUICtrlSetData($4y, $MousePos[1])
EndIf
If _IsPressed("65") Then
GUICtrlSetData($5x, $MousePos[0])
GUICtrlSetData($5y, $MousePos[1])
EndIf
If _IsPressed("66") Then
GUICtrlSetData($6x, $MousePos[0])
GUICtrlSetData($6y, $MousePos[1])
EndIf
If _IsPressed("67") Then
GUICtrlSetData($7x, $MousePos[0])
GUICtrlSetData($7y, $MousePos[1])
EndIf
If _IsPressed("68") Then
GUICtrlSetData($8x, $MousePos[0])
GUICtrlSetData($8y, $MousePos[1])
EndIf
If _IsPressed("69") Then
GUICtrlSetData($9x, $MousePos[0])
GUICtrlSetData($9y, $MousePos[1])
EndIf
If _IsPressed("60") Then
GUICtrlSetData($0x, $MousePos[0])
GUICtrlSetData($0y, $MousePos[1])
EndIf
#endregion
WEnd
Func _BotStart()
$1xx = GUICtrlRead($1x)
$1yy = GUICtrlRead($1y)
$2xx = GUICtrlRead($2x)
$2yy = GUICtrlRead($2y)
$3xx = GUICtrlRead($3x)
$3yy = GUICtrlRead($3y)
$4xx = GUICtrlRead($4x)
$4yy = GUICtrlRead($4y)
$5xx = GUICtrlRead($5x)
$5yy = GUICtrlRead($5y)
$6xx = GUICtrlRead($6x)
$6yy = GUICtrlRead($6y)
$7xx = GUICtrlRead($7x)
$7yy = GUICtrlRead($7y)
$8xx = GUICtrlRead($8x)
$8yy = GUICtrlRead($8y)
$9xx = GUICtrlRead($9x)
$9yy = GUICtrlRead($9y)
$0xx = GUICtrlRead($0x)
$0yy = GUICtrlRead($0y)
Do
Send("{A]")
Sleep(500)
MouseClick("left", $1xx, $1yy)
Sleep(500)
MouseClick("left", $2xx, $2yy)
Sleep(250)
MouseClick("left", $3xx, $3yy)
Sleep(250)
MouseClick("left", $4xx, $4yy)
Sleep(250)
MouseClick("left", $5xx, $5yy)
Sleep(250)
MouseClick("left", $6xx, $6yy)
Sleep(250)
Send("{1}")
Sleep(250)
MouseClick("left", $7xx, $7yy)
Sleep(1000)
For $buyCount = 1 To 200
MouseClick("left", $8xx, $8yy)
Sleep(75)
Send("{ENTER}")
Sleep(2000)
Send("{ENTER}")
GUICtrlSetData($Label14, $buyCount)
next
$Completed = GUICtrlRead($Label14)
Sleep(1000)
If $Completed = 200 Then
GUICtrlSetData($Label14, "Stash")
Sleep(1000)
For $sendStash = 1 To 10
Send("{ESC}")
Sleep(1000)
Send("{A}")
Sleep(500)
MouseClick("left", $9xx, $9yy)
Sleep(1000)
For $buttonPress = 1 To 25
Sleep(1250)
MouseClick("left", $0xx, $0yy)
GUICtrlSetData($Label14, $buttonPress)
Next
Next
Sleep(1000)
Send("{ESC}")
Sleep(1000)
EndIf
Until $Jesus = 1
EndFunc