• 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 "SendResources"
    Differences between revisions 13 and 14
    Revision 13 as of 2013-06-15 17:37:42
    Size: 3457
    Editor: Susannah
    Comment:
    Revision 14 as of 2014-03-03 23:32:35
    Size: 3470
    Editor: Inanna
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 2: Line 2:
    ||<#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;">sendresources !OtherCity food 1b 100m 50m<<BR>>sendresources !OtherCity|!AnotherCity wood 30m 20m 5m cavalry<<BR>>sendresources 111,222 food 1b -1 50m<<BR>>sendresources !OtherCity food 1b 100m -1<<BR>>sendresources any food -1 100m 50m<<BR>>sendresources 111,222 food 1b -2 50m || ||<#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;">sendresources any food 1b 100m 50m<<BR>>sendresources !OtherCity|!AnotherCity wood 30m 20m 5m cavalry<<BR>>sendresources 111,222 food 1b -1 50m<<BR>>sendresources !OtherCity food 1b 100m -1<<BR>>sendresources any food -1 100m 50m<<BR>>sendresources 111,222 food 1b -2 50m ||
    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 "any" '''
    Line 13: Line 13:
    In the 1st example above, the bot will send 50 million food to !OtherCity if !ThisCity has at least 1 billion food and !OtherCity falls below 100 million food. Since no troop-type is set, the bot will default to sending with transports. In the 1st example above, the bot will send 50 million food to any other city on the account if !ThisCity has at least 1 billion food and another one falls below 100 million food. Since no troop-type is set, the bot will default to sending with transports.

    Usage:

    sendresources / coord / type / local_min / remote_min / remote_request / [trooptype]

    Example:

    sendresources any food 1b 100m 50m
    sendresources OtherCity|AnotherCity wood 30m 20m 5m cavalry
    sendresources 111,222 food 1b -1 50m
    sendresources OtherCity food 1b 100m -1
    sendresources any food -1 100m 50m
    sendresources 111,222 food 1b -2 50m

    coord can be in either xxx,yyy or city name format including "any"

    note using city name is valid within the same account

    Sendresources works much the same as KeepResources, except it sends a specific resource to a specific city in a specific amount.

    A value of -1 may be used for one of the quantities to override the specific amount sent, or to disregard the local or remote minimum amount. A value of -2 in the remote quantity may be used to keep behavior more like the KeepResources goal. Multiple cities can be designated via the | symbol, i.e., sendresources city1|city2|city3 food 1b 100m 50m. All cities can be specified via 'any', i.e., sendresources any food 1b 100m 50m.

    In the 1st example above, the bot will send 50 million food to any other city on the account if ThisCity has at least 1 billion food and another one falls below 100 million food. Since no troop-type is set, the bot will default to sending with transports.

    In the 2nd example, the bot will send 5 million wood to OtherCity and/or AnotherCity if ThisCity has at least 30 million and OtherCity and/or AnotherCity has under 20 million, and it will use cavalry to transport the wood.

    When -1 is used for the remote_min amount, the bot will not check what the city to send to has first, and will instead send the requested amount every time it has enough in ThisCity to meet the local_min. By using -1 this way, the bot is able to send to coordinates on another account, for example from a feeder account to a main account. In the 3rd example above, the bot is told to send 50mil at a time to 111,222, as long as ThisCity has 1 billion.

    When -1 is used for the sending quantity, the bot will send however much the city can send, limited only by the transports sending it. In the 4th example, the bot will send as much food as possible from ThisCity to OtherCity, until ThisCity falls below 1bil left, or OtherCity reaches the 100mil goal.

    When -1 is used for the local_min, the bot will send the quantity to the destination when it falls below remote_min, regardless of the amount in the current city, until it runs out of resources. In the above 5th example, ThisCity will send batches of 50mil food to 'any' city you own if one falls below 100mil food, regardless of how much food is in ThisCity.

    In the 6th example above, the bot will keep 1bil food in ThisCity and send all excess to 111,222 in batches of at least 50 million at a time.


    CategoryAllGoals CategoryResourceGoals

    SendResources (last edited 2015-01-13 06:41:49 by Inanna)