Jump to content
Eragon

AutoAim Discussion, Needs help.

Recommended Posts

Eragon

Hi there, i'm new to the forums and looking for some help. Any tip wil be appreciated.

I'm making an autoaim Bot for a 2d mmorpg game. The program is working OK, except for some minor issues:

What i'm doing is searching using pixelsearch the color of the name below the characters, after getting it i'm positioning the mouse -30 pixels up their name.

The problem is that when their name is too long, the program following the logic finds a pixel, goes up 30 pixels up, but because of the name being too long it will not target the character.

Summing it up: since the X coordinate is displaced by the pixel which is far away from the character due to their name being too long it will not proper autoaim the character.

Any helps?

I thought that i could search for the first pixel colour of the name, and the last, and then get the mid-point so i get exactly the X coordinate where the character is...

The problem is that the pixel search is looking for a pixel around an invisible rectangle around my mouse pointer so i can't get exactly the first and last pixel around the name...

 

Here is an image for you to visualize it: 

If you see the name Leminer, if the autoaim gets the "L" blue pixel colour it will not hit the character.

Thanks you in advance,

Yours sincerely: Eragon

 

Edited by Melba23

Share this post


Link to post
Share on other sites
water
1 hour ago, Eragon said:

I'm making an autoaim Bot for a 2d mmorpg game.

Seems you didn't read the forum rules on your way in.
I suggest to do so now and you will see why you do not get any support on this subject.

  • Like 1

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
Eragon

Please close it. I will make another one with a legit question.

Share this post


Link to post
Share on other sites
water

:)


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×