• 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 "RequestTroops"
    Differences between revisions 3 and 4
    Revision 3 as of 2013-01-15 22:27:02
    Size: 2980
    Editor: Daniel
    Comment:
    Revision 4 as of 2013-01-15 22:35:34
    Size: 3048
    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;">requesttroops coord type local_min remote_min remote_request ||
    ||<#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;">requesttroops !OtherCity archer 200k 300k 10k<<BR>>requesttroops 111,222 archer 200k -1 10k<<BR>>requesttroops any archer 200k 300k -1<<BR>>requesttroops !OtherCity archer -1 300k 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;">requesttroops coord type local_min remote_min remote_request ||
    ||<#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;">requesttroops !OtherCity archer 200k 300k 10k<<BR>>requesttroops 111,222 archer 200k -1 10k<<BR>>requesttroops any archer 200k 300k -1<<BR>>requesttroops !OtherCity archer -1 300k 10k ||
    Line 5: Line 5:
    '''coord can be in either xxx,yyy or city name format including "all"''' '''coord can be in either xxx,yyy  or city name format including "all" '''

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

    Usage:

    requesttroops coord type local_min remote_min remote_request

    Example:

    requesttroops OtherCity archer 200k 300k 10k
    requesttroops 111,222 archer 200k -1 10k
    requesttroops any archer 200k 300k -1
    requesttroops OtherCity archer -1 300k 10k

    coord 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 request troops from another city to this one when it reaches an amount under what you specify and if the other city has an amount over what you specify. This goal can be useful to constantly restock a warcity or city that farms npc10s from remote feeder/builder cities.

    A city can have as many requesttroop goal lines as desired, with each one containing a different troop type and/or city to request help from. The city to request from 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, requesttroops and sendtroops 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.

    In the 1st example above, if ThisCity falls below 200k archers, and OtherCity has more than 300k archers, then ThisCity will request OtherCity send archers to it in 10k increments. Note that OtherCity would need 310k archers before 10k would be sent away, to prevent it falling below 300k itself.

    In the 2nd example above, if ThisCity falls below 200k archers, then request 10k archers from 111,222, regardless of how many archers 111,222 has. With this line, the bot will keep requesting archers, 10k at a time, until ThisCity has at least 200k or 111,222 runs out of archers.

    In the 3rd example above, if ThisCity falls below 200k archers, and any other city has more than 300k archers, then it will request as many archers at once as it takes to achieve 200k archers in ThisCity, without putting the other city below 300k.

    In the 4th example above, the bot will request 10k archers at a time be sent from OtherCity to ThisCity, regardless of how many archers are in ThisCity and as long as OtherCity doesn't fall below 300k archers.


    CategoryAllGoals CategoryTroopGoals

    RequestTroops (last edited 2014-12-15 20:33:31 by Inanna)