<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>FarmingPolicy</title><revhistory><revision><revnumber>7</revnumber><date>2013-08-28 16:30:47</date><authorinitials>Romulus</authorinitials></revision><revision><revnumber>6</revnumber><date>2013-05-30 14:13:09</date><authorinitials>Inanna</authorinitials></revision><revision><revnumber>5</revnumber><date>2012-09-21 22:41:09</date><authorinitials>Inanna</authorinitials></revision><revision><revnumber>4</revnumber><date>2012-08-23 23:21:01</date><authorinitials>Susannah</authorinitials></revision><revision><revnumber>3</revnumber><date>2012-08-23 22:48:56</date><authorinitials>Inanna</authorinitials></revision><revision><revnumber>2</revnumber><date>2012-08-21 14:57:09</date><authorinitials>Inanna</authorinitials></revision><revision><revnumber>1</revnumber><date>2012-08-21 14:56:20</date><authorinitials>Inanna</authorinitials></revision></revhistory></articleinfo><informaltable><tgroup cols="2"><colspec colname="col_0"/><colspec colname="col_1"/><tbody><row rowsep="1"><entry colsep="1" rowsep="1"><para>Usage: </para></entry><entry colsep="1" rowsep="1"><para>farmingpolicy [level] [/switch:value] [/switch:value] [...] </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para>Example: </para></entry><entry colsep="1" rowsep="1"><para>farmingpolicy 5 /mindistance:1 /maxdistance:7 /farmingcycle:8</para><para>farmingpolicy 10 /mindistance:1 /maxdistance:5 /farmingcycle:1</para><para>farmingpolicy /level:8 /mindistance:1 /maxdistance:5 /farmingcycle:1 </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para>Default: </para></entry><entry colsep="1" rowsep="1"><para>none </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para>Switch: </para></entry><entry colsep="1" rowsep="1"><para>/level:#</para><para>/mindistance:#</para><para>/maxdistance:#</para><para>/farmingcycle:#</para><para>/cycle:#</para><para>/safeballs:#</para><para>/mincycle:#</para><para>/maxcycle:# </para></entry></row></tbody></tgroup></informaltable><para>Farmingpolicy makes the bot much more flexible and powerful, allowing you to farm specific levels of NPCcs for specific numbers of miles in specific intervals. </para><para>The switches /mindistance and /maxdistance allow you to instruct the bot how far it will go for that particular level of NPC or that particular npclist. The level of NPC a farmingpolicy line affects can be written as just the number (see examples 1 &amp; 2 above) or as a switch /level:xx (see example 3 above). Details on how the bot prioritizes which NPCs to farm with the various available settings can be found <ulink url="http://guide.neatportal.com/wiki/FarmingPolicy/wiki/CategoryNpcGoals#">here</ulink>. </para><para>The /farmingcycle or /cycle or /maxcycle switch allows you to tell the bot how often you want to farm that particular NPC for the specified level. Default is 8.4 hours. </para><para>The /mincycle switch allows you to tell the bot to farm &quot;smarter&quot; by selecting the next NPC to farm based on its travel time and percentage of resources refilled since your last attack on that NPC. For more detail on this switch, see <ulink url="http://guide.neatportal.com/wiki/FarmingPolicy/wiki/FarmingCycleMin#">FarmingCycleMin</ulink>. </para><para>The /safeballs switch allows you to override the default safe ballista number for each level of NPC, so that heroes below 50 attack would use your custom number instead. </para><para>NOTE: farmingpolicy is <emphasis role="strong">not</emphasis> required for NPC farming. If you merely want to farm NPCs using the default or goal settings for distance, etc., then you can omit farmingpolicy entirely and just use config npc:5, config npc:10, etc. </para><para>The above 3 examples could be combined with npc, npcheroes, npctroops, and npclimits to have your bot farm level 5, 8, and 10 npcs as follows: </para><screen><![CDATA[config npc:5
farmingpolicy 5 /mindistance:1 /maxdistance:7 /mincycle:1
npcheroes 5 !mainguy,!queen,any
npctroops 5 b:500,t:400
]]><![CDATA[
farmingpolicy 10 /mindistance:1 /maxdistance:5 /cycle:1
npcheroes 10 mainguy
npctroops 10 a:90k,w:2k,wo:2k,s:4k,t:2k
npclimits 10 a:400k
]]><![CDATA[
farmingpolicy 8 /mindistance:1 /maxdistance:5 /cycle:1
npcheroes 8 queen,smartguy
npctroops 8 a:19k,w:80k,t:1k
npclimits 8 w:200k,a:100k]]></screen><!--rule (<hr>) is not applicable to DocBook--><para> <ulink url="http://guide.neatportal.com/wiki/FarmingPolicy/wiki/CategoryAllGoals#">CategoryAllGoals</ulink> <ulink url="http://guide.neatportal.com/wiki/FarmingPolicy/wiki/CategoryNpcGoals#">CategoryNpcGoals</ulink> </para></article>