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!

[Question](OrderBot Profile Creation) Working with unspoiled nodes?

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

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>
 
I would recommend that you look at other profiles to get an idea of how they work.

If tags cannot go inside a grind tag, they need to go outside. Also, use the slot tag instead of the item name tag for farming unspoiled.

Just check out some profiles and look at what they do.
 
Thanks for the expedited reply, I'll definitely check it out, I was using some other profiles as a reference xD

Edit: When you say Grind, I can only assume you mean the Gather tag? I imagine it to be the equivalent to "Grind" :X
 
Last edited:
Thanks for the expedited reply, I'll definitely check it out, I was using some other profiles as a reference xD

Edit: When you say Grind, I can only assume you mean the Gather tag? I imagine it to be the equivalent to "Grind" :X

Yeah sorry I meant gather. Just woke up, my bad.
 
All good, just wanted to be sure. Thanks again for the help!
I went ahead and tossed you a +rep, and if/when i get this script up and running how I want, we can add it to your master botany guide :P

Edit: Your tip worked! While it's unfortunate I can't just add it as a condition in the hotspot tag, making a whole new Gathering tag encapsulated inside my IF Statement did the trick, thanks again! :)
 
Last edited:
I'll throw in this example of timed node farming, hope it helps:

Code:
<Profile>
    <Name>Botany - Crawler Cocoon</Name>
    <KillRadius>50</KillRadius>
    <Order>
    <While Condition="True">
	<If Condition="IsTimeBetween(0,6)">
            <If Condition="not IsOnMap(152)">
	        <TeleportTo Name="The Hawthorne Hut" AetheryteId="4" />
	    </If>
	    <Gather while="IsTimeBetween(0,6)">
                <GatherObject>Unspoiled Lush Vegetation Patch</GatherObject>
                <HotSpots>
        	    <HotSpot Radius="300" XYZ="30.11172, -4.755356, 226.1561" />
                </HotSpots>
				<Slot>4</Slot>
	        <GatheringSkillOrder>
		    <GatheringSkill SpellName="Toil of the Pioneer" TimesToCast="1" />
			<GatheringSkill SpellName="Field Mastery III" TimesToCast="1" />
			</GatheringSkillOrder>
      	    </Gather>
		</If>
		</While>
    </Order>
</Profile>

It will idle otherwise, but it's a starting point. Good luck
 
Unfortunately I was mistaken in my theory that nodes have fixxed spots based on time. It looks like this is not the case.
I'm going to have to investigate some other alternatives, such as walking a path between the three spots during a certain time period, or perhaps a gigantic hotspot- though I imagine the distance between the nodes is too great and won't work.

I got the code working as intended, I just had a misguided theory as to how the nodes spawned. ><;
 
Back
Top