Quantcast
Download
(914 Kb)
Download
Updated: 10/27/18 09:00 AM
Pictures
File Info
Compatibility:
Murkmire (4.2)
Wolfhunter (4.1)
Summerset (4.0)
Updated:10/27/18 09:00 AM
Created:09/11/18 09:42 AM
Monthly downloads:34
Total downloads:912
Favorites:10
MD5:
Rulebased Inventory
Version: 1.4.2
by: TaxTalis [More]
YOU ARE USING THIS ADDON AT YOUR OWN RISK!
I will not be hold responsible for any damage or inconvenience this addon might cause for any reason.
This said, I have tested this addon on my main account for quite some time and try to do everything I can to make your experience with this addon as good and as safe as possible.

The main documentation is located at the addon's folder, there are all possible terms and functions for rules noted and it is quite impossible to go without it.
I admit, this is not an addon for everyone. There is no interface defining the rules for you by clicking buttons, you have to insert them by text.
A wrongly defined (but valid) rule may cause severe damage when fencing, destroying or deconstructing as the items will never return after such an action was taken.

Needed libraries
  • LibStub
  • LibAsync
  • LibAddonMenu-2.0
  • LibCustomMenu
Supported addons
  • FCOIS
  • CraftStore
  • AutoCategory
  • Master Merchant
  • Tamriel Trade Centre


About Rulebased Inventory
After installing it, it does nothing. It’s simple as that.
You have to define rules for different tasks which then are executed automatically.
Tasks to define rules for are:
  • Move from Backpack to Bank (starts when opening the Bank UI)
  • Move from Bank to Backpack (starts when opening the Bank UI)
  • Sell at Store and Fence (starts when opening the Store or Fence UI)
  • Launder (starts when opening the Fence UI)
  • Junk (is checked continuously (“on update”) for each item on the backpack)
  • Destroy (is checked continuously (“on update”) for each item on the backpack)
  • Deconstruct (starts when opening the deconstruct tab of an Crafting Station UI)
  • Notification (is checked continuously (“on update”) for each new item)
Currencies and Homebank are not supported. Please see features in development.



Key Features
  • take actions on specific amounts of an item, not only on a whole stack (e.g. keep only 100 lockpicks in inventory)
  • check if your current character is the first one of a defined list in need of an item for research or a recipe to learn (so you can "hand down" a recipe if your main crafter doesn't need it to your secondary and further) (CraftStore needed)
  • save profiles and load them on multiple characters
  • a notification will include pricing from MM and TTC, count of vouchers for masterwrits and the count you have in backpack, bank and craftbag
  • ...


Features and fixes in development
  • event-based deconstruct
  • event-based refine
  • Homebank
  • Guildbank
Example rules "MasterCrafter"
Bag-To-Bank (Exclude Bank-To-Bag is on)
Lua Code:
  1. NOT (JUNKED) AND NOT FCOISMARKER("LOCK") AND
  2. ((tool)
  3. or (soulgem)
  4. or (survey)
  5. or (masterwrit)
  6. or (treasuremap)
  7. or (intricate)
  8. or (recipe)
  9. or (((armor) or (weapon)) and not crafted)
  10. or ((item_enchanting) and not (crafted))
  11. or (item_jewelry))
Transfer all lockpicks (tools), soulgems, surveys, masterwrits, treasuremaps, intricate items, recipes, non-crafted equipment and glyphs and all jewelry to the bank as long as they are not marked as "Locked" via FCOIS.
Except items which would be transferred from bank to backpack!

Bank-To-Bag (Exclude off, otherwise rules are blocking themselves)
lua Code:
  1. NOT FCOISMARKER("LOCK") AND
  2. (((itemnamematch("lockpick") or ((soulgem) and (fine)) or ((tool) and level == 50)) and countbackpack < 50)
  3. or (learnlist("Caelean", "Seika Kitamura",  "Gilvalar Merohin") and ((recipe_drink) or (recipe_food)))
  4. or (learnlist("Caelean", "Seika Kitamura", "Gilvalar Merohin") and not ((recipe_drink) or (recipe_food)))
  5. or (masterwrit)
  6. or (treasuremap and itemname("XXX"))
  7. or (survey)
  8. or (item_jewelry)
  9. or (item_clothier)
  10. or (item_blacksmithing)
  11. or (item_woodworking)
  12. or (item_enchanting)
  13. )
This will transfer lockpicks and soulgems to the backpack until there are 50 of each or no more available in bank. Furthermore all types of Masterwrits, recipes this character is first of the list needing it (here: different lists for food/drink and other recipes though they list is - for now - the same), glyphs, armor, weapons and jewelry will be transferred as long as they are not marked as "Locked" via FCOIS. All these items will be excluded from the previous task as the exclude-switch there is active. This only means for example soulgems and lockpicks ABOVE 50 in backpack will be transferred to bank.

Junk
Lua Code:
  1. NOT FCOISMARKER("LOCK") AND
  2. (
  3. (trash)
  4. or (junk)
  5. or (treasure)
  6. or (ornate)
  7. or (monstertrophy)
  8. or (((potion) or (poison) or (drink) or (food)) and not ((crafted) or itemnamematch("crown", "gold")) and (cp < 150 or (normal)) and not (itemname("Essence of Health", "Essence of Stamina", "Essence of Magicka")))
  9. or ((((weapon) or (armor) or (item_enchanting)) and (cp < 150 or quality <= normal)) and not ((crafted) or (intricate) or (item_jewelry)))
  10. )
This will junk any trash, treasure, ornate items, potions (includes poisons), drinks and food which are not crafted, do not have "crown" or "gold" in their name and are below cp 150 or of normal or lower quality. Further all items of the lowest quality (named "junk") (like rotten food) and all weapon, armor and glyps which are not crafted, lower than cp 150 or lower or equal to normal quality and neither intricate nor jewelry items are junked. Again except the item is marked as with "lock" via FCOIS.

Destroy
Lua Code:
  1. (stolen) and (tool)

Will destroy all stolen lockpicks (and other stolen items of type tool, if there are any)
Needed libraries
  • LibStub
  • LibAsync
  • LibAddonMenu-2.0
  • LibCustomMenu

Cumulative change log for version 1.4.2
  • fixed usage of AutoCategory function

Cumulative change log for version 1.4.1
  • added general option for a message when starting a task
  • added support for AutoCategory
  • added function: autocategory("category1",...)
  • fixed multiple bugs which occurred on a full bag
  • fixed test of deconstruct
  • fixed test of notification not using an unsaved rule
  • fixed an issue where in bagCache the count of an item would not be updated

Cumulative change log for version 1.2.2
  • added filters for events to not listen to unnecessary ones
  • rewrite of action- and event-queue
  • rewrite of action execution
  • rewrite of bagCache and generation of actions from task
  • rewrites for integration of LibAsync to reduce runtime per frame for less lag
  • API bump for Murkmire

Cumulative change log for version 0.10.1
  • dropped library because of instability: LibLoadedAddons
  • functions fcoismarker and fcoismarkermatch now support the custom names for fcois markers
  • safe rule switch for deconstruct now has the tooltip it deserves
  • events (junk/notification/destroy) now only are accepted when items were added to the bag to reduce lag
  • fixed notification to try to notify about already again empty slots (like loot containers directly extracted by other addons)
  • optimized events (junk/notification/destroy) to only create a cache of the whole bag if necessary to further reduce lag

Cumulative change log for version 0.8.0
  • tasks are only executed if a rule was defined
  • output now shows intricate and ornate symbols
  • added itemdata: fcoisismarked (replaces fcoislocked)
  • added itemdata: fcoismarker
  • added function: fcoismarker
  • added function: fcoismarkermatch

Cumulative change log for version 0.6.1
  • fixed variables leaking into global namespace (thanks Votan!)
  • added German translation
  • added itemdata: tags
  • added function: itemtag
  • added function: itemtagmatch
  • added itemdata: reagenttraits
  • added function: reagenttrait
  • added function: reagenttraitmatch
  • minimum delay and timeout lowered

-Version 0.4.2 was initial release-
Archived Files (6)
File Name
Version
Size
Uploader
Date
1.4.1
914kB
TaxTalis
10/26/18 02:36 PM
1.2.2
911kB
TaxTalis
10/12/18 01:27 PM
0.10.1
910kB
TaxTalis
09/26/18 12:27 PM
0.8.0
911kB
TaxTalis
09/16/18 01:58 PM
0.6.1
909kB
TaxTalis
09/15/18 07:08 AM
0.4.2
903kB
TaxTalis
09/11/18 10:06 AM


Post A Reply Comment Options
Unread 04/17/19, 06:29 AM  
TaxTalis
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 79
Uploads: 1
Re: Praxis

Originally Posted by Chivana
Hi, I think s_type "praxis" (enchanting furniture plans) is missing.
I think you are right. I lately noticed there is no way to filter for set names!
Hope to provide these features to you sooner than the optimized rewrite I have in mind since last year, which I still have not begun.
Report comment to moderator  
Reply With Quote
Unread 04/14/19, 10:21 PM  
Chivana

Forum posts: 0
File comments: 23
Uploads: 0
Praxis

Hi, I think s_type "praxis" (enchanting furniture plans) is missing.
Report comment to moderator  
Reply With Quote
Unread 03/18/19, 09:55 AM  
TaxTalis
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 79
Uploads: 1
Thanks for the info!
Can you specify this more? When does it lag, in which constellation and so on?

Originally Posted by baratox
-
Since the ESO's interface update, there is big lag issues with some mods and their compatibility with MM.

When used with MM :

little lags (-20fps sometimes) :
research assistant

lags (-30fps sometimes) :
rulebased inventory (lag when MM add "sales records" from guilds in chat)

playable but slower loading :
raidnotifier (10 minutes of loading, while it freeze 5 seconds on monster kills, and randoms -10fps)
Last edited by TaxTalis : 03/18/19 at 09:55 AM.
Report comment to moderator  
Reply With Quote
Unread 03/16/19, 04:07 AM  
baratox

Forum posts: 15
File comments: 36
Uploads: 0
-
Since the ESO's interface update, there is big lag issues with some mods and their compatibility with MM.

When used with MM :

little lags (-20fps sometimes) :
research assistant

lags (-30fps sometimes) :
rulebased inventory (lag when MM add "sales records" from guilds in chat)

playable but slower loading :
raidnotifier (10 minutes of loading, while it freeze 5 seconds on monster kills, and randoms -10fps)
Last edited by baratox : 03/16/19 at 04:07 AM.
Report comment to moderator  
Reply With Quote
Unread 03/05/19, 10:44 AM  
jycs

Forum posts: 22
File comments: 47
Uploads: 0
Damn, such a bad luck, there is always a big problem.
Report comment to moderator  
Reply With Quote
Unread 03/05/19, 08:50 AM  
TaxTalis
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 79
Uploads: 1
As discussed here before, RbI is not all optimized and thus is not performing good in all cases.
I for myself have never had a lag I could completely base upon RbI, but others have.
Might depend on other addons, processes on your machine and it’s general computational power.
Hope you will not encounter lag on looting or other more time critical situations.
Last edited by TaxTalis : 03/05/19 at 08:51 AM.
Report comment to moderator  
Reply With Quote
Unread 03/04/19, 02:22 PM  
jycs

Forum posts: 22
File comments: 47
Uploads: 0
Originally Posted by TaxTalis
Found everything you needed?
Names must only match partly if you use itemnamematch(), and in the language your game client runs in (I think ).
This part is working but I don't know why it take so much time to sell/stock in bank... Like 15sec after a lag. On the configuration I put 500ms. Maybe it's MM, but I can't play without it.
Last edited by jycs : 03/04/19 at 02:35 PM.
Report comment to moderator  
Reply With Quote
Unread 03/04/19, 02:09 PM  
TaxTalis
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 79
Uploads: 1
Found everything you needed?
Names must only match partly if you use itemnamematch(), and in the language your game client runs in (I think ).
Report comment to moderator  
Reply With Quote
Unread 03/04/19, 01:12 PM  
jycs

Forum posts: 22
File comments: 47
Uploads: 0
Before I try again I'm trying to put a rule :

Code:
NOT (LOCKED) AND
(
(trash) 
or (junk)
or (treasure)
or (ornate)
or (monstertrophy)
or ((treasuremap) and not "Fendretour")
or (((potion) or (drink) or (food)) and not ((crafted) or itemnamematch("crown", "gold")) and (cp < 150) and not (itemname("Essence of Health", "Essence of Stamina", "Essence of Magicka")) and not (quality >= 4))
or ((poison) and not (crafted)) 
)
About the treasure maps, do you have a doc for id's ? Or I must put the name full and in english ?

Edit :
"NOT (LOCKED) AND
(
(trash)
or (junk)
or (treasure)
or (ornate)
or (monstertrophy)
or (treasuremap and itemnamematch("Fendretour"))
or (((potion) or (drink) or (food)) and not ((crafted) or itemnamematch("crown", "gold")) and (cp < 150) and not (itemname("Essence of Health", "Essence of Stamina", "Essence of Magicka")) and not (quality >= 4))
or ((poison) and not (crafted))
)"

Found . Great and funny, it's like minecraft.
Last edited by jycs : 03/04/19 at 01:22 PM.
Report comment to moderator  
Reply With Quote
Unread 03/04/19, 12:43 PM  
jycs

Forum posts: 22
File comments: 47
Uploads: 0
Yes I wait, there is a lag but nothing.

Edit : ahhh it worked but it took like 15 sec.
Last edited by jycs : 03/04/19 at 12:43 PM.
Report comment to moderator  
Reply With Quote
Unread 03/04/19, 12:38 PM  
TaxTalis
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 79
Uploads: 1
I just tested the rule and it works. Don't know if in the way you want it, but it works.
Be sure you waited long enough (see "Pre-Execution Timeout" in the rule-tab) for the addon to start and maybe set it and "Delay between actions" to a lower value. Also in "General" tab enable "output" and maybe even the "task-start message" and also the output of the rule you want to check (in the rule's tab). Then in chat with "system" enabled (in vanilla the normal chat-tab) you should see something at least.
Last edited by TaxTalis : 03/04/19 at 12:39 PM.
Report comment to moderator  
Reply With Quote
Unread 03/04/19, 11:57 AM  
jycs

Forum posts: 22
File comments: 47
Uploads: 0
Ah the key is not your addon so.

I saved yes, the test works fine exactly as I want, but when I open the bank nothing append, for now I just tried a simple code :
Code:
NOT (LOCKED) AND
(((itemnamematch("lockpick") or ((soulgem) and (fine)) or ((tool) and level == 50)) and countbackpack < 50)
or ((recipe_drink) or (recipe_food))
or (masterwrit)
or (treasuremap and itemname("XXX"))
or (survey)
or (item_jewelry)
or (item_clothier)
or (item_blacksmithing)
or (item_woodworking)
or (item_enchanting)
)
Originally Posted by TaxTalis
I also edited my post already to respond to your edit

Have you saved your rule after testing it?
Without saving the underlying rule is the old one (which is empty for you, I guess) regardless of what is entered in the box.
There is no key to be pressed to initiate the exchange at bank (or any other interface) and further there is no option for a key to be pressed, instead it always is automatically executed when triggered.
For now only junking can be triggered by pressing the "run" button in the RbI menu beneath the corresponding rule.
The code window is so little because I didn't want to write UI myself and use a library instead and this is the maximum box size possible, as I found. Anyway, for many parentheses an external IDE or editor with syntax highlighting as Notepad++ comes in handy and then you can copy&past and don't need to care about the size

Originally Posted by jycs
Damn, I found it on documentation before you post.

Thank you for your fast answer but you are unlucky, I edited before you finish to post.

I like your addon a lot, seem the best actualy, but I have some problems :
1st I modified and tested my code, the test works perfectly, but when I go in bank, no transfert.
And it seem I need to push a key to transfert items, and I see no option to make it automatically, anyway actualy even the key don't transfert.
Also I don't understand why you made the code input so little, but it's a detail.
Report comment to moderator  
Reply With Quote
Unread 03/04/19, 11:20 AM  
TaxTalis
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 79
Uploads: 1
I also edited my post already to respond to your edit

Have you saved your rule after testing it?
Without saving the underlying rule is the old one (which is empty for you, I guess) regardless of what is entered in the box.
There is no key to be pressed to initiate the exchange at bank (or any other interface) and further there is no option for a key to be pressed, instead it always is automatically executed when triggered.
For now only junking can be triggered by pressing the "run" button in the RbI menu beneath the corresponding rule.
The code window is so little because I didn't want to write UI myself and use a library instead and this is the maximum box size possible, as I found. Anyway, for many parentheses an external IDE or editor with syntax highlighting as Notepad++ comes in handy and then you can copy&past and don't need to care about the size

Originally Posted by jycs
Damn, I found it on documentation before you post.

Thank you for your fast answer but you are unlucky, I edited before you finish to post.

I like your addon a lot, seem the best actualy, but I have some problems :
1st I modified and tested my code, the test works perfectly, but when I go in bank, no transfert.
And it seem I need to push a key to transfert items, and I see no option to make it automatically, anyway actualy even the key don't transfert.
Also I don't understand why you made the code input so little, but it's a detail.
Report comment to moderator  
Reply With Quote
Unread 03/04/19, 10:55 AM  
jycs

Forum posts: 22
File comments: 47
Uploads: 0
Damn, I found it on documentation before you post.

Thank you for your fast answer but you are unlucky, I edited before you finish to post.

I like your addon a lot, seem the best actualy, but I have some problems :
1st I modified and tested my code, the test works perfectly, but when I go in bank, no transfert.
And it seem I need to push a key to transfert items, and I see no option to make it automatically, anyway actualy even the key don't transfert.
Also I don't understand why you made the code input so little, but it's a detail.
Last edited by jycs : 03/04/19 at 10:58 AM.
Report comment to moderator  
Reply With Quote
Unread 03/04/19, 10:23 AM  
TaxTalis
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 79
Uploads: 1
Hi jycs,

"fine", as noted in the documentation, refers to the items quality which in this case means "green", but yes, even the documentation only tells you it translates to "2" but the listing should be clear to some point.
Further there is no need to install FCOIS at all, you are not obliged to install it.
If you are getting a notification at start that FCOIS was not found, please disable the "use FCOIS protection" in the "General" section of RbI.

The libraries which RbI depends on however are mandatory of cause.

If you think RbI is too "convoluted" then maybe it just is.
This addon's purpose is to give a high amount of flexibility and control and thus is more complex than others. If you need any help, just let me know. Some others here have already found solutions for others so feel free to post what you want to achieve or rules which don't quite work as you would like them to. I and surely others will try to help.

EDIT: No, it's perfectly fine you are able to see this. This is a feature of FCOIS replacing the in-game lock, therefor RbI does the same, if this functionality was enabled in FCOIS.
Originally Posted by jycs
Hello

why I must install FCOIS when the vanilla game already lock items ? (+8 libraries, rip my game) and honestly this mod is convoluted for nothing... This is the only big problem with your addon, but I just can't because of this, all my items to lock again one by one and it look really useless and waste of ressource (the game already lag at loading)...

Edit : lol I fell like I discovered a secret that I didn't have to see :
Last edited by TaxTalis : 03/04/19 at 10:33 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: