Jump to content
Sign in to follow this  
dragonicaperson

my game crashes when autoit is on

Recommended Posts

dragonicaperson

I don't know the problem. My script is working in game, but after a while (5-10mins) the game crashes without any notice.

Here's my script:

;Script Configuration.

$DVersion = "Dragonica (Client Ver : 1.4.9)"

;Script Initialization.

HotKeySet("{ESC}", "Terminate");Sets a hotkey that closes the script

Func Terminate() ;when you press the ESC key

Exit 0

EndFunc

$i = 0 ;Creates an endless loop

While $i = 0

Do

ControlSend('Dragonica (Client Ver : 1.4.9)','','','{F1}')

Sleep(4000); Sends the F1 key to the window

Until $i = 1

WEnd

Share this post


Link to post
Share on other sites
wakillon

enaiman is right and $i is incremented by the holy spirit ? Posted Image


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites
kaotkbliss

$i is incremented by the holy spirit ? Posted Image

;)

No, his pc has super human AI so it knows when it should change the value, it just sucks at the game.


010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Share this post


Link to post
Share on other sites
wakillon

;)

No, his pc has super human AI so it knows when it should change the value, it just sucks at the game.

I Absolutely Need This super Computer ! Posted Image


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.