Jump to content

Running Script Problem


Recommended Posts

can we see your code?

Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end.

Link to comment
Share on other sites

You can apply the solution to your problem ....

BUT WHERE IS THE CODE ! ^_^

[s][font="Impact"]░▒▓▓►DrKovra◄▓▓▒░[/font][/s]The only thing I [sup]know [/sup]is that I don't know [sub]nothing[/sub]--------------- __________------------------------------ __________---------------

Link to comment
Share on other sites

My script is for 4 nick, my screen has 4 game's windows and here is my code:

Global $Paused, $counter = 0
HotKeySet( "{ESC}", "Quit"); quit = ESC
HotKeySet("{PAUSE}", "TogglePause")
WinWaitActive("Element Client")
While 1
    
mouseclick("left",252,10)   
if PixelSearch(243,206,243,206,0x217EC8) <> @error Then
    if PixelSearch(254,213,254,213,0x004E8C) <> @error Then
        if  PixelSearch(257,209,257,209,0x99C2E3) <> @error Then
            send("{Printscreen}")
            sleep(500)
            Shutdown(1)
        EndIf
    EndIf
EndIf
sleep(1000)
do
sleep(500)                      
until PixelSearch(104,36,104,36,0xB10205) <> @error

send("0")
sleep(2000)
send("{Tab}")
sleep(1000)
send("1")
sleep(1000)
send("1")
sleep(1000)

mouseclick("left",757,11)   
sleep(1000)
;do
sleep(5000)                 
;until PixelSearch(610,39,610,39,0xEB0301) <> @error
send("0")
sleep(2000)
send("{Tab}")
sleep(1000)
send("1")
sleep(1000)
send("1")
sleep(1000)

mouseclick("left",292,389)  
sleep(1000)
Do
sleep(500)                  
until PixelSearch(100,417,100,417,0xFF543F) <> @error
send("0")
sleep(2000)
send("{Tab}")
sleep(1000)
send("1")
sleep(1000)
send("1")
sleep(1000)

mouseclick("left",760,389)  
sleep(1000)
Do
sleep(500)                  
Until PixelSearch(606,418,606,418,0xB10205) <> @error
send("0")
sleep(2000)
send("{Tab}")
sleep(1000)
send("1")
sleep(1000)
send("1")
sleep(1000)
    
    

mouseclick("left",252,10)   
sleep(1000)
Do
sleep(400)              
until PixelSearch(146,37,146,37,0xDF0303) = @error
sleep(1000)
send("2")
sleep(1000)
send("2")
sleep(1000)
send("0")
sleep(1000)


mouseclick("left",757,11)
sleep(1000)
do
sleep(500)              
Until PixelSearch(656,38,656,38,0xD1251B) =@error
sleep(1000)
send("2")
sleep(1000)
send("2")
sleep(1000)
send("0")
sleep(1000)

mouseclick("left",292,389)
sleep(1000)
Do
sleep(400)                  
until PixelSearch(151,419,151,419,0xDF0303) = @error
sleep(1000)
send("2")
sleep(1000)
send("2")
sleep(1000)
send("0")
sleep(1000)

mouseclick("left",760,389)  
sleep(1000)
do
sleep(400)                  
until PixelSearch(660,419,660,419,0xDF0303) = @error
sleep(1000)
send("2")
sleep(1000)
send("2")
sleep(1000)
send("8")
sleep(1000)
;mouseclick("left",910,433,2)
;sleep(3000)
send("0")
sleep(1000)

WEnd
Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ToolTip('Script is "Paused"',0,0, $counter, 1)
    WEnd
    ToolTip("")
EndFunc

Func Quit() 
    Exit
EndFunc
Link to comment
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
 Share

  • Recently Browsing   0 members

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