Register for your free account! | Forgot your password?

You last visited: Today at 18:36

  • Please register to post and access all features, it's quick, easy and FREE!


Help with target code

Old   #1
elite*gold: 0
Join Date: Nov 2008
Posts: 55
Received Thanks: 7
Help with target code

Been working on my own bot now, what I've managed to do so far works great, but I can't work out how to make sure the target is in your line of sight. I tried to use pixelsearch to find the blue circle around the mobs, but it just won't pick it up at all.

Any suggestions?

WeeMan411 is offline  
Old   #2
elite*gold: 0
Join Date: Nov 2008
Posts: 336
Received Thanks: 315
What i did was made a conditional searching function which means if the target circle is in left of screen, press and hold "a" until the target circle is in the centre of the screen. or if the target circle is in the right of the screen, press and hold "d" until the target circe is in the centre of the screen..

If pixelsearch(Left half of screen area coordinates, target circle color) = True Then
Send("{a down}")

While 1
If Pixelsearch(Centre "in front of character" area coordinates, Target circle color) = True Then
Send("{a up}")
Hope this helps

Also, the blue target circle can vary in color quite alot, so in the "shade variation" option in the Pixelsearch(x1,y1,x2,y2, blue color, shade variation)
i made mine 50.

The blue color i use is 0x0304F1 with a shade variation of 50 and i havent had a problem yet

Jatacid is offline  
1 User
Old   #3
elite*gold: 0
Join Date: Nov 2008
Posts: 55
Received Thanks: 7
Huge help there, targeting fully working now!!

Just got a few more bits left to do and got it fully working. Thanks again.

Making the bot for my 63 zerker, so anyone with a zerker of similar level who wants a bot to farm easy mobs for potions, give me your email and I can send you the .exe or source.
WeeMan411 is offline  

« Previous Thread | Next Thread »

Similar Threads
B> DriftCity CBS Code | S> War Rock Code / Bounty Bay Code etc.
Hi, wie schon im Titel beschrieben. In der CBS vom November gab es Bonusodes für mehrere Spiele. Ich benötige DriftCity Codes. Kann sonst für alle...
1 Replies - Trading
[Help] Invalid Target/Cannot find Target(ZSZC)
Some write they have Problems with ZSZC SRO-DB, by mobs for example "Ishade/Penon/Ujigi(lvl50-56)", in the Textbox right side down a message:...
4 Replies - SRO PServer - Discussions / Questions
WPE Pro target wow
kleine frage, wieso kann ich wow nichtmehr "ins target nehmen" mit WPE pro 09? is nie in der liste :(
1 Replies - WoW Ask the Experts
Ok i know that MrArgus warps you to target and "Usually" targets mob for you. My question is there a program that while running you can just spam a...
3 Replies - Final Fantasy XI

All times are GMT +1. The time now is 18:36.

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.