• 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 "RequestResources"
    Differences between revisions 5 and 6
    Revision 5 as of 2013-02-07 16:38:24
    Size: 1578
    Editor: Romulus
    Comment:
    Revision 6 as of 2013-02-07 20:50:25
    Size: 1539
    Editor: Inanna
    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;">requestresources coord type local_min remote_min remote_request [trooptype] || ||<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;">requestresources coords type local_min remote_min remote_request [trooptype] ||
    Line 5: Line 5:
    '''coord can be in either xxx,yyy or city name format including "any" '''

    '''
    note using city name is valid within the same account'''
    '''Coords can be in either xxx,yyy or city name format including "any" (on same account only)'''

    Usage:

    requestresources coords type local_min remote_min remote_request [trooptype]

    Example:

    requestresources OtherCity food 100m 1b 50m
    requestresources 111,222 iron 20m -1 5m cavalry

    Coords can be in either xxx,yyy or city name format including "any" (on same account only)

    Requestresources works just like SendResources, except in reverse.

    In the 1st example above, the bot will request 50 million food from OtherCity if ThisCity has under 100 million food and OtherCity has at least 1 billion food. Since no trooptype is set, the bot will default to sending with transports.

    In the 2nd example above, the bot will request 5 million iron from 111,222 if ThisCity has under 20 million iron, regardless of how much iron is in 111,222, and it will use cavalry to transport the iron.

    The use of -1 and -2 parameters are possible with requestresources exactly as detailed above with SendResources.


    CategoryAllGoals CategoryResourceGoals

    RequestResources (last edited 2017-12-16 18:54:00 by Inanna)