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
Edit: I forgot to mention it but please modify the pixel search box to your dye ampoule color palette box. It's Pixelsearch (Left, Top, Right, Bottom, Color)
While waiting for an automated color picker from the people here, I've decided to try to play around with it. This is a simple autoit code that will point your mouse to where the color is found to help finding color faster. Press numpad 1 for black, numpad 2 for white and numpad 3 for red. Feel free to change the color to any color that you like. I think this can be improved but I'm not that great with programming
