• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • 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

    Revision 6 as of 2012-09-16 19:20:24

    Clear message

    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 first scout all valleys of the right levels within its valley capturing radius as specified in DistancePolicy. It is recommended to keep the number of miles to around 10 or less for this; otherwise the bot will spend all its time scouting instead of actually attacking. When it finds valleys it's able to hit, it stores their coordinates for future attacking.

    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: 25000

    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. 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.

    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 select what type of valleys you want to farm, only the levels.
    • There is currently no way to specify what troops to use to attack a valley.
    • 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.


    CategoryAllGoals CategoryValleyGoals