Size: 1582
Comment:
|
← Revision 13 as of 2012-12-04 19:22:35 ⇥
Size: 1882
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
||<tablestyle="margin: 1em 1em 1em 0px; background-color: rgb(249, 249, 249); 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"style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; background-color: rgb(242, 242, 242); ">Usage:||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; ">valleyheroes hero-string|| ||<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; ">valleyheroes !AttackDude,!ValleyGuy || |
||<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;">valleyheroes hero-string || ||<#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;">valleyheroes !AttackDude,!ValleyGuy<<BR>>valleyheroes !trainingheroname,any:attack>60 || |
Line 5: | Line 5: |
This directive will tell the bot which heroes it may or may not use to acquire flats for holding or npc building, as well as heroes for valley acquisition, hunting, valleyfarming, and safevalleyfarming. In the example above, only the heroes named !AttackDude and !ValleyGuy would be allowed to perform any march against a valley or flat. | This directive will tell the bot which heroes it may or may not use to acquire flats for holding or npc building, as well as heroes for valley acquisition, hunting, valleyfarming, and safevalleyfarming. |
Line 7: | Line 7: |
Another example, using advanced hero strings: ''valleyheroes !trainingheroname,any:attack>60''. This would allow any hero with 60+ attack other than the traininghero. I've found safevalleyfarm will often lose troops if a politics or intel hero with very low attack are sent. Since adding this to my goals, I have no more losses on safevalleyfarming and much lower losses on everything else. | In the 1st example above, only the heroes named !AttackDude and !ValleyGuy would be allowed to perform any march against a valley or flat. |
Line 9: | Line 9: |
See HeroString for details on how to setup the hero string for this goal. | In the 2nd example above, using advanced hero strings, any hero with 60+ attack other than the traininghero would be usable. I've found safevalleyfarm will often lose troops if a politics or intel hero with very low attack are sent. Since adding this to my goals, I have had no more losses on safevalleyfarming and much lower losses on everything else. See HeroString for details on how to set up the hero string for this goal. When running this command from the script window instead of as a goal, you can use the \reset switch to clear all valleyheroes in memory, either from scripts or goals. For example: valleyheroes /reset. Note that clearing via script will only last until the bot is restarted, unless the script is ran each restart, or the goals are cleared as well. |
Line 11: | Line 15: |
CategoryGoals | CategoryAllGoals CategoryValleyGoals CategoryHeroGoals |
Usage: |
valleyheroes hero-string |
Example: |
valleyheroes AttackDude,ValleyGuy |
This directive will tell the bot which heroes it may or may not use to acquire flats for holding or npc building, as well as heroes for valley acquisition, hunting, valleyfarming, and safevalleyfarming.
In the 1st example above, only the heroes named AttackDude and ValleyGuy would be allowed to perform any march against a valley or flat.
In the 2nd example above, using advanced hero strings, any hero with 60+ attack other than the traininghero would be usable. I've found safevalleyfarm will often lose troops if a politics or intel hero with very low attack are sent. Since adding this to my goals, I have had no more losses on safevalleyfarming and much lower losses on everything else.
See HeroString for details on how to set up the hero string for this goal.
When running this command from the script window instead of as a goal, you can use the \reset switch to clear all valleyheroes in memory, either from scripts or goals. For example: valleyheroes /reset. Note that clearing via script will only last until the bot is restarted, unless the script is ran each restart, or the goals are cleared as well.