Tinytox
Member
- Joined
- Nov 5, 2014
- Messages
- 370
I'm positive that this shall sound noobish. I'm -okay- at scripting once I get comfortable, I'm NOT a programmer >.>;
I was hoping for a compendium of XML tags usable in OrderBot/Grinding (bot).
I already found the method I was looking for, but quickly after -trying- to implement it, I had various odd problems. I tried IF statements, I tried adding it like an attribute to hotspots.. For the life of me I can't figure out how to make it work properly, the weird part is it seemingly did work when used as just an IF statement, as long as there was only one of them. - Add in a second IF statement and the script just ceases to do anything at all.
Another issue I am having now, The bot doesn't seem to know which slot to hit anymore, for whatever reason it did earlier, I imagine now it's stuck trying to use Byregot's Ward, since that can only be used once the item has been uncovered, maybe a better solution is kings yield 2, for now.
I appreciate any assistance i can get, the exact method I was trying to implement was IsTimeBetween, the documentation can be found here:
ConditionParser.IsTimeBetween Method
One last disclaimer, I am not knowledgeable enough to know if that method was even designed to be used in the scripts.. I figured it was completely possible that it had only been intended to be used for plugins.. It seems as if it walks over to the part with the IF statement regardless of the time anyhow. >.>;
Anyway, if you can help me please do! I was considering picking up a little programming and trying to make some basic stuff, but it's definitely not going to happen without some help XD
I was hoping for a compendium of XML tags usable in OrderBot/Grinding (bot).
I already found the method I was looking for, but quickly after -trying- to implement it, I had various odd problems. I tried IF statements, I tried adding it like an attribute to hotspots.. For the life of me I can't figure out how to make it work properly, the weird part is it seemingly did work when used as just an IF statement, as long as there was only one of them. - Add in a second IF statement and the script just ceases to do anything at all.
Another issue I am having now, The bot doesn't seem to know which slot to hit anymore, for whatever reason it did earlier, I imagine now it's stuck trying to use Byregot's Ward, since that can only be used once the item has been uncovered, maybe a better solution is kings yield 2, for now.
I appreciate any assistance i can get, the exact method I was trying to implement was IsTimeBetween, the documentation can be found here:
ConditionParser.IsTimeBetween Method
One last disclaimer, I am not knowledgeable enough to know if that method was even designed to be used in the scripts.. I figured it was completely possible that it had only been intended to be used for plugins.. It seems as if it walks over to the part with the IF statement regardless of the time anyhow. >.>;
Anyway, if you can help me please do! I was considering picking up a little programming and trying to make some basic stuff, but it's definitely not going to happen without some help XD
Code:
<Profile>
<Name>Botany - Clusters</Name>
<KillRadius>50</KillRadius>
<Order>
<If Condition="not IsOnMap(154)">
<TeleportTo Name="Revenant's Toll" AetheryteId="24" />
</If>
<Gather>
<GatherObject>Unspoiled Rocky Outcrop</GatherObject>
<HotSpots>
<If Condition="IsTimeBetween(0,14)">
<Hotspot Radius="80" X="299.3817" Y="6.922878" Z="-587.6415" name="" />
</If>
<Hotspot Radius="60" X="342.8845" Y="-7.749214" Z="-452.5338" name="" />
</HotSpots>
<ItemNames>
<ItemName>Lightning Cluster</ItemName>
</ItemNames>
<GatheringSkillOrder>
<GatheringSkill SpellName="Byregot's Ward" TimesToCast="1" />
<GatheringSkill SpellName="Sharp Vision II" TimesToCast="1" />
</GatheringSkillOrder>
</Gather>
</Order>
</Profile>