I've managed to update this script to farm daru in autaric plains on 1680x1050 - except the wolf, it always thinks dirt patches are the wolves.
This is quite a good script that the OP came up with, it looks like it will be easy enough to expand it to cover all maps and all reserve troop types.
The map co-ord bit needs some work to move across the maps in a more logical manner seeing how much bigger some of the maps are. As it is now on the big maps you probably miss out on some daru as your character can take a while to run from one side to the other.
What I'd really like to know is if the image search script works with png's with transparencies.
Quote:
Originally Posted by gasp3r
Any enlightment would be greatly appreciated please :handsdown:
|
For some reason the line that makes a real difference on what part of the screen it scans for images is no good for 1680x1050.
Do something like this for line 96
Until _ImageSearchArea($string,1,0,0,@DesktopWidth,@Desk topHeight,$gX,$gY,$tolerance)
Play full screen on chrome view 100% and this should help.
Update: I've got the daru farm script moving down the map like the aliens do in invaders (classic old arcade game for the younger readers) and when it hits the bottom it moves back up the map in the opposite direction, it will loop for ever until the script is stopped.
Now this can be used on any map, so if someone can tell me how big the slyph maps are I can share some code for you to try out.
Update2: I've got the farm script working in Murken and have expanded the recruit troops to all troops except for the level 40 ones. I am only level 34 so I can't help with the sylph thing yet. This script when ready should be useful for new and old players. The only thing missing now are details for the Sands & Swamp maps.