Jump to content

Recommended Posts

Posted

Did you read what I said? Move the {Alt Up} command AFTER the mouseclick.

Indeed, thanks to you, it works at the moment. Finally, it works only in this small script in stand alone :

;SciTE Version 1.76 Mar 30 2008 21:05:14

Opt("WinWaitDelay",100)
Opt("WinTitleMatchMode",4)
Opt("WinDetectHiddenText",1)
Opt("MouseCoordMode",0)
WinWait("Guild Wars","")
If Not WinActive("Guild Wars","") Then WinActivate("Guild Wars","")
WinWaitActive("Guild Wars","")

Sleep(2000)

Send("{z down}")
Sleep(675)
Send("{z up}")
$Found = 0

Send("{Alt Down}")

Sleep(500)

While $Found = 0
    $Coord = PixelSearch( 400, 150, 800, 400, 0x99FF00, 10, 2 )
    If NOT @Error Then
        $Found = 1
        Send("{CTRLDOWN}")
        MouseClick("Left", $Coord[0], $Coord[1],2,0)
        Send("{CTRLUP}")
    EndIf
wEnd


Send("{Alt Up}")

But when I integrate it into my final script it does not work any more:

While moving the character clicks well the NPC Scoumaster Arne, but I do not understand why, he takes place near him and expects from long seconds before re-clicking him to take the quest... :D

I believe that I am going to abandon... o:) all this drives me crazy :P ... Finally, for a simple worker I shall have tried.. :mad: Thanks to you all for your invaluable help :) , and good continuation. And long life to America!!! :P

I am a simple worker, but I do my best

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...