Quantcast
Download
(92 Kb)
Download
Updated: 08-24-16 02:55 PM
Addon for:
cargBags.
Pictures
File Info
Compatibility:
Legion Pre-Patch (7.0.3)
Updated:08-24-16 02:55 PM
Created:05-24-13 12:02 PM
Downloads:8,226
Favorites:105
MD5:
7.0.3

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

Version: 7.0.3 r37
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

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
Archived Files (14)
File Name
Version
Size
Author
Date
7.0.3 r35
92kB
Nibelheim
08-24-16 12:41 PM
7.0.3 r33
92kB
Nibelheim
08-22-16 05:18 AM
7.0.3 r30
93kB
Nibelheim
08-20-16 04:41 PM
7.0.3
81kB
Nibelheim
08-17-16 02:27 PM
6.0.2
81kB
Nibelheim
10-16-14 03:40 PM
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-26-16, 12:55 PM  
humfras
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 123
File comments: 102
Uploads: 5
Re: Re: Re: custom bags

Originally Posted by Maddoxx
I used your script but nothing happened :O
my bag just makes something wierd o_O
Can you please send me the contents of your
Code:
WTF\Account\<AccountName>\SavedVariables\cargBags_Nivaya.lua
via PM?
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
Report comment to moderator  
Reply With Quote
Unread 08-26-16, 10:32 AM  
Maddoxx
A Cyclonian

Forum posts: 47
File comments: 6
Uploads: 0
Re: Re: custom bags

Originally Posted by humfras
Originally Posted by Maddoxx
my custom bags don't appear in my inventory just in my bank :O
if I sort a item to one of my new bags it disappears

how can I fix this?
Please check if you have LUA errors enabled.
If not, you can enable them via
Code:
/run SetCVar("ScriptErrors","1"); ReloadUI()
I used your script but nothing happened :O
my bag just makes something wierd o_O

Report comment to moderator  
Reply With Quote
Unread 08-26-16, 05:15 AM  
humfras
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 123
File comments: 102
Uploads: 5
Re: custom bags

Originally Posted by Maddoxx
my custom bags don't appear in my inventory just in my bank :O
if I sort a item to one of my new bags it disappears

how can I fix this?
Please check if you have LUA errors enabled.
If not, you can enable them via
Code:
/run SetCVar("ScriptErrors","1"); ReloadUI()
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
Last edited by humfras : 08-26-16 at 05:15 AM.
Report comment to moderator  
Reply With Quote
Unread 08-25-16, 10:09 AM  
Maddoxx
A Cyclonian

Forum posts: 47
File comments: 6
Uploads: 0
custom bags

my custom bags don't appear in my inventory just in my bank :O
if I sort a item to one of my new bags it disappears

how can I fix this?
Last edited by Maddoxx : 08-25-16 at 06:17 PM.
Report comment to moderator  
Reply With Quote
Unread 08-25-16, 08:55 AM  
humfras
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 123
File comments: 102
Uploads: 5
Originally Posted by myno
Hey humfras,

I was wondering if it is possible to keep empty slots in categories etc. when an item in a category is removed (e.g. gets used or moved to bank), so the rest of the items don't move from their position. Empty slots could then for example reset when re-opening the bags.
I took a quick look around the code, but I'm guessing this wouldn't be an easy task, just wanted to ask anyway.
I know what you mean and yes, it's quite some amount of work

I added it to my list but I won't promise anything.


@Zenjaa:
p3lim fixed it with Molinari 70000.37-Release
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
Report comment to moderator  
Reply With Quote
Unread 08-25-16, 08:51 AM  
humfras
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 123
File comments: 102
Uploads: 5
Originally Posted by LiNK2088
I'm using windowed borderless 1920x1080
The first command completely hides the border
The second command does nothing

EDIT: It randomly fixed itself after I put my mode on fullscreen and back to windowed borderless
Sorry for the trouble
I had a feeling it would be windowed mode because it is quite troublesome at the moment.

I implemented a fix for it but it still seems to misbehave in very rare cases (depending on resolution, scale and window size).
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
Report comment to moderator  
Reply With Quote
Unread 08-24-16, 10:43 PM  
LiNK2088
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 10
File comments: 245
Uploads: 1
[quote=humfras]
Originally Posted by LiNK2088
I tried with all other addons disabled. Dunno what the problem is.
I can not reproduce this.

Please post your screen settings (mode and resolution).

What happens if you run the following lines one by one when the mouse is over one of those buttons?
Code:
/run GetMouseFocus().Border:Hide()
/run _G[GetMouseFocus():GetName().."NormalTexture"]:Hide()
I'm using windowed borderless 1920x1080
The first command completely hides the border
The second command does nothing

EDIT: It randomly fixed itself after I put my mode on fullscreen and back to windowed borderless
Sorry for the trouble
Last edited by LiNK2088 : 08-24-16 at 10:46 PM.
Report comment to moderator  
Reply With Quote
Unread 08-24-16, 07:20 PM  
myno
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 121
Uploads: 5
Hey humfras,

I was wondering if it is possible to keep empty slots in categories etc. when an item in a category is removed (e.g. gets used or moved to bank), so the rest of the items don't move from their position. Empty slots could then for example reset when re-opening the bags.
I took a quick look around the code, but I'm guessing this wouldn't be an easy task, just wanted to ask anyway.
Report comment to moderator  
Reply With Quote
Unread 08-24-16, 01:50 PM  
humfras
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 123
File comments: 102
Uploads: 5
Originally Posted by LiNK2088
I tried with all other addons disabled. Dunno what the problem is.
I can not reproduce this.

Please post your screen settings (mode and resolution).

What happens if you run the following lines one by one when the mouse is over one of those buttons?
Code:
/run GetMouseFocus().Border:Hide()
/run _G[GetMouseFocus():GetName().."NormalTexture"]:Hide()

@Zenjaa:
Fixed a bug in the Molinari handler (v7.0.3 r37).
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
Last edited by humfras : 08-24-16 at 02:56 PM.
Report comment to moderator  
Reply With Quote
Unread 08-24-16, 01:18 PM  
Zenjaa
A Kobold Labourer

Forum posts: 0
File comments: 46
Uploads: 0
Re: Re: error in conjunction with molinari

Originally Posted by humfras
Originally Posted by Zenjaa
Odd error that did not occur before the last update...
With both Molinari and cb_Niv enabled, trying to assign a new category to an item (alt+ctrl rightclick) leads to this error. I guess its a problem with Molinari (which allows to simly alt+leftclick to disenchant items) and cb_niv conflicting over the alt button.
But it worked just fine before the last update.

Code:
2x cargBags_Nivaya\style.lua:792: Usage: GetContainerItemID(index, slot)
[C]: in function `GetContainerItemID'
cargBags_Nivaya\style.lua:792: in function `onMouseUp'
Molinari\Molinari-70000.36-Release.lua:33: in function <Molinari\Molinari.lua:17>
There was no change at all.

I added a workaround to solve this issue.

I contacted p3lim about this issue, too.
thank you
Report comment to moderator  
Reply With Quote
Unread 08-24-16, 12:55 PM  
LiNK2088
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 10
File comments: 245
Uploads: 1
Originally Posted by humfras
Originally Posted by LiNK2088
Why do I have a double border width around my items?
Post a screenshot please.


I tried with all other addons disabled. Dunno what the problem is.
Report comment to moderator  
Reply With Quote
Unread 08-24-16, 12:37 PM  
humfras
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 123
File comments: 102
Uploads: 5
Re: error in conjunction with molinari

Originally Posted by Zenjaa
Odd error that did not occur before the last update...
With both Molinari and cb_Niv enabled, trying to assign a new category to an item (alt+ctrl rightclick) leads to this error. I guess its a problem with Molinari (which allows to simly alt+leftclick to disenchant items) and cb_niv conflicting over the alt button.
But it worked just fine before the last update.

Code:
2x cargBags_Nivaya\style.lua:792: Usage: GetContainerItemID(index, slot)
[C]: in function `GetContainerItemID'
cargBags_Nivaya\style.lua:792: in function `onMouseUp'
Molinari\Molinari-70000.36-Release.lua:33: in function <Molinari\Molinari.lua:17>
There was no change at all.

I added a workaround to solve this issue.

I contacted p3lim about this issue, too.
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
Report comment to moderator  
Reply With Quote
Unread 08-24-16, 12:33 PM  
humfras
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 123
File comments: 102
Uploads: 5
Originally Posted by LiNK2088
Why do I have a double border width around my items?
Post a screenshot please.
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
Report comment to moderator  
Reply With Quote
Unread 08-24-16, 09:45 AM  
Zenjaa
A Kobold Labourer

Forum posts: 0
File comments: 46
Uploads: 0
error in conjunction with molinari

Odd error that did not occur before the last update...
With both Molinari and cb_Niv enabled, trying to assign a new category to an item (alt+ctrl rightclick) leads to this error. I guess its a problem with Molinari (which allows to simly alt+leftclick to disenchant items) and cb_niv conflicting over the alt button.
But it worked just fine before the last update.

Code:
2x cargBags_Nivaya\style.lua:792: Usage: GetContainerItemID(index, slot)
[C]: in function `GetContainerItemID'
cargBags_Nivaya\style.lua:792: in function `onMouseUp'
Molinari\Molinari-70000.36-Release.lua:33: in function <Molinari\Molinari.lua:17>
[C]: ?

Locals:
(*temporary) = nil
(*temporary) = nil
Report comment to moderator  
Reply With Quote
Unread 08-23-16, 11:06 PM  
LiNK2088
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 10
File comments: 245
Uploads: 1
Why do I have a double border width around my items?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: