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!

Grind for a certain number of items

tichy

Member
Joined
Jun 6, 2015
Messages
142
Hi Guys,

Usually I would just be reverse engineering other people's profiles in the dark but I've just about reached my capacity in terms of trying to put together my own stuff.

The problem: I want my unspoiled node profiles to farm materials for crafting in the time it's waiting

The hypothesis: If I can get a working, time based, item number limited, grind profile, that recognizes its not in the correct class, this should be easy.

I've attempted this with snurble tufts - adapted from y2krazy's profile. The profile I've come up with is quite simple but seems to give me an error:


Timed Grind Profile
<Profile>
<Order>
<If Condition="IsTimeBetween(1,23)">
<If Condition="Core.Me.CurrentJob != ClassJobType.Ninja">
<RunCode Name="NIN"/>
<WaitTimer WaitTime="3"/>
</If>
<If Condition ="ItemCount(5349) &lt; 300">
<If Condition="not IsOnMap(145)">
<TeleportTo Name="Camp Drybone" AetheryteId="18" />
</If>
<Grind while ="(ItemCount(5349) &lt; 300) and IsTimeBetween(1,23)">
<GrindAreas>
<GrindArea name="Snurble_Tufts">
<Hotspots>
<Hotspot Radius="250" XYZ="251.318, -16.42159, 172.1474" name="Golden Fleece" />
</Hotspots>
<TargetMobs>
<TargetMob Id="271" />
</TargetMobs>
</GrindArea>
</GrindAreas>
</Grind>
</If>
</If>
</Order>
<CodeChunks>
<CodeChunk Name="NIN">
<![CDATA[ ff14bot.Managers.ChatManager.SendChat("/gs change 13");
]]>
</CodeChunk>
</CodeChunks>
</Profile>

The Error

[23:54:21.182 D] [00:30:42.669 D] System.NullReferenceException: Object reference not set to an instance of an object.
at TreeSharp.Decorator.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at ff14bot.TreeRoot.()

Would appreciate any help I can get from the braniacs in this community :D

Cheers,
Tichy
 
Last edited:
You got your grindareas inside the order section, can't have that.
Code:
<Profile>
  <Name> 
     <!-- Name your profile -->
  </Name>
  
  <GrindAreas>
      <!-- define your grindareas here -->
  </GrindAreas>

  <CodeChunks>
      <!-- add your codechunks here -->
  </CodeChunks>

  <Order>
      <!-- here you put what the bot needs to do like grind and check if it's on the right map ... -->
  </Order>

</Profile>

As an example I've attached a modified version of Y2Crazy's Lindwurm - Raptor Skin profile with some of Kagepande's code to farm specified amount. It doesn't have any code for time based farming, but how you added it should be fine.
 

Attachments

Last edited:
Back
Top