Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(81 Kb)
Download
Updated: 10-16-14 03:40 PM
Addon for:
cargBags.
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-16-14 03:40 PM
Created:05-24-13 12:02 PM
Downloads:5,720
Favorites:97
MD5:

cargBags Nivaya (RealUI/standalone)  Popular! (More than 5000 hits)

Version: 6.0.2
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

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
Archived Files (9)
File Name
Version
Size
Author
Date
6.0.1
81kB
Nibelheim
10-16-14 02:22 PM
6.0
78kB
Nibelheim
10-14-14 05:09 PM
r14
78kB
Nibelheim
10-13-14 02:56 AM
1.6
71kB
Nibelheim
09-11-13 04:06 AM
1.5
72kB
Nibelheim
06-29-13 12:40 AM
1.4
72kB
Nibelheim
06-24-13 05:09 PM
1.3
71kB
Nibelheim
06-17-13 05:40 PM
1.2
71kB
Nibelheim
06-02-13 09:13 AM
1.1c
70kB
Nibelheim
05-24-13 07:23 PM


Post A Reply Comment Options
Unread 08-06-13, 04:16 PM  
laukond
A Black Drake

Forum posts: 87
File comments: 73
Uploads: 0
Works like a charm thank you :-)
How do I change the font to the Blizzard one?
I know where to edit it just don't know what try replace it with.
laukond is offline Report comment to moderator  
Reply With Quote
Unread 08-06-13, 04:11 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
Featured Addon Author

Forum posts: 1600
File comments: 2310
Uploads: 50
Originally Posted by laukond
How do I move 'Sets' above the 'Inventory' so they stack?
Lua editing required.

cargBags_Nivaya.lua, about half-way down, you'll find a section labeled -- Bag Anchors:.

Change "Top", "Left", etc, to change bag locations in relation to other bags. I.e, to switch Sets with Trade Goods, you'd change it to the following:

Lua Code:
  1. CreateAnchorInfo(cB_Bags.main,          cB_Bags.key,            "Bottom")
  2.  
  3. CreateAnchorInfo(cB_Bags.main,          cB_Bags.bagItemSets,    "Top")
  4. CreateAnchorInfo(cB_Bags.bagItemSets,   cB_Bags.armor,          "Top")
  5. CreateAnchorInfo(cB_Bags.armor,         cB_Bags.battlepet,      "Top")
  6. CreateAnchorInfo(cB_Bags.battlepet,     cB_Bags.bagStuff,       "Top")
  7.  
  8. CreateAnchorInfo(cB_Bags.main,          cB_Bags.tradegoods,     "Left")
  9. CreateAnchorInfo(cB_Bags.tradegoods,    cB_Bags.consumables,    "Top")
  10. CreateAnchorInfo(cB_Bags.consumables,   cB_Bags.quest,          "Top")
  11. CreateAnchorInfo(cB_Bags.quest,         cB_Bags.bagJunk,        "Top")
  12. CreateAnchorInfo(cB_Bags.bagJunk,       cB_Bags.bagNew,         "Top")
Last edited by Nibelheim : 08-06-13 at 04:12 PM.
Nibelheim is offline Report comment to moderator  
Reply With Quote
Unread 08-06-13, 02:12 PM  
laukond
A Black Drake

Forum posts: 87
File comments: 73
Uploads: 0
How do I move 'Sets' above the 'Inventory' so they stack?
laukond is offline Report comment to moderator  
Reply With Quote
Unread 07-10-13, 07:57 AM  
Avarok
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by Nibelheim
1) You added the font files to the WoW folder without exiting WoW first (though not sure this would cause any errors)
I did that, but have since exited wow and redone the whole process. I no longer get the error but the font won't change (stays as the pixel font)

Originally Posted by Nibelheim
or 2) The config file wasn't changed correctly and there's a typo somewhere.
The only thing I changed was the font file name, didn't even touch the rest of the path

here's how it looks for the standard font

Code:
-- Font to use for bag captions and other strings
	standard = {
		[[Interface\AddOns\cargBags_Nivaya\media\normal.ttf]], 	-- Font path
		8, 						-- Font Size
		"OUTLINEMONOCHROME",	-- Flags
	},
Avarok is offline Report comment to moderator  
Reply With Quote
Unread 07-10-13, 12:21 AM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
Featured Addon Author

Forum posts: 1600
File comments: 2310
Uploads: 50
Originally Posted by Avarok
I'm trying to change the font by editing the config.lua file
I can change the "Font to use for number of items in a stack" but if i try to change the other two options (Font to use for durability and item level and Font to use for bag captions and other strings) I get a LUA error and can't use the addon.
I have tried moving the font I want into the Cargbags_Nivaya folder, and also deleting the standard font and renaming the font I want to pixel (the standard font name).
Only things I can think of are: 1) You added the font files to the WoW folder without exiting WoW first (though not sure this would cause any errors) or 2) The config file wasn't changed correctly and there's a typo somewhere.
Nibelheim is offline Report comment to moderator  
Reply With Quote
Unread 07-09-13, 11:12 PM  
Avarok
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
I'm trying to change the font by editing the config.lua file
I can change the "Font to use for number of items in a stack" but if i try to change the other two options (Font to use for durability and item level and Font to use for bag captions and other strings) I get a LUA error and can't use the addon.
I have tried moving the font I want into the Cargbags_Nivaya folder, and also deleting the standard font and renaming the font I want to pixel (the standard font name).


Code:
Message: ...Bags_Nivaya\cargBags\mixins-add\default.scaffold.lua:155: <unnamed>:SetText(): Font not set
Time: 07/10/13 02:03:35
Count: 1
Stack: [C]: in function `SetText'
...Bags_Nivaya\cargBags\mixins-add\default.scaffold.lua:155: in function `Update'
...Ons\cargBags_Nivaya\cargBags\base\implementation.lua:360: in function `UpdateSlot'
...Ons\cargBags_Nivaya\cargBags\base\implementation.lua:385: in function `UpdateBag'
Interface\AddOns\cargBags_Nivaya\filters.lua:6: in function `UpdateBags'
Interface\AddOns\cargBags_Nivaya\cargBags_Nivaya.lua:694: in function <Interface\AddOns\cargBags_Nivaya\cargBags_Nivaya.lua:678>

Locals: (*temporary) = <unnamed> {
 0 = <userdata>
}
(*temporary) = ""
Avarok is offline Report comment to moderator  
Reply With Quote
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
Goss444 is offline Report comment to moderator  
Reply With Quote
Unread 06-27-13, 06:11 PM  
tempest420
A Kobold Labourer

Forum posts: 1
File comments: 23
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.
tempest420 is offline Report comment to moderator  
Reply With Quote
Unread 06-27-13, 12:11 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
Featured Addon Author

Forum posts: 1600
File comments: 2310
Uploads: 50
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
Nibelheim is offline 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.
Rusken is offline 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: 123
File comments: 92
Uploads: 5
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
humfras is offline 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: 23
File comments: 183
Uploads: 7
can i disable the item level?
Imithat is offline Report comment to moderator  
Reply With Quote
Unread 06-24-13, 03:09 PM  
BobJustBob
A Murloc Raider

Forum posts: 4
File comments: 15
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.
BobJustBob is offline 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: 29
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.
Nightmare_Lord is offline 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: 35
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.
Ruven is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: