$fire1 = PixelChecksum ( $xs+160, $ys+19, $xs+176, $ys+25 ) <-- Here you check if something in the screen as changed
If $fire<>$fire1 Then <-- and if change you exit from this func
ExitLoop
EndIf <--else you search some pictures on the screen and if u find u click it and shoot... but what kind of image u use?
$nlo = myImageSearch_Desktop($ImageSearch0, 100, 150, 1000, 730)
If IsArray($nlo) and $fire=$fire1 Then
MouseClick("", $nlo[0]+50, $nlo[1]-60, 1, 0)
Sleep(200)
Send ("{LCTRL}")
Sleep(1000)
EndIf
MouseClickDrag("left",$pixel[0]+90,$pixel[1]-118,$pixel[0]+86,$pixel[1], 0) <-- i don't understand this what do u what to do...
Life() <-- here u check your life and if is low then use aegis abilities ( but only once?)
If $life>=$lifeR Then
ExitLoop
EndIf
Quote:
|
Here's the rough part about selling when full:
|
ok, you set your darkorbit page full screen and get some coord and change hangar.
I find the library that u use for searching images, but 2 thinks i've to ask u:
what kind of image u use?
how can u make it work? for me don't work and it's pretty slow to recognise images! it's faster with pixel!
Quote:
Originally Posted by [becky]
rothia, you can ally with palavia, and make a very good pixelbot, better than OS or kOS.
your part is verry good, the "bot" is not spending time between palladium, but with killing NPCs and selling the cargo, and returning back, it would awesome!
i know something about AutoIT and made me a a pallbot, but verry simple, without borders, and spending a lot of time between collecting.
|
i've already ask him if he want... but no replies has come yet...
I already know what program have to do.. i've only have to implement it!