Sign in to follow this  
Followers 0
Hyflex

PlEaSe Help Me :D

5 posts in this topic

Need major help please.

http://www.autoitscript.com/autoit3/docs/f...MouseGetPos.htm Im useing that to get my position...

So i can do: http://www.autoitscript.com/autoit3/docs/f...xelGetColor.htm

but its coming out as 0 and 000000 for everything.

I want to be able to do: http://www.autoitscript.com/autoit3/docs/f...PixelSearch.htm or: http://www.autoitscript.com/autoit3/docs/f...xelChecksum.htm

So i can heal when life gets past X point. So i can Teleport to town when i get past X point.

Share this post


Link to post
Share on other sites



Need major help please.

http://www.autoitscript.com/autoit3/docs/f...MouseGetPos.htm Im useing that to get my position...

So i can do: http://www.autoitscript.com/autoit3/docs/f...xelGetColor.htm

but its coming out as 0 and 000000 for everything.

I want to be able to do: http://www.autoitscript.com/autoit3/docs/f...PixelSearch.htm or: http://www.autoitscript.com/autoit3/docs/f...xelChecksum.htm

So i can heal when life gets past X point. So i can Teleport to town when i get past X point.

What are you now expecting from us ? There is no question in your post.

Showing us some code snippet to shows the problem you have might help ...


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

What are you now expecting from us ? There is no question in your post.

Showing us some code snippet to shows the problem you have might help ...

ERmm, How do i get the boxes for: PixelSearch & PixelChecksum and also why isnt the color thing working???

The coordinates for the rectange....

Edited by XxXGoD

Share this post


Link to post
Share on other sites

ERmm, How do i get the boxes for: PixelSearch & PixelChecksum and also why isnt the color thing working???

The coordinates for the rectange....

.... Because ....

(maybe also read the second line?)


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

.... Because ....

(maybe also read the second line?)

Im tryuing to do something like the below what my friend did but add more options.

; Key Delay Options
Opt("SendKeyDownDelay", 1)
Opt("SendKeyDelay", 1)
; Key Delay Options End


; Hotkey Settings 
HotKeySet("{END}","Escape")
; Hotkey Settings End


; Main Settings / Constants
$Petrot = 0x0B10000
; Main Settings / Constants End

; Pet/Mount Life Checker
While 1
    
      $coord = PixelSearch( 176, 100, 178, 105, $Petrot, 1 )
        If @error Then
    Send("{8 down}")
       Sleep("100")
      Send("{8 up}")
      Sleep("100")
  EndIf
; Pet/Mount Life Checker End


; Characters Attack/Pickup
  $coord = PixelSearch( 426, 59, 429, 63, 0X000000, 1 )
        If @error Then
    Send("{v down}")
        Sleep("100")
    Send("{v up}")
                    Send("{s down}")
                    Send("{s up}")
                    Send("{s down}")
                    Send("{s up}")
        Sleep("100")
    Send("{a down}")
        Sleep("100")
    Send("{a up}")
                    Send("{s down}")
                    Send("{s up}")
                    Send("{s down}")
                    Send("{s up}")
        Sleep("100")
    Send("{a down}")
        Sleep("100")
    Send("{a up}")
                    Send("{s down}")
                    Send("{s up}")
                    Send("{s down}")
                    Send("{s up}")
        Sleep("100")
    Send("{a down}")
        Sleep("100")
    Send("{a up}") 
                    Send("{s down}")
                    Send("{s up}")
                    Send("{s down}")
                    Send("{s up}")
        EndIf

Sleep("1000")
WEnd
; Characters Attack/Pickup End

; Exit Program
Func Escape()
Exit
EndFunc
; Exit Program End

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