Differences

This shows you the differences between two versions of the page.

docs:strategies:cropfinder [2009/07/04 10:57]
gac
docs:strategies:cropfinder [2009/07/05 07:36] (current)
gac
Line 6: Line 6:
^When to avoid  | when you want to look at large areas, use external analysers instead | ^When to avoid  | when you want to look at large areas, use external analysers instead |
-A simple Cropfinder strategy to look for 15, 9 and the Travian 3.5 "7" crop fields, it reports these as Events but in the process builds a file of all resource information it discovers.  This includes basic information about other Villages as well as empty fields.+A simple Cropfinder strategy to look for 15, 9 and the Travian 3.5 "7" crop fields, it reports these as events to the console and but in the process builds a file of all resource information it discovers.  This includes basic information about other Villages as well as empty fields.
An optional parameter selects the output format. Current supported output is txt or csv.  The default is a text file that has all information appended on the end even if VilloNanny is restarted. The information contains resource field counts and also Village information and population. The information is time and date stamped so that appended information can be seen. For settled villages the information includes a formated string that can be used for the [[farmizzator|"Farmizzator"]] or [[farmrotator|"FarmRotator"]] strategies.  The csv format also includes the URL for the village or valley so can be used for direct access from a suitable spreadsheet. An optional parameter selects the output format. Current supported output is txt or csv.  The default is a text file that has all information appended on the end even if VilloNanny is restarted. The information contains resource field counts and also Village information and population. The information is time and date stamped so that appended information can be seen. For settled villages the information includes a formated string that can be used for the [[farmizzator|"Farmizzator"]] or [[farmrotator|"FarmRotator"]] strategies.  The csv format also includes the URL for the village or valley so can be used for direct access from a suitable spreadsheet.
Line 22: Line 22:
  * Prior to Travian 3.5 it enters each empty valley, which takes a significant time to run   * Prior to Travian 3.5 it enters each empty valley, which takes a significant time to run
  * maxRadius is same units as co-ordinates but searching is done in 7x7 blocks   * maxRadius is same units as co-ordinates but searching is done in 7x7 blocks
-  * There is no limit on maxRadius, it will do this in periodic blocks pausing for "minPauseMinutes" between each 7x7 as a background activity but is not recommended+  * There is no limit on maxRadius, it will do this in periodic blocks pausing for "minPauseMinutes" between each 7x7 as a background activity but is not recommended for large searches
==== Syntax ==== ==== Syntax ====
-FIXME Syntax+
<code xml> <code xml>
<strategy class="CropFinder" desc="DESCRIPTION" enabled="true" <strategy class="CropFinder" desc="DESCRIPTION" enabled="true"
Line 62: Line 62:
<code xml> <code xml>
     
-<strategy class="CropFinder" desc="Find 9 and 15 Croppers around given location" enabled="true" maxRadius="10" minPauseMinutes="1" uid="sV1cf">+<strategy class="CropFinder" desc="Find 9 and 15 Croppers around given location"  
 +                enabled="true" maxRadius="10" minPauseMinutes="1" uid="sV1cf">
            <start x="100" y="-100" />             <start x="100" y="-100" />
            <from  x="10" y="-10" />             <from  x="10" y="-10" />


Personal Tools