• 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 "SafeValleyFarming"
    Differences between revisions 1 and 12 (spanning 11 versions)
    Revision 1 as of 2012-08-26 00:21:54
    Size: 3609
    Editor: Inanna
    Comment:
    Revision 12 as of 2014-03-12 15:40:15
    Size: 3749
    Editor: Inanna
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 2: Line 2:
    ||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; background-color: rgb(242, 242, 242); ">Example:||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; ">safevalleyfarm 9,10 || ||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; background-color: rgb(242, 242, 242); ">Example:||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; ">safevalleyfarm 10<<BR>>safevalleyfarm 9,10 ||
    Line 5: Line 5:
    This directive will tell the bot to attempt to find and farm for resources and medals within valleys of the specified level that it can safely hit for zero losses. The bot will first scout all valleys of the right levels within it's valley capturing radius as specified in [[http://wiki.neatportal.com/index.php?title=General_Goals#Distancepolicy|distancepolicy]]. It is recommend to keep the number of miles to around 10 or less for this, otherwise the bot will spend all it's time scouting instead of actually attacking. When it finds valleys it's able to hit, it stores their coordinates for future attacking. This directive will tell the bot to attempt to find and farm for resources and medals within valleys of the specified level that it can safely hit for zero losses. The bot will scout all valleys of the right levels within its medal/valleyfarming radius as specified in DistancePolicy (the 3rd number). It is recommended to keep the number of miles to around 10 or less for this; otherwise the bot will spend a lot of time scouting valleys. When the bot finds a valley that is safe to attack for no losses, it will send an attack while continuing to scout for more. It will remember the coordinates to safe valleys to hit, and attack them once an hour for resources and medals.
    Line 7: Line 7:
    The bot will use any available hero for safevalleyfarming, unless specified otherwise in [[http://wiki.neatportal.com/index.php?title=Hero_Goals#Valleyheroes|valleyheroes]]. The bot will use any available hero for safevalleyfarming, unless specified otherwise in ValleyHeroes.
    Line 13: Line 13:
     * with a valley that has cavs and no archers but up to 2 layers, archers with a quantity based on the valley level, accompanied with 1 balista, 1 pike and 1 swordsmen are sent.  * with a valley that has cavs and no archers but up to 2 layers, archers with a quantity based on the valley level, accompanied with 1 ballista, 1 pike and 1 sword are sent.
    Line 15: Line 15:
    '''The following quantites of archers for each valley level are used:''' '''The following quantities of archers for each valley level are used:'''
    Line 17: Line 17:
    1: 50 - 2: 100 - 3: 200 - 4: 500 - 5: 1000 - 6: 2000 - 7: 4000 - 8: 8000 - 9: 15000 - 10: 25000 1: 50 / 2: 100 / 3: 200 / 4: 500 / 5: 1000 / 6: 2000 / 7: 4000 / 8: 8000 / 9: 15000 / 10: 30000
    Line 21: Line 21:
    Saving goals with the same list of valley levels will not disrupt valley farming operations. If however you change the valley levels, the list of valleys to farm is reset and scouting will have to be performed again. To stop farming simply comment or remove the safevalleyfarm goal. On every reconnection, the list of valleys 10 miles around your main is evaluated to see if a valley level has changed. If this is the case, safe farming is returned to a clear state and scouting restarts with a fresh list of valleys. Saving goals with the same list of valley levels will not disrupt valley farming operations. If however you change the valley levels, the list of valleys to farm is reset and scouting will have to be performed again. To stop farming simply comment (# or // at the beginning of the line) or remove the safevalleyfarm goal.You can also use safevalleyfarm off in goals to disable it. On every reconnection, safe farming is returned to a clear state and scouting restarts with a fresh list of valleys.

    Using the ValleyFarming directive you can optionally specify what distance the bot will safevalleyfarm specific types of valleys, if you wish. For example, with the following goals:
    {{{
    safevalleyfarm 9,10
    valleyfarming 10 3 10 3 3 3
    }}}
    Your bot will scout and if possible safefarm level 9 and 10 forests and hills for 10 miles out, and deserts, swamps, grasslands, and lakes for 3 miles out. You would not include the config valleyfarming goal along with safevalleyfarm.
    Line 26: Line 33:
     * There is currently no way to select what type of valleys you want to farm, only the levels.
    Line 28: Line 34:
     * Make sure you hold all your valleys before activating safe valley farming. You do not want to capture valleys with safe valley farming.
     * There is still a small chance that an attack on a valley sent before maintenance hits the wrong level of valley after maintenance yielding losses. There is code to try and recall if the valley levels, but it can run only if the hit would occur while the bot is connected.
     * Make sure all your valley slots are filled before activating safe valley farming. You do not want to capture valleys with safe valley farming.
    Line 31: Line 36:
    CategoryAllGoals CategoryAllGoals CategoryValleyGoals

    Usage:

    safevalleyfarm level[,level,level]

    Example:

    safevalleyfarm 10
    safevalleyfarm 9,10

    This directive will tell the bot to attempt to find and farm for resources and medals within valleys of the specified level that it can safely hit for zero losses. The bot will scout all valleys of the right levels within its medal/valleyfarming radius as specified in DistancePolicy (the 3rd number). It is recommended to keep the number of miles to around 10 or less for this; otherwise the bot will spend a lot of time scouting valleys. When the bot finds a valley that is safe to attack for no losses, it will send an attack while continuing to scout for more. It will remember the coordinates to safe valleys to hit, and attack them once an hour for resources and medals.

    The bot will use any available hero for safevalleyfarming, unless specified otherwise in ValleyHeroes.

    The following rules are applied for safe farming:

    • with a valley that has only archers on it, 1 scout and as many cavs as there are archers on the valley are sent.
    • with a valley that has no cavs and no archers, only archers are sent with a quantity based on the valley level.
    • with a valley that has cavs and no archers but up to 2 layers, archers with a quantity based on the valley level, accompanied with 1 ballista, 1 pike and 1 sword are sent.

    The following quantities of archers for each valley level are used:

    1: 50 / 2: 100 / 3: 200 / 4: 500 / 5: 1000 / 6: 2000 / 7: 4000 / 8: 8000 / 9: 15000 / 10: 30000

    Valleys get farmed at most once per hour, so it is possible that not all found valleys will be farmed due to closer valleys being ready to hit again.

    Saving goals with the same list of valley levels will not disrupt valley farming operations. If however you change the valley levels, the list of valleys to farm is reset and scouting will have to be performed again. To stop farming simply comment (# or // at the beginning of the line) or remove the safevalleyfarm goal.You can also use safevalleyfarm off in goals to disable it. On every reconnection, safe farming is returned to a clear state and scouting restarts with a fresh list of valleys.

    Using the ValleyFarming directive you can optionally specify what distance the bot will safevalleyfarm specific types of valleys, if you wish. For example, with the following goals:

    safevalleyfarm 9,10
    valleyfarming 10 3 10 3 3 3

    Your bot will scout and if possible safefarm level 9 and 10 forests and hills for 10 miles out, and deserts, swamps, grasslands, and lakes for 3 miles out. You would not include the config valleyfarming goal along with safevalleyfarm.

    Limitations:

    • Safe valley farming cannot be used at the same time as config hunting and will not perform any operations.
    • There is currently no way to specify what troops to use to attack a valley.
    • Make sure all your valley slots are filled before activating safe valley farming. You do not want to capture valleys with safe valley farming.


    CategoryAllGoals CategoryValleyGoals

    SafeValleyFarming (last edited 2014-03-12 15:40:15 by Inanna)