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!

Code to vendor items based on bind status?

BanannaKing

New Member
Joined
Dec 16, 2016
Messages
37
I want to know if it is possible (currently, or theoretically) to write code that would vendor items based on bind status, eg. BoP/Soulbound VS BoE.

If it is possible, I would love to have this, even that alone. BUT, as an extra step, it would be nice to have the code delineate based on both bind status, and item rarity, with bind status being a higher priority.

That way I could have my bot sell soulbound items of any item quality, and save BoE items of Rare or Epic quality. Such that I wouldn't miss the possible gold from a rare world drop or other valuable BoE - but I would not have to keep every useless soulbound boss drop to have that possibility.

I just want to know if this is even theoretically possible, so i can keep tossing the idea around, or give up on it accordingly. Thank you :D
 
Last edited by a moderator:
Okay, so how do I turn this into code that I can put into profiles, or better yet make a plugin? (Sorry if I should know by the links you gave me, i'm not being thick, just lack coding knowledge).
 
First you need to think about what exactly you want the bot to do for you. Then you need to learn the basics of C# coding or have someone write the code for you.

On a sidenote, all profiles contains a section like:

PHP:
   <MailGrey>false</MailGrey>
   <MailWhite>false</MailWhite>
   <MailGreen>true</MailGreen>
   <MailBlue>true</MailBlue>
   <MailPurple>true</MailPurple>
   
   <SellGrey>true</SellGrey>
   <SellWhite>true</SellWhite>
   <SellGreen>false</SellGreen>
   <SellBlue>false</SellBlue>
   <SellPurple>false</SellPurple>

The first section you tell it to mail all of a selected quality (then they ofc have to be BoE) to the toon specified in your bot settings, the other specifies what qualities you want the bot to vendor. For example <SellPurple>true</SellPurple> tells the bot to vendor all epics.
 
I am familiar with that section of code in profiles, yes. See, the thing is that the bot doesn't seem to prioritize going to either the vendor or mailbox first - nor does it always do both if it does one.
So, you either risk rare BoE rare's & epics getting vendored instead of mailed - or you let all rare's and epics stack up in your bag, regardless of bind status.
What I would like to achieve is having the bot save BoE rare's & epics, but not soulbound "rares & epics" that I get from dungeon/raid drops which drop very commonly and aren't any good to me for anything but vendoring. That's the end goal. Is that achievable?
If you could force the bot to go to a mailbox before it vendors, that achieves this.
If it could be coded to vendor delineating based upon bind status first, as a priority over rarity, that achieves this.

That is what I am trying to get at here =)
 
What you want to do can be achived with a <CustomBehavior File="RunCode"> tag with some custom C# code inside of it.

You want to go over all items in your inventory and vendor all epic items that are soulbound right?

Head over to the Community Developer forum and ask for help there and I'm sure someone will help you out.
 
Can't tell you how much I appreciate the time you took to reply Opply, thank you. So happy to know this is possible, and will be taking my request over to the County Dev. Forum.
+Rep coming your way, kind sir!
 
This is the most click bait title I've seen on the forums in a while, but so happy to see that you were able to find the help you need. As Opply mentioned, the dev forums are the place to go for help when you are in over your head with making a new script or profile. With that being said, try to learn from what you are provided to see if you can implement it in the future yourself.
 
I intend to learn, always, you can count on that! :P
Wish there was a book I could buy or youtube video courses I could take to learn how to build profiles/plugins honestly. Eager for knowledge >:D
 
I intend to learn, always, you can count on that! :P
Wish there was a book I could buy or youtube video courses I could take to learn how to build profiles/plugins honestly. Eager for knowledge >:D

Quite a bit going on with that to be announced at a later date ;)

What level of programming knowledge are you at?
 
Back
Top