[Release] X key Autoit script

08/20/2009 07:38 neogohan1#1
Hey guys, just thought i'd share this little script for those of you starting on the THQ servers and don't have FDragonica to use.

HotKeySet("{ESC}", "Terminate")
HotKeySet("{[}","Shoot")
HotKeySet("{]}","Stop")
Func Terminate()
Exit 0
EndFunc
While (1=1)
$i = 1
WEnd

Func Shoot()
While(1=1)
ControlSend('Dragonica','','','{x down}')
WEnd
EndFunc

Func Stop()
While(1=1)
ControlSend('Dragonica','','','{x up}')
WEnd
EndFunc

I'm really not gunna spend too much time to explain it but basically this script will let u have a program where u can switch the X key on and off...so u can switch it on when u wanna auto attack, and switch it off again without closing the macro.

Press [ key to turn it on
Press ] key to turn it off.

the on off buttons are the buttons next to the letter "P" on your keyboard.
Use autoit to compile.

edit: This script was not made for botting, it was just made to make it easier for u to hold down the X key (for example in missions for acolyte/priests) so you don't hurt your hand from the strain.
08/20/2009 10:02 sh3v#2
what is the code to add in if i wanan press 8 every 15mins for diffusal cannon?

i tried using smuffy's example in another thread but couldn't seem to get it to work
08/20/2009 11:46 y2k13780#3
wat is autoit? how to use this code? I mean paste to where and how to run it... thks for helping ya? ^^
08/20/2009 11:49 xrcbobby#4
i'll not spoonfeed, here is the hint:
ControlSend($WinTitle,'','','{q}');Diffusion Cannon
Sleep(900000)
08/20/2009 15:49 ulrich974#5
I like very much your Script, but I have a question :
With only 'Dragonica' for ControlSend, work it ? Because me not.
My window Dragonica is 'Dragonica (Client Ver : 0.908.2001)'.
But with this too he dont work.

If a need too use your script on my Dragonica French EU version(Gpotatos). What programs I need ? (I have Autoit v3.3.1.1)

Thank you very much for your answer and sorry for my poor English.
08/20/2009 18:08 sh3v#6
thanks for the hint, but for a layman, those are just foreign to me. I got a friend who is familiar with simple script writing but couldn't understand the language behind the script, and was not able to insert the command.

Maybe some hint on how the script works so that he can figure it out?

**Scrap that, after much tweaking, he finally got it. Thanks anyway**
08/20/2009 20:45 creep1991#7
Quote:
Originally Posted by y2k13780 View Post
wat is autoit? how to use this code? I mean paste to where and how to run it... thks for helping ya? ^^
AutoIT is somewhat a macro program, u an use it to automate keystrokes and mouse clicks so on so forth. Google autoit and u'll find out. =)
08/20/2009 22:42 sh3v#8
My game auto closes quite often with no exact timing. Sometimes it could last an hour, sometimes not even 5mins. Could it be due to the way the script was modified by my friend?

HotKeySet("{ESC}", "Terminate")
HotKeySet("{[}","Shoot")
HotKeySet("{]}","Stop")



Func Terminate()
Exit 0
EndFunc
While (1=1)
$i = 1
WEnd

Func Shoot()


$a = 0

While $a <= 10000
ControlSend('Dragonica','','','{x down}')
$a = $a + 1

If $a = 10000 Then
ControlSend('Dragonica','','','{8 down}')
ControlSend('Dragonica','','','{8 up}')
$a = 0
EndIf


WEnd


EndFunc

Func Stop()
While(1=1)
ControlSend('Dragonica','','','{x up}')
WEnd
EndFunc

Basically, he added the line to press skill number 8 after every 10000 times X is pressed.
Would need all the help i can get, much appreciated.
08/20/2009 23:01 neogohan1#9
If the macro is closing that means ur friend added something that didn't loop properly, so the program runs that command and then will close because it doesn't have any further instructions.

And ulrich974, i use Dragonica for controlsend because it seems to work on my computer, i don't know if it makes a difference because i've tried testing it with just "drag", basically it's searching for the window that starts with that title.
08/20/2009 23:23 sh3v#10
hmm...its not the macro that is closing. It's dragonica itself. just shuts down with no msg whatsoever. The macro is still in the background minimised in the system tray
08/21/2009 06:46 davidwcl#11
i have a problem here
i run the script quote at #1
but dragonica hack shield detected n close my client immediately...

i have search tru the forum about bypass and how to deal with it
and i have run the DragBP_Sea.exe , which is a bypass from Oriya9..
but AutoIT still not working...

currently using AutoIT v3
and newbie of AutoIT too
pro please enlighten me^^
08/21/2009 07:29 sh3v#12
What i did was to use AutoIt to run the script instead of just dbl clicking it on its own
08/21/2009 10:21 neogohan1#13
so basically, open up the script in autoit, and then use Tools -> Go (or press F5) to run the program, rather than compiling it.

And this script was meant for THQ servers cuz their game is still rather fresh and bugged. not much security.
08/21/2009 10:38 hylas#14
Quote:
Originally Posted by neogohan1 View Post
so basically, open up the script in autoit, and then use Tools -> Go (or press F5) to run the program, rather than compiling it.

And this script was meant for THQ servers cuz their game is still rather fresh and bugged. not much security.
Hack Shield is coded into the game. Every version of the game uses the same Hack Shield version. There could be certain discrepancies about in-game bugs between the different servers, but as far as third party software and hacking tools go.... the servers all update Hack Shield to the newest update regardless of what version their Dragonica client is.
08/21/2009 11:55 neogohan1#15
hmm ok, well anyways I can run it fine, so can others so I don't know why some people getting it detected. I don't enough to be able to fix any hackshield problems if anyone does get them sorry.