What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Where abouts in the code is the following ?

Blimey

New Member
Joined
Jul 4, 2014
Messages
78
Reaction score
0
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 cant. Just put vendor inside and adjust sell quality...
 
You can hook "SetVendorPoi" using TreeHooks to make it return a custom Decorator which determines whether or not to vendor.
 
Do you have an example? I don't think you are meaning profilecode...
 
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.
 
Thanks, this may come in useful when the bot is not running correctly again :)
 
Back
Top