Hey mastahg, I don't know if its currently possible but can we have our orderbot profiles somehow keep looping. At this point if none of the if statements return true, reborn buddy just stops. BTW i love orderbot your doing great things and thank you!
Pretty much anything... Edit: To elaborate you can write code in the condition and it will be evaluated.
Ah nice, I just tried to with <While Condition="Core.Player.ClassLevel > 1">, but i'm having issues, it looks like it doesn't finish all the if statements, if one of the statements are true then it just loops that statement and says Reached Desired number of loops. over and over again
Also doing a profile like this is bad design.... do it like this instead... Code: if timezonecheck gathertag <MoveTo XYZ="somesafespot..."/> <WaitWhile Condition="not isinnexttimezonething"/> <endif> Psuedoxml
While condition + gather loop Anyway to reset the loop count on order bot? if i do the following. Code: <?xml version="1.0" encoding="UTF-8"?> <Profile> <Name>Unspoiled</Name> <Order> <While Condition ="True"> <WaitWhile Condition ="IsTimeBetween(23,24)" /> <WaitWhile Condition ="IsTimeBetween(0,1)" /> <If Condition="IsTimeBetween(1,2)"> <TeleportTo Name="Camp Dragonhead" AetheryteId="23" /> <Gather Loop="1"> <GatherObject>Unspoiled Mineral Deposit</GatherObject> <HotSpots> <HotSpot Radius="95" XYZ="309.7161,305.0083,-62.78537" /> <HotSpot Radius="95" XYZ="301.0099, 307.6327, -89.7529"/> </HotSpots> <Slot>2</Slot> <GatheringSkillOrder> <!--GatheringSkill SpellName="King's Yield II" TimesToCast="1" /> <GatheringSkill SpellName="Sharp Vision" TimesToCast="1" /--> <GatheringSkill SpellName="Deep Vigor" TimesToCast="1" /> </GatheringSkillOrder> </Gather> <MoveTo XYZ="224.433, 302, -181.7083"/> <WaitWhile Condition ="IsTimeBetween(1,2)" /> </If> <If Condition="IsTimeBetween(2,3)"> <TeleportTo Name="Camp Drybone" AetheryteId="18" /> <Gather Loops="1"> <GatherObject>Unspoiled Rocky Outcrop</GatherObject> <HotSpots> <HotSpot Radius="95" XYZ="235.7776, 7.625561, -113.854" /> <HotSpot Radius="95" XYZ="266.5744, 16.63662, -151.9884"/> </HotSpots> <Slot>6</Slot> <GatheringSkillOrder> <GatheringSkill SpellName="King's Yield II" TimesToCast="1" /> <GatheringSkill SpellName="Sharp Vision" TimesToCast="1" /> <GatheringSkill SpellName="Deep Vigor" TimesToCast="1" /> </GatheringSkillOrder> </Gather> <MoveTo XYZ="-384.2926, -56.44275, 114.4392"/> <WaitWhile Condition ="IsTimeBetween(2,8)" /> </If> </While> </Order> It will try to loop but since i have <Gathering Loops ="1"/> that criteria is technically already met due to the first run. i don't not want to get rid of the loop because these are unspoiled gathering points and i don't want to be running around from point to point more than once. anyone have a suggestion? Thanks in Advanced!
I only put part of the xml as the example, let me post everything but the issue is that <while condition="True"> will not work if i use <gather loop ="1"> i was wondering if there was some other way to handle that so i can have the loop happen and have the bot only go to the hotspots once. full xml below\ Code: <?xml version="1.0" encoding="UTF-8"?> <Profile> <Name>Unspoiled</Name> <Order> <While Condition="True"> <WaitWhile Condition="IsTimeBetween(23,24)" /> <WaitWhile Condition="IsTimeBetween(0,1)" /> <If Condition="IsTimeBetween(1,2)"> <TeleportTo Name="Camp Dragonhead" AetheryteId="23" /> <Gather Loop="1"> <GatherObject>Unspoiled Mineral Deposit</GatherObject> <HotSpots> <HotSpot Radius="95" XYZ="309.7161,305.0083,-62.78537" /> <HotSpot Radius="95" XYZ="301.0099, 307.6327, -89.7529" /> </HotSpots> <Slot>2</Slot> <GatheringSkillOrder> <!--GatheringSkill SpellName="King's Yield II" TimesToCast="1" /> <GatheringSkill SpellName="Sharp Vision" TimesToCast="1" /--> <GatheringSkill SpellName="Deep Vigor" TimesToCast="1" /> </GatheringSkillOrder> </Gather> <MoveTo XYZ="224.433, 302, -181.7083" /> <WaitWhile Condition="IsTimeBetween(1,2)" /> </If> <If Condition="IsTimeBetween(2,3)"> <TeleportTo Name="Camp Drybone" AetheryteId="18" /> <Gather Loops="1"> <GatherObject>Unspoiled Rocky Outcrop</GatherObject> <HotSpots> <HotSpot Radius="95" XYZ="235.7776, 7.625561, -113.854" /> <HotSpot Radius="95" XYZ="266.5744, 16.63662, -151.9884" /> </HotSpots> <Slot>6</Slot> <GatheringSkillOrder> <GatheringSkill SpellName="King's Yield II" TimesToCast="1" /> <GatheringSkill SpellName="Sharp Vision" TimesToCast="1" /> <GatheringSkill SpellName="Deep Vigor" TimesToCast="1" /> </GatheringSkillOrder> </Gather> <MoveTo XYZ="-384.2926, -56.44275, 114.4392" /> <WaitWhile Condition="IsTimeBetween(2,8)" /> </If> <WaitWhile Condition="IsTimeBetween(3,8)" /> <!--If Condition="IsTimeBetween(6,8)"> <TeleportTo Name="Camp Tranquill" AetheryteId="6"/> <Gather Loops="1"> <GatherObject>Unspoiled Rocky Outcrop</GatherObject> <HotSpots> <HotSpot Radius="95" XYZ="-148.7484, 0.1327525, 495.6059"/> <HotSpot Radius="95" XYZ="-309.7714, 0.2829998, 383.5645"/> <HotSpot Radius="95" XYZ="-247.8551, -0.1900875, 495.2155"/> </HotSpots> <Slot>6</Slot> <GatheringSkillOrder> <GatheringSkill SpellName="Unearth II" TimesToCast="1" /> <GatheringSkill SpellName="Sharp Vision II" TimesToCast="1" /> <GatheringSkill SpellName="Deep Vigor" TimesToCast="1" /> </GatheringSkillOrder> </Gather> <MoveTo XYZ="-224.5222, 20.93974, 357.7489"/> <WaitWhile Condition ="IsTimeBetween(6,9)" /> </If--> <WaitWhile Condition="IsTimeBetween(8,9)" /> <If Condition="IsTimeBetween(9,11)"> <TeleportTo Name="Camp Drybone" AetheryteId="18" /> <Gather Loops="1"> <GatherObject>Unspoiled Mineral Deposit</GatherObject> <HotSpots> <HotSpot Radius="95" XYZ="307.6837, 10.1216, -9.528715" /> <HotSpot Radius="95" XYZ="307.6837, 10.1216, -9.528715" /> <HotSpot Radius="95" XYZ="337.364, 20.48742, 44.63499" /> </HotSpots> <Slot>5</Slot> <GatheringSkillOrder> <GatheringSkill SpellName="King's Yield II" TimesToCast="1" /> <GatheringSkill SpellName="Sharp Vision" TimesToCast="1" /> <GatheringSkill SpellName="Deep Vigor" TimesToCast="1" /> </GatheringSkillOrder> </Gather> <MoveTo XYZ="-384.2926, -56.44275, 114.4392" /> <WaitWhile Condition="IsTimeBetween(9,13)" /> </If> <WaitWhile Condition="IsTimeBetween(11,13)" /> <If Condition="IsTimeBetween(13,16)"> <TeleportTo Name="Revenant's Toll" AetheryteId="24" /> <Gather Loops="1"> <GatherObject>Unspoiled Rocky Outcrop</GatherObject> <HotSpots> <HotSpot Radius="95" XYZ="297.7793, 7.004344, -589.2265" /> <HotSpot Radius="95" XYZ="343.6565, -7.780937, -451.2857" /> </HotSpots> <Slot>3</Slot> <GatheringSkillOrder> <GatheringSkill SpellName="King's Yield II" TimesToCast="1" /> <GatheringSkill SpellName="Sharp Vision" TimesToCast="1" /> <GatheringSkill SpellName="Deep Vigor" TimesToCast="1" /> </GatheringSkillOrder> </Gather> <MoveTo XYZ="37.06635, 20.295, -661.0411" /> <WaitWhile Condition="IsTimeBetween(13,17)" /> </If> <WaitWhile Condition="IsTimeBetween(16,17)" /> <If Condition="IsTimeBetween(17,19)"> <TeleportTo Name="Revenant's Toll" AetheryteId="24" /> <Gather Loops="1"> <GatherObject>Unspoiled Rocky Outcrop</GatherObject> <HotSpots> <HotSpot Radius="95" XYZ="297.7793, 7.004344, -589.2265" /> <HotSpot Radius="95" XYZ="343.6565, -7.780937, -451.2857" /> </HotSpots> <Slot>2</Slot> <GatheringSkillOrder> <GatheringSkill SpellName="King's Yield II" TimesToCast="1" /> <GatheringSkill SpellName="Sharp Vision" TimesToCast="1" /> <GatheringSkill SpellName="Deep Vigor" TimesToCast="1" /> </GatheringSkillOrder> </Gather> <MoveTo XYZ="37.06635, 20.295, -661.0411" /> <WaitWhile Condition="IsTimeBetween(17,21)" /> </If> <WaitWhile Condition="IsTimeBetween(19,21)" /> <If Condition="IsTimeBetween(21,23)"> <TeleportTo Name="Revenant's Toll" AetheryteId="24" /> <Gather Loops="1"> <GatherObject>Unspoiled Rocky Outcrop</GatherObject> <HotSpots> <HotSpot Radius="95" XYZ="297.7793, 7.004344, -589.2265" /> <HotSpot Radius="95" XYZ="343.6565, -7.780937, -451.2857" /> </HotSpots> <Slot>6</Slot> <GatheringSkillOrder> <GatheringSkill SpellName="King's Yield II" TimesToCast="1" /> <GatheringSkill SpellName="Sharp Vision" TimesToCast="1" /> <GatheringSkill SpellName="Deep Vigor" TimesToCast="1" /> </GatheringSkillOrder> </Gather> <MoveTo XYZ="37.06635, 20.295, -661.0411" /> <WaitWhile Condition="IsTimeBetween(21,24)" /> <WaitWhile Condition="IsTimeBetween(0,1)" /> </If> </While> </Order> </Profile>
The profile will run perfect until the end, then it doesn't technically exit it just stops moving my character, and when it hits <If Condition="IsTimeBetween(1,2)"> nothing happens and i think its because all the <Gather Loops=1"> criteria have been met during that first run and doesn't reset to 0.