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!

Where abouts in the code is the following ?

Blimey

New Member
Joined
Jul 4, 2014
Messages
78
Where about in the code for the bot may I find where it checks inventory space and tells the bot to go to the vendor ?

Or how do I turn off the inventory check all together so the bot will still loot credits while the inventory is full ?

Thanks.
 
Is anyone able to help with this information ? I have had a look around but I can not seem to find this.
 
Thanks Cryo, Is there any way to tell the bot to ignore this in a profile ?

When I completely remove the <vendor> tags it will loot until full and then not go to the vendor but not loot and just run around and kill. Just trying to get a work around until the new bot is operational.
 
You can hook "SetVendorPoi" using TreeHooks to make it return a custom Decorator which determines whether or not to vendor.
 
Yeah, could you post a piece of code and where to place it . This would help me a lot thanks
 
Code:
TreeHooks.Instance.ReplaceHook("SetVendorPoi", new Decorator(ret => false, new Action()));

Just run this from a plugin Initialize method or wherever - you're right it won't run from a profile since we don't support running code directly from profiles.
 
Back
Top