Download
(71 Kb)
Download
Updated: 09-11-13 04:06 AM
Addon for:
cargBags.
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:09-11-13 04:06 AM
Created:05-24-13 12:02 PM
Downloads:3,398
Favorites:65
MD5:
5.4
cargBags Nivaya (MoP update)
Version: 1.6
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
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 (5)
File Name
Version
Size
Author
Date
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 09-24-13, 04:03 PM  
humfras
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 92
File comments: 81
Uploads: 5
Re: Skin cargBags

Originally Posted by Shinobli
Sorry, it's me again.

I want to re-upload my old Interface ShinoUI
The old style.lua (from 2011) was very easy to edit, but with the new one it is quite difficult for me as a noob.
I want to make cargBags looks like these:

http://s.cdn.wowinterface.com/preview/pvw49575.jpg

Can you give me some good advices? I think i have to edit the media path, am i right?

Thanks in advance.
To change the itemButton border, the easiest way is to replace the BagSlot.tga in the media folder.
To change the container layout, you have to edit the MyContainer:OnCreate function in style.lua line 553 and following.
The container's backdrop colors are also modifiable in the config.lua while the bordercolor isn't.
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
Last edited by humfras : 09-25-13 at 09:14 AM.
humfras is offline Report comment to moderator  
Reply With Quote
Unread 09-24-13, 01:50 PM  
Shinobli
A Kobold Labourer
 
Shinobli's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 68
Uploads: 1
Skin cargBags

Sorry, it's me again.

I want to re-upload my old Interface ShinoUI
The old style.lua (from 2011) was very easy to edit, but with the new one it is quite difficult for me as a noob.
I want to make cargBags looks like these:

http://s.cdn.wowinterface.com/preview/pvw49575.jpg

Can you give me some good advices? I think i have to edit the media path, am i right?

Thanks in advance.
__________________
Hoppe - Dun Morogh
Disziplin - Blog
http://goettliche-aegis.blogspot.com/
Shinobli is offline Report comment to moderator  
Reply With Quote
Unread 09-23-13, 05:16 PM  
humfras
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 92
File comments: 81
Uploads: 5
Re: SellJunk Filter

Originally Posted by baerloow
is there any option to filter single items?

i mean that they wont be selled

or permemently deaktivate the whole function
To deactivate auto-sell-junk completely, click the "Sell Junk" button at the bottom or do
Code:
/run cBnivCfg.SellJunk = false
If you want advanced filtering, use something like Scrap.
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
Last edited by humfras : 09-25-13 at 09:16 AM.
humfras is offline Report comment to moderator  
Reply With Quote
Unread 09-23-13, 05:23 AM  
baerloow
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
SellJunk Filter

is there any option to filter single items?

i mean that they wont be selled

or permemently deaktivate the whole function
Last edited by baerloow : 09-23-13 at 05:27 AM.
baerloow is offline Report comment to moderator  
Reply With Quote
Unread 09-22-13, 12:29 PM  
Shinobli
A Kobold Labourer
 
Shinobli's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 68
Uploads: 1
Hello,

i want to Skin your addon via Skinner.
Do you have any good advices how to change the border and color?

Thanks in advance.

PS: I found a old style.lua, there it was very easy to change the border but now i don't have a clue...
__________________
Hoppe - Dun Morogh
Disziplin - Blog
http://goettliche-aegis.blogspot.com/
Last edited by Shinobli : 09-23-13 at 01:55 PM.
Shinobli is offline Report comment to moderator  
Reply With Quote
Unread 09-20-13, 04:50 PM  
tempest420
A Kobold Labourer

Forum posts: 1
File comments: 16
Uploads: 0
Re: Re: Right click menu

Originally Posted by humfras
Originally Posted by tempest420
Is it possible to have the alt + right click go upwards instead of down?
To change the anchor, open
Code:
\Interface\AddOns\cargBags_Nivaya\style.lua
and change line 855 from
Lua Code:
  1. cbNivCatDropDown:Toggle(self, nil, nil, 0, 0)
to
Lua Code:
  1. cbNivCatDropDown:Toggle(self, "BOTTOMLEFT", "TOPLEFT", 0, 0)

.
This is what I was looking to achieve, thanks Humphras.

Another question, hope you can help!

How would I change the anchor for the New Items filter? I checked a few pages back and there were instructions to change the anchors for the other containers but there seems to not be an line for the New Items filter/bag thingy.
Last edited by tempest420 : 09-22-13 at 04:26 PM.
tempest420 is offline Report comment to moderator  
Reply With Quote
Unread 09-16-13, 06:42 AM  
humfras
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 92
File comments: 81
Uploads: 5
Originally Posted by natassja72
Hello, when free space compression is turned off, empty slots are barely visible - they're equally black ish as the background plus their borders are black.
Can you possibly do something to change this? Maybe white colored borders, or perhaps make the slots themselves much lighter in color than bags?
Try http://wow.curseforge.com/addons/car...e/files/6-r12/ .
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
humfras is offline Report comment to moderator  
Reply With Quote
Unread 09-15-13, 02:17 PM  
natassja72
A Fallenroot Satyr

Forum posts: 29
File comments: 46
Uploads: 0
Hello, when free space compression is turned off, empty slots are barely visible - they're equally black ish as the background plus their borders are black.
Can you possibly do something to change this? Maybe white colored borders, or perhaps make the slots themselves much lighter in color than bags?
Last edited by natassja72 : 09-15-13 at 03:37 PM.
natassja72 is offline Report comment to moderator  
Reply With Quote
Unread 09-13-13, 10:08 PM  
AmiYuy
A Deviate Faerie Dragon
 
AmiYuy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 64
Uploads: 1
Originally Posted by humfras
Originally Posted by AmiYuy
I had the exact same problem as Avarok, but like him wasn't doing anything wrong (direct copy and pasting the font name, font was in the media folder, etc.).

I finally got it to work by:
1) Going to a low level, unused character on another server.
2) Disabling all addons except this one and logged on.
3) No errors and the font works fine.
4) Switching back to my main then worked perfectly fine.

Basically it seems like some other addon was preventing it from working correctly?
It's not caused by an interference with another AddOn.
The font's path wasn't correct or the font wasn't (yet) recognized by WoW when cbNiv tryed to set the font for the fontstring.
I'm still confused, because I just updated this addon and had to paste my settings files back in (config.lua and my font) and tried switching to 3 different characters before disabling all addons other than cbNiv.

It works perfectly fine without the other addons and initializes and sets the font and then works on any character from that point on.
AmiYuy is offline Report comment to moderator  
Reply With Quote
Unread 09-12-13, 02:24 PM  
humfras
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 92
File comments: 81
Uploads: 5
Re: Re: Re: Bag Error

Originally Posted by Sin2411
Yes this happens when I press "B" key, also I have tried "shift B" and clicking on the gold data text thingy.
Also Soulyouth had a bags not opening also. Soulyouth's report was post on 6-21-13 04:02am page 3.
Soulyouth's bug was caused by the incorrect font path (first error). Since the script bugs there, the frame reference isn't established and the show/hide functions bugs out.
Did you change any font settings? If so, check the path again.
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
humfras is offline Report comment to moderator  
Reply With Quote
Unread 09-12-13, 09:40 AM  
Sin2411
A Kobold Labourer
 
Sin2411's Avatar

Forum posts: 0
File comments: 6
Uploads: 0
Re: Re: Bag Error

Originally Posted by humfras
Originally Posted by Sin2411
Code:
1x cargBags_Nivaya\cargBags_Nivaya.lua:388: attempt to index field "main" (a nil value)
cargBags_Nivaya\cargBags_Nivaya.lua:388: in function "OnOpen"
cargBags_Nivaya\cargBags\base\implementation.lua:80: in function "?"
cargBags_Nivaya\cargBags\base\core.lua:156: in function <cargBags_Nivaya\cargBags\base\core.lua:156>
<in C code>
cargBags_Nivaya\cargBags\base\implementation.lua:103: in function "Toggle"
cargBags_Nivaya\cargBags\base\core.lua:73: in function <cargBags_Nivaya\cargBags\base\core.lua:73>
<in C code>
<string>:"OPENALLBAGS":1: in function <string>:"OPENALLBAGS":1

The only time I can open my bags is at a vendor or a bank visit.
How can I fix this?
This happens when you press the keybinding?
This is odd because cB_Bags.main is the default main frame with the tool buttons and the DropTarget button and the gold display.
Either there is a bug before this one (e.g. font settings wrong) or another AddOn interferes.
Yes this happens when I press "B" key, also I have tried "shift B" and clicking on the gold data text thingy.
Also Soulyouth had a bags not opening also. Soulyouth's report was post on 6-21-13 04:02am page 3.
Sin2411 is offline Report comment to moderator  
Reply With Quote
Unread 09-12-13, 06:34 AM  
humfras
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 92
File comments: 81
Uploads: 5
Re: Bag Error

Originally Posted by Sin2411
Code:
1x cargBags_Nivaya\cargBags_Nivaya.lua:388: attempt to index field "main" (a nil value)
cargBags_Nivaya\cargBags_Nivaya.lua:388: in function "OnOpen"
cargBags_Nivaya\cargBags\base\implementation.lua:80: in function "?"
cargBags_Nivaya\cargBags\base\core.lua:156: in function <cargBags_Nivaya\cargBags\base\core.lua:156>
<in C code>
cargBags_Nivaya\cargBags\base\implementation.lua:103: in function "Toggle"
cargBags_Nivaya\cargBags\base\core.lua:73: in function <cargBags_Nivaya\cargBags\base\core.lua:73>
<in C code>
<string>:"OPENALLBAGS":1: in function <string>:"OPENALLBAGS":1

The only time I can open my bags is at a vendor or a bank visit.
How can I fix this?
This happens when you press the keybinding?
This is odd because cB_Bags.main is the default main frame with the tool buttons and the DropTarget button and the gold display.
Either there is a bug before this one (e.g. font settings wrong) or another AddOn interferes.
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
humfras is offline Report comment to moderator  
Reply With Quote
Unread 09-12-13, 04:36 AM  
Sin2411
A Kobold Labourer
 
Sin2411's Avatar

Forum posts: 0
File comments: 6
Uploads: 0
Bag Error

1x cargBags_Nivaya\cargBags_Nivaya.lua:388: attempt to index field "main" (a nil value)
cargBags_Nivaya\cargBags_Nivaya.lua:388: in function "OnOpen"
cargBags_Nivaya\cargBags\base\implementation.lua:80: in function "?"
cargBags_Nivaya\cargBags\base\core.lua:156: in function <cargBags_Nivaya\cargBags\base\core.lua:156>
<in C code>
cargBags_Nivaya\cargBags\base\implementation.lua:103: in function "Toggle"
cargBags_Nivaya\cargBags\base\core.lua:73: in function <cargBags_Nivaya\cargBags\base\core.lua:73>
<in C code>
<string>:"OPENALLBAGS":1: in function <string>:"OPENALLBAGS":1

Locals:
self = Nivaya {
0 = <userdata>
ClassifyItem = <func> @..\filters.lua:44
CatDropDownOnClick = <func> @..\cargBags_Nivaya.lua:492
contByName = <table> {}
OnBankOpened = <func> @..\cargBags_Nivaya.lua:400
getItemCount = <func> @..\filters.lua:81
CreateAnchors = <func> @..\cargBags_Nivaya.lua:293
ToggleBagPosButtons = <func> @..\cargBags_Nivaya.lua:415
HideBags = <func> @..\cargBags_Nivaya.lua:179
buttons = <table> {}
buttonClass = <table> {}
UpdateAnchors = <func> @..\cargBags_Nivaya.lua:370
CatDropDownInit = <func> @..\cargBags_Nivaya.lua:453
OnBankClosed = <func> @..\cargBags_Nivaya.lua:408
OnClose = <func> @..\cargBags_Nivaya.lua:394
contByID = <table> {}
name = "Nivaya"
ShowBags = <func> @..\cargBags_Nivaya.lua:178
UpdateBags = <func> @..\filters.lua:6
bagSizes = <table> {}
OnOpen = <func> @..\cargBags_Nivaya.lua:387
events = <table> {}
}

The only time I can open my bags is at a vendor or a bank visit.
How can I fix this?
Sin2411 is offline Report comment to moderator  
Reply With Quote
Unread 09-12-13, 03:34 AM  
humfras
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 92
File comments: 81
Uploads: 5
Re: Item Level

Originally Posted by reale411
I changed fonts for the item level and now they are off the side of the icon, I'm okay changing the lua but wasn't able to find it last night. Do you know the location to change the x,y of the item levels?
The itemLevel text can be accessed via button.BottomString .
It's created in
Code:
Interface\AddOns\cargBags_Nivaya\cargBags\mixins-add\default.scaffold.lua
at line 127
Lua Code:
  1. self.BottomString = CreateInfoString(self, "BOTTOM")
and its anchoring is handled by CreateInfoString (line 90 to 104).


To modify the anchor and offset, change line 99
Lua Code:
  1. str:SetPoint("BOTTOMRIGHT", button, "BOTTOMRIGHT", 1.5, 1.5)
to your desired values.
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
Last edited by humfras : 09-12-13 at 03:35 AM.
humfras is offline Report comment to moderator  
Reply With Quote
Unread 09-11-13, 02:05 PM  
reale411
A Kobold Labourer

Forum posts: 0
File comments: 26
Uploads: 0
Item Level

I changed fonts for the item level and now they are off the side of the icon, I'm okay changing the lua but wasn't able to find it last night. Do you know the location to change the x,y of the item levels?
reale411 is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: