pixellegolas Posted August 9, 2007 Share Posted August 9, 2007 Hi guys! I have a quite good bot for Archlord but now i want to add HP buffing. I know how to find memory address for HP but how can i read it in autoIT and use it for pressing a buff button? Is there a good script for this? This method should be better then pixelscanning right? But i guess it's hard because the address is different on different comps. Right now my bot buffs, attacks enemies and loots so only thing left is to heal Link to comment Share on other sites More sharing options...
pixellegolas Posted August 9, 2007 Author Share Posted August 9, 2007 Ok, seing that not many people seem to use memory addresses i will try with pixelsearch. I am at work now so i wanna learn the theory during the day Here is a code that i would like to have corrected if anyone can. I dont have access to help files right now so i will later fill in the gaps. Sleep(3000) $color = PixelGetColor($x,$y);Get the color from a specific pixel PixelSearch(50,100,150,200,$color,10);Search for color in a specific area with some shade If PixelGetColor($x,$y)="FF0000" Then;if the color is red start the search over Else send("1");if color is not red then use the key number 1 EndIf As you see i want to search an area for a certain color and if it is not red then press 1. How should i write the IF and so on to make it loop? Thanks Link to comment Share on other sites More sharing options...
gamerman2360 Posted August 10, 2007 Share Posted August 10, 2007 While 1 Sleep(3000) $color = PixelGetColor($x,$y);Get the color from a specific pixel PixelSearch(50,100,150,200,$color,10);Search for color in a specific area with some shade If PixelGetColor($x,$y)="FF0000" Then;if the color is red ContinueLoop Else send("1");if color is not red then use the key number 1 EndIf WEndBut that just sets up the loop. You still need an $x, $y and everything else. Link to comment Share on other sites More sharing options...
pixellegolas Posted August 10, 2007 Author Share Posted August 10, 2007 Thanks alot. As stated in another thread by me i'm having hard time reading pixelcolor in the game archlord. It only returns 0 with a small script snippet. I can't screencapture so finding pixels is really hard Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now