This is an old revision of the document!


Strategy: Multifarmrotator

Purpose To farm nearby villages automatically
When to use When you don't want to spend time hand-picking farms
When to avoid

This strategy looks for inactive players in the nearby villages and farms them automatically. It currently uses an online service to detect inactive players.

Syntax

<strategy class="MultiFarmRotator" desc="DESCRIPTION" enabled="true" 
          runWhile="RUNWHILE_UID" waitFor="WAITFOR_UID" uid="UID"
          movement="REINFORCE|RAID|ATTACK" spy="RESOURCES|DEFENSES" 
          attacks="ATTACKS" maxAttacks="MAXATTACKS" minAttacks="MINATTACKS"
          targetsPerAttack="TARGETSXATTACK"
          minPause="MINPAUSE" randomOrder="RANDOM">
   <troops type="TROOP_NAME" allowLess="ALLOWLESS" 
           min="MINIMUM_TROOPS" randomise="RANDOMISE">TROOP_AMOUNT</troops>
   <target x="XCOORD" y="YCOORD" village="TARGET_VILLAGE" 
           item="CATA_TARGET1, CATA_TARGET2" rate="RATE"/>
   <searchTargets radius="RADIUS" minPop="MINPOP" maxPop="MAXPOP" 
                  maxVillages="MAXVILLAGES" daysInactive="DAYSINACTIVE"/>
</strategy>

Attributes and parameters

DESCRIPTION some optional description of your choice
WAITFOR_UID See "Strategies"
RUNWHILE_UID See "Strategies"
UID Unique IDentifier. See "Strategies"
REINFORCE, RAID, ATTACK the type of movement. The value to use can be found in the language configuration file. (as in Farmizzator)
RESOURCES, DEFENSES the type of scouting. The value to use can be found in the language configuration file. (as in Farmizzator)
ATTACKS
MAXATTACKS
MINATTACKS
TARGETSXATTACK
MINPAUSE
RANDOM
TROOP_NAME type of troops, in the server language or as an alias defined in the language configuration file. (as in Farmizzator)
ALLOWLESS “false” if you want to send the amount of troops and don't send anything if you don't have them, “true” if you might also send less than the specified troops when you don't have enough; default is “false”. (as in Farmizzator)
MINIMUM_TROOPS the minimum amount of troops to send when allowLess=“true”; default is “0”. (as in Farmizzator)
RANDOMISE “true” if you want to add or subtract a random number, up to 10%, to the troops to send. Useful to disguise the bot as a human; default is “true”. (as in Farmizzator)
TROOP_AMOUNT the number of soldiers to send. The actual amount sent depends on the values of “allowLess”, “min” and “randomise”. (as in Farmizzator)
XCOORD, YCOORD target village coordinates. (as in Farmizzator)
TARGET_VILLAGE the name of the target village. Better to use coordinates instead. (as in Farmizzator)
CATA_TARGET1 catapult first target, as it appears in the selection box; default is random target. (as in Farmizzator)
CATA_TARGET2 catapult second target, as it appears in the selection box; default is no second. (as in Farmizzator)
RATE how often to send troops; default is “1”. Any positive number, even with decimals. (as in Farmizzator)
RADIUS
MINPOP
MAXPOP
MAXVILLAGES
DAYSINACTIVE

Examples

FIXME Examples

<strategy class="" desc="" enabled="true" uid="s123123">
</strategy>


Personal Tools