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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

New to Profiles

Yayan

Member
Joined
May 16, 2010
Messages
247
Looking for help writing a profile.
I am using orderbot to sort out a gathering profile, but is there an "if condition" to change what it is gathering if it reaches a certain amount?

Is there a list of if conditions I can see somewhere?

Thanks
 
Like I said, I am a complete noob, can someone explain to me where I have gone wrong?

Code:
<Profile>
	<Name>Mining - Lightning and Wind Shards</Name>
	<KillRadius>80</KillRadius>
	<Order>
		<If Condition="not IsOnMap(141)">
			<TeleportTo Name="Black Brush Station" AetheryteId="53" />
		</If>
		<While Condition="not HasAtLeast(6,1100)">
			<Gather>
				<GatherObject>Mineral Deposit</GatherObject>
				<Hotspots>
					<Hotspot Radius="80" XYZ="-106.0359, 6.038454, 249.9306" />
				</Hotspots>
				<ItemNames>					
					<ItemName>Lightning Shard</ItemName>	
				</ItemNames>
			<GatheringSkillOrder>
				<GatheringSkill SpellName="Byregot's Ward" TimesToCast="1" />
			</GatheringSkillOrder>
			</Gather>
		</While>
			<Gather>
				<GatherObject>Mineral Deposit</GatherObject>
				<Hotspots>
					<Hotspot Radius="80" XYZ="-106.0359, 6.038454, 249.9306" />
				</Hotspots>
				<ItemNames>					
					<ItemName>Wind Shard</ItemName>	
				</ItemNames>
			     <GatheringSkillOrder>
				<GatheringSkill SpellName="Prospect" TimesToCast="1" />
	        </GatheringSkillOrder>
		</Gather>
	</Order>
</Profile>

Its giving me

Code:
[22:40:46.257 D] Added new hook [HotspotPoi] fd2921f7-305c-4670-ab7c-e6f1dc765beb[22:40:46.257 D] Added new hook [SetDeathPoi] 06e1d615-056b-4f62-9c2a-48f6821ce178
[22:40:46.257 D] Added new hook [SetCombatPoi] 41aee796-9ee0-4dcc-a0e7-fcd819068b24
[22:40:46.257 D] Added new hook [SetHotspotPoi] 23b86f40-081d-4ee8-8099-13b86c204257
[22:40:46.257 D] Added new hook [SelectPoiType] 1cffa90a-88cc-4f1b-9a5d-a71892379025
[22:40:46.257 D] Replaced hook [SelectPoiType] 15f56f10-918a-477d-8541-dfb5d821b6af
[22:40:46.289 D] Exception during scheduling Pulse: System.NullReferenceException: Object reference not set to an instance of an object.
   at ff14bot.NeoProfiles.GatherTag.OnStart()
   at ..()
   at ff14bot.NeoProfiles.NeoProfileManager.UpdateCurrentProfileBehavior()
   at ff14bot.BotBases.OrderBot.(Object , EventArgs )
   at ff14bot.Behavior.BrainBehavior.()
 
Last edited:
Try adding a GatheringSkillOrder tag to the first Gather tag you have. It can be the following if you don't want to cast anything:

Code:
	        <GatheringSkillOrder>
				<GatheringSkill SpellName="Prospect" TimesToCast="1" />
	        </GatheringSkillOrder>
 
Profile

Code:
<Profile>	<Name>Mining - Lightning and Wind Shards</Name>
	<KillRadius>80</KillRadius>
	<Order>
		<If Condition="not IsOnMap(141)">
			<TeleportTo Name="Black Brush Station" AetheryteId="53" />
		</If>
		<While Condition="not HasAtLeast(6,1100)">
			<Gather>
				<GatherObject>Mineral Deposit</GatherObject>
				<Hotspots>
					<Hotspot Radius="80" XYZ="-106.0359, 6.038454, 249.9306" />
				</Hotspots>
				<ItemNames>					
					<ItemName>Lightning Shard</ItemName>	
				</ItemNames>
			<GatheringSkillOrder>
				<GatheringSkill SpellName="Byregot's Ward" TimesToCast="1" />
			</GatheringSkillOrder>
			</Gather>
		</While>
			<Gather>
				<GatherObject>Mineral Deposit</GatherObject>
				<Hotspots>
					<Hotspot Radius="80" XYZ="-106.0359, 6.038454, 249.9306" />
				</Hotspots>
				<ItemNames>					
					<ItemName>Wind Shard</ItemName>	
				</ItemNames>
			     <GatheringSkillOrder>
				<GatheringSkill SpellName="Prospect" TimesToCast="1" />
	        </GatheringSkillOrder>
		</Gather>
	</Order>
</Profile>

Log attached
 

Attachments

Dont combine while and gather like that. Gather must have its own condition.

Code:
			<Gather while="not HasAtLeast(6,1100)">
 
I'm sorry I am so bad at this, so your saying the profile should be more like

Code:
<Profile>	<Name>Mining - Lightning and Wind Shards</Name>
	<KillRadius>80</KillRadius>
	<Order>
		<If Condition="not IsOnMap(141)">
			<TeleportTo Name="Black Brush Station" AetheryteId="53" />
		</If>
			<Gather while="not HasAtLeast(6,2300)">
				<GatherObject>Mineral Deposit</GatherObject>
				<Hotspots>
					<Hotspot Radius="80" XYZ="-106.0359, 6.038454, 249.9306" />
				</Hotspots>
				<ItemNames>					
					<ItemName>Lightning Shard</ItemName>	
				</ItemNames>
			<GatheringSkillOrder>
				<GatheringSkill SpellName="Byregot's Ward" TimesToCast="1" />
			</GatheringSkillOrder>
			</Gather>
		<Gather>
				<GatherObject>Mineral Deposit</GatherObject>
				<Hotspots>
					<Hotspot Radius="80" XYZ="-106.0359, 6.038454, 249.9306" />
				</Hotspots>
				<ItemNames>					
					<ItemName>Wind Shard</ItemName>	
				</ItemNames>
			     <GatheringSkillOrder>
				<GatheringSkill SpellName="Solid Resolution" TimesToCast="1" />
	        </GatheringSkillOrder>
		</Gather>
	</Order>
</Profile>
 
Back
Top