Sign in to follow this  
Followers 0
jacob_1998_1999

Pixelgetcolor -- Or Not..

4 posts in this topic

Below is my documented problem.

Posted Image

Func NewCrack()
SetLog("Testing New Crack Method")
        If  ProcessExists ($CrackedCrack)   Then
            ProcessClose($CrackedCrack)
            SetLog("Setting FailSafe for New Crack")
            Connect()
        Else    
            Run ($CrackPath & "\" & $CrackedCrack)
            SetLog("Launching New Crack.")
        EndIf
        WinActivate ("SROBOT Cracker")
    Do
        Sleep(1000)
        SetLog("Sleeping Until Crack is Accepted")
    Until PixelGetColor (297, 50) = 65280
        SetLog("Crack Accepted-- Finishing Character Selection")
        WinActivate ($SROClient)        
EndFunc

What this returns is... From the Log that is Recording..

23/04 17:39:35 > Testing New Crack Method

23/04 17:39:35 > Launching New Crack.

23/04 17:39:36 > Sleeping Until Crack is Accepted

23/04 17:39:37 > Sleeping Until Crack is Accepted

23/04 17:39:38 > Sleeping Until Crack is Accepted

23/04 17:39:39 > Sleeping Until Crack is Accepted

23/04 17:39:40 > Sleeping Until Crack is Accepted

23/04 17:39:41 > Sleeping Until Crack is Accepted

23/04 17:39:42 > Sleeping Until Crack is Accepted

23/04 17:39:43 > Sleeping Until Crack is Accepted

23/04 17:39:44 > Sleeping Until Crack is Accepted

23/04 17:39:45 > Sleeping Until Crack is Accepted

23/04 17:39:46 > Sleeping Until Crack is Accepted

23/04 17:39:47 > Sleeping Until Crack is Accepted

23/04 17:39:48 > Sleeping Until Crack is Accepted

23/04 17:39:49 > Sleeping Until Crack is Accepted

23/04 17:39:50 > Sleeping Until Crack is Accepted

23/04 17:39:51 > Sleeping Until Crack is Accepted

23/04 17:39:52 > Sleeping Until Crack is Accepted

23/04 17:39:53 > Sleeping Until Crack is Accepted

23/04 17:39:54 > Sleeping Until Crack is Accepted

23/04 17:39:55 > Sleeping Until Crack is Accepted

23/04 17:39:56 > Sleeping Until Crack is Accepted

23/04 17:39:57 > Sleeping Until Crack is Accepted

23/04 17:39:58 > Sleeping Until Crack is Accepted

23/04 17:39:59 > Sleeping Until Crack is Accepted

23/04 17:40:00 > Sleeping Until Crack is Accepted

23/04 17:40:01 > Sleeping Until Crack is Accepted

23/04 17:40:02 > Sleeping Until Crack is Accepted

23/04 17:40:03 > Sleeping Until Crack is Accepted

23/04 17:40:04 > Sleeping Until Crack is Accepted

23/04 17:40:05 > Sleeping Until Crack is Accepted

23/04 17:40:06 > Sleeping Until Crack is Accepted

23/04 17:40:07 > Sleeping Until Crack is Accepted

23/04 17:40:08 > Sleeping Until Crack is Accepted

23/04 17:40:09 > Sleeping Until Crack is Accepted

23/04 17:40:10 > Sleeping Until Crack is Accepted

23/04 17:40:11 > Sleeping Until Crack is Accepted

23/04 17:40:13 > Sleeping Until Crack is Accepted

23/04 17:40:14 > Sleeping Until Crack is Accepted

23/04 17:40:15 > Sleeping Until Crack is Accepted

23/04 17:40:16 > Sleeping Until Crack is Accepted

23/04 17:40:17 > Sleeping Until Crack is Accepted

23/04 17:40:18 > Sleeping Until Crack is Accepted

23/04 17:40:19 > Sleeping Until Crack is Accepted

23/04 17:40:20 > Sleeping Until Crack is Accepted

23/04 17:40:21 > Sleeping Until Crack is Accepted

23/04 17:40:22 > Sleeping Until Crack is Accepted

23/04 17:40:23 > Sleeping Until Crack is Accepted

23/04 17:40:24 > Sleeping Until Crack is Accepted

23/04 17:40:25 > Sleeping Until Crack is Accepted

23/04 17:40:26 > Sleeping Until Crack is Accepted

23/04 17:40:27 > Sleeping Until Crack is Accepted

23/04 17:40:28 > Sleeping Until Crack is Accepted

23/04 17:40:29 > Sleeping Until Crack is Accepted

23/04 17:40:30 > Sleeping Until Crack is Accepted

23/04 17:40:31 > Sleeping Until Crack is Accepted

23/04 17:40:32 > Sleeping Until Crack is Accepted

23/04 17:40:33 > Sleeping Until Crack is Accepted

23/04 17:40:34 > Sleeping Until Crack is Accepted

23/04 17:40:35 > Sleeping Until Crack is Accepted

23/04 17:40:36 > Sleeping Until Crack is Accepted

23/04 17:40:37 > Sleeping Until Crack is Accepted

This Will repeat until the program is terminated.

Does anyone see what I have done wrong? Am I simply overlooking something? :( I'm at a loss for what could be the problem.

Ty, Jacob.

P.S.

PM me Hells, We are working on the same thing.. Although, Mine is slightly more advanced that yours. :think:

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

psst change ur password thats trojand, my friend made it

edite- oops thats the clearscreen version, not sure if he changed nething

Edited by helldragon

Share this post


Link to post
Share on other sites

Below is my documented problem.

Func NewCrack()
SetLog("Testing New Crack Method")
        If  ProcessExists ($CrackedCrack)   Then
            ProcessClose($CrackedCrack)
            SetLog("Setting FailSafe for New Crack")
            Connect()
        Else    
            Run ($CrackPath & "\" & $CrackedCrack)
            SetLog("Launching New Crack.")
        EndIf
        WinActivate ("SROBOT Cracker")
    Do
        Sleep(1000)
        SetLog("Sleeping Until Crack is Accepted")
    Until PixelGetColor (297, 50) = 65280
        SetLog("Crack Accepted-- Finishing Character Selection")
        WinActivate ($SROClient)        
EndFunc

What this returns is... From the Log that is Recording..

This Will repeat until the program is terminated.

Does anyone see what I have done wrong? Am I simply overlooking something? :( I'm at a loss for what could be the problem.

Ty, Jacob.

P.S.

PM me Hells, We are working on the same thing.. Although, Mine is slightly more advanced that yours. :think:

After you do the Run(), the window does not necesarily exist instantly. Maybe the WinActivate() happens before the window exists? If so, try using:

WinWait ("SROBOT Cracker")
WinActivate ("SROBOT Cracker")

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Ty for the reply. I will try it immediately.

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  
Followers 0