[Release] Pixelbot Palladium - Free source code!

04/05/2013 00:57 rothia#16
Quote:
Originally Posted by Aspiris View Post
Can somone translate it to me. I don't get what i have to do:(
what don't u understand?
p ->pause
tab->play
esc->exit
04/05/2013 13:38 [becky]#17
Quote:
Originally Posted by rothia View Post
what don't u understand?
p ->pause
tab->play
esc->exit
and what are with "select area" and "select fog"???
04/05/2013 13:59 rothia#18
Quote:
Originally Posted by [becky] View Post
and what are with "select area" and "select fog"???
selected area you must select the area where the mouse have to click for collecting palladium, select fog, you have to select the fog area in the minimap...
04/05/2013 14:17 [becky]#19
...and how do i do that?
could you make a tutorial, or ....explain better :)
04/05/2013 15:26 Aspiris#20
Quote:
Originally Posted by rothia View Post
what don't u understand?
p ->pause
tab->play
esc->exit
Lol no. Was toö tired yesterday to get it. Pretty well done.


@[becky]
1: Click on the scree and pull a square to set the borders. In this area the ship searches for palla

2: Click on the minimap and "draw" a square where the fog is. The ship will only fly in this area.

It's pretty easy if you know what to do. Hope i could help you. If you have any questions just ask!
04/05/2013 15:56 xdag1#21
This pixel bot works perfectly for me even in Virtual Box.
No buggy compare to bot from »FlutterShy™
I love to see source code so I can learn from you and change or add something I like (aegis ability)
rothia* you are my Italian hero
04/05/2013 18:34 [becky]#22
Quote:
Originally Posted by Aspiris View Post
Lol no. Was toö tired yesterday to get it. Pretty well done.


@[becky]
1: Click on the scree and pull a square to set the borders. In this area the ship searches for palla

2: Click on the minimap and "draw" a square where the fog is. The ship will only fly in this area.

It's pretty easy if you know what to do. Hope i could help you. If you have any questions just ask!
ok...i understand. thanks! and the grahics? some advices?

Works GREAT. Thanks!
04/05/2013 19:46 summershandy#23
works great thanks!
04/05/2013 22:07 rothia#24
Quote:
Originally Posted by xdag1 View Post
This pixel bot works perfectly for me even in Virtual Box.
No buggy compare to bot from »FlutterShy™
I love to see source code so I can learn from you and change or add something I like (aegis ability)
rothia* you are my Italian hero
hahahaha italian hero?? thank you and thank you for everybody!

I post the source code because I want that everybody can use and modify as they want, or that someone want to add features (kill npc or go to sell)

I don't have much time to work on it! I'm very glad that you like my bot!

Unfortunely when npc or enemy attac you u got killed!
04/05/2013 23:36 palavia#25
I already mentioned that this source code works very well, especially I liked the idea of the 12 squares and remembering the coordinates that already set .. :) I admit that I stole it from you, just by improving the algorithm of waiting between palas, added a ship to defend it from invading aliens, and it has radically OS. 1 hour managed to collect almost 1800, and the program alone sell them. The only problem that remains is that all of this is needed one additional computer, but who cares, when I have around me three unnecessary :)
Once again, thank you so much for the exclusive clever algorithm that you used in your program :handsdown:
04/05/2013 23:55 丂のひレ尺乇ムア乇尺#26
work thanks!!
04/06/2013 00:47 rothia#27
Quote:
Originally Posted by palavia View Post
I already mentioned that this source code works very well, especially I liked the idea of the 12 squares and remembering the coordinates that already set .. :) I admit that I stole it from you, just by improving the algorithm of waiting between palas, added a ship to defend it from invading aliens, and it has radically OS. 1 hour managed to collect almost 1800, and the program alone sell them. The only problem that remains is that all of this is needed one additional computer, but who cares, when I have around me three unnecessary :)
Once again, thank you so much for the exclusive clever algorithm that you used in your program :handsdown:
can you give me the part that sell and defend from NPC's? it will be usefull for everyone!

Quote:
Originally Posted by [becky] View Post
ok...i understand. thanks! and the grahics? some advices?

Works GREAT. Thanks!
I tested it on high ship quality and low resource quality... i try now to add kill npc... not sure of results
04/06/2013 04:22 Aspiris#28
Quote:
Originally Posted by rothia View Post
can you give me the part that sell and defend from NPC's? it will be usefull for everyone!
Indeed, it would be great! We would be very thankful:handsdown:

Quote:
Originally Posted by [becky] View Post
ok...i understand. thanks! and the grahics? some advices?

Works GREAT. Thanks!
I set everything on low and it works fine.
04/06/2013 08:55 OneLifeToLive#29
for some reason i can get the bot to move but not pick up palli any suggestions? i define the area and fog and the ship moves all around just wont pick up any palli :(
04/06/2013 12:34 palavia#30
Quote:
Originally Posted by rothia View Post
can you give me the part that sell and defend from NPC's? it will be usefull for everyone!
The hard part of writing code, it is to be applicable to everyone, and that includes a browser, language, ship`s type, location of various elements on game screen, etc. . I spend some time to write it under my terms and I can only share algorithm in which everyone works and adjust it according to their preferences and capabilities.
Here's the rough part of killing the NPC:
.....
Func Fire()
While 1
$fire1 = PixelChecksum ( $xs+160, $ys+19, $xs+176, $ys+25 )
If $fire<>$fire1 Then
ExitLoop
EndIf
$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)
Life()
If $life>=$lifeR Then
ExitLoop
EndIf


WEnd
.....


Here's the rough part about selling when full:

Func Sell()
While 1
$off = myImageSearch_Desktop($ImageSearchOFF)
If Not @error Then
MouseClick ( "", $off[0]+8, $off[1]+5,1,0)
ExitLoop
EndIf
WEnd
sleep(15000)
WinClose ("[CLASS:Chrome_WidgetWin_1]")
sleep(5000)
While 1
$11 = myImageSearch_Desktop($ImageSearch11)
If not @error Then
MouseClick ( "", $11[0]+3, $11[1]+6,1,0 ) ; open hangars
ExitLoop
EndIf
WEnd
Sleep(1000)
MouseClick ( "", $11[0]+26, $11[1]+6,1,0 ) ; chose 3 hangar
Sleep(4000)
While 1
$OK = myImageSearch_Desktop($ImageSearchOK)
If Not @error Then
MouseClick ( "", $OK[0]+15, $OK[1]+10,1,0 ) ; hit OK
ExitLoop
EndIf
WEnd
Sleep(1000)
While 1
$start = myImageSearch_Desktop($ImageSearchS)
If Not @error Then
MouseClick ( "", $start[0]+50, $start[1]+10,1,0 ) ; hit START
ExitLoop
EndIf
WEnd
Sleep(10000)

While 1
$off = myImageSearch_Desktop($ImageSearchOFF)
If not @error Then
MouseClick ( "", $off[0]+8, $off[1]+5,1,0 )
ExitLoop
EndIf
WEnd
sleep(1000)
While 1
$sell = myImageSearch_Desktop($ImageSearchSell)
If Not @error Then
MouseClick ( "", $sell[0]+10, $sell[1]+7,1,0 )
ExitLoop
EndIf
WEnd
sleep(2000)
While 1
$exch = myImageSearch_Desktop($ImageSearchExch)
If not @error Then
MouseClick ( "", $exch[0]+20, $exch[1]+6,1,0 )
Sleep(500)
MouseClick ( "", $exch[0]-60, $exch[1]+6,1,0 )
Sleep(500)
MouseClick ( "", $exch[0]-140, $exch[1]+6,1,0 )
Sleep(500)
MouseClick ( "", $exch[0]-220, $exch[1]+6,1,0 )
Sleep(500)
MouseClick ( "", $exch[0]-300, $exch[1]+6,1,0 )
Sleep(500)
MouseClick ( "", $exch[0]-380, $exch[1]+6,1,0 )
Sleep(500)
MouseClick ( "", $exch[0]-460, $exch[1]+6,1,0 )
Sleep(500)
ExitLoop
EndIf
WEnd
WinClose ("[CLASS:Chrome_WidgetWin_1]")
sleep(15000)
While 1
$11 = myImageSearch_Desktop($ImageSearch11)
If Not @error Then
MouseClick ( "", $11[0]+3, $11[1]+6,1,0 ) ; open hangars
ExitLoop
EndIf
WEnd
Sleep(1000)
MouseClick ( "", $11[0]+3, $11[1]+6,1,0 ) ; chose 2 hangar
Sleep(4000)
While 1
$OK = myImageSearch_Desktop($ImageSearchOK)
If not @error Then
MouseClick ( "", $OK[0]+15, $OK[1]+10,1,0 ) ; hit OK
ExitLoop
EndIf
WEnd
Sleep(1000)
While 1
$start = myImageSearch_Desktop($ImageSearchS)
If Not @error Then
MouseClick ( "", $start[0]+50, $start[1]+10,1,0 ) ; hit START
ExitLoop
EndIf
WEnd
Sleep(10000)
While 1
$pet = myImageSearch_Desktop($ImageSearchPET)
If not @error Then
MouseClick ( "", $pet[0]+6, $pet[1]+6,1,0 )
ExitLoop
EndIf
WEnd
Sleep(2000)
While 1
$ple = myImageSearch_Desktop($ImageSearchPET1)
If Not @error Then
MouseClick ( "", $ple[0]+6, $ple[1]+6,1,0 )
ExitLoop
EndIf
WEnd
Sleep(500)
While 1
$ple1 = myImageSearch_Desktop($ImageSearchPET2)
If not @error Then
MouseClick ( "", $ple1[0]+5, $ple1[1]+4,1,0 )
ExitLoop
EndIf
WEnd
Sleep(500)
While 1
$ple2 = myImageSearch_Desktop($ImageSearchPET3)
If not @error Then
MouseClick ( "", $ple2[0]+4, $ple2[1]+3,1,0 )
ExitLoop
EndIf
WEnd
Sleep(1000)
While 1
$ple3 = myImageSearch_Desktop($ImageSearchPET4)
If Not @error Then
MouseClick ( "", $ple3[0]+5, $ple3[1]+3,1,0 )
ExitLoop
EndIf
WEnd
Sleep(500)

Avvia()

EndFunc

.....
There are many additional parts that chek my status of life, PET, LOG...
It`s work brilliant for me.. better then OS ;)