Hey guys, I saw a post on this with code that said it could use this code in a AutoIt to use a colour search. Does anyone else have an idea of how to fix this or make this kinda thing work today? It'd really be nice to speed up the process of finding that perfect palette.
Code:
Global $Paused
HotKeySet("{NUMPAD1}", "Test")
HotKeySet("{NUMPAD2}", "Test2")
HotKeySet("{NUMPAD3}", "Test3")
While 1
WinWaitActive("Vindictus","")
WEnd
Func Test()
$coord = PixelSearch( 541, 215, 793, 465, 0x191919, 10 ) ;modify the search box to your dye ampoule color palette
If Not @error Then
MouseClick("left",$coord[0],$coord[1])
EndIf
EndFunc
Func Test3()
$coord = PixelSearch( 541, 215, 793, 465, 0xC82323, 10 )
If Not @error Then
MouseClick("left",$coord[0],$coord[1])
EndIf
EndFunc
Func Test2()
$coord = PixelSearch( 541, 215, 793, 465, 0xE6E6E6, 10 )
If Not @error Then
MouseClick("left",$coord[0],$coord[1])
EndIf
EndFunc