Jump to content
Sign in to follow this  
YourShadow

script error

Recommended Posts

YourShadow

HotKeySet ("!s", "Terminate")

Func Terminate ()

Exit

EndFunc

$count = 0

$max = 100001

$o = 0

$Top = 140

$Left = 10

$Right = 1030

$Bottom = 735

WinWait ( "RoseOnline" )

$Pos = WinGetPos ( "RoseOnline" )

$Siz = WinGetClientSize ( "RoseOnline" )

$Left = ($Pos[0] + 90)

$Top = ($Pos[1] + 70)

$Right = (($Pos[0] + $Siz[0]) - 32)

$Bottom = (($Pos [1] + $Siz[1]) - 34)

Sleep (50)

While $count < $max

If $o = 0 Then

$c = PixelSearch ($Left, $Top, $Right, $Bottom, 0x581D00, 1)

EndIf

If Not @error Then

MouseClick ( "Left", $c[0], $c[1], 1, 0 )

EndIf

If @error Then

$o = $o + 1

EndIf

$count = $count + 1

WEnd

I tried using this script but for some reason when I opened "ROSE online" which is what this is for, it would not work at all. I was wondering if it was the game or the script.

Tutorial/almost exact copy from: http://www.autoitscript.com/forum/index.php?showtopic=67782

PLEASE HELP T-T

Share this post


Link to post
Share on other sites
JustinReno

You opened "ROSE online", you need to open "RoseOnline"

Share this post


Link to post
Share on other sites
YourShadow

doesnt work anyway for some reason it just closes down the moment I open it. it meaning the game

Edited by YourShadow

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  

×