Jump to content
Sign in to follow this  
nonplayablecharacter

problems w/ RS script

Recommended Posts

nonplayablecharacter

well whenever i try this script on rs the game just freezes up

CODE
Global $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 by nonplayablecharacter

You can always count on me for the dumb questions ;)My Scripts:Rikku

Share this post


Link to post
Share on other sites
themax90

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

Share this post


Link to post
Share on other sites
nonplayablecharacter

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 by nonplayablecharacter

You can always count on me for the dumb questions ;)My Scripts:Rikku

Share this post


Link to post
Share on other sites
nonplayablecharacter

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 by nonplayablecharacter

You can always count on me for the dumb questions ;)My Scripts:Rikku

Share this post


Link to post
Share on other sites
nonplayablecharacter

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

for 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 by nonplayablecharacter

You can always count on me for the dumb questions ;)My Scripts:Rikku

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
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.