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

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

Need help. I wonder if my legendary file are being loaded and updated.

i have this in my log.

12/9/2012 11:17:15 PM: ImmortalKing'sIrons(63) Legendary Armor Gloves
+--------------------------------------------------------------
| - [BASETYPE]: Armor
| - [TYPE]: Gloves
| - [QUALITY]: Legendary
| - [NAME]: ImmortalKing'sIrons
| - [LEVEL]: 63.00
| - [ONEHAND]: False
| - [TWOHAND]: False
| - [UNIDENT]: False
| - [STR]: 91.00
| - [INT]: 151.00
| - [REGEN]: 307.00
| - [CRIT%]: 9.00
| - [ARMOR]: 327.17
| - [ARMORBONUS]: 199.00
| - [ARMORTOT]: 526.00
| - [MAXSTAT]: 151.00
| - [MAXSTATVIT]: 151.00
| - [STRVIT]: 91.00
| - [INTVIT]: 151.00
| - [DMGFACTOR]: 18.00
| - [OFFSTATS]: 1.00
| - [DEFSTATS]: 2.00
+--------------------------------------------------------------
[QUALITY]=="Legendary"&&[BASETYPE]=="Armor"#[MAXSTATVIT]>400||[DMGFACTOR]>15 [ACTION = KEEP] < I cant find this line anywhere in my legendary.dis

I wonder whats this.

My immortal king irons is using this rule

[QUALITY] == "Legendary" && [NAME] == "Immortal King's Irons" # [AS%] > 0 || [CRITDMG%] > 0 || ([STR] > 180 && [VIT] > 50) || [ALLRES] > 64


look at the safety rule way below.
 
2.010(alpha)

Code:
// +---------------------------------------------------------------------------+
// | ______ __                             __              
// ||      |  |--.---.-.-----.-----.-----.|  |.-----.-----.
// ||   ---|     |  _  |     |  _  |  -__||  ||  _  |  _  |
// ||______|__|__|___._|__|__|___  |_____||__||_____|___  |
// |                         |_____|                |_____|
// +---------------------------------------------------------------------------+
// | 2.010(alpha):
// | - added macro possibility
// | - some fixes at the log system
// | - added a open-source AH Parser (use on ur own risk!) documentation incl.
// +---------------------------------------------------------------------------+

Code:
// +---------------------------------------------------------------------------+
// |  ______         __             ______ __                                  
// | |   __ \.--.--.|  |.-----.    |      |  |--.---.-.-----.-----.-----.-----.
// | |      <|  |  ||  ||  -__|    |   ---|     |  _  |     |  _  |  -__|__ --|
// | |___|__||_____||__||_____|    |______|__|__|___._|__|__|___  |_____|_____|
// |                                                        |_____|           
// +---------------------------------------------------------------------------+
// +-08.12.2012 ---------------------------------------------------------------+
// | - FrenchBot updated russian legendary rules for item rules 2
// +-07.12.2012 ---------------------------------------------------------------+
// | - added more rare rules gloves, bracer, belt, special (hard set)
// +-06.12.2012 ---------------------------------------------------------------+

Example for Macro:

Code:
@EHP :=  ((1000 + [VIT]) * (1 + [LIFE%]/100) * 35) / (1 - (1 - (1 - ([ARMORTOT] / ((50*63) + [ARMORTOT]))) * (1 - (([ALLRES] + [MAXONERES] / 7) / ((5*63) + ([ARMORTOT] / ((50*63) + [ARMORTOT])))))))

// keep high @EHP items ...
[QUALITY] == "Rare" # [@EHP] > 60000


ALPHA FOLDER
 
can you introduce some basics filters for happyauctions since you include it into your repository ?
 
We need to add "REDUCED LVL REQUIREMENT" please!

does any1 know how to do this? what files would i need to add to, to make it recognize reduced lvl requirement? I would be willing to make the changes myself with a little guidance.
 
Last edited:
you can change the file pickup.dis which si located in "....GilesTrinity\ItemRules\Rules". you can clean up all of the contents of the file, and then you will apply the settings of trinity.
 
look at the safety rule way below.


did u remove all those safety rules??

just had this today

12/10/2012 2:47:56 AM: Blackthorne'sDuncraigCross(62) Legendary Jewelry Amulet
+--------------------------------------------------------------
| - [BASETYPE]: Jewelry
| - [TYPE]: Amulet
| - [QUALITY]: Legendary
| - [NAME]: Blackthorne'sDuncraigCross
| - [LEVEL]: 62.00
| - [ONEHAND]: False
| - [TWOHAND]: False
| - [UNIDENT]: False
| - [AS%]: 9.00
| - [LIFE%]: 12.99
| - [LOH]: 556.00
| - [GLOBEBONUS]: 8207.00
| - [RESPHYSICAL]: 55.00
| - [MAXONERES]: 55.00
| - [TOTRES]: 55.00
| - [DMGFACTOR]: 9.00
| - [OFFSTATS]: 1.00
| - [DEFSTATS]: 2.00
+--------------------------------------------------------------
[QUALITY]=="Legendary"&&[BASETYPE]=="Jewelry"#[MAXSTATVIT]>300||[DMGFACTOR]>6 [ACTION = KEEP]


my rule was
[QUALITY] == "Legendary" && [NAME] == "Blackthorne's Duncraig Cross" # [MAXSTATVIT] > 200 || [CRIT%] > 0 || [CRITDMG%] > 0

Damn...
 
did u remove all those safety rules??

just had this today

12/10/2012 2:47:56 AM: Blackthorne'sDuncraigCross(62) Legendary Jewelry Amulet
+--------------------------------------------------------------
| - [BASETYPE]: Jewelry
| - [TYPE]: Amulet
| - [QUALITY]: Legendary
| - [NAME]: Blackthorne'sDuncraigCross
| - [LEVEL]: 62.00
| - [ONEHAND]: False
| - [TWOHAND]: False
| - [UNIDENT]: False
| - [AS%]: 9.00
| - [LIFE%]: 12.99
| - [LOH]: 556.00
| - [GLOBEBONUS]: 8207.00
| - [RESPHYSICAL]: 55.00
| - [MAXONERES]: 55.00
| - [TOTRES]: 55.00
| - [DMGFACTOR]: 9.00
| - [OFFSTATS]: 1.00
| - [DEFSTATS]: 2.00
+--------------------------------------------------------------
[QUALITY]=="Legendary"&&[BASETYPE]=="Jewelry"#[MAXSTATVIT]>300||[DMGFACTOR]>6 [ACTION = KEEP]


my rule was
[QUALITY] == "Legendary" && [NAME] == "Blackthorne's Duncraig Cross" # [MAXSTATVIT] > 200 || [CRIT%] > 0 || [CRITDMG%] > 0

Damn...
That ammy is junk anyways
 
I know it's junk. .. That's why I'm going to remove all the safety rules
 
A+ on this script dude

A+.

im going off that this is similar to d2nt pickit so
[QUALITY] == "Legendary" && [type] == "Axe" && [LEVEL] == 60
would keep butchers axe unid?
if so i believe this would be unid skorn, which is a bit more complicated since i couldnt find a two handed sword for type;
[QUALITY] == "Legendary" && [type] == "axe" && [LEVEL] == 63 && [twohand] == true
not sure if i need [basetype] == weapon..

also, are there any changes that i have to do the plugin settings in db?
does it still pick gold?
whats the difference between maxstatvit and strvit/dexvit/intvit? im thinking maxstatvit >= 200 is the same as ( dexvit || strvit || intvit ) >= 200?

lmk thanks a lot, lovin this script i must say and sorry for so many questions, yet to use it till im sure what im doing hah
 
Last edited:
Hi, Andariel's Visage is bugged on DB end (type unknown, base type misc) and therefore it seems to keep them all, no matter the rules (trash rules won't touch it).

So I added a specific name-based rule for it to trash all that don't pass.

Second thing is that Gladiator Gauntlets with DMGFACTOR > 10 for keeps always pass, as they have 7-7.5 crit on their own.
 
Third cent, the safety rules for Armor will keep just about any offhand (DMGFACTOR > 15 is quite easy for those).
 
remove all the safety rules for legendaries. =D

anyway. the rare item for this is giving me more work now.. =( more thrash in the stash
 
I'm curious as to why this pair of rules does not work? - i dont want to pick up 2 handers

pickup.dis

Code:
//Ignore 2 Hand
[QUALITY] == "Rare"  && [BASETYPE] == "Weapon" && [TWOHAND] == "true" -> [IGNORE]
[QUALITY] == "Rare"  && [BASETYPE] == "Weapon" && [ONEHAND] == "true" -> [SCORE]

EDIT: seems to be working now for some reason. Perhaps the reload rules button does not work perfectly?
 
Last edited:
Because Im to lazy to read through 30 pages, I've a question. If I want the medium rules, am I right that I have to edit the pickup.dis and change from "hard" to "medium"?
 
+-------------------------+
| EVENT |
| Item Stash\Trash |
| FileBasedScriptingRules |
+-----------+-------------+
|
V
+--------------+
| legendary.dis|
| rare.dis +--> <matching rule>
| magic.dis | |
| special.dis | +-> KEEP
+------+-------+ +-> TRASH
| |
V V
<no matching rule> SCORE
| |
|<-----------------+
|
V
+------------------+
| trinity scoring |
| decide if item |
| stashed/trashed |
+------------------+


Can i check if trinity scoring is the 1 that all of us used to use in the past? the 1 where u edit the score you want for it to stash the items.

is the file itemvaluation.cs??
 
since i am to lazy to read 30 pages and dont want to test longer myself i ask again.
How can i change to keep the Legendarys Unidented?
I tried few things, nothing worked and really i have no time to always find a Legendary to see if the Bot ident or not :)
 
since i am to lazy to read 30 pages and dont want to test longer myself i ask again.
How can i change to keep the Legendarys Unidented?
I tried few things, nothing worked and really i have no time to always find a Legendary to see if the Bot ident or not :)

[QUALITY] == "Legendary" && [type] == "axe" && [LEVEL] == 63 && [basetype] == weapon && [twohand] == true //skorn
have you tried something like that? im going off that its similar to d2nt pickits. could just buy a cheap unid item and make a line for it
if you dont know how i could do it for you, just lmk what item youll test it on

and since you got it working, theres no changes you have to make in db im guessing? ive yet to test it just wondering
 
Last edited:
Back
Top