Download
(104Kb)
Download
Updated: 01-28-21 04:12 AM
Addon for:
cargBags.
Pictures
File Info
Compatibility:
Shadowlands patch (9.0.2)
Updated:01-28-21 04:12 AM
Created:05-24-13 12:02 PM
Downloads:31,676
Favorites:127
MD5:

cargBags Nivaya  Popular! (More than 5000 hits)

Version: 9.0 r93
by: Nibelheim, humfras

A fan update of cargBags_Nivaya for Mists of Pandaria. Thanks to all addon coders who contributed to this update.


About

This is an inventory addon featuring item filters, new items, support for item sets, empty bagspace compression and alot more. It is a layout for cargBags. However, cargBags 2.x is included, so you don't need to download it separately.


Features

  • You can freely move the main inventory window (and the bank window), all the other containers move as you move that one.
  • Containers for Consumables, Quest Items, Armor/Weapons, Trade Goods and Junk.
  • Container for Blizzards Equipment Manager.
  • Container for new Items (items you recently obtained).
  • Empty containers are hidden, without just leaving an emtpy space.
  • Easy-to-use dropdown menu to move items between containers (alt + right-click an item).
  • Option to compress empty bagspace to a single slot.
  • Restack button to stack all items in your bags.
  • Sell Junk (toggle on/off) to automatically vendor all grey items.
  • Item sorting by rarity and item ID, so that identical items or stacks will be grouped together.
  • Clicking on the "Bags" Button allows you to switch bags and to buy new bag slots (bank).
  • The "New Items" Container
  • When you login using this layout the first time, all the items in your inventory will be marked as "new". This is because new items will exclusively be reset when you click the "Reset New" button, which should be your first action in order to have the items filtered to their corresponding category. The advantage of this behaviour is that items marked as new "survive" disconnects, logouts and reloading the UI.
    Of course, you can toggle this filter off via the slash command (/cbniv).


The Cool Stuff Container

Initially a filter on its own, it is now simply a container for items you want to have in a special place. You can activate it by moving one or more items to it via the context menu (alt + right-click).


Custom Containers

You can also add your very own custom containers, which behave just like the "Cool Stuff" container. By default, their priority is higher than the "New Items" container, so items assigned to one of these will never be marked as new. This priority can be lowered.

Add a container with /cbniv addbag name, remove one with /cbniv delbag name, list all existing with /cbniv listbags etc. Type /cbniv for a full list of available commands.


Configuration

Via the slash command /cbniv you can adjust the following settings:
  • Enable/disable some of the filters (new items, trade goods, armor/weapons and junk)
  • Adjust the overall scale.
  • Toggle bank background color between black and blue.
  • Toggle bank filtering.
  • Toggle empty bagspace compression.
  • Toggle item sorting.

By editing config.lua you can adjust the following settings:
  • Item size
  • Number of columns
  • Fonts
  • Color of bag frames

9.0 r89

* added function to place items directly into the reagent bank by ctrl + right clicking them in the bags when the bankframe is shown

9.0 r89

* Shadowlands 9.0.2 toc update

9.0 r86

* Shadowlands pre patch update

8.2 r73

* fix potential bug with equipment manager

8.2 r73

* patch 8.2 changes/bugfixes

8.1.5 r63

* patch 8.1.5 changes/bugfixes

8.0 r59

* fixed a bug with itemLevel returning as nil on certain conditions

8.0 r57

* fix wrong item level display via Tooltip scanning until Blizzard fixes GetDetailedItemLevelInfo()
+ support for Caerdon Wardrobe

7.3 r54

* BfA preparation

7.3 r51

* fixed bank bag bar misbehavior

7.3 r50

update for 7.3
* minor bugfixes

7.2 r49

update for 7.2
* minor bugfixes


7.1 r46

* fixed a bug that showed the ilvl on Obliterum and Obliterum Ash
* fixed a bug that prevented item from being classified correctly on initial login

7.1 r45

* fixed a typo with the new artifact power bank container
* fixed frame anchoring bug with battlepet and AP frame

7.1 r44

* fixed artifact item level display
+ added ilvl display for artifact relics
+ added a default category for items that give artifact power

r43

* 7.1 toc update
* fixed "Mark as New"
* improved CPU usage
* minor bugfixes/improvements

r37

few more fixes / enhancements
fix bank bags drag handling

r37

+ added a workaround for a potential bug when using Molinari

r33

added a new default bag for gems
(if you have a custom filter for gems, you can delete it via '/cbniv delbag NAMEOFBAG')
- fixed a rare bug with the item grouping
- performance upgrade for the 'new item' check

r27

- fixed green texture bug when not compressing empty bag slots ( /cbniv empty )
- fixed bugs with windowed mode
- added LibItemUpgradeInfo-1.0 to show the correct iLvl
- updated the locale strings
- fix bugs with RealUI implementation

r23

Update for 7.0

r14

Update for 6.0
Should be working with or without RealUI (no compatibility issues anymore!)


1.6

toc update for 5.4
Fixed NewItemTexture misbehavior


1.5

Fixed some text


1.4

Consumables and Quest filters can now be disabled
Option added to toggle between Icons and Text for the Currency display


1.3

Option added to show the Bag Buttons by default
Option added to adjust gap between item slots
Taint fix and DropDown menu now clamped to screen (thank you Humfras!)


1.2

Gap between bag frames now set to 1 pixel instead of 2
Bags remain pixel perfect when activating 'Toggle Bags'
New DropDown Menu to hopefully fix some taint issues (thanks to humfras)
Fix for Guild Bank item dragging (thanks to Klaygor)


1.1

Bags now dynamically scale to remain pixel perfect
c: Consumables added to filter options
Post A Reply Comment Options
Unread 07-06-13, 09:44 AM  
Goss444
A Kobold Labourer
 
Goss444's Avatar

Forum posts: 0
File comments: 7
Uploads: 0
Containers

Is there a short tutorial on how to create a container in code? I would like to create a weapons container that is on by default for all my characters and have items be filtered to that container. If I can get this contain working I have several more containers and filters that I would like to create.

I know you can create a new bag in game and manually assign items to that bad but I would like to do it in code where I have can create the filters to place new items in the new container.

Thank you
Report comment to moderator  
Reply With Quote
Unread 06-27-13, 06:11 PM  
tempest420
A Kobold Labourer

Forum posts: 1
File comments: 33
Uploads: 0
2 questions:

1 - Is it possible to seperate all the containers by a 2 pixel gap? Currently, the vertical gap is 1 pixel but containers that are sitting side by side seem to be "stuck" to each other.
Edit: The bank frame seems to be doing the horizontal spacing just fine (1 px).

2 - Is it possible to re-arrange the basic containers or would I have to disable all of them and use nothing but custom containers?

Edit 2: Are the positions of bank containers not changeable? /cbniv bagpos doesn't give me any arrows for them.
Last edited by tempest420 : 06-27-13 at 07:48 PM.
Report comment to moderator  
Reply With Quote
Unread 06-27-13, 12:11 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1600
File comments: 2305
Uploads: 21
Originally Posted by Rusken
This is odd, i just tryed to change the scale of the bags and when i typed cbniv scale 90 the bag closed and now it wont open when i press "B", even if i turn it back to 100.
I did reload the UI and the backpack is keybinded to "B".
I tryed going to the bank and this is what it looks like (bottom)
Type: /cbniv scale 1

To return it to normal. This is a percentage value. 1 = Normal size, 0.9 = 90% of normal size, etc
Report comment to moderator  
Reply With Quote
Unread 06-27-13, 10:39 AM  
Rusken
A Theradrim Guardian
AddOn Compiler - Click to view compilations

Forum posts: 61
File comments: 78
Uploads: 2
This is odd, i just tryed to change the scale of the bags and when i typed cbniv scale 90 the bag closed and now it wont open when i press "B", even if i turn it back to 100.
I did reload the UI and the backpack is keybinded to "B".
I tryed going to the bank and this is what it looks like (bottom)

Last edited by Rusken : 06-27-13 at 10:45 AM.
Report comment to moderator  
Reply With Quote
Unread 06-25-13, 09:41 AM  
humfras
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 131
File comments: 126
Uploads: 8
Originally Posted by Imithat
can i disable the item level?
Open
Code:
cargBags_Nivaya\cargBags\mixins-add\default.scaffold.lua
and change line 135 from
Lua Code:
  1. local ilvlTypes = {Armor = true, Weapon = true}
to
Lua Code:
  1. local ilvlTypes = {Armor = false, Weapon = false}
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
Report comment to moderator  
Reply With Quote
Unread 06-25-13, 06:20 AM  
Imithat
A Fallenroot Satyr
 
Imithat's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 201
Uploads: 7
can i disable the item level?
Report comment to moderator  
Reply With Quote
Unread 06-24-13, 03:09 PM  
BobJustBob
A Murloc Raider

Forum posts: 4
File comments: 16
Uploads: 0
Is there a way to disable all the default filters? I notice you can disable a few but not all of them. I'd like to start from scratch and filter only things I care about and put everything else under junk/inventory without having to flag every little item as such.
Report comment to moderator  
Reply With Quote
Unread 06-22-13, 09:18 PM  
Nightmare_Lord
A Cliff Giant
 
Nightmare_Lord's Avatar

Forum posts: 70
File comments: 27
Uploads: 0
I just finally got around to downloading this addon again, to now due the long task of recreating all my adibag filters, 1st after I created 2 of them, and did the reload now I can't open my bags, I tried hitting the B key, and even clicking blizz bag bar and nothing.

Also whole having to reload after I create each new filter needs to change if you can, should be no reason to require a reload just to create a filter.
Report comment to moderator  
Reply With Quote
Unread 06-21-13, 03:17 PM  
Ruven
A Kobold Labourer
 
Ruven's Avatar

Forum posts: 0
File comments: 56
Uploads: 0
Is there an option to just stack all mats in one bag slot ? so instead of 10 bag slots with 20 stacks, it would be 10 bag slots in 1 with 200stacks. This would be nice, if you don't want your bags to cover half the screen when you open them up.
Report comment to moderator  
Reply With Quote
Unread 06-21-13, 11:10 AM  
devilArt
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 51
File comments: 203
Uploads: 2
best bag addon no doubt
hope Nibelheim will maintain it for a while
Report comment to moderator  
Reply With Quote
Unread 06-21-13, 11:02 AM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1600
File comments: 2305
Uploads: 21
Did some testing and it looks like it's one of those weird issues PTR's occasionally bring up. I'll check back into it at a later PTR build.
Report comment to moderator  
Reply With Quote
Unread 06-21-13, 04:02 AM  
soulyouth
A Defias Bandit
 
soulyouth's Avatar

Forum posts: 2
File comments: 14
Uploads: 0
3 errors pop up when you login
The bag won't open at all, /cbniv works thought

errors:
Code:
1x cargBags_Nivaya\style.lua:583: <unnamed>:SetText(): Font not set
<in C code>
cargBags_Nivaya\style.lua:583: in function "OnCreate"
cargBags_Nivaya\cargBags\base\container.lua:56: in function "New"
cargBags_Nivaya\cargBags_Nivaya.lua:211: in function "?"
cargBags_Nivaya\cargBags_Nivaya.lua:5: in function <cargBags_Nivaya\cargBags_Nivaya.lua:5>

Locals:
self = NivayacBniv_BankSets {
 0 = <userdata>
 ContainerHeight = 0
 name = "cBniv_BankSets"
 buttons = <table> {}
 Columns = 12
 bags = <table> {}
 UpdateDimensions = <func> @..\style.lua:352
 Settings = <table> {}
}
name = "cBniv_BankSets"
settings = <table> {}
font = <table> {
 1 = "..\media\pixel.ttf"
 2 = 8
 3 = "OUTLINEMONOCHROME"
}
tBag = false
tBank = false
tBankBags = 7
numSlotsBag = <table> {
 1 = 0
 2 = 0
}
numSlotsBank = <table> {
 1 = 0
 2 = 0
}
usedSlotsBag = 0
usedSlotsBank = 0
tBankCustom = false
color_rb = 0.05
color_gb = 0.05
color_bb = 0.05
alpha_fb = 0.8
background = <unnamed> {
 0 = <userdata>
}
caption = <unnamed> {
 0 = <userdata>
}
t = "Sets"
retrieveFont = <func> @..\style.lua:419
GetNumFreeSlots = <func> @..\style.lua:36
UpdateDimensions = <func> @..\style.lua:352
SetFrameMovable = <func> @..\style.lua:371
ns = <table> {
 options = <table> {}
 cargBags = <unnamed> {}
}
itemSlotSize = 32
Textures = <table> {
 TooltipIcon = "..\media\TooltipIcon"
 Right = "..\media\Right"
 Left = "..\media\Left"
 SellJunk = "..\media\SellJunk"
 Down = "..\media\Down"
 Config = "..\media\Config"
 Search = "..\media\Search"
 ResetNew = "..\media\ResetNew"
 Up = "..\media\Up"
 Background = "..\media\texture"
 BagToggle = "..\media\BagToggle"
 Restack = "..\media\Restack"
}
L = <table> {
 MarkAsNew = "Mark as New"
 bagCaptions = <table> {}
 Consumables = "Consumable"
 MarkAsKnown = "Mark as Known"
 Gem = "Gem"
 Trades = "Trade Goods"
 Armor = "Armor"
 Search = "Search.."
 Quest = "Quest"
 Weapon = "Weapon"
}
cbNivaya = Nivaya {
 0 = <userdata>
 ClassifyItem = <func> @..\filters.lua:44
 CatDropDownOnClick = <func> @..\cargBags_Nivaya.lua:488
 contByName = <table> {}
 notInited = true
 OnBankOpened = <func> @..\cargBags_Nivaya.lua:396
 getItemCount = <func> @..\filters.lua:81
 CreateAnchors = <func> @..\cargBags_Nivaya.lua:289
 ToggleBagPosButtons = <func> @..\cargBags_Nivaya.lua:411
 HideBags = <func> @..\cargBags_Nivaya.lua:177
 buttons = <table> {}
 UpdateAnchors = <func> @..\cargBags_Nivaya.lua:366
 CatDropDownInit = <func> @..\cargBags_Nivaya.lua:449
 OnBankClosed = <func> @..\cargBags_Nivaya.lua:404
 OnClose = <func> @..\cargBags_Nivaya.lua:390
 contByID = <table> {}
 name = "Nivaya"
 ShowBags = <func> @..\cargBags_Nivaya.lua:176
 UpdateBags = <func> @..\filters.lua:6
 bagSizes = <table> {}
 OnOpen = <func> @..\cargBags_Nivaya.lua:383
 events = <table> {}
}
createMoverButton = <func> @..\style.lua:423
createIconButton = <func> @..\style.lua:443
resetNewItems = <func> @..\style.lua:317
restackItems = <func> @..\style.lua:217
GetFirstFreeSlot = <func> @..\style.lua:489
Code:
1x cargBags_Nivaya\cargBags_Nivaya.lua:669: attempt to index field "buttonClass" (a nil value)
cargBags_Nivaya\cargBags_Nivaya.lua:669: in function <cargBags_Nivaya\cargBags_Nivaya.lua:664>

Locals:
Code:
1x cargBags_Nivaya\style.lua:132: attempt to index field "main" (a nil value)
cargBags_Nivaya\style.lua:132: in function "OnContentsChanged"
cargBags_Nivaya\cargBags\base\container.lua:102: in function <cargBags_Nivaya\cargBags\base\container.lua:99>

Locals:
self = <unnamed> {
 0 = <userdata>
}
(for generator) = <func> =[C]:-1
(for state) = <table> {
 (null) = true
}
(for control) = NivayacBniv_BankSets {
 0 = <userdata>
 ContainerHeight = 0
 name = "cBniv_BankSets"
 buttons = <table> {}
 Columns = 12
 bags = <table> {}
 UpdateDimensions = <func> @cargBags_Nivaya\style.lua:352
 Settings = <table> {}
}
container = NivayacBniv_BankSets {
 0 = <userdata>
 ContainerHeight = 0
 name = "cBniv_BankSets"
 buttons = <table> {}
 Columns = 12
 bags = <table> {}
 UpdateDimensions = <func> @cargBags_Nivaya\style.lua:352
 Settings = <table> {}
}
scheduled = <table> {
 (null) = true
}
__________________
Report comment to moderator  
Reply With Quote
Unread 06-20-13, 08:10 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1600
File comments: 2305
Uploads: 21
Originally Posted by soulyouth
Just a heads up, if you are not already on the PTR the latest build broke this.
How did it break?
Report comment to moderator  
Reply With Quote
Unread 06-20-13, 08:07 PM  
soulyouth
A Defias Bandit
 
soulyouth's Avatar

Forum posts: 2
File comments: 14
Uploads: 0
Just a heads up, if you are not already on the PTR the latest build broke this.
__________________
Report comment to moderator  
Reply With Quote
Unread 06-20-13, 10:12 AM  
Fiercy
A Cyclonian
 
Fiercy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 142
Uploads: 7
Originally Posted by Tonyleila
Also I wonder if there is a way to highlight special bags like Mining bags
I'd like to see this functionality as well.

Btw Nib, we all appreciate the revival of this bag addon and I hope we're not over whelming you with requests. But I do have 1 more to add lol. Much like the old addon, is it possible to keep a max high on the modules? For example new items used to always stack on the left side no matter what. And when your bags used to get full from lets say prospecting loads of ore it wouldn't go off screen.
__________________
There are countless ingredients that make up the human body and mind, like all the components that make up me as an individual with my own personality. Sure, I have a face and voice to distinguish myself from others, but my thoughts and memories are unique only to me, and I carry a sense of my own destiny. Each of those things are just a small part of it. I collect information to use in my own way. All of that blends to create a mixture that forms me and gives rise to my conscience.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: