• Visit Rebornbuddy
  • [Orderbot] Created Profile doesn't move to hotspot. Not sure why.

    Discussion in 'Community Developer Forum' started by Prodiniz, Oct 16, 2014.

    1. Prodiniz

      Prodiniz Member

      Joined:
      Jan 10, 2014
      Messages:
      48
      Likes Received:
      1
      Trophy Points:
      8
      So I have virtually no understanding of writing xml and have basically been looking at other working profiles to get a basic understanding of how it should operate. I've created a profile that "should" teleport to East Shroud and farm Crawler Cocoons off an unspoiled node [Slot 4], then teleport to Central Thanalan and farm Lightning Crystals/Shards until it's time to go back to East Shroud and repeat the process. So far it will teleport to The East Shroud and farm Crawler Cocoons perfectly fine, it will then teleport to Central Thanalan and just stand there and not move to the Crystal/Shard Hotspot and I have no idea why. Reborn Buddy is not giving any errors while this profile is running. I would appreciate it if someone could help me understand why this is happening and how to fix it.

      Here's the Profile.


      Code:
      <Profile>
       <Name>Botany Twinthread Gathering </Name>
       
       <Order>
       <While Condition ="True">
      	<WaitWhile Condition ="IsTimeBetween(0,1)" />
      
      <!--Crawler Cocoon [Slot 4] -->
      	    <If Condition="IsTimeBetween(1,2)">
      	    	<TeleportTo Name="The Hawthorne Hut" AetheryteId="4" />
      	
      <Gather Loops="1">
              	<GatherObject>Unspoiled Lush Vegetation Patch</GatherObject>
               	<HotSpots>
                  	   <HotSpot Radius="95" XYZ="30.6513, -3.60904, 215.3573" />
               	</HotSpots>
      	<Slot>3</Slot> 
      		 <!--Crawler Cocoon -->
      	    <GatheringSkillOrder>
      		<GatheringSkill SpellName="Blessed Harvest II" TimesToCast="1" />
      		 <GatheringSkill SpellName="Leaf Turn" TimesToCast="1" />
      
      	    </GatheringSkillOrder>
                 	</Gather>
      	  	<WaitWhile Condition ="IsTimeBetween(1,2)" />
      	 </If>
      
      <!--Lightning Crystals/Shards -->
      	<If Condition="IsTimeBetween(2,24)">
                  <If Condition="not IsOnMap(141)">
      	        <TeleportTo Name="Black Brush Station" AetheryteId="53" />
      	   </If>
      	  <Gather while="IsTimeBetween(2,24)">
                      <GatherObject>Mature Tree</GatherObject>
                      <HotSpots>
              	    <HotSpot Radius="95" XYZ="151.7662, 11.40599, 469.918" />
                      </HotSpots>
                      <ItemNames>
                          <ItemName>Lightning Crystal</ItemName>
                          <ItemName>Lightning Shard</ItemName>
                      </ItemNames>
      	     <GatheringSkillOrder>
      		    <GatheringSkill SpellName="Byregot's Ward" TimesToCast="1" />
      	     </GatheringSkillOrder>
      	</Gather> 
                  </If> 
       </While>
       </Order>
      </Profile>
      
      View attachment Botany - Twinthread.xml
       
      Last edited: Oct 16, 2014
    2. Zamphire

      Zamphire Member

      Joined:
      May 16, 2013
      Messages:
      349
      Likes Received:
      11
      Trophy Points:
      18
      Try this good sir. Should work for you

      Code:
      <Profile>
       <Name>Botany Twinthread Gathering </Name>
       
       <Order>
       <While Condition ="True">
      	<WaitWhile Condition ="IsTimeBetween(0,1)" />
      
      	<!-- East Shroud - Crawler Cocoon --> 
      	<If Condition="IsTimeBetween(1,3)">
      		<If Condition="not IsOnMap(152)">
      			<TeleportTo Name="Hawthorne Hut" AetheryteId="4" />
      		</If>
      		<Gather Loops="1">
      			<GatherObject>Unspoiled Lush Vegetation Patch</GatherObject>
      			<HotSpots>
      				<Hotspot Z="202.7292" Y="0.420082" X="53.94673" Radius="250"/>
      			</HotSpots>
      			<Slot>3</Slot>  <!-- Crawler Cocoon -->
      			<GatheringSkillOrder>
      				<GatheringSkill SpellName="Blessed Harvest II" TimesToCast="1" />
      				<GatheringSkill SpellName="Leaf Turn" TimesToCast="1" />
      			</GatheringSkillOrder>
      		</Gather>
      		<TeleportTo Name="Black Brush Station" AetheryteId="53" />
      	</If>	
      	
      	<!--Lightning Crystals/Shards -->
      	<If Condition="IsTimeBetween(2,24)">
              <If Condition="not IsOnMap(141)">
      	        <TeleportTo Name="Black Brush Station" AetheryteId="53" />
      		</If>
      		<Gather while="IsTimeBetween(2,24)">
                  <GatherObject>Mature Tree</GatherObject>
                  <HotSpots>
      				<HotSpot Radius="95" XYZ="151.7662, 11.40599, 469.918" />
                  </HotSpots>
                  <ItemNames>
                      <ItemName>Lightning Crystal</ItemName>
                      <ItemName>Lightning Shard</ItemName>
                  </ItemNames>
      			<GatheringSkillOrder>
      				<GatheringSkill SpellName="Byregot's Ward" TimesToCast="1" />
      			</GatheringSkillOrder>
      		</Gather> 
          </If> 
       </While>
       </Order>
      </Profile>
      
      Added the file at the bottom for you too.
       

      Attached Files:

    3. Prodiniz

      Prodiniz Member

      Joined:
      Jan 10, 2014
      Messages:
      48
      Likes Received:
      1
      Trophy Points:
      8
      Thank Zamphire, seems to be working. Other than the radius changes and a re-placement of an IF argument, can you tell me what was wrong with it? I'd like to know so I can better write profiles in the future.
       
    4. Zamphire

      Zamphire Member

      Joined:
      May 16, 2013
      Messages:
      349
      Likes Received:
      11
      Trophy Points:
      18
      To be 100% truthful, i don't really know. Like you I'm new to this. Mostly using other people's profiles to learn how to make my own. I looked at yours and didn't see why it wasn't working either.

      I basically just took my profile that I made for unspoiled nodes and put in your hotspots and tested it.
       
    5. Prodiniz

      Prodiniz Member

      Joined:
      Jan 10, 2014
      Messages:
      48
      Likes Received:
      1
      Trophy Points:
      8
      Fair enough lol
       

    Share This Page