AUTO MINER SCRIPT

05/28/2007 15:57 soemaal#1
can anyone release me an auto mine script?
i need to have an example to work whit.

i prefer in AutoIT3 :)
05/28/2007 20:44 hieitk#2
Here you have the sample code to get the pixel colors, and attached is the .au3 and .exe

</span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (pick.au3)</td></tr><tr><td id='QUOTE'>
Global Const &#036;GUI_EVENT_CLOSE* = -3 ;global variable

&#036;colorpick="NONE";just a default text
HotKeySet("+q","pickcolor");the function pick color

GUICreate("Color pick", 200, 65, -1, -1);create the window
GUICtrlCreateLabel("Press SHIFT+Q to pick a pixel color",10,10);show a text telling you what key to press
&#036;color=GuiCtrlCreateLabel(""&&#036;colorpick& "", 10, 30,60,20,0x1000);the text that will display the color

Func pickcolor();the function
&#036;colorcoords=MouseGetPos();getting the coords of the mouse
&#036;colorpick=PixelGetColor(&#036;colorcoords[0],&#036;colorcoords[1]);getting the pixelcolor on those coords
GuiCtrlSetData(&#036;color, &#036;colorpick);displaying the result on the label
EndFunc

GuiSetState();show the window

while 1 ;the loop the keep the window on
&#036;msg = GuiGetMsg()
* * Select
* * Case &#036;msg = &#036;GUI_EVENT_CLOSE;if the user press the X button to close the window
* * * * ExitLoop
EndSelect
WEnd

Exit;exit the program
[/b][/quote]
With these colors you have to make pixel search, but you have to create a process that will search in all box on inventory and also drop.
05/29/2007 08:59 soemaal#3
Thanks very much