• Visit Rebornbuddy
  • Grinding: <While> doesn't work

    Discussion in 'Buddy Wing Profiles' started by derFalke, Apr 8, 2017.

    1. derFalke

      derFalke Member

      Joined:
      Apr 6, 2017
      Messages:
      57
      Likes Received:
      4
      Trophy Points:
      8
      Hi,

      i wanted that he goes through some waypoints and do that for example 20 times. For now i set it "Mylevel<100" so it is endless. After the scripted started he moves to both position and returns to the first but than he ends. How can i do, that he moves again? Some parameters to add? Why not "GrindArea" - i want that he go to certain points on the map that he grinds some stuff.

      Help would be appreciated

      Code:
      <Profile xmlns="http://tempuri.org/ProfileSchema.xsd">
        <Name>test2</Name>
       
      <ForceAlignment Type="Light" AutoSkip="true" />
         <Vendors>
               <Hotspot Name="Republic Medical Droid" X="-73.607" Y="-12.99559" Z="2.7925" /> 
               <Hotspot Name="Republic Medical Droid" X="-78.8476" Y="-23.7795" Z="73.3347" /> 
          </Vendors>
           
             <Questing>
             <While Condition="Me.Level &lt; 100">
                 <MoveTo QuestId="1001" X="-58.78584" Y="-13.63598" Z="6.948046"  />        
                 <MoveTo QuestId="1001" X="-60.91951" Y="-13.45846" Z="5.708878"  />
                 </While>
               </Questing>   
      </Profile>
      
      
      
      
      Code:
      02:29:27,145 [INFO] Current bot set to Quest Bot
      02:29:27,146 [INFO] Character settings have been saved.
      02:29:27,147 [INFO] Loaded profile test2
      02:29:27,366 [INFO] [Poi.Clear] Reason: Current quest behavior changed to MoveToTag: X: -58,78584, Y: -13,63598, Z: 6,948046, Position: <-58.78584, -13.63598, 6.948046>, Name: null, IgnoreMesh: False, QuestId: 1001, BranchId: 0, StepId: 0, TaskId: 0, QuestName: Quest Id: 3E9, IsDoneCache: False, Behavior: Buddy.BehaviorTree.PrioritySelector, .
      02:29:28,521 [INFO] [Poi.Clear] Reason: Current quest behavior changed to MoveToTag: X: -60,91951, Y: -13,45846, Z: 5,708878, Position: <-60.91951, -13.45846, 5.708878>, Name: null, IgnoreMesh: False, QuestId: 1001, BranchId: 0, StepId: 0, TaskId: 0, QuestName: Quest Id: 3E9, IsDoneCache: False, Behavior: Buddy.BehaviorTree.PrioritySelector, .
      02:29:29,747 [INFO] Moving to Igneous Green Crystal Formation at 23.81929 meters.
      02:29:37,116 [WARN] Blacklisting 1F094E990D for 00:01:00
      02:29:37,116 [INFO] [Poi.Clear] Reason: Done Looting.
      02:29:39,933 [INFO] [Poi.Clear] Reason: Current quest behavior changed to WhileTag: Condition: Me.Level < 100, Conditional: System.Func`1[System.Boolean], Body: System.Collections.Generic.List`1[Buddy.CommonBot.Profile.ProfileBehavior], QuestId: 0, BranchId: 0, StepId: 0, TaskId: 0, QuestName: Quest Id: 0, IsDoneCache: False, Behavior: Buddy.BehaviorTree.Decorator, .
      
       
    2. Logandros

      Logandros Moderator Moderator

      Joined:
      Nov 20, 2012
      Messages:
      370
      Likes Received:
      21
      Trophy Points:
      18
      If you are looking to just go around an area and kill stuff there are plenty of examples under the profiles sections. I'm not sure why you are using QuestID, unless you are looting quest objects?

      Take a look at these 2 examples of how you can do it if you are just looking to grind.

      This one will use a specific path to follow (my location), and will also kill any of the mobs that I have listed in the profile if they come within pull range (defined in character settings): https://www.thebuddyforum.com/threads/voss-devastating-the-republic-legacy-achievement.300165/

      This one uses specific mob and locations, it will follow a path but it will be very loose and kill anything it sees as hostile along the way. I have found that the my location works best for grinding: https://www.thebuddyforum.com/threads/voss-devastating-the-empire-legacy-achievement.297127/
       
    3. derFalke

      derFalke Member

      Joined:
      Apr 6, 2017
      Messages:
      57
      Likes Received:
      4
      Trophy Points:
      8
      The point is, that i don't want to farm "mobs", on the map there are certain "hotspots" for materials to loot. If the character is not in a certain range of the material the character will not loot. So i would like to walk certain points.
      Nevertheless it is interesting that "Moveto"-Command only works once, so there should be an error in the code as well from the "bot/programm".
      I just tryed it out with Hotspots, the character is not collecting(material) any of points(in this case hotspots) if there are no mobs at this "hotspots".
       
    4. Logandros

      Logandros Moderator Moderator

      Joined:
      Nov 20, 2012
      Messages:
      370
      Likes Received:
      21
      Trophy Points:
      18
      Verify that for this specific characters settings.xml has:

      Code:
        <LootNpcs>true</LootNpcs>
        <LastProfile>D:\BuddyWing\Personal\Combat Bot.xml</LastProfile>
        <PullDistance>2</PullDistance>
        <AutoSelectMount>false</AutoSelectMount>
        <LootChests>true</LootChests>
        <LootChestsDistance>5</LootChestsDistance>
        <LootProfessionHarvestables>true</LootProfessionHarvestables>   <------ make sure set to true
       

    Share This Page