Sign in to follow this  
Followers 0
nonplayablecharacter

problems w/ RS script

6 posts in this topic

#1 ·  Posted (edited)

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



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 :)

Share this post


Link to post
Share on other sites

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

#4 ·  Posted (edited)

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

#5 ·  Posted (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 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

#6 ·  Posted (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

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  
Followers 0