• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Can anyone help me reduce the cpu usage of this profile?

    Discussion in 'Community Developer Forum' started by sciemus, Sep 22, 2015.

    1. sciemus

      sciemus New Member

      Joined:
      Sep 14, 2015
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      1
      I just simply put 2 of kagamihiiragi17's profiles together in order to farm RedolentLog and FragrantLog at the same time

      It works but it turn out to burning my cpu usage for some reason.

      Can anyone help me test if this is my own problem, if not, is there anyway to fix it?

      Code:
      <Profile>
          <Name>Botany - Fragrant Log</Name>
          <KillRadius>50</KillRadius>
          <Order>
              <While Condition="True">
              <If Condition="IsTimeBetween(2,3)">	
                  <If Condition="not IsOnMap(153)">
          	        <TeleportTo Name="Camp Tranquil" AetheryteId="6" />
          	    </If>
          	    <Gather while="IsTimeBetween(2,3)">
                      <GatherObject>Unspoiled Mature Tree</GatherObject>
                   	<HotSpots>
                   	   <HotSpot Radius="300" XYZ="-203.4157, 11.08931, 90.84132" />
                   	</HotSpots>
          			<ItemNames>
          				<ItemName>Shroud Tea Leaves</ItemName>
          				<ItemName>Fragrant Log</ItemName>
          			</ItemNames>
          			<GatheringSkillOrder>
          				<GatheringSkill SpellName="Toil of the Pioneer" TimesToCast="1" />
          				<GatheringSkill SpellName="Leaf Turn II" TimesToCast="1" />
          				<GatheringSkill SpellName="Field Mastery" TimesToCast="1" />
          				<GatheringSkill SpellName="Brunt Force" TimesToCast="1" />
          			</GatheringSkillOrder>
          		</Gather>
          	</If>	
          	<If Condition="IsTimeBetween(6,7)">			
           		<If Condition="not IsOnMap(148)">
          	        <TeleportTo Name="Bentbranch Meadows" AetheryteId="3" />
          	    </If>
          	    <Gather while="IsTimeBetween(6,7)">
                      <GatherObject>Unspoiled Mature Tree</GatherObject>
                   	<HotSpots>
                   	   <HotSpot Radius="300" XYZ="460.7404, 20.00003, -61.95741" />
                   	</HotSpots>
          			<ItemNames>
          				<ItemName>Young Cieldalaes Spinach</ItemName>
          				<ItemName>Redolent Log</ItemName>
          			</ItemNames>
          			<GatheringSkillOrder>
          				<GatheringSkill SpellName="Toil of the Pioneer" TimesToCast="1" />
          				<GatheringSkill SpellName="Leaf Turn" TimesToCast="1" />
          				<GatheringSkill SpellName="Field Mastery II" TimesToCast="1" />
          				<GatheringSkill SpellName="Brunt Force" TimesToCast="1" />
          			</GatheringSkillOrder>
          		</Gather>
          	</If>
              </While>	
      	</Order>
      </Profile>
       
    2. KaWeNGoD

      KaWeNGoD New Member

      Joined:
      May 23, 2015
      Messages:
      32
      Likes Received:
      0
      Trophy Points:
      0
      Try to change
      Code:
      </If>
      </While>
      To
      Code:
      </If>
      <WaitWhile Condition ="not(IsTimeBetween(2,3) or IsTimeBetween(6,7))" />
      </While>
       
    3. sciemus

      sciemus New Member

      Joined:
      Sep 14, 2015
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      1
      thanks! works perfect
       

    Share This Page