Auto Pot is ok, not detected. But when im using Skill spammer skill, my game close without any notice. No hackshield or bug trap.
This mean it's detected? IF it's not what's happen?
Auto pot
Code:
;HotKey for terminating the script
HotKeySet("{F11}", "Terminate")
$i = 1
;Window title for dragonica should be changed after every patch
$WinTitle = "Dragonica (Client Ver : 0.1.27)"
;Force focus on dragonica
WinActivate($WinTitle)
;Continuous looping
While $i <> 0
if $i = 2 Then
Sleep(500)
$i = 1
Else
;If the game exist check for hp and mp
If (WinExists($WinTitle)) Then
checkHp70()
EndIf
$i = 2
EndIf
WEnd
Func checkHp70()
$size = WinGetPos($WinTitle)
;checking if hp falls below 70%
$checkHp70 = Hex(PixelGetColor( $size[0]+675 , $size[1]+730 ), 6)
;If hp falls below 70% autopot
If $checkHp70 = '343434' Then
ControlSend($WinTitle,'','','{1}');Uses hp pots
Sleep(10000)
EndIf
EndFunc
Func Terminate()
Exit 0
EndFunc
Code:
HotKeySet("{ESC}", "Terminate")
HotKeySet("{-}", "AutoAttackToggle")
Global $Flag = False
$i=1
While 1
Sleep(10)
WEnd
Func Terminate()
Exit 0
EndFunc
Func AutoAttackToggle()
$Flag = Not $Flag
If $Flag Then
AutoAttack()
Else
AutoAttackOff()
EndIf
EndFunc
Func AutoAttack()
While 1
ControlSend('Dragonica (Client Ver : 0.1.27)','','','{s}')
Sleep(2000)
ControlSend('Dragonica (Client Ver : 0.1.27)','','','{d}')
Sleep(2000)
ControlSend('Dragonica (Client Ver : 0.1.27)','','','{f}')
Sleep(2000)
ControlSend('Dragonica (Client Ver : 0.1.27)','','','{w}')
Sleep(2000)
WEnd
EndFunc
Func AutoAttackOff()
While 1
Sleep(100)
WEnd
EndFunc






