Total Posts:107 Joined:2007
|
|
Hello,
I've had a few people ask for the combo script that I made for my auto combat script. This script is a bit different as it uses PixelSearch instead of PixelGetColor. However, it seems to be rock solid.
You will need the following:
1. AutoIT v3
2. My PixelPos and Color Script
3. Patience
First Step - Find the correct pixel locations to check if you need to press a combo button
1. Run the game and run then run my pixel position/color script.
2. Target the top left of the '1' button in down state (Not raised up)
3. Hover over this location and record the (x,y) position as for attack key 1 top left position
4. Do the same for the top right position, I use the same (y) coordinate for all three (1,2,3) buttons
5. Do the same for each button. You need top left and top right of each button - however you can use the same (y) coordinate for the (1,2,3) buttons and then same (y) coordinate for (q,e), since they are the same distance vertically.
6. Now you need to find the color range to check for. In this case, you want to activate one of the buttons by pressing a combo. You'll see the button that is next in the attack will light up an orangish color. You need to find that color using the Pixel Position/Color script - hopefully close to the same location that you setup originally. You should only need this one time - since all the buttons are the same color when lit up.
(This script uses the active color because it searches the range of pixels for a change to that color. If that color is found, it will press the button. Remember, you want the ACTIVE color not the color of the button when it is not lit up.)
Once you find the color, record it.
7. Make changes in the script for your positions and color. This is somewhat detailed in the script.
Please let me know if you have questions.
| Attachments: |
- aoc_auto_combo_v1_0.zip Register to unlock hidden link
- AoC Auto Combo Script
- (702 Bytes) Downloaded 83 times
|
- aoc_auto_pixelpos_color.zip Register to unlock hidden link
- Auto Pixel Position with Color
- (457 Bytes) Downloaded 65 times
|
|
|