Jump to content

Recommended Posts

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

Posted

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

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

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

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

Posted (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 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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...