Eragon

AutoAim Discussion, Needs help.

4 posts in this topic

#1 ·  Posted (edited)

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



#2 ·  Posted

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.

1 person likes this

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (2016-08-18 - Version 1.4.6.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2016-12-04 - Version 1.2.2.0) - 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
Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

#3 ·  Posted

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

Share this post


Link to post
Share on other sites

#4 ·  Posted

:)


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (2016-08-18 - Version 1.4.6.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2016-12-04 - Version 1.2.2.0) - 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
Tutorials:
ADO - Wiki

 

Share this post


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