Jump to content

PlEaSe Help Me :D


Hyflex
 Share

Recommended Posts

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.

Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • Developers

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?)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
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...