Help - Search - Members - Calendar
Full Version: Macro Help?
AC Tools Everything Macro > AC Tool Macros > Other Macros
forgotten88
Ok i got the basics of this but i wanted to make a macro that would Left click a certain area in a game
to explain more in detail certain places in lineage 1 and lineage 2 you can spawn more monsters in a area
by moving youre charcter back and forth well you can do this by left clicking in locked areas.


So how would i make the macro left click in an area on the screen per say i wanted it to left click but i want it to click here

................................................. (-> <-) on the screen in game.?
Bear
Take a Screen Shot of your Game Screen. Open the Saved Screen shot in some Editor (Ex:Paint) move the cursor to the location you'd want the leftclick to happen, Note the X,Y info on the status bar of the Paint program.

CODE
Constants
  MouseX = First Number from Paint goes here
  MouseY = Second Number from Paint goes here
End
SetActiveWindow <Your Game Name>
delay 10 sec
MousePos 25, 25
delay 2000
MousePos $MouseX, $MouseY
LeftClick
forgotten88
Wow thank you much. now the problem is the Timing on the clicking is wayy to slow how would i speed it up persay like if the tool was clicking every 5 secounds to like every .5 secounds
Bear
QUOTE(forgotten88 @ Oct 15 2009, 08:01 PM) *
Wow thank you much. now the problem is the Timing on the clicking is wayy to slow how would i speed it up persay like if the tool was clicking every 5 secounds to like every .5 secounds


Have you tried looking up the word DELAY?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.