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

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

No one forced you to use it. You could always edit itemvaluation.cs
 
Well it's integrated to the only working trinity right now, so I do feel sorta forced into using it:P. Perhaps, you have solved the issue for me though. If itemvaluation.cs is the equiv of the old giles.cs file and I can just edit some of that, I would be content! I love the sound of these new rules in theory, but it seems to have issues with certain things from reading these forums. With the rarity of drops worth value, especially lately, having the item rules vendor a sick rare or salvage a valuable legendary or something, doesn't seem worth the risk to me. If these rules are stable and working properly always, I would be happy to donate and use.
 
Hello everyone,as i am rather new here i have some questions about how to properly use darkfriends loot rules(For the record, trinity default rules work without any issues,but they are kinda lame on what they stash and sell).

It seems that when i enable the custom loot rules from trinity plugin it autoloads hard item rules.

1)How can i change that to medium/soft etc?
2)I used for a while the default hard rule set and it pauses quite often for few seconds doing nothing or going a bit backwards etc.

Thank you in advance.

PS:Maybe some of the answers are already within some of the above posts,but i dont have the time to read all 47 pages.
 
1)How can i change that to medium/soft etc?
Go to plugins/GilesTrinity/ItemRules/Rules/config.dis and change [RULE] == hard to soft /medium.
2)I used for a while the default hard rule set and it pauses quite often for few seconds doing nothing or going a bit backwards etc.
Not sure what you mean exactly maybe someone else can help you.
 
Thank you for your help,it is fixed now :)

Yeah it doesnt stuck as well anymore not goes backwards,dunno why it did with the default hard rule.
 
Code:
// +---------------------------------------------------------------------------+
// | ______ __                             __              
// ||      |  |--.---.-.-----.-----.-----.|  |.-----.-----.
// ||   ---|     |  _  |     |  _  |  -__||  ||  _  |  _  |
// ||______|__|__|___._|__|__|___  |_____||__||_____|___  |
// |                         |_____|                |_____|
// +---------------------------------------------------------------------------+
// | 2.0234(beta):
// | - some minor changes and fixes
// | - moved from onto latest Trinity 1.7.1.9 devOnly thx to rrix
// +---------------------------------------------------------------------------+

moving the Log Viewer into beta tomorrov...

 
Diablo 3 use traditional Chinese client, why the legend is sold.?
 
Diablo 3 use traditional Chinese client, why the legend is sold.?

because legendary.dis uses a check on name .. and this is only for english client ...

following possiblity to solve:

- u use english client

- u write a chines legendary.dis

- u change legendary dis to use no name u can qualify items also through level and type (most of the time)
 
Code:
// +---------------------------------------------------------------------------+
// | ______ __                             __              
// ||      |  |--.---.-.-----.-----.-----.|  |.-----.-----.
// ||   ---|     |  _  |     |  _  |  -__||  ||  _  |  _  |
// ||______|__|__|___._|__|__|___  |_____||__||_____|___  |
// |                         |_____|                |_____|
// +---------------------------------------------------------------------------+
// | 2.020(public fixes)
// | - some major fix for item pickup
// | - moved from onto latest Trinity 1.7.1.9 devOnly thx to rrix
// +---------------------------------------------------------------------------+

PUBLIC DOWNLOAD
 
Another Log Viewer (beta)

Code:
// +---------------------------------------------------------------------------+
// | ______ __                             __              
// ||      |  |--.---.-.-----.-----.-----.|  |.-----.-----.
// ||   ---|     |  _  |     |  _  |  -__||  ||  _  |  _  |
// ||______|__|__|___._|__|__|___  |_____||__||_____|___  |
// |
// +---------------------------------------------------------------------------+
// | 0.9(beta)
// | - another log viewer (beta release)
// +---------------------------------------------------------------------------+

BETA RELEASE
 
“u change legendary dis to use no name u can qualify items also through level and type (most of the time)” ---------What does it mean?
In the your pickup rules inside, how to set, legendary equipment can be fully retained?
 
Can i check if i have edited pickups..

do i have to edit the trinity item tabs to change magic item to NONE or do i just put everything +1 and let pickup handle it
 
Doesn?t support Traditional Chinese?


[00:31:42.872 N] [Trinity]不朽之王的步履 [Boots_norm_unique_086-185] [Boots] = (TRASH)

Immortal King's Stride(english) =不朽之王的步履(Traditional Chinese)
legendary.dis
// +---------------------------------------------------------------------------+
// +--- 靴子
// +---------------------------------------------------------------------------+
[QUALITY] == "Legendary" && [NAME] == "踏火行靴" # [MAXSTATVIT] > 200 || [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "攀冰者" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "黑荊棘的馬刺靴" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "不朽之王的步履" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "娜塔亞的血足印" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "祖妮瑪莎的蹤跡" -> [KEEP]
 
Last edited:
Doesn?t support Traditional Chinese?


[00:31:42.872 N] [Trinity]不朽之王的步履 [Boots_norm_unique_086-185] [Boots] = (TRASH)

Immortal King's Stride(english) =不朽之王的步履(Traditional Chinese)
legendary.dis
// +---------------------------------------------------------------------------+
// +--- 靴子
// +---------------------------------------------------------------------------+
[QUALITY] == "Legendary" && [NAME] == "踏火行靴" # [MAXSTATVIT] > 200 || [ALLRES] > 0 -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "攀冰者" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "黑荊棘的馬刺靴" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "不朽之王的步履" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "娜塔亞的血足印" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "祖妮瑪莎的蹤跡" -> [KEEP]

yes ... i think you will either need change client language .. or define items by level and type ...

For example ...

Code:
// - Sky Splitter -------------------------------------------------------------+
// "Legendary" Axe
// 768.5?1146.5 Damage Per Second
// (353-510)?(722-1080) Damage
// 1.43-1.44 Attacks per Second
// +(143-286)?(334-667) Holy Damage
// +41-50% Damage
// Increases Attack Speed by 10-11%
// Regenerates 411-599 Life per Second
// 10-20% chance to Smite enemies when you hit them.
// One of 3 Magic Properties (varies)
// +170-200 Intelligence
// +170-200 Dexterity
// +170-200 Strength
// +1 Random Magic Properties
// Item Level: 63

OLD: not working for chinese language
Code:
[QUALITY] == "Legendary" && [NAME] == "Sky Splitter" # [DPS] > 1000 && [SOCKETS] > 0

NEW: working with chinese language
Code:
[QUALITY] == "Legendary" && [LEVEL] == 63 && [TYPE] == "Axe" && [ONEHAND] # [DPS] > 1000 && [SOCKETS] > 0

this solution ... has some duplicate items like Doombringer & Skycutter both are level 60 1h-swords .. so u need more to qualify them or u write general rules ....

hf
 
hi darkfriend77, I translated GilesTrinity1.7.1.9 to Chinese , GilesTrinity can work fine.
1.webp

u mean "Item Rules 2 File based scripting language" is only working for Russia and English , but not working for Chinese?
 
hi darkfriend77, I translated GilesTrinity1.7.1.9 to Chinese , GilesTrinity can work fine.
View attachment 75231

u mean "Item Rules 2 File based scripting language" is only working for Russia and English , but not working for Chinese?


it should work for basic rules ... but im unsure if it works for legendarys . .... if u dont get errors in ur log file .... it may work ... ^^ u have to try ...

ah ... i just found it .... i had some one that fixed the problem for chinese .....


find this in scanner.cs ... and replace for ur language

orginal:

Code:
regex = new Regex(@"\""[0-9A-Za-z' :\-]*\""", RegexOptions.Compiled);
Patterns.Add(TokenType.STRING, regex);
Tokens.Add(TokenType.STRING);

chinese:

Code:
regex = new Regex(@"\""[0-9A-Za-z\u4e00-\u9fa5' :\-]*\""", RegexOptions.Compiled);
Patterns.Add(TokenType.STRING, regex);
Tokens.Add(TokenType.STRING);

russian:

Code:
regex = new Regex(@"\""[0-9A-Za-z?-??-?' :\-]*\""", RegexOptions.Compiled);
Patterns.Add(TokenType.STRING, regex);
Tokens.Add(TokenType.STRING);
 
Last edited:
2 question :
1 + how to use Another Log Viewer (beta) , always crash when use it
2+ ItemRules2020UniTrinity0_45stable.zip = ItemRules2020UniTrinity0_45newWorld.zip ??? i mean this is update version ???

thanks for help !
 
Please help dark, the [pickup] command seems not working for me, here is my command:

// +---------------------------------------------------------------------------+
// |---------- Chest
// | OFF: [MAXSTAT] == 200
// | DEF: [VIT] == 300, [LIFE%] == 12, [ALLRES] == 80, [MAXONERES] == 60, [ARMOR] == 397
// | ADD: [REGEN] == 599, [GF%] == 25, [MF%] == 20
// +---------------------------------------------------------------------------+
[QUALITY] == "Rare" && [TYPE] == "Chest" # [GF%] > 19 && [PICKUP] >= 5
// trash rule
[QUALITY] == "Rare" && [TYPE] == "Chest" -> [TRASH]


Am I missing sth for [pickup] command since it pick up all the GF% items whether or not it has pickup radius and put it over inventory, wat am I missing? thanks!
 
Please help dark, the [pickup] command seems not working for me, here is my command:

// +---------------------------------------------------------------------------+
// |---------- Chest
// | OFF: [MAXSTAT] == 200
// | DEF: [VIT] == 300, [LIFE%] == 12, [ALLRES] == 80, [MAXONERES] == 60, [ARMOR] == 397
// | ADD: [REGEN] == 599, [GF%] == 25, [MF%] == 20
// +---------------------------------------------------------------------------+
[QUALITY] == "Rare" && [TYPE] == "Chest" # [GF%] > 19 && [PICKUP] >= 5
// trash rule
[QUALITY] == "Rare" && [TYPE] == "Chest" -> [TRASH]


Am I missing sth for [pickup] command since it pick up all the GF% items whether or not it has pickup radius and put it over inventory, wat am I missing? thanks!
The command is [PICKRAD] for pick up radius. The instructions may have not been updated yet or just a mistake.
 
Back
Top