This is an old revision of the document!


Strategy: Farmizzator

Purpose to attack, raid or spy enemy villages at a given rate with the specified troops
When to use for farming weaker or abandoned villages
When to avoid when the village is well defended or when the owner might get suspicious

The Farmizzator strategy will keep attacking/reinforcing/scouting a village with the specified amount of troops.

The “movement” attribute specifies the type of movement. The value to use is specified in the language configuration file by the following elements:

key.movement.reinforcement = reinforcement, reinforce, defend, move
key.movement.normal = normal
key.movement.raid = raid

You can change the language configuration file with any value you like. Multiple values are aliases (synonims)

The “spy” attribute specifies what you want to spy: resources or troops. The value to use is specified in the language configuration file by the following elements:

key.movement.spy.resources = resources
key.movement.spy.defenses = defenses

You can change the language configuration file with any value you like. Multiple values are aliases (synonims).

The “rate” attribute specifies how often to send troops. When rate=“1” a new attack will be sent when the troops come back (round trip) from the previous one; when rate=“2” a new attack will be sent when the previous one arrives at the enemy destination, so at any point in time you will have some troops attacking and some troops coming back; with rate=“4” a new attack will be sent after 1/4 of the time it takes for a round trip, and so on. You can also use a rate less than 1 to pause between raids. For example with rate=“0.5” there will be one attack and then a pause for the same time that it took for the attack. The principle is that Farmizzator will sleep for the time of a round trip divided by the value of rate.

When attacking with catapults, you can specify up to 2 catapult targets by the “item” attribute. You should use the values that appear in the catapult target selection box of the travian page. catapult target selection box If you have more than one target, separate them with a comma. If no item is specified, catapults are sent on random targets. For example: item=“Forno, Granaio” or item=“Magazzino, A caso”.

The troop name is the name of the troop in the server language, like “Legionario”. You can define aliases in the language configuration file, like

key.romans.troop2 = Pretoriano, preti, lumache    

You can then use the alias as a troop name, for example type=“preti” or type=“lumache”. If you want to always send the specified amount of soldiers, set allowLess=“false”. Otherwise, when you don't have enough troops, the attack will be sent with the available troops. You can also specify a “min” value to ensure that the attack won't be sent when you don't have at least some troops. The “randomise” attribute has been introduced to make people less suspicious. When someone is being attacked every single hour with the same amount of troops, he might rightfully think that you're using a bot. When randomise=“true”, at least the amount of troops is never the same because it varies by +-10% of the TROOP_AMOUNT, while still obeying the “min” attribute.

Notes

  • To attack more than one village, specify more Farmizzator strategies with different targets
  • the “min” attribute can be expressed as a percentage of TROOP_AMOUNT. For example min=“10%” will send at least 10% of the specified troops when allowLes=“true”

Syntax

<strategy class="Farmizzator" desc="DESCRIPTION" enabled="true" uid="UID">
	<target village="TARGETNAME" x="XCOORD" y="YCOORD" movement="REINFORCE|RAID|ATTACK" 
    	spy="RESOURCES|DEFENSES" rate="RATE" item="CATA_TARGET1, CATA_TARGET2"/>
	<troops type="TROOP_NAME" allowLess="ALLOWLESS" min="MINIMUM_TROOPS" 
		randomise="RANDOMISE" enabled="true">TROOP_AMOUNT</troops>
	<minPauseMinutes>MIN_PAUSE</minPauseMinutes>
</strategy>

Attributes and parameters

DESCRIPTION some optional description of your choice
UID Unique IDentifier. See "Strategies"
TARGETNAME The name of the target village
XCOORD, YCOORD target village coordinates, when you don't use the name
REINFORCE, RAID, ATTACK the type of movement. The value to use can be found in the language configuration file
RESOURCES, DEFENSES the type of scouting (when sending scouts). The value to use can be found in the language configuration file
RATE how often to send troops; default is “1”. Any positive number, even with decimals
CATA_TARGET1 catapult first target, as it appears in the selection box; default is random target
CATA_TARGET2 catapult second target, as it appears in the selection box; default is no second target
TROOP_NAME type of troops, in the server language or as an alias defined in the language configuration file
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”
MINIMUM_TROOPS the minimum amount of troops to send when allowLess=“true”; default is “0”
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”
TROOP_AMOUNT the number of soldiers to send. The actual amount sent depends on the values of “allowLess”, “minimumTroops” and “randomise”
MIN_PAUSE the minimum time in minutes to wait before trying again when no attack can be sent because of lack of troops; default is “5”

Examples

<strategy class="Farmizzator" desc="Farm Inactive Village" enabled="true">
	<target x="-66" y="26" movement="raid" rate="4"/>
	<troops type="Combattente" randomise="false">1400</troops>
	<troops type="Cavalleria teutonica" randomise="false">250</troops>
</strategy>
<strategy class="Farmizzator" desc="Farm TitusLand" enabled="true">
	<target village="TitusLand" movement="raid" rate="1"/>
	<troops type="Combattente" allowLess="true" min="50%">1200</troops>
	<troops type="Combattente con ascia" allowLess="true" 
    	min="150">300</troops>
	<troops type="Cavalleria teutonica" allowLess="false">100</troops>
</strategy>
<strategy class="Farmizzator" desc="Wipe TitusLand" enabled="true">
	<target village="TitusLand" movement="attack" rate="20"/>
	<troops type="Fire Catapult" allowLess="false">10</troops>
	<troops type="Equites Caesaris" allowLess="false">50</troops>
	<minPauseMinutes>2</minPauseMinutes>
</strategy>


Personal Tools