[REQUEST] 12Sky2, macro,autoit

09/28/2009 10:00 skite1#1
to all hackers and programmers, can someone help us to make a macro?

i have created one with autohotkey but it is lame. :(

mania engine is undetected until u freeze the value.

but we don't know how to find the autopill address.

thankyou in advance.

btw this is for 12sky2ph
09/30/2009 14:42 Black0ne#2
As i Said for Tronghao78.

Quote:
There are many other ways to use Autopill and many programs to do it, just for example:
Code:

Func PVP()
Local $Health, $Spirit ; => Local Definition of Var's as i use MustDeclareVars to prevent any confusion
$PVP = NOT $PVP ; => Toogle ( Switch's the Func ON and OFF, preventing any need for an off Function
While $PVP = True ; => While Its Set ON.... Do the Following:

$Health = PixelGetColor(207, 8) ; => Loc on Screen to Check HP Color
if $Health <> 0x8C2D39 Then ; => Check the Hex Colorcode at the Loc. if it isn't That Color Heal....
Send( "{1}" ) ; => Heal Keys
Send( "{3}" ) ; => Heal Keys
EndIf ; =>If Heal Color is Red at the Position( 100% ) Then Do Nothing

$Spirit = PixelGetColor(130, 24) ; => Loc on Screen to Check Spirit Color
If $Spirit <> 0x684EE1 Then ; => Check the Hex Colorcode at the Loc. if it isn't That Color, Spirit....
Send( "{2}" ) ; => Spirit Key
EndIf ; =>If Heal Color is Blue at the Position( 15% ) Then Do Nothing

Sleep(1) ; => if I don't need to heal or spirit then sleep for 1ms then recheck, to prevent lag of the script running you make it sleep when it isn't active.

;Send("`") ; => used to use Auto Pickup. for like Events such as Monster Spawning for loads of Prize Purses :P, tho there are better ways to to this but i only use it for events so spamming works fine.

WEnd ; => Close the Loop, Last So that It Continue's to Sleep when off and Continues to Heal and/or Spirit when needed, else it will only do it once then stop.

EndFunc







Basically That Function will check Weather my hp is > 100% and if my Spirit is > 15%, if it is then it will Spam my 1 & 3 HP Keys and/or 2 Spirit Key to Recover,With this You can be tanking loads of people, without needing to heal or spirit.

Hope this Helps Someone.
This is 1 Way to continue doing Macro's such as AutoPot Even with the Ingame Autopot function removed.