sharkyak47 Posted September 23, 2009 Share Posted September 23, 2009 hi all..., any1 can tell me please a code for autoIt that auto-leftclick the closest target...i am looking for this for over a week and i still haven't fount it. i want to create a 12sky2 bot that autoselect monsters.(aeria version if matters) thank you all... Link to comment Share on other sites More sharing options...
jvanegmond Posted September 23, 2009 Share Posted September 23, 2009 Sure, just run this: AutoLeftClickTarget("Target=Closest") github.com/jvanegmond Link to comment Share on other sites More sharing options...
LarryDalooza Posted September 23, 2009 Share Posted September 23, 2009 I think your syntax is incorrect... try... AutoLeft.Click.Target { Target.Closest } AutoIt has helped make me wealthy Link to comment Share on other sites More sharing options...
jvanegmond Posted September 23, 2009 Share Posted September 23, 2009 My bad. Much appreciated, Larry. github.com/jvanegmond Link to comment Share on other sites More sharing options...
PsaltyDS Posted September 23, 2009 Share Posted September 23, 2009 The cool thing is that it works for other verbs besides Autoleft.Click: SplatterWithBFG.Target{ Target.Closest } Let the carnage begin! Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted September 23, 2009 Share Posted September 23, 2009 don't forget the sause .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Yashied Posted September 23, 2009 Share Posted September 23, 2009 Wow, how many ways, I will try them all. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
Avro Posted September 23, 2009 Share Posted September 23, 2009 hi all...,any1 can tell me please a code for autoIt that auto-leftclick the closest target...i am looking for this for over a week and i still haven't fount it.i want to create a 12sky2 bot that autoselect monsters.(aeria version if matters) thank you all...To the OP: This site hates gamers and they will ridicule you if you show the slightest ignorance. Ignore the previous posts.Autoit is a script language and doesn't know how to play your game. It can't know your closest (or any)target.You can use it to control your keyboard and mouse to play almost any game, but it cannot see your game. At most it can take a small snapshot and compare it to another or get the color of a pixel on your screen (all this requires you to know the location). You need to read and learn what autoit can do before you post about a specific application (especially if it is a game, cause they'll pounce on you).To answer your question (just incase English is not your best language) and you were asking how to automatically "Left" click your mouse closet to your pointer you would use:MouseClick ("left")However MouseClick ("left",$x,$y,1,10) where $x and $y are the coordinates of the closet target might help you as well.good luck. Link to comment Share on other sites More sharing options...
Yashied Posted September 23, 2009 Share Posted September 23, 2009 (edited) This site hates gamers and they will ridicule you if you show the slightest ignorance.Really? I think this forum does not like the foolishness, but not gamers. Edited September 23, 2009 by Yashied My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
jvanegmond Posted September 23, 2009 Share Posted September 23, 2009 Avro, you are quite incorrect. I have helped botters in the past on many occasions, I have even released bots of my own, yet I am a MVP. That should be proof enough that this forum does not hate botters. It is the ignorance that botters often show that we all hate. github.com/jvanegmond 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