• Visit Rebornbuddy
  • kill order and importance

    Discussion in 'Honorbuddy Forum' started by moonseed, Nov 6, 2015.

    1. moonseed

      moonseed New Member

      Joined:
      Sep 9, 2013
      Messages:
      45
      Likes Received:
      0
      Trophy Points:
      0
      alright im writting a grinding sript and in this script i need to kill 2 types of monsters (troll and ogre). i want my bot to kill the troll first and orgre second. i tried to put the ogre in the avoid section but then i died because the bot was avoiding the orgre. is there a way to set a priority order?

      something like kill troll first then move to orgre
       
    2. Maffyx

      Maffyx Active Member Buddy Store Developer

      Joined:
      Feb 13, 2010
      Messages:
      1,078
      Likes Received:
      17
      Trophy Points:
      38
      Instead of using a grinding profile, use a questing profile and use the Kill Until Complete Quest Behavior. That way you can set a pursuit list and prioritize the mobs. More information can be found in the link in my signature!
       
    3. moonseed

      moonseed New Member

      Joined:
      Sep 9, 2013
      Messages:
      45
      Likes Received:
      0
      Trophy Points:
      0
      oh yah i am using a questing profile but using it as a grinding bot hehe sorry...

      i checked ur link but cant find anything on pursuit... sorry first try and scripting here
       
      Last edited: Nov 6, 2015
    4. moonseed

      moonseed New Member

      Joined:
      Sep 9, 2013
      Messages:
      45
      Likes Received:
      0
      Trophy Points:
      0
      im using this template


       
    5. Maffyx

      Maffyx Active Member Buddy Store Developer

      Joined:
      Feb 13, 2010
      Messages:
      1,078
      Likes Received:
      17
      Trophy Points:
      38
      Here is the documentation for KilluntilComplete, should give you a good pointer:


      Code:
      // QUICK DOX:// KILLUNTILCOMPLETE kills the mobs defined as the goal.  This behavior complements
      // Honorbuddy's Kill-form of <Objective> in the following ways:
      //  * You can hunt multiple mobs simultaneously.
      //  * Each mob can be qualified, and pursuit stops when the mob is no longer needed
      //      for the goal.
      //  * The behavior can prioritize the importance of which targets should be pursued
      //      first when many targets are available.
      //  * Priority targets can be switched to immediately, if necessary, rather than waiting
      //      for the current target to die.
      //
      // BEHAVIOR ATTRIBUTES:
      // *** ALSO see the documentation in QuestBehaviorCore/QuestBehaviorBase.cs.  All of the attributes it provides
      // *** are available here, also.  The documentation on the attributes QuestBehaviorBase provides
      // *** is _not_ repeated here, to prevent documentation inconsistencies.
      //
      // Basic Attributes:
      //      MobIdN [at least one is REQUIRED]
      //          Identifies the mobs on which the kill task should take place.
      //          The MobIdN can represent either an NPC (WoWUnit) or an Object (WoWGameObject).
      //          The two types can freely be mixed.
      //
      // Tunables:
      //      ImmediatelySwitchToHighestPriorityTarget [optional; default: true]
      //          If a higher-priority target becomes available, the behavior will immediately switch
      //          to killing it if toon is in combat, rather than waiting for the current mob to die
      //      WaitForNpcs [optional; Default: true]
      //          This value affects what happens if there are no MobIds in the immediate area.
      //          If true, the behavior will move to the next hunting ground waypoint, or if there
      //          is only one waypoint, the behavior will stand and wait for MobIdN to respawn.
      //          If false, and the behavior cannot locate MobIdN in the immediate area, the behavior
      //          considers itself complete.
      //          Please see "Things to know", below.
      //      X/Y/Z [optional; Default: toon's current location when behavior is started]
      //          This specifies the location where the toon should loiter
      //          while waiting to kill MobIdN.  If you need a large hunting ground
      //          you should prefer using the <HuntingGrounds> sub-element, as it allows for
      //          multiple locations (waypoints) to visit.
      //          This value is automatically converted to a <HuntingGrounds> waypoint.
      // 
      // BEHAVIOR EXTENSION ELEMENTS (goes between <CustomBehavior ...> and </CustomBehavior> tags)
      // See the "Examples" section for typical usage.
      //      <AvoidMobs> [optional; Default: none]
      //          See documentation in QuestBehaviorCore/QuestBehaviorBase.cs for full explanation.
      //
      //      <Blackspots> [optional; Default: none]
      //          See documentation in QuestBehaviorCore/QuestBehaviorBase.cs for full explanation.
      //
      //      <HuntingGrounds> [optional; Default: toon's position when behavior is started]
      //          See documentation in QuestBehaviorCore/QuestBehaviorBase.cs for full explanation.
      //
      //      <PursuitList> [optional; None]
      //          See documentation in QuestBehaviorCore/QuestBehaviorBase.cs for full explanation.
      #endregion
      
      
      
      
      #region Examples
      // SIMPLEST FORM:
      // Kill a set of mobs in the area.  The hunting ground is centered around the point where
      // the toon is standing when the behavior starts:
      //      <CustomBehavior File="KillUntilComplete" MobId="12345" MobId2="23456" MobId3="34567" />
      //
      // A FULL FEATURED EXAMPLE:
      // In Recon Essentials (http://wowhead.com/quest=27977), Only Dark Iron Steamsmiths can drop the
      // Smithing Tuyere, but Dark Iron Steamsmiths and Dark Iron Lookouts can both drop the Lookout's Spyglass.
      // We prioritize Dark Iron Steamsmiths any time we find them, because they are hard to find, and
      // the bottleneck for this quest.
      //      <CustomBehavior File="KillUntilComplete" QuestId="27977" >
      //          <Blackspots>
      //              <Blackspot Name="low-hanging rock" X="9876.54" Y="8765.43" Z="125.2" />
      //          </Blackspot>
      //          <HuntingGrounds>
      //              <Hotspot Name="North-central tent area" X="1234.56" Y="2345.67" Z="131.05" />
      //              <Hotspot Name="NE tent area" X="2345.56" Y="3456.67" Z="128.05" />
      //              <Hotspot Name="Tower 1" X="3456.56" Y="4567.67" Z="121.05" />
      //              <Hotspot Name="Tower 2" X="4567.56" Y="5678.67" Z="135.05" />
      //              <Hotspot Name="Tower 3" X="5678.56" Y="6789.67" Z="127.05" />
      //          </HuntingGrounds>
      //          <PursuitList>
      //              <PursueUnit Id="5840" PursueWhen="!IsObjectiveComplete(1,27977)" />
      //              <PursueUnit Id="5840" PursueWhen="!IsObjectiveComplete(2,27977)" Priority="10" />
      //              <PursueUnit Id="8566" PursueWhen="!IsObjectiveComplete(2,27977)" />
      //          </PursuitList>
      //      </CustomBehavior>
      //
      #endregion
       
    6. moonseed

      moonseed New Member

      Joined:
      Sep 9, 2013
      Messages:
      45
      Likes Received:
      0
      Trophy Points:
      0
      thx man ill try that
       
    7. moonseed

      moonseed New Member

      Joined:
      Sep 9, 2013
      Messages:
      45
      Likes Received:
      0
      Trophy Points:
      0
      well i cant wrap my head around that tried it all for the past 2hours and cant seem to get it to work always a error
       
    8. moonseed

      moonseed New Member

      Joined:
      Sep 9, 2013
      Messages:
      45
      Likes Received:
      0
      Trophy Points:
      0
      bummer was really hoping to get it going
       
    9. moonseed

      moonseed New Member

      Joined:
      Sep 9, 2013
      Messages:
      45
      Likes Received:
      0
      Trophy Points:
      0
      i tried this but my char just flys around my hotspots not killing anything

       
    10. Maffyx

      Maffyx Active Member Buddy Store Developer

      Joined:
      Feb 13, 2010
      Messages:
      1,078
      Likes Received:
      17
      Trophy Points:
      38
      Doing this without being able to test it but try this:

      Code:
      <HBProfile><!--
      PROFILE EXPECTATIONS:
      * When using this profile, be certain to set the HonorBuddy bot to (select only one):
      ( ) Gatherbuddy2
      (*) Grinding / Mixed
      ( ) Questing
      ( ) PvP
      
      
      * This profile is appropriate for (check all that apply):
      [X] Alliance [ ] Achievement
      [ ] Horde [ ] Farming
      [X] Leveling
      [ ] PvP
      [X] Questing
      [ ] Reputation
      [ ] Seasonal
      
      
      * The profile grammar for the Levelbot (Questing & Grinding) can
      be found at this Wiki location:
      :Category:Honorbuddy:Levelbot:Grammar 
      
      
      * An explanation of <ForceMail> and <ProtectedItems> usage is here.
      DO NOT INCLUDE a <ForceMail> element in a profile!
      DO NOT INCLUDE a <ProtectedItems> element in a profile, unless it
      is being used to protect items needed for a quest.
      You can find more information in the Wiki here:
      Honorbuddy:About ForceMail and ProtectedItems 
      -->
      
      
      <Name>Sha'tari Skyguard Rep Grind - Blackwing Landing</Name>
      <MinLevel>74</MinLevel>
      <MaxLevel>80</MaxLevel>
      
      
      <MinDurability>0.3</MinDurability>
      <MinFreeBagSlots>2</MinFreeBagSlots>
      
      
      <MailGrey>false</MailGrey>
      <MailWhite>false</MailWhite>
      <MailGreen>true</MailGreen>
      <MailBlue>true</MailBlue>
      <MailPurple>true</MailPurple>
      
      
      <SellGrey>true</SellGrey>
      <SellWhite>true</SellWhite>
      <SellGreen>false</SellGreen>
      <SellBlue>false</SellBlue>
      <SellPurple>false</SellPurple>
      
      
      <TargetElites>false</TargetElites>    
      
      
      
      
      <AvoidMobs>
      <Mob Name="Blackwind Warp Chaser" Entry="23219" />
      </AvoidMobs>
      
      
      
      
      <Blackspots>
      <Blackspot Name="fence post" X="-8895.609" Y="-428.6633" Z="66.3858" Radius="21.39053" />
      </Blackspots>
      
      
      
      
      <Mailboxes>
      </Mailboxes>
      
      
      
      
      <Vendors>
      <Vendor Name="Grella" Entry="23367" Type="Repair" X="-3384.475" Y="3611.3" Z="275.9877"
      Nav="Fly" UsableWhen="true" />
      </Vendors>
      
      
      
      
      <QuestOrder>
      <CustomBehavior File="KillUntilComplete" >
      
      
                <HuntingGrounds>
                  <Hotspot X="775.0261" Y="-2973.31" Z="91.6674" />
      <Hotspot X="731.7219" Y="-3004.923" Z="91.6674" />
      <Hotspot X="674.6838" Y="-3031.26" Z="91.67683" />
      <Hotspot X="638.2493" Y="-3048.852" Z="92.65704" />
      <Hotspot X="599.0063" Y="-3076.05" Z="91.66665" />
      <Hotspot X="565.366" Y="-3090.777" Z="92.64001" />
      <Hotspot X="536.8169" Y="-3059.448" Z="91.66702" />
      <Hotspot X="501.0398" Y="-3016.162" Z="92.1254" />
      <Hotspot X="526.3464" Y="-2986.682" Z="92.23193" />
      <Hotspot X="528.2076" Y="-2947.624" Z="92.34939" />
      <Hotspot X="516.8857" Y="-2910.38" Z="93.54829" />
      <Hotspot X="497.3592" Y="-2865.773" Z="91.92033" />
      <Hotspot X="487.0249" Y="-2822.144" Z="92.32142" />
      <Hotspot X="497.1859" Y="-2790.239" Z="92.35923" />
      <Hotspot X="520.0153" Y="-2821.297" Z="91.66694" />
      <Hotspot X="543.1635" Y="-2849.193" Z="92.40156" />
      <Hotspot X="573.9137" Y="-2893.26" Z="92.8193" />
      <Hotspot X="582.4354" Y="-2939.56" Z="92.56004" />
      <Hotspot X="617.9201" Y="-2948.707" Z="92.25446" />
      <Hotspot X="643.1932" Y="-2937.267" Z="93.79446" />
      <Hotspot X="639.5698" Y="-2888.719" Z="92.87669" />
      <Hotspot X="648.8761" Y="-2865.394" Z="93.48801" />
      <Hotspot X="647.9656" Y="-2831.671" Z="93.6177" />
      <Hotspot X="647.7059" Y="-2824.399" Z="93.79405" />
      <Hotspot X="628.1235" Y="-2775.773" Z="94.54832" />
      <Hotspot X="594.0742" Y="-2774.982" Z="92.19374" />
               </HuntingGrounds>
               <PursuitList>
                    <PursueUnit Id="1051" Priority="1000" />
                    <PursueUnit Id="5840"  Priority="10" />
           </PursuitList>
           </CustomBehavior>
      
      
      
      
      </QuestOrder>
      
      
      </HBProfile>
       
      Last edited: Nov 6, 2015
    11. moonseed

      moonseed New Member

      Joined:
      Sep 9, 2013
      Messages:
      45
      Likes Received:
      0
      Trophy Points:
      0
      perfect thx buddy working grreat
       
    12. Maffyx

      Maffyx Active Member Buddy Store Developer

      Joined:
      Feb 13, 2010
      Messages:
      1,078
      Likes Received:
      17
      Trophy Points:
      38
      No problem!
       

    Share This Page