*delete*
Ahh see I knew it! The prog pots when your health is super low! So don't blame it on me!Quote:
just tested it, and i reolized, it dosn't pot till you life is very very low
include <GuiConstants.au3>
Opt("GUIOnEventMode",1)
HotKeySet("{F5}", "_Start")
HotKeySet("{ESC}","Terminate")
$ClickIt = 0
$scriptname = "Auto-Potter"
$check1 = "Auto-Pot HP"
$check2 = "Auto-Pot MP"
GUICreate($scriptname, 200, 150)
GUISetOnEvent($GUI_EVENT_CLOSE,"Terminate")
GUICtrlCreateTab(0, 0, 280, 210)
GUICtrlCreateTabItem($scriptname)
$Checkbox_1 = GUICtrlCreateCheckbox($check1, 20, 40, 150, 20)
$Checkbox_2 = GUICtrlCreateCheckbox($check2, 20, 80, 150, 20)
GUICtrlCreateTabItem("About")
GUICtrlCreateLabel("1. Auto-potter created by Inuyasha3k0.", 4, 25, 175, 100)
GUICtrlCreateLabel("2. Based on and made mainly from Auto-Potter by Swords.", 4, 54, 175, 100)
GUICtrlCreateLabel("3. This is not the same potter, so do not call it a copy.", 4, 82, 175, 100)
GUICtrlCreateLabel("4. It dos the same thing but not in the same way.", 4, 110, 175, 100)
GUICtrlCreateLabel("This version pots at less then 1/3 life.", 10, 135, 175, 100)
GUISetState()
While 1
Sleep( 10 )
WEnd
Exit
Func _Start ()
$ClickIt = 1
While $ClickIt = 1
If BitAND(GUICtrlRead($Checkbox_1), $GUI_CHECKED) = $GUI_CHECKED Then
$nColor = ( 0x52617B )
If $nColor = PixelGetColor( 30, 736 ) Then
Send('{F7}')
Sleep(1500)
EndIf
Sleep(100)
EndIf
If BitAND(GUICtrlRead($Checkbox_2), $GUI_CHECKED) = $GUI_CHECKED Then
$nColor = ( 0x425963 )
If $nColor = PixelGetColor( 52, 726 ) Then
Send('{F8}')
Sleep(1500)
EndIf
Sleep(100)
EndIf
WEnd
EndFunc ;==>_Start
Func Terminate ()
Exit
EndFunc ;==>Terminate
#include <GuiConstants.au3>
Opt("GUIOnEventMode",1)
HotKeySet("{F5}", "_Start")
HotKeySet("{ESC}","Terminate")
$ClickIt = 0
GUICreate("Auto-Potter", 200, 150)
GUISetOnEvent($GUI_EVENT_CLOSE,"Terminate")
$Checkbox_1 = GUICtrlCreateCheckbox("Auto-Pot HP", 20, 40, 150, 20)
$Checkbox_2 = GUICtrlCreateCheckbox("Auto-Pot MP", 20, 80, 150, 20)
GUISetState()
While 1
Sleep( 10 )
WEnd
Exit
Func _Start ()
$ClickIt = 1
While $ClickIt = 1
If BitAND(GUICtrlRead($Checkbox_1), $GUI_CHECKED) = $GUI_CHECKED Then
$correct_color = PixelGetColor( 30, 736 )
while 1
If $correct_color <> PixelGetColor( 30, 736 ) Then
Send('{F9}')
Sleep(1500)
EndIf
WEnd
Sleep(100)
EndIf
If BitAND(GUICtrlRead($Checkbox_2), $GUI_CHECKED) = $GUI_CHECKED Then
$correct_color = PixelGetColor( 57, 742 )
while 1
If $correct_color <> PixelGetColor( 57, 742 ) Then
Send('{F8}')
Sleep(1500)
EndIf
WEnd
Sleep(100)
EndIf
WEnd
EndFunc ;==>_Start
Func Terminate ()
Exit
EndFunc ;==>Terminate