Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 12:01

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Dragonica AUTOIT

Discussion on Dragonica AUTOIT within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2010
Posts: 2
Received Thanks: 0
Dragonica AUTOIT

there's something wrong with my AUTOIT & DRAGONICA.. it works fine but after 3-5min the game crashes.

here's my script

#cs ----------------------------------------------------------------------------

AutoIt Version: 3.3.6.1
Author: Stephen

Script Function:
Template AutoIt script.

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here
Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate");Sets a hotkey that closes the script
Func Terminate() ;when you press the ESC key
Exit 0
EndFunc

Func TogglePause()
$Paused = NOT $Paused
While $Paused
sleep(100)
ToolTip('Script is "Paused"',0,0)
WEnd
ToolTip("")
EndFunc


$DVersion = "Dragonica (Client Ver : 1.4.10)"
#include <GUIConstantsEx.au3>

GUICreate("Stephen's Bot", 335, 100)

GUISetState(@SW_SHOW)

GUICtrlCreateLabel("Press esc to STOP and EXIT", 8, 10)
$startbutton = GUICtrlCreateButton("Start", 18, 40, 300)

$attack = "{x}" ; auto attack
$delay = 150

$selfheal = "{q}" ; slow heal
$healdelay = 950
$healtimer = TimerInit()

$focus = "{4}" ; focus
$focusdelay = 500
$focustimer = TimerInit()

$diffusion = "{S}" ; diffusion canon
$diffusiondelay = 500
$diffusiontimer = TimerInit()

$walk = TimerInit()
$left = "{left down}"
$right = "{right down}"
$leftd = "{left up}"
$rightd = "{right up}"
$move = 0

While 1
$msg = GUIGetMsg()


$msg = $startbutton
ControlSend('Dragonica (Client Ver : 1.4.10)','','',$focus)
sleep($focusdelay)
ControlSend('Dragonica (Client Ver : 1.4.10)','','',$diffusion)
sleep($diffusiondelay)
ControlSend('Dragonica (Client Ver : 1.4.10)','','',$selfheal)
sleep(1500)

While 1
ControlSend('Dragonica (Client Ver : 1.4.10)','','',$attack)
Sleep($delay)

$walktimed = TimerDiff($walk)
If $walktimed < 7000 Then
$move = $left
ControlSend('Dragonica (Client Ver : 1.4.10)','','',$rightd)

EndIf

If $walktimed > 6950 Then
$move = $right
ControlSend('Dragonica (Client Ver : 1.4.10)','','',$leftd)

EndIf
If $walktimed > 13950 Then
$walk = TimerInit()

EndIf

ControlSend('Dragonica (Client Ver : 1.4.10)','','',$move)
Sleep(100)

$shtimed = TimerDiff($healtimer)
If $shtimed > 28000 Then
ControlSend('Dragonica (Client Ver : 1.4.10)','','',$selfheal)
Sleep($healdelay)
$healtimer = TimerInit()
$walk = $walk - 950
EndIf

$ftimed = TimerDiff($focustimer)
If $ftimed > 890000 Then
ControlSend('Dragonica (Client Ver : 1.4.10)','','',$focus)
Sleep($healdelay)
$focustimer = TimerInit()
EndIf

$dctimed = TimerDiff($diffusiontimer)
If $dctimed > 890000 Then
ControlSend('Dragonica (Client Ver : 1.4.10)','','',$diffusion)
Sleep($healdelay)
$diffusiontimer = TimerInit()
EndIf
WEnd


WEnd


thanks for the read... if you can help improve my script it will be greatly appreciated
stephenjason89 is offline  
Old 10/22/2010, 11:24   #2
 
omer36's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,254
Quote:
it works fine but after 3-5min the game crashes
anti hack shield? maby u need a anti-anti autoit "bypass" ? (like in LastChaos) ?
omer36 is offline  
Old 10/22/2010, 11:29   #3
 
elite*gold: 0
Join Date: Oct 2010
Posts: 2,911
Received Thanks: 1,376
Quote:
Originally Posted by omer36 View Post
anti hack shield? maby u need a anti-anti autoit "bypass" ? (like in LastChaos) ?
Ein Hackshield (Besonders der GameGuard von Drago) reagiert nicht bei AutoIT.
Wenn dem so wäre, würde das Spiel sofort crashen.

//

A Hackshield (especially Dragonica's GameGuard) wont react to AutoIT.
If that would be so, the game would crash immediately.

Richtige Grammatik? Brain.exe < Translator
Agent/Zero is offline  
Old 10/22/2010, 11:40   #4
 
omer36's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,254
also ich kenne es vom spiel lastchaos, dass wenn du autoit an hast, dass es nach einigen min crashed...

also genau das, was er hatt... und da braucht mann ebend ein "anti anti autoit" tool...

^^
omer36 is offline  
Old 10/22/2010, 13:20   #5
 
elite*gold: 0
Join Date: Sep 2010
Posts: 2
Received Thanks: 0
yeah i think if gameguard hackshield is preventing autoit, the game would crash immediately.

The thing is, mine ain't crashing till after 3-5min sometimes till 7 min. with no error messages.

also a simple script like


$attack = "{x}" ; auto attack
$delay = 150

While 1
ControlSend('Dragonica (Client Ver : 1.4.10)','','',$attack)
Sleep($delay)
Wend

will make Dragonica crash aswell.... maybe after 3-7min too...
stephenjason89 is offline  

Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.