• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Gathering skill are not working

    Discussion in 'Rebornbuddy Support' started by MagistratMay, Dec 7, 2014.

    1. MagistratMay

      MagistratMay New Member

      Joined:
      Dec 7, 2014
      Messages:
      33
      Likes Received:
      0
      Trophy Points:
      0
      hello, I am new here and Try to understand the Scripting by using existing ones and look how they behave.


      now I have the following problem I use the profile for umbral Rocks+Windshards from kagamihiiragi17.

      the Umbral Rock part looks like that
      Code:
      <If Condition="IsTimeBetween(6,7)">
                  <If Condition="not IsOnMap(153)">
      	        <TeleportTo Name="Camp Tranquil" AetheryteId="6" />
      	    </If>
      	    <Gather while="IsTimeBetween(6,7)">
                   	<GatherObject>Unspoiled Rocky Outcrop</GatherObject>
               	<HotSpots>
               	   <HotSpot Radius="90" XYZ="-195.7283, -0.3201989, 492.07" />
               	</HotSpots>
               	<Slot>6</Slot>
      		<GatheringSkillOrder>
      		    <GatheringSkill SpellName="Unearth II" TimesToCast="1" />
      		    <GatheringSkill SpellName="Solid Reason" TimesToCast="1" />
      		    <GatheringSkill SpellName="Deep Vigor" TimesToCast="1" />
      		</GatheringSkillOrder>
            	    </Gather>

      and the windshards

      Code:
      <If Condition="IsTimeBetween(7,24)">
                  <If Condition="not IsOnMap(152)">
      	        <TeleportTo Name="The Hawthorne Hut" AetheryteId="4" />
      	    </If>
      	    <Gather while="IsTimeBetween(7,24)">
                      <GatherObject>Rocky Outcrop</GatherObject>
                      <HotSpots>
              	    <HotSpot Radius="90" XYZ="-164.3448, -0.488205, 163.7332" />
                      </HotSpots>
                      <ItemNames>
                          Grade 2 Shroud Topsoil
                          Wind Crystal
                          <ItemName>Wind Shard</ItemName>
                      </ItemNames>
      	        <GatheringSkillOrder>
      		    <GatheringSkill SpellName="Prospect" TimesToCast="2" />
      	        </GatheringSkillOrder>
            	    </Gather>
      	</If>
      where is the problem in using the skills
       
    2. Sodimm

      Sodimm Member

      Joined:
      Nov 8, 2014
      Messages:
      383
      Likes Received:
      7
      Trophy Points:
      18
      Code:
      				
      <If Condition="(IsTimeBetween(5,7)) and (not IsOnMap(153))">
         <TeleportTo Name="Camp Tranquil" AetheryteId="6" />
      </If>
      <Gather while="IsTimeBetween(5,7)">
         <GatherObject>Unspoiled Rocky Outcrop</GatherObject>
      <HotSpots>
         <HotSpot Radius="90" XYZ="-195.7283, -0.3201989, 492.07" />
      </HotSpots>
      <GatheringSkillOrder>
         <GatheringSkill SpellName="Unearth II" TimesToCast="1" />
         <GatheringSkill SpellName="Solid Reason" TimesToCast="1" />
      </GatheringSkillOrder>
         <Slot>2</Slot>
      </Gather>
      
      Unearth II & Solid Reason require 600GP total, if you don't have 600GP, it should still cast one of them. Deep Vigor is a proc skill after chain 4, the bot can't handle this skill, it will just keep trying to apply it and wont gather at all.

      Code:
      <If Condition="(IsTimeBetween(8,23)) and (not IsOnMap(152))">
         <TeleportTo Name="The Hawthorne Hut" AetheryteId="4" />
      </If>
      <Gather while="IsTimeBetween(8,23)">
         <GatherObject>Rocky Outcrop</GatherObject>
      <HotSpots>
         <HotSpot Radius="90" XYZ="-164.3448, -0.488205, 163.7332" />
      </HotSpots>
      <ItemNames>
         <ItemName>Grade 2 Shroud Topsoil</ItemName>
         <ItemName>Wind Crystal</ItemName>
         <ItemName>Wind Shard</ItemName>
      </ItemNames>
      <GatheringSkillOrder>
      </GatheringSkillOrder>
      </Gather>
      
      Your only problem here is formatting and an irrelevant <if> tag. Although I don't know why you need it to cast prospect twice, as this is auto applied by the game when you switch to Miner.
       
      Last edited: Dec 7, 2014
    3. MagistratMay

      MagistratMay New Member

      Joined:
      Dec 7, 2014
      Messages:
      33
      Likes Received:
      0
      Trophy Points:
      0
      cant use it like that because he will teleport from one map to the other one. I want to mine multiple Sites on different maps and when this

      <If Condition="not IsOnMap(152)">
      <TeleportTo Name="The Hawthorne Hut" AetheryteId="4" />
      </If>

      and this

      <If Condition="not IsOnMap(153)">
      <TeleportTo Name="Camp Tranquil" AetheryteId="6" />
      </If>

      is not inside a if with its own Condition=istimeBetween for each teleport it will switch Maps every time and that is not what i want
       
    4. Sodimm

      Sodimm Member

      Joined:
      Nov 8, 2014
      Messages:
      383
      Likes Received:
      7
      Trophy Points:
      18
      And you can add a "IsTimeBetween" to the initial <if> statement. Just remember that OrderBot; like it's name, goes in Order. If you want to gather 10 nodes in a given area, at a certain time, make a time sensitive teleport, then add the gather whiles underneath it. You don't need to encompass all the gathers in the time sensitive teleport, because you've already given the gather tags <while> conditions. I've ammended the previous post to reflect such. Also note that time goes between (0,23)
       
      Last edited: Dec 7, 2014
    5. MagistratMay

      MagistratMay New Member

      Joined:
      Dec 7, 2014
      Messages:
      33
      Likes Received:
      0
      Trophy Points:
      0
      thanks

      and the Change of the row from my script was enough

      first i used item and than gatheringskill

      but know i use gatheringskill and than item <--- it works now


      Sodimm is there a possibility to get the life of the node? With life i want to now the left gathering atempts. How many times i can gather before the node disappears
       
    6. Sodimm

      Sodimm Member

      Joined:
      Nov 8, 2014
      Messages:
      383
      Likes Received:
      7
      Trophy Points:
      18
      I think they're all the same, normal nodes have 4 swings (5 if over X gathering skill on certain nodes). And unspoiled you get 6 swings
       

    Share This Page