• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Order bot Request

    Discussion in 'Rebornbuddy Support' started by Grimmjow, Aug 10, 2014.

    1. Grimmjow

      Grimmjow New Member

      Joined:
      Nov 11, 2013
      Messages:
      118
      Likes Received:
      1
      Trophy Points:
      0
      Hey mastahg,

      I don't know if its currently possible but can we have our orderbot profiles somehow keep looping.

      At this point if none of the if statements return true, reborn buddy just stops.

      BTW i love orderbot your doing great things and thank you!
       
    2. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      382
      Trophy Points:
      83
      Use 'while' tag.

      Code:
      
      <while Condition="true">
      
      </while>
      
      
       
    3. Grimmjow

      Grimmjow New Member

      Joined:
      Nov 11, 2013
      Messages:
      118
      Likes Received:
      1
      Trophy Points:
      0
      anyway to get a list of all conditions?
       
    4. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      382
      Trophy Points:
      83
      Pretty much anything...

      Edit:
      To elaborate you can write code in the condition and it will be evaluated.
       
    5. Grimmjow

      Grimmjow New Member

      Joined:
      Nov 11, 2013
      Messages:
      118
      Likes Received:
      1
      Trophy Points:
      0
      Ah nice,

      I just tried to with <While Condition="Core.Player.ClassLevel &gt; 1">, but i'm having issues, it looks like it doesn't finish all the if statements, if one of the statements are true then it just loops that statement and says Reached Desired number of loops. over and over again
       

      Attached Files:

      Last edited: Aug 11, 2014
    6. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      382
      Trophy Points:
      83
      Well you cant just throw random words in there and expect it to work...
       
    7. Grimmjow

      Grimmjow New Member

      Joined:
      Nov 11, 2013
      Messages:
      118
      Likes Received:
      1
      Trophy Points:
      0
      sorry was edited my post while you were responding
       
    8. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      382
      Trophy Points:
      83
      Yes...If only one of the if statements are true...
       
    9. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      382
      Trophy Points:
      83
      Also doing a profile like this is bad design....

      do it like this instead...

      Code:
      
      if timezonecheck
      
      gathertag
      <MoveTo XYZ="somesafespot..."/>
      <WaitWhile Condition="not isinnexttimezonething"/>
      
      <endif>
      
      Psuedoxml
       
    10. Grimmjow

      Grimmjow New Member

      Joined:
      Nov 11, 2013
      Messages:
      118
      Likes Received:
      1
      Trophy Points:
      0
      While condition + gather loop

      Anyway to reset the loop count on order bot? if i do the following.

      Code:
      <?xml version="1.0" encoding="UTF-8"?>
      <Profile>
         <Name>Unspoiled</Name>
         <Order>
      	   <While Condition ="True">
      <WaitWhile Condition ="IsTimeBetween(23,24)" />
      <WaitWhile Condition ="IsTimeBetween(0,1)" />	
      	<If Condition="IsTimeBetween(1,2)">
      		<TeleportTo Name="Camp Dragonhead" AetheryteId="23" />
      	
      	<Gather Loop="1">
               <GatherObject>Unspoiled Mineral Deposit</GatherObject>
               <HotSpots>
                  <HotSpot Radius="95" XYZ="309.7161,305.0083,-62.78537" />
      			<HotSpot Radius="95" XYZ="301.0099, 307.6327, -89.7529"/>
               </HotSpots>
      		 <Slot>2</Slot>
      		 <GatheringSkillOrder>
      			 <!--GatheringSkill SpellName="King's Yield II" TimesToCast="1" />
      			 <GatheringSkill SpellName="Sharp Vision" TimesToCast="1" /-->
      			 <GatheringSkill SpellName="Deep Vigor" TimesToCast="1" />
      		 </GatheringSkillOrder>
            </Gather>
      	  	<MoveTo XYZ="224.433, 302, -181.7083"/>
      	  	<WaitWhile Condition ="IsTimeBetween(1,2)" />
      	 </If>
      	 
      	<If Condition="IsTimeBetween(2,3)">
      		<TeleportTo Name="Camp Drybone" AetheryteId="18" />
      		
      	<Gather Loops="1">
               <GatherObject>Unspoiled Rocky Outcrop</GatherObject>
               <HotSpots>
                  <HotSpot Radius="95" XYZ="235.7776, 7.625561, -113.854" />
      			<HotSpot Radius="95" XYZ="266.5744, 16.63662, -151.9884"/>
      		 </HotSpots>
      		 <Slot>6</Slot>
      		 <GatheringSkillOrder>
      			 <GatheringSkill SpellName="King's Yield II" TimesToCast="1" />
      			 <GatheringSkill SpellName="Sharp Vision" TimesToCast="1" />
      			 <GatheringSkill SpellName="Deep Vigor" TimesToCast="1" />
      		 </GatheringSkillOrder>
            </Gather>
      	  	<MoveTo XYZ="-384.2926, -56.44275, 114.4392"/>
      	  	<WaitWhile Condition ="IsTimeBetween(2,8)" />
      	 </If>
      </While>
      </Order>
      It will try to loop but since i have <Gathering Loops ="1"/> that criteria is technically already met due to the first run.

      i don't not want to get rid of the loop because these are unspoiled gathering points and i don't want to be running around from point to point more than once.

      anyone have a suggestion?

      Thanks in Advanced!
       
    11. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      382
      Trophy Points:
      83
      Add more then one hotspot.
       
    12. Grimmjow

      Grimmjow New Member

      Joined:
      Nov 11, 2013
      Messages:
      118
      Likes Received:
      1
      Trophy Points:
      0
      i have more than one hotspot in the example i posted.
       
    13. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      382
      Trophy Points:
      83
    14. Grimmjow

      Grimmjow New Member

      Joined:
      Nov 11, 2013
      Messages:
      118
      Likes Received:
      1
      Trophy Points:
      0

      I only put part of the xml as the example, let me post everything but the issue is that <while condition="True"> will not work if i use <gather loop ="1">
      i was wondering if there was some other way to handle that so i can have the loop happen and have the bot only go to the hotspots once. full xml below\

      Code:
      <?xml version="1.0" encoding="UTF-8"?>
      <Profile>
         <Name>Unspoiled</Name>
         <Order>
            <While Condition="True">
               <WaitWhile Condition="IsTimeBetween(23,24)" />
               <WaitWhile Condition="IsTimeBetween(0,1)" />
               <If Condition="IsTimeBetween(1,2)">
                  <TeleportTo Name="Camp Dragonhead" AetheryteId="23" />
                  <Gather Loop="1">
                     <GatherObject>Unspoiled Mineral Deposit</GatherObject>
                     <HotSpots>
                        <HotSpot Radius="95" XYZ="309.7161,305.0083,-62.78537" />
                        <HotSpot Radius="95" XYZ="301.0099, 307.6327, -89.7529" />
                     </HotSpots>
                     <Slot>2</Slot>
                     <GatheringSkillOrder>
                        <!--GatheringSkill SpellName="King's Yield II" TimesToCast="1" />
      			 <GatheringSkill SpellName="Sharp Vision" TimesToCast="1" /-->
                        <GatheringSkill SpellName="Deep Vigor" TimesToCast="1" />
                     </GatheringSkillOrder>
                  </Gather>
                  <MoveTo XYZ="224.433, 302, -181.7083" />
                  <WaitWhile Condition="IsTimeBetween(1,2)" />
               </If>
               <If Condition="IsTimeBetween(2,3)">
                  <TeleportTo Name="Camp Drybone" AetheryteId="18" />
                  <Gather Loops="1">
                     <GatherObject>Unspoiled Rocky Outcrop</GatherObject>
                     <HotSpots>
                        <HotSpot Radius="95" XYZ="235.7776, 7.625561, -113.854" />
                        <HotSpot Radius="95" XYZ="266.5744, 16.63662, -151.9884" />
                     </HotSpots>
                     <Slot>6</Slot>
                     <GatheringSkillOrder>
                        <GatheringSkill SpellName="King's Yield II" TimesToCast="1" />
                        <GatheringSkill SpellName="Sharp Vision" TimesToCast="1" />
                        <GatheringSkill SpellName="Deep Vigor" TimesToCast="1" />
                     </GatheringSkillOrder>
                  </Gather>
                  <MoveTo XYZ="-384.2926, -56.44275, 114.4392" />
                  <WaitWhile Condition="IsTimeBetween(2,8)" />
               </If>
               <WaitWhile Condition="IsTimeBetween(3,8)" />
               <!--If Condition="IsTimeBetween(6,8)">
      		<TeleportTo Name="Camp Tranquill" AetheryteId="6"/>	
      	      
      		 <Gather Loops="1">
               <GatherObject>Unspoiled Rocky Outcrop</GatherObject>
               <HotSpots>
                  <HotSpot Radius="95" XYZ="-148.7484, 0.1327525, 495.6059"/>
      			<HotSpot Radius="95" XYZ="-309.7714, 0.2829998, 383.5645"/>
      			<HotSpot Radius="95" XYZ="-247.8551, -0.1900875, 495.2155"/>
               </HotSpots>
      		 <Slot>6</Slot>
      		 <GatheringSkillOrder>
      			<GatheringSkill SpellName="Unearth II" TimesToCast="1" />
      			<GatheringSkill SpellName="Sharp Vision II" TimesToCast="1" />
      			<GatheringSkill SpellName="Deep Vigor" TimesToCast="1" />
      		 </GatheringSkillOrder>
            </Gather>
      	  	<MoveTo XYZ="-224.5222, 20.93974, 357.7489"/>
      	  	<WaitWhile Condition ="IsTimeBetween(6,9)" />
      	</If-->
               <WaitWhile Condition="IsTimeBetween(8,9)" />
               <If Condition="IsTimeBetween(9,11)">
                  <TeleportTo Name="Camp Drybone" AetheryteId="18" />
                  <Gather Loops="1">
                     <GatherObject>Unspoiled Mineral Deposit</GatherObject>
                     <HotSpots>
                        <HotSpot Radius="95" XYZ="307.6837, 10.1216, -9.528715" />
                        <HotSpot Radius="95" XYZ="307.6837, 10.1216, -9.528715" />
                        <HotSpot Radius="95" XYZ="337.364, 20.48742, 44.63499" />
                     </HotSpots>
                     <Slot>5</Slot>
                     <GatheringSkillOrder>
                        <GatheringSkill SpellName="King's Yield II" TimesToCast="1" />
                        <GatheringSkill SpellName="Sharp Vision" TimesToCast="1" />
                        <GatheringSkill SpellName="Deep Vigor" TimesToCast="1" />
                     </GatheringSkillOrder>
                  </Gather>
                  <MoveTo XYZ="-384.2926, -56.44275, 114.4392" />
                  <WaitWhile Condition="IsTimeBetween(9,13)" />
               </If>
               <WaitWhile Condition="IsTimeBetween(11,13)" />
               <If Condition="IsTimeBetween(13,16)">
                  <TeleportTo Name="Revenant's Toll" AetheryteId="24" />
                  <Gather Loops="1">
                     <GatherObject>Unspoiled Rocky Outcrop</GatherObject>
                     <HotSpots>
                        <HotSpot Radius="95" XYZ="297.7793, 7.004344, -589.2265" />
                        <HotSpot Radius="95" XYZ="343.6565, -7.780937, -451.2857" />
                     </HotSpots>
                     <Slot>3</Slot>
                     <GatheringSkillOrder>
                        <GatheringSkill SpellName="King's Yield II" TimesToCast="1" />
                        <GatheringSkill SpellName="Sharp Vision" TimesToCast="1" />
                        <GatheringSkill SpellName="Deep Vigor" TimesToCast="1" />
                     </GatheringSkillOrder>
                  </Gather>
                  <MoveTo XYZ="37.06635, 20.295, -661.0411" />
                  <WaitWhile Condition="IsTimeBetween(13,17)" />
               </If>
               <WaitWhile Condition="IsTimeBetween(16,17)" />
               <If Condition="IsTimeBetween(17,19)">
                  <TeleportTo Name="Revenant's Toll" AetheryteId="24" />
                  <Gather Loops="1">
                     <GatherObject>Unspoiled Rocky Outcrop</GatherObject>
                     <HotSpots>
                        <HotSpot Radius="95" XYZ="297.7793, 7.004344, -589.2265" />
                        <HotSpot Radius="95" XYZ="343.6565, -7.780937, -451.2857" />
                     </HotSpots>
                     <Slot>2</Slot>
                     <GatheringSkillOrder>
                        <GatheringSkill SpellName="King's Yield II" TimesToCast="1" />
                        <GatheringSkill SpellName="Sharp Vision" TimesToCast="1" />
                        <GatheringSkill SpellName="Deep Vigor" TimesToCast="1" />
                     </GatheringSkillOrder>
                  </Gather>
                  <MoveTo XYZ="37.06635, 20.295, -661.0411" />
                  <WaitWhile Condition="IsTimeBetween(17,21)" />
               </If>
               <WaitWhile Condition="IsTimeBetween(19,21)" />
               <If Condition="IsTimeBetween(21,23)">
                  <TeleportTo Name="Revenant's Toll" AetheryteId="24" />
                  <Gather Loops="1">
                     <GatherObject>Unspoiled Rocky Outcrop</GatherObject>
                     <HotSpots>
                        <HotSpot Radius="95" XYZ="297.7793, 7.004344, -589.2265" />
                        <HotSpot Radius="95" XYZ="343.6565, -7.780937, -451.2857" />
                     </HotSpots>
                     <Slot>6</Slot>
                     <GatheringSkillOrder>
                        <GatheringSkill SpellName="King's Yield II" TimesToCast="1" />
                        <GatheringSkill SpellName="Sharp Vision" TimesToCast="1" />
                        <GatheringSkill SpellName="Deep Vigor" TimesToCast="1" />
                     </GatheringSkillOrder>
                  </Gather>
                  <MoveTo XYZ="37.06635, 20.295, -661.0411" />
                  <WaitWhile Condition="IsTimeBetween(21,24)" />
                  <WaitWhile Condition="IsTimeBetween(0,1)" />
               </If>
            </While>
         </Order>
      </Profile>
      
       
    15. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      382
      Trophy Points:
      83
      I don't understand what you mean...the profile will exit?
       
    16. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      382
      Trophy Points:
      83
      Try explaining what you want the bot todo in steps

      1)
      2)
      3)
      4)
      5)
      6)
       
    17. Grimmjow

      Grimmjow New Member

      Joined:
      Nov 11, 2013
      Messages:
      118
      Likes Received:
      1
      Trophy Points:
      0
      The profile will run perfect until the end, then it doesn't technically exit it just stops moving my character, and when it hits <If Condition="IsTimeBetween(1,2)"> nothing happens

      and i think its because all the <Gather Loops=1"> criteria have been met during that first run and doesn't reset to 0.
       
    18. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      382
      Trophy Points:
      83
      Ok, i understand, the gathertag object might be being reused instead of recreated. let me see.
       
    19. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      382
      Trophy Points:
      83
      Try version 160 and let me know if you still have problems.
       
    20. Grimmjow

      Grimmjow New Member

      Joined:
      Nov 11, 2013
      Messages:
      118
      Likes Received:
      1
      Trophy Points:
      0
      testing it now.
       

    Share This Page