Jump to content
Sign in to follow this  
zvvyt

What have I done wrong?

Recommended Posts

zvvyt

winactivate("RF Online")
hotkeyset("{ESC}","quit")
global $mobhpbar2 = pixelsearch(560,83,723,89,13186877)
sleep(1000)
while 1
$mob = PixelSearch(3,94,1276,923,855825,2)
if $mob = @error Then
    Do
    mouseclick("middle","",639,552,1)
    sleep(1000)
    $mob = PixelSearch(3,94,1276,923,855825,2)
until $mob = not @error
EndIf
if $mob = not @error Then 
    mousemove($mob[0],$mob[1],0)
EndIf
$mousecolor = pixelsearch($mob[0],$mob[1],$mob[0]+26,$mob[1]+34,16711752,20)
if $mousecolor = @error then 
    mouseclick("middle","",639,552,1)
    ContinueLoop
EndIf
if $mousecolor = not @error Then mouseclick("primary",$mob[0],$mob[1],2,0)
$mobhpbar1 = pixelsearch(560,83,723,89,13186877)
if $mobhpbar1 = @error then 
    mouseclick("primary",639,622,1,0)
    do 
        MouseClick("middle",639,552,1)
        sleep(1000) 
        $mob = pixelsearch(3,94,1276,923,855825,2)
    until $mobhpbar1 = not @error 
EndIf
if $mobhpbar1 = 1 then 
    do 
    send("2")
    sleep(6500)
    send("1")
    sleep(6500)
until $mobhpbar2 = @error
EndIf
WEnd
func quit()
    Exit
EndFunc

when i launch this one it tabs into the game and it places the mouse outside the screen (using window mode) and when I pull the mouse into the screen it begins to spin the whole screen.

any solution?

Share this post


Link to post
Share on other sites
zvvyt

when you hold down rightclick and moves the mouse the screen spins.

but i can't find why it is spinning

Share this post


Link to post
Share on other sites
zvvyt

no

it's like the camera is spinning around me (it's changing angle around me)

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.