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

[Plugin] "Item Rules 2" File based scripting language!

I was working on a pickup.dis list and was curious if the order of events mattered.. does a pickup override an ignore regardless of the order or does the order matter...

would both of these pickup 58+ legendary weapons or would the 2nd one ignore all legendary weapons
Code:
[QUALITY] == "Legendary" && [BASETYPE] == "Weapon" && [LEVEL] > 57
[QUALITY] == "Legendary" && [BASETYPE] == "Weapon" -> [IGNORE]
Code:
[QUALITY] == "Legendary" && [BASETYPE] == "Weapon" -> [IGNORE]
[QUALITY] == "Legendary" && [BASETYPE] == "Weapon" && [LEVEL] > 57
 
the second rule will ignore legendary weapons
thanks!

another question, sending things to [TRASH], like a legendary, i have the trinity salvage option to inferno yet he runs to the vendor... is this the wrong setting or does items rules simply only stash or vendor?
 
thanks!

another question, sending things to [TRASH], like a legendary, i have the trinity salvage option to inferno yet he runs to the vendor... is this the wrong setting or does items rules simply only stash or vendor?

Try [SCORE] that should trinity decide what to do, not Item Rules.
 
Try [SCORE] that should trinity decide what to do, not Item Rules.
I guess it was running to sell something before heading to the blacksmith
I set trinity to salvage all instead of just inferno and he ran over to the BS
 
Last edited:
I have read this instruscions but it did not help. With your instruction my new tab in tirnity did not appear. I have TrinityPlugin-1.7.2.6. what file i should copy from this public download plugin (item rules) and where paste it to the TrinityPlugin-1.7.2.6?

Please help, sorry for my bad english

I need New advice from you. Where are the .dis files which i must copy to my Trinity Rules? I can't find them. In forward when i will copy .dis files which tab i should pick? Hard, soft or custom? I am not able to modify rules in notepad unfortunately :(
 
00:47:19.489 N] [Trinity]Translation: Wrong(): 253088131;Турнирные кольчужные штаны Блекторна
[00:47:19.550 N] [Trinity]Турнирные кольчужные штаны Блекторна [pants_norm_unique_050-179] [Legs] = (KEEP)

Any idea? translation.dis contains the following - "253088131;Blackthorne's Jousting Mail" and as you can see the ID is correct.
 
Will the custom tool from the donate-toolbox allow me to watch what all my bots pickup simultaneously when they are all sharing the same "Trinitylogs"-folder?

Would make me donate :)
 
darkfiend I hope U can answer me (or maybe some other knows?)

I cant find where is error log. I used to check if all rules parsed OK (it was in v1.0) but still cant find it in v2 . I wanted to share on forum some rules i prepared, checked them 3 times manually but still it would be safe to see if all are parsed ok.

In old version after plugin statrs u could find "WARNING" lines with bad rules. Cant find anything like that in /trinity/ logs files - there are only pickup/stash logs but no parsing warnings/errors.

Many thanx for info.
 
Did you just take the new confusing script and make it look like the oldschool diablo2 bot codes?

I think I love you.

Bah it's not working I think has to do with recent patches or some leprechauns. Tried using the first and second links one at a time as clean install and merge with existing but different errors each time preventing Trinity from loading at all :X Will edit if I get it working but prolly not (new to whole DB thing as it is, getting the hang quick though just trying new things now)
 
Last edited:
darkfiend I hope U can answer me (or maybe some other knows?)

I cant find where is error log. I used to check if all rules parsed OK (it was in v1.0) but still cant find it in v2 . I wanted to share on forum some rules i prepared, checked them 3 times manually but still it would be safe to see if all are parsed ok.

In old version after plugin statrs u could find "WARNING" lines with bad rules. Cant find anything like that in /trinity/ logs files - there are only pickup/stash logs but no parsing warnings/errors.

Many thanx for info.


its all in the itemrules.log file ^^^when it has errors like parsing errors and such ^^
 
Did you just take the new confusing script and make it look like the oldschool diablo2 bot codes?

I think I love you.

Bah it's not working I think has to do with recent patches or some leprechauns. Tried using the first and second links one at a time as clean install and merge with existing but different errors each time preventing Trinity from loading at all :X Will edit if I get it working but prolly not (new to whole DB thing as it is, getting the hang quick though just trying new things now)


its already built in Trinity .... :-)
 
darkfriend77

Did u stop to update the itemfiles ??


the last update is about 1 week :(
 
OH HELLS YES IT IS!

Planning to spend about 3+Hours messing with these in wordpad.

THANK YOU!!

:o<33333

I've had mine open in notepad for like 2 weeks now, constantly changing stuff as i see new filters need to be made, either to filter out some junk or add some missed combos worth quite a bit

oddly its quite fun....

check out my sig for some notepad++ coloring as well as PSpad darkfriend77 posted as a reply :)
 
I spent like 3 hours yesterday to get working pickup.dis rules, and I never succeeded in that.
So now I turn to this thread as I am no longer sure of how to do it;

Code:
[QUALITY] == "Rare" && [TWOHAND] == true -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [Type] == "Shield" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [Type] == "Quiver" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [Type] == "Mojo" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [Type] == "Shoulder" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [Type] == "WizardHat" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [Type] == "Helm" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [Type] == "Belt" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [Type] == "Orb" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [Type] == "MightyBelt" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [Type] == "Cloak" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [Type] == "SpiritStone" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [Type] == "VoodooMask" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [Type] == "Chest" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [Type] == "Legs" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [Type] == "Bracer" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Weapon" && [Type] == "CeremonialDagger" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Weapon" && [Type] == "Wand" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Weapon" && [Type] == "HandCrossbow" -> [IGNORE]
[QUALITY] == "Rare" && [LEVEL] >= 57 && [BASETYPE] == "Weapon" && [Type] == "Axe"
[QUALITY] == "Rare" && [LEVEL] >= 57 && [BASETYPE] == "Weapon" && [Type] == "Sword"
[QUALITY] == "Rare" && [LEVEL] >= 57 && [BASETYPE] == "Weapon" && [Type] == "Mace"
[QUALITY] == "Rare" && [LEVEL] >= 57 && [BASETYPE] == "Weapon" && [Type] == "Dagger"
[QUALITY] == "Rare" && [LEVEL] >= 60 && [BASETYPE] == "Weapon" && [Type] == "Spear"
[QUALITY] == "Rare" && [LEVEL] >= 60 && [BASETYPE] == "Weapon" && [Type] == "FistWeapon"
[QUALITY] == "Rare" && [LEVEL] >= 60 && [BASETYPE] == "Weapon" && [Type] == "MightyWeapon"
[QUALITY] == "Rare" && [LEVEL] >= 60 && [BASETYPE] == "Armor" && [Type] == "Gloves"
[QUALITY] == "Rare" && [LEVEL] >= 60 && [BASETYPE] == "Armor" && [Type] == "Boots"
[QUALITY] == "Rare" && [LEVEL] > 50 && [BASETYPE] == "Jewelry"
[QUALITY] == "Rare" -> Ignore
I put in these rules, and the bot skips everything but Jewelry.
I've tried mixing it around in all possible ways, and the closest I've come is either Only pickup rings, or Only ignore 2H-Weapons.

Some help would be appreciated on this matter.
 
Back
Top