Arez Posted July 25, 2006 Share Posted July 25, 2006 (edited) I wrote a program that goes into a Starcraft game, says what I want and then leaves. I have it set to click the game list button (to bring up the list of games), and then a specific place in the game list in order to join it (very crude but gets the job done). I have made nearly this entire program with: MouseClick("left", 44, 44, 2, 2.5) Opt("SendKeyDelay", 75) send("send blah blah blah") Sometimes the game lags and gives me a "latency too high error". Sometimes my internet goes out. Other times the host will leave. basically, it needs a special set of instructions under special circumstances. Can anyone suggest a function? Is there a programming language that can do this better? Edited July 25, 2006 by Arez Link to comment Share on other sites More sharing options...
Skruge Posted July 25, 2006 Share Posted July 25, 2006 basically, it needs a special set of instructions under special circumstances. Can anyone suggest a function?Welcome to the forums!You need to add logic. Read the entire helpfile, particularly If...Then, Select, and AdlibEnable.Is there a programming language that can do this better?No matter what language you use, you'll still have to do the work. [font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font] Link to comment Share on other sites More sharing options...
Xenobiologist Posted July 25, 2006 Share Posted July 25, 2006 HI, yeah you need some error handling or just make some hotkeys. I think Autoit is perfect 4 what you r looking 4. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now