After more time for testing, I see that sometimes ship stop when are no palladium in screen, instead moving on minimap (yes I declare correct).
He stay until appear palladium in screen then he start collect again.
Func Ricerca() ;Cerca nella minimappa
Local $randomX, $RandomY
$RandomX = Random($Mini_x1,$Mini_x2,1) ;COORDINATE KE PRENDIAMO CON LA SELEZIONE
$RandomY = Random($Mini_y1,$Mini_y2,1)
MouseClick("left",$RandomX,$RandomY,1,0)
while 1
$Avvia12 = PixelSearch($Rett1_x1,$Rett1_y1,$Rett1_x2,$Rett1_y2,$pallacolor,1)
If not @error Then
mouseCLick("left",$Avvia12[0],$Avvia12[1],1,0)
Sleep (2000)
$c=1
exitloop
EndIf
WEnd
EndFunc
In navigate function Ricerca () is:
Code:
if not error then
but it doesn't say if not find that pixel
Code:
if error
something like if @error Then $c=1 and some sleep (time) to avoid multiple clicking ,but we need search pixel while it sleep
Func Ricerca() ;Cerca nella minimappa
Local $randomX, $RandomY
$RandomX = Random($Mini_x1,$Mini_x2,1) ;COORDINATE KE PRENDIAMO CON LA SELEZIONE
$RandomY = Random($Mini_y1,$Mini_y2,1)
MouseClick("left",$RandomX,$RandomY,1,0)
while 1
$Avvia12 = PixelSearch($Rett1_x1,$Rett1_y1,$Rett1_x2,$Rett1_y2,$pallacolor,1)
If not @error Then
mouseCLick("left",$Avvia12[0],$Avvia12[1],1,0)
Sleep (2000)
$c=1
exitloop
EndIf
WEnd
EndFunc
In navigate function Ricerca () is:
Code:
if not error then
but it doesn't say if not find that pixel
Code:
if error
something like if @error Then $c=1 and some sleep (time) to avoid multiple clicking ,but we need search pixel while it sleep
is an array and if its an array there are the coords of this pixel
Thats coord of pixel yes but I talking about bot stop moving
That Ricerca () function make bot stop if he didn't find any pixel and $Avvia12 = PixelSearchreturn @error
Thats coord of pixel yes but I talking about bot stop moving
That Ricerca () function make bot stop if he didn't find any pixel and $Avvia12 = PixelSearchreturn @error
it stop a little bit for reach the distance of minimap he clicked...it depends of the cloack of your cpu
Palavia -->One question: how do u resolve the problem of whom npc is attack u?
U set a timer? because a interceptor in 30 second is killed but for kill an annilator 130 seconds or more it take!
Palavia -->One question: how do u resolve the problem of whom npc is attack u?
U set a timer? because a interceptor in 30 second is killed but for kill an annilator 130 seconds or more it take!
As he said before
He made it by PixelChecksum if he shooting
Func Fire()
While 1
$fire1 = PixelChecksum ( $xs+160, $ys+19, $xs+176, $ys+25 )
If $fire<>$fire1 Then
ExitLoop
EndIf
Quote:
Originally Posted by palavia
for $fire1 : with it I check if I already shoot or not ( changing laser ammunitions ). I have $fire checked befor it!
I trying to build it too. But I still did not find out what call that Fire() function.
That must be HP check and get reading before enter cuz in fire () is
Code:
Life()
If $life>=$lifeR Then
ExitLoop
EndIf
that could mean $lifeR is check before and if not lower (nothing shooting me, hit by mine ..etc) exit
its so hard make it logic...
[Release] Palladium Pixelbot 12/31/2013 - DarkOrbit - 63 Replies hello,
many write they need a Palladium so i will release my Palladium Bot
it is at the moment simple but good to collect some Palladium.
Changelog
0.2 - Added better Logic and Chargo/Bonus - Boxen
0.1 - First Release
[RELEASE]Extreme Palladium PixelBot (Alpha of Beta) 05/29/2013 - DarkOrbit - 38 Replies Hey Guys,
I have now the Alpha of the Beta Version from my PixelBot for Palladium.
Features:
Collect Palladium
Better collecting Logic
Planed Features: