arkayenro / arkinventory

A World of Warcraft Inventory mod for Retail, Burning Crusade, and Classic
108 stars 14 forks source link

Question: Rules #1298

Open Udyr2647 opened 4 years ago

Udyr2647 commented 4 years ago

Love ArkInventory!

An issue I am having after scrawning the forums for help is rules not being applied.

I've created the following rule: "type("trinket") and ilvl(1, 840)"

AFAIK this should make all trinkets between and including item level 1 and 840 go in a box once it is applied.

However; nothing is happening, I've tried disabling my other boxes (System: Soulbound) incase it overrules. I've tried making it box #1 assuming ArkInventory orders overlapping rules from first to last, (or last to first like HTML / CSS) but no cigar.

Any help?

arkayenro commented 4 years ago

make sure the rule is actually enabled

enable edit mode click on the bar the rule is in find the rule under assigned categories it should be green, not red, and say enabled

Udyr2647 commented 4 years ago

It was disabled and red. Ive changed it so it now says enables and shows in green text. Howevere, the trinkets are not moving yet. Any ideas?

arkayenro commented 4 years ago

enable edit mode

click on the item

does it show as being assigned to a category as well as having a default category? if it does and the other category is a rule then you need to lower the priority of the tinket rule below that one (or increase that one)

if its a system or custom category then click on the default category to remove the assignment and reset it back to default

click on debug, make sure it actually has a type of INVTYPE_TRINKET

also, just to be sure, the actual rule formula doesnt have quotes around it, you just added them here

Udyr2647 commented 4 years ago

Not in wow right now but what ive done is make a new box and just assign the rule to to it. Nothing else.

All of my gear is in a box with system > equipment > soulbound category slapped on it.

I want to pull the trinkets out of that soulbound box and into a seperate box.

Im obv doing this wromg but if I understand you correctly a rule does not work on its own? It needs a category as well? If that is the case and im recalling correctly I can not apply the equipment soulbound category to a second box with my rule, because the category is already in use by the first box right? Or am I recalling this incorrectly?

Op di 31 mrt. 2020 02:10 schreef arkayenro notifications@github.com:

enable edit mode

click on the item

does it show as being assigned to a category as well as having a default category? if it does and the other category is a rule then you need to lower the priority of the tinket rule below that one (or increase that one)

if its a system or custom category then click on the default category to remove the assignment and reset it back to default

click on debug, make sure it actually has a type of INVTYPE_TRINKET

also, just to be sure, the actual rule formula doesnt have quotes around it, you just added them here

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arkayenro/arkinventory/issues/1298#issuecomment-606318194, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOYVC74ZE7QOEENX2KBDSVTRKEYH5ANCNFSM4LWSNJPQ .

Udyr2647 commented 4 years ago

I've tried something else surely I do not understand how rules can be applied correctly.

So I've made a rule and enabled it (showing in green): ilvl(430, 840) I've made a box and assigned the category "System > Equipment soulbound" I've applied my rule to this box expecting all soulbound equipment that falls below ilvl 430 to go somewhere else. Nothing changes however.

I've set the order of my rule on 0 and I've set it on 9999. No difference.

arkayenro commented 4 years ago

rules and categories collect items, when you assign them to a bar the items they collect go onto that bar, it wont ever remove anything

assign the rule to a different bar although you may have to update the formula if you only want soulbound equipment in that ilvl range

Udyr2647 commented 4 years ago

Thank you for your reply, but Im affraid you misunderstand me.

Could you explain to me how i can make two boxes, one having all soulbound equipment, one having soulbound trinkets?

Op wo 1 apr. 2020 00:03 schreef arkayenro notifications@github.com:

rules and categories collect items, when you assign them to a bar the items they collect go onto that bar, it wont ever remove anything

assign the rule to a different bar although you may have to update the formula if you only want soulbound equipment in that ilvl range

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arkayenro/arkinventory/issues/1298#issuecomment-606901162, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOYVC77IBDO5CBOR72EEPADRKJSEVANCNFSM4LWSNJPQ .

arkayenro commented 4 years ago

assign the system category for soulbound equipment to one of the bars

create a rule with a formula of sb( ) and equip("trinket") assign the rule to another bar - and enable it

Udyr2647 commented 4 years ago

That is exactly what I did except for the sb( ) part. Is that the culprit?

Op wo 1 apr. 2020 01:40 schreef arkayenro notifications@github.com:

assign the system category for soulbound equipment to one of the bars

create a rule with a formula of sb( ) and equip("trinket") assign the rule to another bar - and enable it

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arkayenro/arkinventory/issues/1298#issuecomment-606942986, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOYVC76A64K7EWHJWYFTU4DRKJ5NJANCNFSM4LWSNJPQ .

arkayenro commented 4 years ago

shouldnt be, without the sb( ) part it would pull non soulbound trinkets as well