nonplayablecharacter Posted August 11, 2008 Posted August 11, 2008 (edited) well whenever i try this script on rs the game just freezes up CODEGlobal $Paused HotKeySet("{END}", "TogglePause") HotKeySet("{HOME}", "Terminate") While 1 Sleep(1000) WEnd Func TogglePause() $Paused = NOT $Paused While $Paused mouseclick("left") WEnd EndFunc Func Terminate() Exit 0 EndFunc is autoit dead with rs or can someone figure a solution for me? (BTW RS as in Rune Scape) Edited August 11, 2008 by nonplayablecharacter You can always count on me for the dumb questions ;)My Scripts:Rikku
enaiman Posted August 11, 2008 Posted August 11, 2008 Try adding a Sleep after your "mouseclick" statement. SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :)
themax90 Posted August 11, 2008 Posted August 11, 2008 Sleep(0x000000) will allow your script to not slow down but still have the memory saving effects. Always remember when entering a loop to add a sleep because otherwise it will continue to what you told it, loop. ~Smith
nonplayablecharacter Posted August 11, 2008 Author Posted August 11, 2008 (edited) enaiman said: Try adding a Sleep after your "mouseclick" statement.okay thx it seems to have worked...it seems longer sleeps allows the game to run more smoothly Edited August 11, 2008 by nonplayablecharacter You can always count on me for the dumb questions ;)My Scripts:Rikku
nonplayablecharacter Posted August 11, 2008 Author Posted August 11, 2008 (edited) I am curious if it is possible to do pixel search on minimized screens and be able to send clicks to those coordinates keeping the screen minimized Edited August 11, 2008 by nonplayablecharacter You can always count on me for the dumb questions ;)My Scripts:Rikku
nonplayablecharacter Posted August 12, 2008 Author Posted August 12, 2008 (edited) nonplayablecharacter said: I am curious if it is possible to do pixel search on minimized screens and be able to send clicks to those coordinates keeping the screen minimizedfor example i have a script i'm working on with a gui and IE on the gui and it runs RS in it...so will i be able to have that screen do pixel search while minimized and then click those coordinates? Edited August 12, 2008 by nonplayablecharacter You can always count on me for the dumb questions ;)My Scripts:Rikku
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