Jump to content
Sign in to follow this  
dutch-force

Making something for game

Recommended Posts

dutch-force

Well i posted something in an old thread to but k i tought i'd make a new topic

i'm trying to make something for mu

It has to auto attack monsters and auto heal and auto pickup

the auto pickup part is done

Well for the auto attack it needs to get the coords or pixels what ever i don't know of the monsters so it can left click it how can this be done?

Then for auto heal how can i get a script to know how far my health has dropped is this also with pixels or what?

well i hope somebody can help me i'm a total n00b at this but can learn fast :whistle:

Share this post


Link to post
Share on other sites
SupraNatural

Try something like;

$health = PixelGetColor ( x , y )
If $health = 16711689 Then
send("q")
endif

;16711689 = pure red (not sure if the same color as your health bar)
;0xFF0009 = pure red hex code

Im not sure why the autoit window viewer sees it as 0xFF0009 instead of 0xFF0000


Visit http://www.blizzedout.com/forums/register....referrerid=8306 for the top blizzard hacks. WoW, TfT, D2/LOD, CS. You name it we got it!

Share this post


Link to post
Share on other sites
dirtybob

Can we get a look at your auto pick up? Looting in World of Wacraft. Im struggling with that part.

:whistle:

Share this post


Link to post
Share on other sites
dutch-force

its just some stupid thingy pressing space all the time since thats the key to pick up things

Share this post


Link to post
Share on other sites
dutch-force

by the way

$health = PixelGetColor ( x , y )
If $health = 16711689 Then
send("q")
endif

;16711689 = pure red (not sure if the same color as your health bar)
;0xFF0009 = pure red hex code

$health = PixelGetColor ( x , y )

Thats the line where is should fill in the coord from what point i want it to use the potion or what?

Cuz well with meh n00bie skills i figured out this script will press q on the coord i set at the pixelgetcolor and then when it gets the color you send it will press the q right?

Or isn't that correct? lol sorry i'm still a total n00b at this?

Share this post


Link to post
Share on other sites
SupraNatural

Actually i messed up it should be;

while 1
$health = PixelGetColor ( x , y )
If $health = 16711689 Then
send("q")
wend
endif

Ok all you need to do is set PixelGetColor ( x , y ) to the point you want to the script to look for to NOT be red at a certain time.


Visit http://www.blizzedout.com/forums/register....referrerid=8306 for the top blizzard hacks. WoW, TfT, D2/LOD, CS. You name it we got it!

Share this post


Link to post
Share on other sites
dutch-force

This is what i made of it :\ but it doesn't work

HotKeySet("!{F8}", "AutoHeal0rz")
HotKeySet("+{F8}", "UnAutoHeal0rz")

Global $pick = 0

While 1
$health = PixelGetColor ( 418 , 897 )
If $health = 0x030503 Then
send("q")
Wend
endif


;( 418 , 897 ) is set at the point where you should be healed
;0x030503 = the HeX color of the pixel it will change to when you go lower then the amount of healt
func AutoHeal0rz()
$pick = 1
endfunc

func UnAutoHeal0rz()
$pick = 0
endfunc

here i have a picture how it all looks and where it should start healing maybe it will clear everything up :whistle:

Posted Image

Edited by dutch-force

Share this post


Link to post
Share on other sites
dutch-force

aha yeh that sounds pretty good damn why didn't i think of that earlier :\

well really thnx for teh help on autoheal :whistle:

Share this post


Link to post
Share on other sites
SupraNatural

Also if that doesn't work try this script

HotKeySet("!{F8}", "AutoHeal0rz")
HotKeySet("+{F8}", "UnAutoHeal0rz")

Global $pick = 0

While 1
    $HPBox = PixelSearch(197, 988, 279, 1012, 0x020401, 3)
    If Not @error Then
        Send("Q")
        ExitLoop
    EndIf
Wend



;( 418 , 897 ) is set at the point where you should be healed
;0x030503 = the HeX color of the pixel it will change to when you go lower then the amount of healt
func AutoHeal0rz()
$pick = 1
endfunc

func UnAutoHeal0rz()
$pick = 0
endfunc

Visit http://www.blizzedout.com/forums/register....referrerid=8306 for the top blizzard hacks. WoW, TfT, D2/LOD, CS. You name it we got it!

Share this post


Link to post
Share on other sites
dutch-force

hmmz i problem the coords r wrong with the color :\

i need to get it while full screen how can i record the coords n color while having mouse on it in full screen?

Share this post


Link to post
Share on other sites
SupraNatural

with the autoit window tool it pause the information when u press it, like mouse pos, color under mouse, etc.

If i had MU i would be glad to help you more.

Edited by SupraNatural

Visit http://www.blizzedout.com/forums/register....referrerid=8306 for the top blizzard hacks. WoW, TfT, D2/LOD, CS. You name it we got it!

Share this post


Link to post
Share on other sites
dutch-force

nvm i know :whistle: k i'll go and try it

well you can download it for free www.muonline.com :dance: if that helps lol

its really much better then d2

Edited by dutch-force

Share this post


Link to post
Share on other sites
dutch-force

cool :whistle: if you want you can add meh on MSN silent__pretenderr@hotmail.com

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.