#include <myImageSearch.au3>
Global $ImageSearch0 = @ScriptDir & "\NPC.bmp
I still did not find what $fire1 is....maybe life bar check?
Code:
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
#include <myImageSearch.au3>
Global $ImageSearch0 = @ScriptDir & "\NPC.bmp
I still did not find what $fire1 is....maybe life bar check?
Code:
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
#include <myImageSearch.au3>
Global $ImageSearch0 = @ScriptDir & "\NPC.bmp
I still did not find what $fire1 is....maybe life bar check?
Code:
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
for NPC picture : Yes, that`s right
for $fire1 : with it I check if I already shoot or not ( changing laser ammunitions ). I have $fire checked befor it!
... and this one is for Life check ( colored bar in ship`s info window ):
Func Life()
While 1
If PixelGetColor ($xs+90, $ys) = 0x6A6D6C Then
$hit21 = 0
Else
$life=21
$xx=$xs+90
ExitLoop
EndIf
If PixelGetColor ($xs+87, $ys) = 0x6A6D6C Then
$hit20 = 0
Else
$life=20
$xx=$xs+87
ExitLoop
EndIf
If PixelGetColor ($xs+84, $ys) = 0x6A6D6C Then
$hit19 = 0
Else
$life=19
$xx=$xs+84
ExitLoop
EndIf
If PixelGetColor ($xs+81, $ys) = 0x6A6D6C Then
$hit18 = 0
Else
$life=18
$xx=$xs+81
ExitLoop
EndIf
If PixelGetColor ($xs+78, $ys) = 0x6A6D6C Then
$hit17 = 0
Else
$life=17
$xx=$xs+78
ExitLoop
EndIf
If PixelGetColor ($xs+75, $ys) = 0x6A6D6C Then
$hit16 = 0
Else
$life=16
$xx=$xs+75
ExitLoop
EndIf
If PixelGetColor ($xs+72, $ys) = 0x6A6D6C Then
$hit15 = 0
Else
$life=15
$xx=$xs+72
ExitLoop
EndIf
If PixelGetColor ($xs+69, $ys) = 0x6A6D6C Then
$hit14 = 0
Else
$life=14
$xx=$xs+69
ExitLoop
EndIf
If PixelGetColor ($xs+66, $ys) = 0x6A6D6C Then
$hit13 = 0
Else
$life=13
$xx=$xs+66
ExitLoop
EndIf
If PixelGetColor ($xs+63, $ys) = 0x6A6D6C Then
$hit12 = 0
Else
$life=12
$xx=$xs+63
ExitLoop
EndIf
If PixelGetColor ($xs+60, $ys) = 0x6A6D6C Then
$hit11 = 0
Else
$life=11
$xx=$xs+60
ExitLoop
EndIf
If PixelGetColor ($xs+57, $ys) = 0x6A6D6C Then
$hit10 = 0
Else
$life=10
$xx=$xs+57
ExitLoop
EndIf
If PixelGetColor ($xs+54, $ys) = 0x6A6D6C Then
$hit9 = 0
Else
$life=9
$xx=$xs+54
ExitLoop
EndIf
If PixelGetColor ($xs+51, $ys) = 0x6A6D6C Then
$hit8 = 0
Else
$life=8
$xx=$xs+51
ExitLoop
EndIf
If PixelGetColor ($xs+48, $ys) = 0x6A6D6C Then
$hit7 = 0
Else
$life=7
$xx=$xs+48
ExitLoop
EndIf
If PixelGetColor ($xs+45, $ys) = 0x6A6D6C Then
$hit6 = 0
Else
$life=6
$xx=$xs+45
ExitLoop
EndIf
If PixelGetColor ($xs+42, $ys) = 0x6A6D6C Then
$hit5 = 0
Else
$life=5
$xx=$xs+42
ExitLoop
EndIf
If PixelGetColor ($xs+39, $ys) = 0x6A6D6C Then
$hit4 = 0
Else
$life=4
$xx=$xs+39
ExitLoop
EndIf
If PixelGetColor ($xs+36, $ys) = 0x6A6D6C Then
$hit3 = 0
Else
$life=3
$xx=$xs+36
ExitLoop
EndIf
If PixelGetColor ($xs+31, $ys) = 0x6A6D6C Then
$hit2 = 0
Else
$life=2
$xx=$xs+31
ExitLoop
EndIf
If PixelGetColor ($xs+30, $ys) = 0x6A6D6C Then
$hit1 = 0
Else
$life=1
$xx=$xs+30
ExitLoop
EndIf
WEnd
[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: