• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • Edit (GUI)
  • Edit (Text)
  • Rename Page
  • Copy Page
  • Load Page
  • Save Page
  • Delete Page
  • Attachments
  • Check Spelling
  • Diffs
  • Info
  • Revert to this revision
  • XML
  • Render as Docbook
  • Print View
  • Raw Text
  • Delete Cache
  • Like Pages
  • Local Site Map
  • Remove Spam
  • Package Pages
  • Sync Pages
    • Diff for "SendTroops"
    Differences between revisions 3 and 4
    Revision 3 as of 2013-01-15 22:25:54
    Size: 3334
    Editor: Daniel
    Comment:
    Revision 4 as of 2013-01-15 22:33:08
    Size: 3401
    Editor: Daniel
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 1: Line 1:
    ||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start;" tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">Usage: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">sendtroops coords trooptype local_min remote_min quantity ||
    ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">sendtroops !OtherCity|!AnotherCity archer 300k 200k 10k<<BR>>sendtroops 111,222 archer 300k -1 10k<<BR>>sendtroops !OtherCity archer 300k 200k -1<<BR>>sendtroops !OtherCity archer -1 200k 10k<<BR>>sendtroops 111,222 archer 300k -2 10k ||
    ||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start; " tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Usage: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">sendtroops OtherCity trooptype local_min remote_min quantity ||
    ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">sendtroops !OtherCity|!AnotherCity archer 300k 200k 10k<<BR>>sendtroops 111,222 archer 300k -1 10k<<BR>>sendtroops !OtherCity archer 300k 200k -1<<BR>>sendtroops !OtherCity archer -1 200k 10k<<BR>>sendtroops 111,222 archer 300k -2 10k ||
    Line 5: Line 5:
    '''        coord can be in either xxx,yyy or city name format including "all"''' '''othercity can be in either xxx,yyy  or city name format including "all" '''

    '''note using city name is valid within the same account'''

    Usage:

    sendtroops OtherCity trooptype local_min remote_min quantity

    Example:

    sendtroops OtherCity|AnotherCity archer 300k 200k 10k
    sendtroops 111,222 archer 300k -1 10k
    sendtroops OtherCity archer 300k 200k -1
    sendtroops OtherCity archer -1 200k 10k
    sendtroops 111,222 archer 300k -2 10k

    othercity can be in either xxx,yyy or city name format including "all"

    note using city name is valid within the same account

    This goal will tell the bot to automatically send troops from this city to another one when it reaches an amount over what you specify and if the other city has an amount under what you specify. This goal can be useful to constantly restock another city that farms npc10s, or have several building/feeder cities that build troops for a war city to accumulate.

    A city can have as many sendtroop goal lines as desired, with each one containing a different troop type and/or city to send troops to. The city to send to parameter can be written as coordinates (111,222) or the city name if same account (OtherCity) or to encompass any city (any) or as multiple city names or coordinates separated by the | symbol (City1|City2|City3 or 111,222|111,223|111,224).

    As with the sendresources and requestresources directives, sendtroops and requesttroops are also able to use -1 as a parameter. The -2 parameter can be used for the remote quantity to force the bot to behave more like the older keeptroop goal (sending quantities of at least the amount specified, but more than it if possible).

    In the 1st example above, if ThisCity has more than 300k archers, and either OtherCity or AnotherCity has below 200k archers, then ThisCity will send OtherCity or AnotherCity archers in increments of 10k. Note that ThisCity would need to have 310k archers to begin with before sending 10k away, to avoid putting itself below the 300k minimum.

    In the 2nd example above, if ThisCity has more than 300k archers, then it will send in increments of 10k to 111,222... regardless of how many archers 111,222 has, as long as ThisCity doesn't fall below 300k.

    In the 3rd example above, if ThisCity has more than 300k archers, and OtherCity has below 200k archers, then ThisCity will send OtherCity as many archers as needed to bring OtherCity up to 200k, while keeping ThisCity above 300k.

    In the 4th example above, if OtherCity has below 200k archers, then ThisCity will send it archers in 10k increments until it gets above 200k, regardless of how many archers ThisCity has.

    In the 5th example above, if ThisCity has more than 300k archers, then it will send all archers over that to 111,222, regardless of how many 111,222 has and how many it sends at a time, as long as the minimum sent is at least 10k archers.


    CategoryAllGoals CategoryTroopGoals

    SendTroops (last edited 2014-09-01 20:41:54 by Inanna)