Jump to content
Sign in to follow this  
DirtyBanditos

pixel search for self healing=?

Recommended Posts

DirtyBanditos

--------------------------------------------------------------------------------

Hello all :D

Gif this a Simpel Way for Pixel Search from my Char Life in Scared=?

I Have Made This 2 Picks from my Char i need Help for Made a Simpel Script that look for my live in real time and send f9 wen my live very low is, to drink automated a Heal potion=?. Look pls for my 2 Picks wis Pixel Search thx for Help me Any Coder i hope that gif a way my Auto Heal Projekt :">

I have no idea for beginning wis a simpel PixelSearch way :idiot: and i found not Exampel for Help on This forum.

Link for Pick1 full Live wis my Pixel Search Stads!

http://people.freenet.de/SacredBugedShop/Pick%201.gif

Link for Pick2 Low Live wis my Pixel Search Stads!

http://people.freenet.de/SacredBugedShop/Pick%202.gif

My code test code for pixel serach but i need help pls

#include "GUIConstants.au3"

SplashTextOn ('Auto Heal ver 1.0 Hotkeys F5 on/F6 off', 'Auto Heal !(DirtyBanditos)', 250, 175)

Sleep (3000)

SplashOff ()

WinWaitActive ( "Sacred")

While 1

Global $Paused

HotKeySet("{PAUSE}", "TogglePause")

HotKeySet("{ESC}", "Terminate")

;;;; Body of program would go here;;;;

$SwitchOne = HotKeySet ( "{F5}", "SwitchOne" )

$SwitchTwo = HotKeySet ( "{F6}", "SwitchTwo" )

Select

Case $SwitchOne = 0

SwitchOne ()

Case $SwitchTwo = 0

SwitchTwo ()

Case WinWaitClose ("Sacred")

IamDone ()

EndSelect

WEnd

; =========== Subroutines ===============

; ----------- First switch key ------------

Func SwitchOne ()

Opt("WinWaitDelay",50)

Opt("WinTitleMatchMode",4)

Opt("WinDetectHiddenText",1)

Opt("MouseCoordMode",0)

WinWait("Sacred","")

If Not WinActive("Sacred","") Then WinActivate("Sacred","")

WinWaitActive("Sacred","")

Sleep(100)

Send("F9")

;========== Swap ===============

Opt ( "MouseClickDelay", 30 )

Opt ( "MouseClickDownDelay", 6)

MouseMove ( 435, 405, 2 )

MouseClick( "left", 435, 405 )

;========== Swap ===============

MouseMove ( 345, 405, 2 )

MouseClick( "left", 345, 405 )

Opt ( "MouseClickDelay", 10 )

Opt ( "MouseClickDownDelay", 10 )

EndFunc

; ----------- Second switch key -----------

Func SwitchTwo ()

Opt("WinWaitDelay",100)

Opt("WinTitleMatchMode",4)

Opt("WinDetectHiddenText",1)

Opt("MouseCoordMode",0)

WinWait("Sacred","")

If Not WinActive("Sacred","") Then WinActivate("Sacred","")

WinWaitActive("Sacred","")

Sleep(100)

Send("F9")

;========== Swap ===============

Opt ( "MouseClickDelay", 30 )

Opt ( "MouseClickDownDelay", 6 )

MouseMove ( 435, 405, 2 )

MouseClick( "left", 435, 405 )

;========== Swap ===============

MouseMove ( 345, 405, 2 )

MouseClick( "left", 345, 405 )

Opt ( "MouseClickDelay", 10 )

Opt ( "MouseClickDownDelay", 10 )

EndFunc

; ----------- Exit Program --------------

Func IamDone ()

Exit

EndFunc

While 1

Sleep(100)

Wend

;;;;;;;;

Func TogglePause()

$Paused = Not $Paused

While $Paused

Sleep(100)

ToolTip('Script is "Paused"', 0, 0)

Wend

ToolTip("")

EndFunc ;==>TogglePause

Func Terminate()

Exit 0

EndFunc ;==>Terminate

Edited by DirtyBanditos

Share this post


Link to post
Share on other sites
Insolence

I believe I posted a good explination at the other forum.

Do you need more help?


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites
DirtyBanditos

I believe I posted a good explination at the other forum.

Do you need more help?

<{POST_SNAPBACK}>

Hi Insolence :lol: Yes i need more Input for this Tut,

I have post on Blizzhackers forum but no good help questen post( for help to learn a pixel search for my projekt :D

Post me your link pls i check this out ;)

Thx for your Spend Time for Help me! :idiot:

Edited by DirtyBanditos

Share this post


Link to post
Share on other sites
Insolence

Eh there's one hell of a language barrier here :idiot:

Read my post at blizzhackers. I described exactly how to do it without pixelsearch.


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites
DirtyBanditos

Eh there's one hell of a language barrier here ;)

Read my post at blizzhackers.  I described exactly how to do it without pixelsearch.

<{POST_SNAPBACK}>

:D Hm This my Tread on Blizzhackers wis no message on his!Pixel Tread wis no Message!

and i have search for you tut but not found post me pls the link to your Post on Blizzhackers :lol: and i check it out.

Thx Insolence :idiot:

Share this post


Link to post
Share on other sites
Insolence

You also posted here: http://www.blizzhackers.com/viewtopic.php?t=238701

Edited by Insolence

"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites
DirtyBanditos

You also posted here: http://www.blizzhackers.com/viewtopic.php?t=238701

<{POST_SNAPBACK}>

:idiot: Sry i check your Message ;Thx for info :D I will Test This and Post My Code for Probs.

I go to Sleep , Thx for your Tip wis The ini for pixel Search !

Have a nice day.

Post from Blizzhackers Insolence!

Too hard to read without formatting and stuff.

Just do some math and get the height of the globe and write all the values to an ini file. Read the values into an ini file and you're done.

Probably only need 20 values, to heal at every 5th percent or something.

__Also this is best posted in the AutoIT forum.

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  

×