Hey Leute Habe nen Problem
Also mein bot sollte eignt laufen tut er aber nich ..keine ahnung wieso nach mouseclick schliest er automatisch ..
hier mal der quellcode
MouseClick ("left",536, 367)
WinWaitActive ("4Story")
Attack()
Func Attack()
$Heal_Pixel = PixelGetColor (116, 38)
If $Heal_Pixel <> 0xE55931 Then
pruefungatt()
Else
Heal()
EndIf
SEND ("{TAB}")
Sleep (500)
SEND ("{1}")
Sleep (10000)
$Heal_Pixel = PixelGetColor (116, 38)
If $Heal_Pixel <> 0xE55931 Then
pruefungatt()
Else
Heal()
EndIf
EndFunc
Func pruefungatt()
$Pixel_Attack = PixelGetColor (491, 56)
If $Pixel_Attack <> 0xE75D31 Then
Attack()
Else
Aufsammeln()
EndIf
EndFunc
Func Heal()
Sleep (1000)
SEND ("{B}")
Sleep (7500)
$Heal_Pixel_Auflademodus = PixelGetColor (194, 37)
If $Heal_Pixel_Auflademodus <> 0xC7190B Then
Attack()
Else
Heal()
EndIf
EndFunc
Func Aufsammeln()
Sleep (500)
SEND ("{z}")
Sleep (2000)
Attack()
EndFunc
Dieser Fehler kommt nun in Line 8
Error: Recursion level has been exceeded






