Live Help
Membership
You are a guest!

Register Today!

Log In
Reset Password
Game Network
Community Forum

MMO GAME LIST
World of Warcraft
Age of Conan
Anarchy Online
Archlord
Cabal Online
City of Heroes
City of Villains
Dark Age of Camelot
Darkfall Online
Diablo 2
Dungeons and Dragons
Dofus
Eve Online
Everquest 2
Final Fantasy XI
Guild Wars
Hero Online
Knight Online
Lineage 2
Lord of the Rings Online
Maple Story
Ragnarok Online
Runescape 2
Second Life
SilkRoad Online
Star Wars Galaxies
Tibia
Warhammer Online

FPS GAME LIST
Call of Duty
Combat Arms
Counter Strike
Halo

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> AOC Script - Auto combat with in combat check
post Nov 4 2009, 09:41 PM
Post #1

conKo



In Training
**

Group: Members
Posts: 14
Joined: 15-November 08
Member No.: 773,606






This script can do the following:

1. Turn your character in a circle to auto-target mobs in your line of sight
2. Start swinging combos at the target
3. If you are no longer in combat, it will return you to combat check stage after finishing remaining combos

Setup

To setup this script you will need the following:

1. AutoIT version 3
2. This script
3. Some patience

Step 1 - Enabling AoC Interface Options (Basic Window):
Enable Auto-Targetting = On
Enable Target Auto-Facing = On

Step 2 - Finding the Correct Pixel to Check for Combat and setup Combos:

I've included a download for a Pixel Position script. The combat script has it included, but it will require you to run the combat script, get your pixels, then exit the script before editing. Or you can run the Pixel Position script, edit, then run your combat script. It is up to you. Both Pixel Position tooltips end by left clicking your mouse or hitting escape.

This script uses 'PixelGetColor' to check for a change in the GUI. If you look carefully, when you target something or enter into combat, your bottom right bar changes slightly. It will have the target's health and other bars displayed. This change also changes a few pixels that are always the same color. What happens is the system displays the targets info on top of the bottom toolbar. The bottom toolbar pixels are always the same color, unless this target info is on top of it.

So, with 'PixelGetColor' we setup our "Non-Combat Pixel Color" and test it against what is happening on screen. Our "NCPC" is a standard and if our check tells us that the pixel we are checking is different than our "NCPC" the script knows that we are in combat or have targetted something.

You will need to find your pixel (x,y) coordinates. I've included a tool tip that will tell you the position of your cursor.

You will need to find (x,y) coordinates for your target check and (x,y) coordinates for your three to five onscreen combo buttons (1,2,3,q,e).

I've found that the location of the bottom bar that is just over the #5 slot, where it starts to bevel up at a 45% angle is the best pixel area for target check. In my testing, this has been the best spot to check for a pixel. I have good luck with the edge pixel on the 45% angle border. I found this to work well, but you may have to work with the coordinates a bit before you find one that works for you.

You can use a pixel almost anywhere on the combo buttons, however I've found that the top left corner of each button works the best. Just make sure the button is in down state (Not moved up when you mouse over it) when you record the pixel location.

After finding the pixels you want to try to use record them on paper or wherever and then click the mouse. Unfortunatley at this time getting the position automatically by click is unreliable, so you still have to manually enter pixel locations. It is much more reliable this way.

After clicking, the script will want to run, but you don't have variables working, so just hit escape to close out the script.

Step 3 - Open the Script in your Editor and Make Changes
Now you'll need to open the script in your editor and begin to make changes.

The first change is to set your (x,y) coordinates in the $portraitx, $portraity variables.

The second change is to set your combo buttons - they are respectively
$atk1x
$atk1y
.
.

$atk5x
$atk5y

Next, you'll be able to fool around with your pauses, or in AutoIT your "Sleep". This is in milliseconds.

Values for attack/combo keys 'q' and 'e' or '4' and '5' are currently commented out since many people may not be to the level where they have more combo buttons. To make these function, just put in your pixel values and uncomment the sections by removing the ';' from each line that is commented referring to the fourth and fifth combo buttons.

There are four sections you'd need to uncomment.


In order to run this script, I believe you'll need to be in windowed mode, but I haven't tested it in full-screen so I'm not sure. Just, start the script and it will fire off.

If you want to pause, you can use the 'Pause' button (Or assign a different button within the script). To exit the script, you can hit escape.

Attached File  aoc_auto_pixelpos.zip ( 443bytes ) Number of downloads: 7

Attached File  auto_combat_aoc_v3_0.zip ( 1.53K ) Number of downloads: 6
Go to the top of the page
 
+Quote Post
post Nov 4 2009, 09:41 PM
Post #

Elite Membership


To get the most out of MmorpGuides.com, please view the following information.












Already a Member?

With an Elite Membership you can. . .

  • Reach the highest levels in no time
  • Have one of the most powerful characters in your game
  • Become a valuable member of your clan or guild
  • Become part of a caring and helpful community of gamers

Elite Members enjoy. . .

  • 1,660+ Cheats - tons of working, high quality cheats
  • 1,550+ Guides - We have one of the most comprehensive collections of guides on the net
  • 539+ Bots and macros - Level up quickly, even while you sleep!
  • A chance to win free prizes such as an amazing Playstation 3! And free gold and powerleveling!

No risk, only huge benefits!

  • Your investment can pay for itself in days!
  • Earn gold that you can trade for real money
  • Sell your high level items and characters for a profit!
  • Get tons of expensive guides and cheats in one spot for one small price

Money Back Guarantee!

Not 100% satisfied? We have a 24 hour, money-back guarantee! Contact us for a prompt and courteous refund!

Upgrade to an Elite Membership now!

Not A Member?

Join today and get access to all these great features!

  • Access to newly submitted cheats and guides
  • Download newly submitted bots and macros
  • Chat about your favorite game
  • Submit working content for a FREE Elite Membership!
  • And lots more!
Register Today!
Go to the top of the page
 
Quote Post
post Nov 4 2009, 09:56 PM
Post #2

Adub



Admin
Group Icon

Group: Administrators
Posts: 2,704
Joined: 11-March 06
From: Hiding
Member No.: 74






Files are clean


--------------------
Want to make some money with MmorpGuides? Check out MMO Gold!
OR you can join our Affiliate Program!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 


> Board Footer
Time is now: 22nd March 2010 - 01:22 PM