What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Need help figuring out an issue with gathering.

Dgame

Member
Joined
Aug 19, 2014
Messages
320
Reaction score
0
I've made my first gathering profile, thank you to everyone that worked with me. Now I have another issue I'm trying to figure out.

Below will be a simple test code so I can edit it as I learn what to do and so you can see what I'm trying to do.
I want to be able to farm multiple things when I'm at a gathering node. As in shards and crystals, while still setting up how much I want to gather for both.

So say, I'm gathering shards but at one of the nodes a crystal pops up. Now I have shards, crystals etc I can choose to gather. How would I go about gathering multiple things from a single node, be it 2-3 items and also have control of how much I want to gather for any item?
Thank you very much for your help.

Code:
<Profile>
	<Name>Water Shards and Crystals</Name>
	<KillRadius>50</KillRadius>
	<Order>				


		<!-- Gather Water Shards and Crystals -->

		<If Condition="not IsOnMap(145)">				
			<TeleportTo Name="Camp Drybone" AetheryteId="18" />
		</If>	
		<Gather while="ItemCount(7) &lt; 5000">
			<GatherObject>name</GatherObject>						
			<HotSpots>
				<Hotspot Radius="80" X="-344.0994" Y="-28.06476" Z="-41.86419"  />
			</HotSpots>
			<ItemNames>
				<ItemName>name</ItemName>
			</ItemNames>									
			<GatheringSkillOrder>
				<GatheringSkill SpellName="name" TimesToCast="1" />		
			</GatheringSkillOrder>
		</Gather>
	</Order>
</Profile>
 
Last edited:
You cannot choose how many of an item to gather if the item doesn't disappear. The only way you can gather just one of an item is if it's a rare spawn that disappears once you gather it. Besides that, you can add multiple <ItemName> tags to the <ItemNames> tag, and they are selected from the top down. If you had Water Crystal above Water Shard, then it would gather Crystals if it finds them, otherwise it will gather Shards.
 
Thank you and understood. What happens with the "ItemCount"? It seems I can only add one item. I'm guessing as it is now in the example it will only gather that one shard until 5k? Would it move on once it reaches that goal, or will it try to continue to gather crystals?
 
The while condition is for the entire tag, the profile would not go on to gather crystals, as that code is also within the same gather tag. The bot interprets that code as "while I have less than 5000 of an item, run this gather tag. After that, move on to whatever is next."
 
So I take it I'll take out the "While" condition if I want to gather both, if I understand correctly. Thank you very much. This information has been very helpful.
 
Back
Top