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.


<strategy class="MultiFarmRotator" desc="DESCRIPTION" enabled="true" 
          attacks="ATTACKS" maxAttacks="MAXATTACKS" minAttacks="MINATTACKS"
          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"/>

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 set a fixed quantity of attacks (optional)
MAXATTACKS set a maximum quantity of attacks (default = 1000)
MINATTACKS set a minimum quantity of attacks (default = 1)
TARGETSXATTACK how many targets you want to have for each attack (used when ATTACKS not set)
MINPAUSE Minimum pause in minutes (default = 5)
RANDOM change the order of targets listed or searched (default = true)
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 the radius from your village to search; (Maximum of 40)
MINPOP minimum pop to farm
MAXPOP maximum pop to farm
MAXVILLAGES maximum villages the farm must have
DAYSINACTIVE how many days the farm doesn't grow all villages; (Maximum of 7)


searchTargets limitation:

  • It may consider a allied player a farm;
  • New servers may not have updated data on travian.ws: it might find wrong farms;
  • May take some minutes to finish searching so try small radius;
  • Search ability may have problems parsing server name. (Please report so we can fix it)

searchTargets future plans:

  • exclude a village, a player and/or a alliance from the search;

Farming future plans:

  • read reports and decide the best target to attack;


FIXME Examples

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

Personal Tools