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

how to not pickup or not stash a certain legendary or 2handed weapons in general?

chaosbaby

New Member
Joined
May 28, 2013
Messages
38
Reaction score
0
Hi guys,

How can I make the bot to not pickup or just vendor 2handed weapons and lets say a specific legendary like Ivory Tower? Is it possible? Thank You!
 
yes, autodiscarding legendaries by name is possible, I think even auto-ignoring 2 handers is.
you need to go into plugins dirs / guiles trinity / item rules / rules / custom / and edit the legendary and/or pickup.xml files. you'll figure it out fast, it doesnt take much more than a little logic to discover the logic behind the code. then you will ofc need to set your DB client to work with 'file based rules' and then point it to the custom folder where the rules are stored.
for example what you asked will look like this:
[QUALITY] == "Legendary" && [NAME] == "Ivory Tower" -> [TRASH]

and this for the 2 handers (im not sure if it works for legendaries as well)
[QUALITY] == "Legendary" && [BASETYPE] == "Weapon" && [TWOHAND] == true -> [IGNORE]

hope this helps :)
 
yes, autodiscarding legendaries by name is possible, I think even auto-ignoring 2 handers is.
you need to go into plugins dirs / guiles trinity / item rules / rules / custom / and edit the legendary and/or pickup.xml files. you'll figure it out fast, it doesnt take much more than a little logic to discover the logic behind the code. then you will ofc need to set your DB client to work with 'file based rules' and then point it to the custom folder where the rules are stored.
for example what you asked will look like this:
[QUALITY] == "Legendary" && [NAME] == "Ivory Tower" -> [TRASH]



and this for the 2 handers (im not sure if it works for legendaries as well)
[QUALITY] == "Legendary" && [BASETYPE] == "Weapon" && [TWOHAND] == true -> [IGNORE]

hope this helps :)

sweet...i was always confused about the structure of that folder cause there are soft, hard and custom. I didn't know what to edit. Anyway thanks wlaci, I'll give it a try.
 
I'm not yet sure how it works but it might. :(

sure, it will ignore Skorns.
Skorn being the only interesting two-hander for now, you can insert that line i quoted you about the two-handers right after the section in the same legendary.xml file where the Skorn rules are described, just scroll down. alternatively you can put the Skorn rules at the top of the file, its up to you really.
what you need to bear in mind when setting up your rules is that the bot follows a top to bottom logic, this means the bot will start checking rules from the first line of the file and go down until it finds a matching rule, so if it finds a matching rule for the Skorns before it finds a rule for two-handers in general, it will go with the Skorn rule and skip everything else onwards below.
you should be good from here :)
 
Last edited:
re pls help my "custom" empty

sure, it will ignore Skorns.
Skorn being the only interesting two-hander for now, you can insert that line i quoted you about the two-handers right after the section in the same legendary.xml file where the Skorn rules are described, just scroll down. alternatively you can put the Skorn rules at the top of the file, its up to you really.
what you need to bear in mind when setting up your rules is that the bot follows a top to bottom logic, this means the bot will start checking rules from the first line of the file and go down until it finds a matching rule, so if it finds a matching rule for the Skorns before it finds a rule for two-handers in general, it will go with the Skorn rule and skip everything else onwards below.
you should be good from here :)

Please my "custom" folder of trinity is empty and i dont know how to make a new .xml or rule like this... im new in bot and just want to pick "skorn" two hand and all rings/amu/1hand weap 1+k dps with socket (+legends ofc) to keep in my stash.. please help
 
Back
Top