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

File Based Script Rule

KBou

New Member
Joined
Sep 4, 2015
Messages
14
Reaction score
0
Hello, I want to edit a file based script rule for my demonbuddy. I want to get specifics items and item list isn't picky enough for me(unless there is a way to add multiple instances of the same item). I used to edit a lot of pickits in d2 so this isn't completely new for me. My question is wich files do I have to edit. In my trinity/itemrules/rules there is 2 folder. /Soft and /hard but no way to choose it in bot (i might have missed something).

Is it worth my time working on this ? Or it is buggy since I don't see much people talking about it
 
I'll put couple hours on it today, I'll post my results over here. I remember in d2etal for example, there was a check up on the itemlist throwing you to problem lines, is there such a thing in db ?
 
Hello, I want to edit a file based script rule for my demonbuddy. I want to get specifics items and item list isn't picky enough for me(unless there is a way to add multiple instances of the same item). I used to edit a lot of pickits in d2 so this isn't completely new for me. My question is wich files do I have to edit. In my trinity/itemrules/rules there is 2 folder. /Soft and /hard but no way to choose it in bot (i might have missed something).

Is it worth my time working on this ? Or it is buggy since I don't see much people talking about it

In Trinity settings, go to Items -> ItemRules to choose the folder location of the rules.

I'd say it's worth it. It's what I use...I actually have never bothered to use Item List precisely for the reason you said, it can't set multiple rules for the same item.
 
That's for this build, how does this look ?

http://www.diablofans.com/builds/69882-2-4-gr100-zdps-globe-barb-group

// - Helm of the Wastes (Globe Build)

[QUALITY] == "Legendary" && [NAME] == "Helm of the Wastes" # [STR] > 0 && [VIT] > 0 && [SOCKETS] == 1 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Helm of the Wastes" # [STR] > 0 && [CRIT%] > 0 && [SOCKETS] == 1 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Helm of the Wastes" # [STR] > 0 && [VIT] > 0 && [CRIT%] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Helm of the Wastes" # [CRIT%] > 0 && [VIT] > 0 && [SOCKETS] == 1 -> [KEEP]

// - Mantle of Channeling (Globe Build)

[QUALITY] == "Legendary" && [NAME] == "Mantle of Channeling" # [STR] > 0 && [VIT] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Mantle of Channeling" # [CDRED%] > 0 && [VIT] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Mantle of Channeling" # [STR] > 0 && [CDRED%] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Mantle of Channeling" # [STR] > 0 && [VIT] > 0 && [CDRED%] > 0 && ([RESPHYSICAL] == 0 || [RESFIRE] == 0 || [RESCOLD] == 0 || [RESLIGHTNING] == 0 || [RESARCAN] == 0 || [RESPOISON] == 0 || [RESHOLY] == 0) -> [KEEP]

// - Aquila Cuirass (Globe Build)

[QUALITY] == "Legendary" && [NAME] == "Aquila Cuirass" # [STR] > 0 && [VIT] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Aquila Cuirass" # [SOCKETS] == 3 && [VIT] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Aquila Cuirass" # [STR] > 0 && [SOCKETS] == 3 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Aquila Cuirass" # [STR] > 0 && [VIT] > 0 && [SOCKETS] == 3 && ([RESPHYSICAL] == 0 || [RESFIRE] == 0 || [RESCOLD] == 0 || [RESLIGHTNING] == 0 || [RESARCAN] == 0 || [RESPOISON] == 0 || [RESHOLY] == 0) -> [KEEP]

// - Nemesis Bracers (Globe Build)

[QUALITY] == "Legendary" && [NAME] == "Nemesis Bracers" # [STR] > 0 && [VIT] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Nemesis Bracers" # [CRIT%] > 0 && [VIT] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Nemesis Bracers" # [STR] > 0 && [CRIT%] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Nemesis Bracers" # [STR] > 0 && [VIT] > 0 && [CRIT%] > 0 && ([RESPHYSICAL] == 0 || [RESFIRE] == 0 || [RESCOLD] == 0 || [RESLIGHTNING] == 0 || [RESARCAN] == 0 || [RESPOISON] == 0 || [RESHOLY] == 0) -> [KEEP]

// - Strongarm Bracers (Globe Build)

[QUALITY] == "Legendary" && [NAME] == "Strongarm Bracers" # [STR] > 0 && [VIT] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Strongarm Bracers" # [CRIT%] > 0 && [VIT] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Strongarm Bracers" # [STR] > 0 && [CRIT%] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Strongarm Bracers" # [STR] > 0 && [VIT] > 0 && [CRIT%] > 0 && ([RESPHYSICAL] == 0 || [RESFIRE] == 0 || [RESCOLD] == 0 || [RESLIGHTNING] == 0 || [RESARCAN] == 0 || [RESPOISON] == 0 || [RESHOLY] == 0) -> [KEEP]

// - Gauntlet of the Wastes (Globe Build)

[QUALITY] == "Legendary" && [NAME] == "Gauntlet of the Wastes" # [STR] > 0 && [VIT] > 0 && [CDRED%] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Gauntlet of the Wastes" # [CRIT%] > 0 && [VIT] > 0 && [CDRED%] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Gauntlet of the Wastes" # [STR] > 0 && [CRIT%] > 0 && [CDRED%] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Gauntlet of the Wastes" # [STR] > 0 && [VIT] > 0 && [CRIT%] > 0 -> [KEEP]

// - Pride of Cassius (Globe Build)

[QUALITY] == "Legendary" && [NAME] == "Pride of Cassius" # [STR] > 0 && [VIT] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Pride of Cassius" # [LIFE%] > 0 && [VIT] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Pride of Cassius" # [STR] > 0 && [LIFE%] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Pride of Cassius" # [STR] > 0 && [VIT] > 0 && [LIFE%] > 0 && ([RESPHYSICAL] == 0 || [RESFIRE] == 0 || [RESCOLD] == 0 || [RESLIGHTNING] == 0 || [RESARCAN] == 0 || [RESPOISON] == 0 || [RESHOLY] == 0) -> [KEEP]

// - Chilanik's Chain (Globe Build)

[QUALITY] == "Legendary" && [NAME] == "Chilanik's Chain" # [STR] > 0 && [VIT] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Chilanik's Chain" # [LIFE%] > 0 && [VIT] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Chilanik's Chain" # [STR] > 0 && [LIFE%] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Chilanik's Chain" # [STR] > 0 && [VIT] > 0 && [LIFE%] > 0 && ([RESPHYSICAL] == 0 || [RESFIRE] == 0 || [RESCOLD] == 0 || [RESLIGHTNING] == 0 || [RESARCAN] == 0 || [RESPOISON] == 0 || [RESHOLY] == 0) -> [KEEP]

// - Tasset of the Wastes (Globe Build)

[QUALITY] == "Legendary" && [NAME] == "Tasset of the Wastes" # [STR] > 0 && [VIT] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Tasset of the Wastes" # [SOCKETS] == 2 && [VIT] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Tasset of the Wastes" # [STR] > 0 && [SOCKETS] == 2 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Tasset of the Wastes" # [STR] > 0 && [VIT] > 0 && [SOCKETS] == 2 && ([RESPHYSICAL] == 0 || [RESFIRE] == 0 || [RESCOLD] == 0 || [RESLIGHTNING] == 0 || [RESARCAN] == 0 || [RESPOISON] == 0 || [RESHOLY] == 0) -> [KEEP]

// - Sabaton of the Wastes (Globe Build)

[QUALITY] == "Legendary" && [NAME] == "Sabaton of the Wastes" # [STR] > 0 && [VIT] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Sabaton of the Wastes" # [ARMORBONUS] > 0 && [VIT] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Sabaton of the Wastes" # [STR] > 0 && [ARMORBONUS] > 0 && [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Sabaton of the Wastes" # [STR] > 0 && [VIT] > 0 && [ARMORBONUS] > 0 && ([RESPHYSICAL] == 0 || [RESFIRE] == 0 || [RESCOLD] == 0 || [RESLIGHTNING] == 0 || [RESARCAN] == 0 || [RESPOISON] == 0 || [RESHOLY] == 0) -> [KEEP]

// - Oculus Ring (Globe Build)

[QUALITY] == "Legendary" && [NAME] == "Oculus Ring" # [SOCKETS] == 1 && [VIT] > 0 && [CDRED%] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Oculus Ring" # [CRIT%] > 0 && [VIT] > 0 && [CDRED%] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Oculus Ring" # [SOCKETS] == 1 && [CRIT%] > 0 && [CDRED%] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Oculus Ring" # [SOCKETS] == 1 && [VIT] > 0 && [CRIT%] > 0 -> [KEEP]

// - Obsidian Ring of the Zodiac (Globe Build)

[QUALITY] == "Legendary" && [NAME] == "Obsidian Ring of the Zodiac" # [RESRED%] == 8 && [AS%] == 7 && [CDRED%] == 8 && [CRIT%] == 6 -> [KEEP]

// - Bul-Kathos's Solemn Vow (Globe Build)

[QUALITY] == "Legendary" && [NAME] == "Bul-Kathos's Solemn Vow" # [RESRED%] >0 && [VIT] > 0 && [CDRED%] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Bul-Kathos's Solemn Vow" # [STR] >0 && [VIT] > 0 && [CDRED%] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Bul-Kathos's Solemn Vow" # [RESRED%] >0 && [STR] > 0 && [CDRED%] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Bul-Kathos's Solemn Vow" # [RESRED%] >0 && [VIT] > 0 && [STR] > 0 -> [KEEP]

// - Bul-Kathos's Warrior Blood (Globe Build)

[QUALITY] == "Legendary" && [NAME] == "Bul-Kathos's Warrior Blood" # [RESRED%] >0 && [VIT] > 0 && [CDRED%] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Bul-Kathos's Warrior Blood" # [STR] >0 && [VIT] > 0 && [CDRED%] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Bul-Kathos's Warrior Blood" # [RESRED%] >0 && [STR] > 0 && [CDRED%] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Bul-Kathos's Warrior Blood" # [RESRED%] >0 && [VIT] > 0 && [STR] > 0 -> [KEEP]
 
Last edited:
Just entered a build from diablofans on this, how does it looks ?

No phys damage %, LPFS or can we pinpoint the skill dmg ?
 
Last edited:
That's for this build, how does this look ?

http://www.diablofans.com/builds/69882-2-4-gr100-zdps-globe-barb-group

// - Helm of the Wastes (Globe Build)

[QUALITY] == "Legendary" && [NAME] == "Helm of the Wastes" # [STR] > 0 && [VIT] > 0 && [SOCKETS] == 1 -> [KEEP]

Since it's a globe build I assume you want all def stats. I would suggest the following

[QUALITY] == "Legendary" && [NAME] == "Helm of the Wastes" # [VIT] > 0 && [ALLRES] > 0 && [LIFE%] == 1 -> [KEEP]

Since all class helms come with main stat and socket , we don't need to specify it in the rule. My rule will stash the helm if it contains any of the following: vit, all resist, or life %.

If you have a lot of similar rules it's better to use macro to simply the whole thing.

For elemental damage I use the [ELEMDMG%] to cover all elements, you can try [PHYSDMG%] and see if it works. Unfortunately there is no rule for LPFS and the [SKILLDMG%] simply doesn't work for any skill which I hope xzjv can address it some day.
 
Last edited:
Back
Top