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

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

this seems to be working good for me but sometimes I get this error:

[Trinity][CacheManagement]System.AccessViolationException: Could not read bytes from 00000418 [299]!
at Zeta.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
at Zeta.MemoryManagement.ExternalProcessReader.Read[T](IntPtr address, Boolean isRelative)
at Zeta.Internals.Actors.ACD.[](ACD , Int32 )
at Zeta.Internals.Actors.ACD.GetAttribute[T](Int32 attribute)
at Zeta.Internals.Actors.ACD.GetAttribute[T](ActorAttributeType attributeType)
at Zeta.Internals.Actors.DiaUnit.get_IsBurrowed()
at GilesTrinity.GilesTrinity.RefreshGilesUnit(Boolean AddToCache)
at GilesTrinity.GilesTrinity.RefreshStepMainObjectType(Boolean& AddToCache)
at GilesTrinity.GilesTrinity.CacheDiaObject(DiaObject freshObject)
at GilesTrinity.GilesTrinity.RefreshCacheMainLoop()

I don't know what it means and it doesn't seem to be stopping my runs or anything but how do I go about fixing this?
 
Hi

I use the soft item stashing version, but 12h runing not stashing item. this is bad luck or any problem in my setting...?
 
I'm having a hard time figuring out if the legendary rules works with Russian client or not?

It does salvage some and keeps others, and the stats on items it keeps seems to obeying the script rules, but i still have my doubts, considering the name of the items don't really match the rule specified :)

Please can someone confirm that they actually work flawlessly for RU client??!

Thanks in advance
And awesome plugin !! (even if they don't work on RU)
 
this is a nice idear ... has anyone some ... info about which items for low levels sell?

+exp? ... and so .. lets just put a lowLevel.dis together ..

help ^^

also it is possible to just pickup items in this region (lets say 16-18 magic)

^^

well all ress item with vit and stuff, 40-50 are rather expensive. though it needs high vit high primary to be worth more then a million. and of course weapons in the same range
 
Hi

I use the soft item stashing version, but 12h runing not stashing item. this is bad luck or any problem in my setting...?


Problem I keep reporting, strangely I accidentally left it on hard yesterday and stashed quite a few items, running on soft it stashes none, this make no sense. Hard should stash everything medium and soft does, medium should also stash everything soft does.

We also really need an option to stahs all legendaries always regardless of soft/medium/hard rules.

G
 
Would like to see the check for pickup.dis removed, so when you delete the file because you actually want to pickup everything it doesn't crash D3.

G
 
This makes no sense, the rules should concatenate.

[08:43:29.291 N] [Trinity]reading ... pickup.dis
[08:43:29.292 N] [Trinity] ... loaded: 16 pickup rules
[08:43:29.292 N] [Trinity]Reading ... special.dis
[08:43:29.292 N] [Trinity]Reading ... magic.dis
[08:43:29.292 N] [Trinity]Reading ... rare.dis
[08:43:29.295 N] [Trinity]Reading ... legendary.dis
[08:43:29.299 N] [Trinity] ... loaded: 380 item hard rules
[08:44:11.942 N] [Trinity]path = G:\DemonBuddy\swap test\Plugins\GilesTrinity\ItemRules\Rules\medium\special.dis
[08:44:11.942 N] [Trinity]path = G:\DemonBuddy\swap test\Plugins\GilesTrinity\ItemRules\Rules\medium\magic.dis
[08:44:11.942 N] [Trinity]path = G:\DemonBuddy\swap test\Plugins\GilesTrinity\ItemRules\Rules\medium\rare.dis
[08:44:11.942 N] [Trinity]path = G:\DemonBuddy\swap test\Plugins\GilesTrinity\ItemRules\Rules\medium\legendary.dis
[08:44:11.942 N] [Trinity]reading ... pickup.dis
[08:44:11.943 N] [Trinity] ... loaded: 16 pickup rules
[08:44:11.943 N] [Trinity]Reading ... special.dis
[08:44:11.944 N] [Trinity]Reading ... magic.dis
[08:44:11.945 N] [Trinity]Reading ... rare.dis
[08:44:11.961 N] [Trinity]Reading ... legendary.dis
[08:44:11.991 N] [Trinity] ... loaded: 187 item medium rules
[08:44:29.867 N] [Trinity]path = G:\DemonBuddy\swap test\Plugins\GilesTrinity\ItemRules\Rules\soft\special.dis
[08:44:29.867 N] [Trinity]path = G:\DemonBuddy\swap test\Plugins\GilesTrinity\ItemRules\Rules\soft\magic.dis
[08:44:29.867 N] [Trinity]path = G:\DemonBuddy\swap test\Plugins\GilesTrinity\ItemRules\Rules\soft\rare.dis
[08:44:29.867 N] [Trinity]path = G:\DemonBuddy\swap test\Plugins\GilesTrinity\ItemRules\Rules\soft\legendary.dis
[08:44:29.867 N] [Trinity]reading ... pickup.dis
[08:44:29.867 N] [Trinity] ... loaded: 16 pickup rules
[08:44:29.867 N] [Trinity]Reading ... special.dis
[08:44:29.867 N] [Trinity]Reading ... magic.dis
[08:44:29.867 N] [Trinity]Reading ... rare.dis
[08:44:29.868 N] [Trinity]Reading ... legendary.dis
[08:44:29.875 N] [Trinity] ... loaded: 229 item soft rules

hard =380, medium=187, soft = 229, hard should always be the largest number and a combination of H+M+S, medium should be a combination of M+S. Hard should be 1 set of rules, medium be the relaxation of those rules and soft be the relaxation further of the medium rules, they should stack together and form a logical pyramid of loot selection.

G

EDIT: sorry if this reads harsh or rude, it's not meant to be, just trying to put together some logic in my head of the rule setup. I'll post a few more thoughts shortly.

G
 
Last edited:
Ok, another question, why do the rare rules for legendary and soft have no [KEEP][TRASH] or [SCORE] behind them but the medium do, is this just a transitional phase or something ?

G
 
Ok, another question, why do the rare rules for legendary and soft have no [KEEP][TRASH] or [SCORE] behind them but the medium do, is this just a transitional phase or something ?

G


Yes he is porting the rules over from version 1 to version 2. There are a lot of changes being made to the rules.

hi how do i make it stash all legendaries? thanks in advanced

I believe you can just put this in the top line of your legenday.dis

[QUALITY] == "Legendary" -> [KEEP]


Now my question.


Darkfriend or anyone else who is better at this than I am (almost everyone) I have been hard at work rewriting the rules and I have noticed some of my rules are getting very large but I think there is a more simple way to solve it I just dont know how I could write it into your framework. Let me give you an example. Here are 2 lines to my Shenlongs fist of legend rule.

rule 1
Code:
[QUALITY] == "Legendary" && [NAME] == "Shenlong's Fist of Legend" # [DPS] > 850 && ([VIT] > 120 || [DEX] > 300 || [DEXVIT] >= 340 || [LOH] > 100)

rule 2
Code:
[QUALITY] == "Legendary" && [NAME] == "Shenlong's Fist of Legend" # [DPS] > 900 && ([VIT] > 80 || [DEX] > 280 || [DEXVIT] >= 280 || [LOH] > 0)

As you can see I just keep rewriting the same stats and lowering it as the DPS increases which is fine but lets say a fist drops that is 876 DPS and 113 VIT this would be an item that I would want to keep. Currently I can only see 1 solution and that is to write the following rule.


Code:
[QUALITY] == "Legendary" && [NAME] == "Shenlong's Fist of Legend" # [DPS] > 875 && ([VIT] > 110 || [DEX] > 290 || [DEXVIT] >= 300)

Following this to the conclusion I can see rules that are 20 or 30 lines. Is it possible to use a formula that will allow me to be more flexible when writing rules. Could I say write a rule that will return a value for each point of [VIT] and use it to evaluate the fist of legend?

I am sorry I dont even know how to explain what I want very well.Hopefully I have explained it well enough for someone my advanced than I am to elaborate.
 
Last edited:
This method u want uses scoring method. how many points for how many stats.

its very good for rare items. not for legendaries.
 
Hi

I can set up the item pick up for trinity settings, but filtering the Item Rules 2?
 
Following this to the conclusion I can see rules that are 20 or 30 lines. Is it possible to use a formula that will allow me to be more flexible when writing rules. Could I say write a rule that will return a value for each point of [VIT] and use it to evaluate the fist of legend?


i might work on an easy to use scoring integration ...

like

u define at top for all rules ...

@EHP = [ALLRES]*1.8 + [VIT] + [MAXONERES]*0.3 + [ARMORBONUS]/100

and then u can use

rules with [EHP] > 100

or so ...
 
i might work on an easy to use scoring integration ...

like

u define at top for all rules ...

@EHP = [ALLRES]*1.8 + [VIT] + [MAXONERES]*0.3 + [ARMORBONUS]/100

and then u can use

rules with [EHP] > 100

or so ...

hang on, here's an idea, go back to the way Giles did it originally that worked 100% for everything except legendary items, and just write a Legendary keeper plugin. The wheel was invented and worked well before 1.05, just needed a few spokes straitening after 1.05, be we went and brought a whole new set of square wheels it seems. Sorry if this sounds harsh but after a lot of work we have just come to the conclusion the old way worked fine and just needed another tweak.

G
 
hang on, here's an idea, go back to the way Giles did it originally that worked 100% for everything except legendary items, and just write a Legendary keeper plugin. The wheel was invented and worked well before 1.05, just needed a few spokes straitening after 1.05, be we went and brought a whole new set of square wheels it seems. Sorry if this sounds harsh but after a lot of work we have just come to the conclusion the old way worked fine and just needed another tweak.

G

The old way didn't work for me. Constantly having my stash filling up and dreading sorting through all the crap every morning was horrible.
 
Can i know where do i find the logs for stashing? was wondering why the bot stashed certain items despite my rules.
 
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
 
Last edited:
Also...

12/9/2012 8:34:58 PM: Vigilance(63) Legendary Misc Polearm
+--------------------------------------------------------------
| - [BASETYPE]: Misc
| - [TYPE]: Polearm
| - [QUALITY]: Legendary
| - [NAME]: Vigilance
| - [LEVEL]: 63.00
| - [ONEHAND]: False
| - [TWOHAND]: True
| - [UNIDENT]: False
| - [LS%]: 5.90
| - [DPS]: 1409.37
| - [WEAPAS]: 1.05
| - [WEAPMAXDMG]: 1625.45
| - [WEAPMINDMG]: 1071.90
| - [DEFSTATS]: 1.00
+--------------------------------------------------------------
[ACTION = NULL]

Vigilance is being ID as misc.. thats why its keeping them no matter what
 
Back
Top