Con Posted September 6, 2007 Share Posted September 6, 2007 Hi im trying to make a bot and im having a bit of troublemy codehotkeyset("{F1}","fight")hotkeyset("{esc}","terminate")func terminate() ExitEndFuncfunc fight() $inp=inputbox("Sleep","How long do you want to Sleep in between clicks","2000") $pos=mousegetpos() $gcol=PixelGetColor($pos,$pos) while 1=1 pixelsearch(100,100,100,100,$gcol) if not @error Then mouseclick("left",$pos[0],$pos[1]) sleep($in) EndIf WEndEndFuncwhile 1=1;just to keep bot goingWEndWhat i want to doattack an enemy (one at a time)when i kill my enemy start attacking againi need it to know when a enemy is dead because it goes crazy and clicks on 5 enemys if some one can help me i would appreciate it thankyou in advance Hello? Link to comment Share on other sites More sharing options...
realkiller Posted September 6, 2007 Share Posted September 6, 2007 you have to look for a pixel on his bodey when he is dead Remote 3.1 BetaRemote Media Player ControlUSB Security 1.2 Link to comment Share on other sites More sharing options...
Con Posted September 6, 2007 Author Share Posted September 6, 2007 you have to look for a pixel on his bodey when he is deadthey look the same when they die all they do is fall to the ground Hello? 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