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,534
Favorites:64
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-10-13, 02:38 PM  
humfras
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 82
Uploads: 5
Originally Posted by soulyouth
items in your bag have a blue border round them till you mouse over them, not sure where this came from as I didn't change anything from 5.3 > 5.4

I tried re downloading the addon, it's still doing it
It's not caused by cbNiv, it's caused by Blizzard.
They added an extra overlay texture. Will be fixed in next release.
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
humfras is offline Report comment to moderator  
Reply With Quote
Unread 09-10-13, 12:56 PM  
soulyouth
A Defias Bandit
 
soulyouth's Avatar

Forum posts: 2
File comments: 20
Uploads: 0
items in your bag have a blue border round them till you mouse over them, not sure where this came from as I didn't change anything from 5.3 > 5.4

I tried re downloading the addon, it's still doing it

__________________
soulyouth is offline Report comment to moderator  
Reply With Quote
Unread 09-09-13, 01:14 AM  
humfras
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 82
Uploads: 5
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.
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
Last edited by humfras : 09-09-13 at 01:15 AM.
humfras is offline Report comment to moderator  
Reply With Quote
Unread 09-09-13, 01:09 AM  
humfras
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 82
Uploads: 5
Re: Right click menu

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)

.

If you want to change the ordering from going down to go up, you'll need to change the dropdownmenu's button-creation in \Interface\AddOns\cargBags_Nivaya\cargBags_Nivaya.lua, line 75+
from
Lua Code:
  1. function f:AddButton(text, value, func)
  2.        
  3.         local bID = self.ActiveButtons+1
  4.        
  5.         local btn = self.Buttons[bID] or self:CreateButton()
  6.        
  7.         btn:SetText(text or "")
  8.         btn.value = value
  9.         btn.func = func or function() end
  10.        
  11.         btn:SetScript("OnClick", function(self, ...) self:func(...) self:GetParent():Hide() end)
  12.        
  13.         btn:ClearAllPoints()
  14.         if bID == 1 then
  15.             btn:SetPoint("TOP", self, "TOP", 0, -(frameInset/2))
  16.         else
  17.             btn:SetPoint("TOP", self.Buttons[bID-1], "BOTTOM", 0, 0)
  18.         end
  19.        
  20.         self.Buttons[bID] = btn
  21.         self.ActiveButtons = bID
  22.        
  23.         self:UpdateSize()
  24.  
  25.     end
to
Lua Code:
  1. function f:AddButton(text, value, func)
  2.        
  3.         local bID = self.ActiveButtons+1
  4.        
  5.         local btn = self.Buttons[bID] or self:CreateButton()
  6.        
  7.         btn:SetText(text or "")
  8.         btn.value = value
  9.         btn.func = func or function() end
  10.        
  11.         btn:SetScript("OnClick", function(self, ...) self:func(...) self:GetParent():Hide() end)
  12.        
  13.         btn:ClearAllPoints()
  14.         if bID == 1 then
  15.             btn:SetPoint("BOTTOM", self, "BOTTOM", 0, +(frameInset/2))
  16.         else
  17.             btn:SetPoint("BOTTOM", self.Buttons[bID-1], "TOP", 0, 0)
  18.         end
  19.        
  20.         self.Buttons[bID] = btn
  21.         self.ActiveButtons = bID
  22.        
  23.         self:UpdateSize()
  24.  
  25.     end
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
Last edited by humfras : 09-09-13 at 01:11 AM.
humfras is offline Report comment to moderator  
Reply With Quote
Unread 09-07-13, 01:50 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 Nibelheim
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.
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?

Error:
Code:
Date: 2013-09-07 12:28:41
ID: -12
Error occured in: Global
Count: 1
Message: ..\AddOns\cargBags_Nivaya\style.lua line 583:
   <unnamed>:SetText(): Font not set
Debug:
   [C]: SetText()
   cargBags_Nivaya\style.lua:583: OnCreate()
   ...e\AddOns\cargBags_Nivaya\cargBags\base\container.lua:56: New()
   cargBags_Nivaya\cargBags_Nivaya.lua:215: ?()
   cargBags_Nivaya\cargBags_Nivaya.lua:5:
      cargBags_Nivaya\cargBags_Nivaya.lua:5
Locals:
(*temporary) = <unnamed> {
 0 = <userdata>
}
(*temporary) = "Sets"

AddOns:
  Swatter, v4.3.1 (<%codename%>)
  WowheadLooter, v50011
  NPCScan, v5.0.0.5
  NPCScanOverlay, v5.0.0.3
  Ace2, v
  Ace3, v
  AucAdvanced, v5.17.5413 (NeedyNoddy)
  AucFilterBasic, v5.17.5413 (NeedyNoddy)
  AucFilterOutlier, v5.17.5413.5347(5.17/embedded)
  AucMatchUndercut, v5.17.5413.5364(5.17/embedded)
  AucStatHistogram, v5.17.5413 (NeedyNoddy)
  AucStatiLevel, v5.17.5413 (NeedyNoddy)
  AucStatPurchased, v5.17.5413 (NeedyNoddy)
  AucStatSales, v5.17.5413.5376(5.17/embedded)
  AucStatSimple, v5.17.5413 (NeedyNoddy)
  AucStatStdDev, v5.17.5413 (NeedyNoddy)
  AucStatWOWEcon, v5.17.5413.5323(5.17/embedded)
  AucUtilAHWindowControl, v5.17.5413.5347(5.17/embedded)
  AucUtilAppraiser, v5.17.5413.5393(5.17/embedded)
  AucUtilAskPrice, v5.17.5413.5347(5.17/embedded)
  AucUtilAutoMagic, v5.17.5413.5392(5.17/embedded)
  AucUtilCompactUI, v5.17.5413.5400(5.17/embedded)
  AucUtilEasyBuyout, v5.17.5413.5347(5.17/embedded)
  AucUtilFixAH, v5.17.5413 (NeedyNoddy)
  AucUtilItemSuggest, v5.17.5413.5365(5.17/embedded)
  AucUtilPriceLevel, v5.17.5413.5365(5.17/embedded)
  AucUtilScanButton, v5.17.5413.5403(5.17/embedded)
  AucUtilScanFinish, v5.17.5413.5347(5.17/embedded)
  AucUtilScanProgress, v5.17.5413.4979(5.17/embedded)
  AucUtilScanStart, v5.17.5413.5347(5.17/embedded)
  AucUtilSearchUI, v5.17.5413.5373(5.17/embedded)
  AucUtilSimpleAuction, v5.17.5413.5388(5.17/embedded)
  AucUtilVendMarkup, v5.17.5413.4828(5.17/embedded)
  Babylonian, v5.1.DEV.332(/embedded)
  BankItems, v50003
  BankStack, vv32
  Bartender4, v4.5.10
  BattlePetQualityNotifier, v1.3.0
  BattlePetsCollector, v5.1.0.9
  Bazooka, vv2.2.3
  BeanCounter, v5.17.5413 (NeedyNoddy)
  BrokerCurrency, v5.3.0-1.3.1
  BrokerEverything, v5.2.1
  BrokerEverythingConfig, v0.5
  BrokerXPBar, v1.7 r044
  cargBagsNivaya, v
  Cellular, v5.3.001
  Chinchilla, vv2.5.14
  Clique, vv50200-1.0.4
  Configator, v5.1.DEV.344(/embedded)
  DBMCore, v
  DebugLib, v5.1.DEV.337(/embedded)
  DoomCooldownPulse, v
  EasyMail, v
  Grid, v5.3.0.1621
  GridIndicatorCornerPlus, v50300-2
  GridManaBars, v1.04
  GridSideIndicators, v4.0.1-1
  GridStatusHots, v4.3.1b
  GridStatusRaidDebuff, v5.31
  GridStatusRDBC, v1.0.1
  GridStatusRDCata, v1.41
  GridStatusRDWotLK, v1.1
  JumpCounter, v3.0
  LibExtraTip, v5.12.DEV.350(/embedded)
  Minimalist, v
  Multishot, v3.1.1
  oGlow, v2.2.2
  Overachiever, v0.72
  Parrot, vv1.11.3
  PetBattleTeams, v3.2.5
  PetTracker, v
  PetTrackerAlerts, v
  PetTrackerSwitcher, v
  PowerAuras, v4.23.29
  RatingBuster, vr397
  SeriousBuffTimers, v1.0
  SharedMedia, v3.0.5-183
  SharedMediaAdditionalFonts, v1.0
  SharedMediaLib, v1.0
  SilverDragon, vv3.0.7
  Skada, v1.4-12
  SkadaCC, v1.0
  SkadaDamage, v1.0
  SkadaDamageTaken, v1.0
  SkadaDeaths, v1.0
  SkadaDebuffs, v1.0
  SkadaDispels, v1.0
  SkadaEnemies, v1.0
  SkadaHealing, v1.0
  SkadaPower, v1.0
  SkadaThreat, v1.0
  Stubby, v5.17.5413 (NeedyNoddy)
  Stuf, v5.3.001
  StufRange, v
  TidyPlates, v6.11.3
  TidyPlatesGraphite, v
  TidyPlatesGrey, v
  TidyPlatesNeon, v
  TidyPlatesQuatre, v
  TidyPlatesHub, v
  TidyPlatesWidgets, v
  TipHelper, v5.12.DEV.351(/embedded)
  TipTop, v2.11.1
  TomTom, vv50300-1.0.1
  BlizRuntimeLib_enUS v5.3.0.50300 <us>
  (ck=c84)
AmiYuy is offline Report comment to moderator  
Reply With Quote
Unread 09-07-13, 10:34 AM  
tempest420
A Kobold Labourer

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

Is it possible to have the alt + right click go upwards instead of down?
tempest420 is offline Report comment to moderator  
Reply With Quote
Unread 08-29-13, 03:21 AM  
humfras
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 82
Uploads: 5
Originally Posted by laukond
1. I do a lot of searching in my bags could you add an optional keybind to toggle bag search on/off while the bags are open?

2. Have you considered adding 'smart search' ie. "boa" would show heirlooms etc.? (I see t:weapon works, I tried looking for what search syntaxes there are, but could not find it. Can you send me a link?

3. Could you perhaps add an option to never automatically open your bags? ie. when visiting a vendor/bank?
1) Thinking about adding that.

2) You can search the item's type and subtype via "t:" (e.g. "t:armor" or "t:shield"). If you're looking for heirlooms (the BoA items), simply use the quality search "q:7".
Take a look at item quality as reference.

3) Thinking about adding that.
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
humfras is offline Report comment to moderator  
Reply With Quote
Unread 08-25-13, 07:41 AM  
laukond
A Black Drake

Forum posts: 81
File comments: 70
Uploads: 0
1. I do a lot of searching in my bags could you add an optional keybind to toggle bag search on/off while the bags are open?

2. Have you considered adding 'smart search' ie. "boa" would show heirlooms etc.? (I see t:weapon works, I tried looking for what search syntaxes there are, but could not find it. Can you send me a link?

3. Could you perhaps add an option to never automatically open your bags? ie. when visiting a vendor/bank?
Last edited by laukond : 08-25-13 at 07:42 AM.
laukond is offline Report comment to moderator  
Reply With Quote
Unread 08-06-13, 04:31 PM  
laukond
A Black Drake

Forum posts: 81
File comments: 70
Uploads: 0
Spot on again :-)
Thanks Nibelheim.
laukond is offline Report comment to moderator  
Reply With Quote
Unread 08-06-13, 04:27 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
Featured Addon Author

Forum posts: 1513
File comments: 2314
Uploads: 50
Originally Posted by laukond
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.
Try something like:
Lua Code:
  1. standard = {
  2.     [[Fonts\FRIZQT__.ttf]],     -- Font path
  3.     12,                         -- Font Size
  4.     "OUTLINE"-- Flags
  5. },
__________________
Nibelheim is offline Report comment to moderator  
Reply With Quote
Unread 08-06-13, 04:16 PM  
laukond
A Black Drake

Forum posts: 81
File comments: 70
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: 1513
File comments: 2314
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: 81
File comments: 70
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: 1513
File comments: 2314
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
Post A Reply



Category Jump: