BagSync

INFO: BagSync tracks the items on your characters and displays the information in collective tooltips. In addition, BagSync also records things like your character professions, currency and gold. A search window is also provided in order to find items across all your characters.

BagSync has support for Cross-Realms and Battle.Net account characters.

NOTE: This addon is intended to work with any inventory or bag addon available.

Supports:

LibDataBroker-1.1, (DataBroker). Has an LDB icon to open the BagSync Search window (Left-Click) or BagSync Tokens Window (Right-Click)

This addon shows item count information for the following:

Bags

Equipped

Bank

Reagent Bank

Guild Bank

Void Bank

Mailbox

Tokens/Currency

Auction House

Slash Commands:

/bgs or /bagsync

/bgs <itemname or search parameter> = will open the search window and perform a search with the information you provided.Example: /bgs ilvl==115 would show all items that are item level 115.

/bgs search = will open the search window

/bgs gold = Displays a tooltip with the amount of gold on each character.

Has a scrollable list of items you can mouse over to see which of your characters has that particular item.

Can be access using the slash command for quick use.

You can link items in the search window by using SHIFT+CLICK

You can use the Dressing Room with items in the search window by using CTRL+CLICK

Support for custom search syntax. (See below)

Currency Window:

Will display your tokens/currency for all your characters.

Mouse over any of the tokens to find out which of your characters may have that particular token or currency.

Professions Window:

Will display your professions for all your characters.

You can view any of your characters professions simply by left clicking on it. Which will open the Recipes window, if the profession has stored recipes.

Recipes Window:

NOTE: This window is only accessible from the Professions window!

Displays a list of all the recipes for the selected profession.

You can link recipes by using SHIFT+CLICK

Profiles Window:

Allows you to delete old data for characters that are no longer available.

WARNING: I added a 'Delete' and 'Confirm' button for a reason! If you delete a profile by accident, there is nothing I can do to reverse this! This is action is irreversible!

Gold Tooltip:

A tooltip that will display the gold on all your characters.

You must have logged in the character at least once for the gold value to be displayed.

Can be displayed by the slash command: /bgs gold

BagSynx FixDB:

FixDB is a function that runs everytime there is a new version update. It removes all old and irrelevant data from the database. That way you don't have old information that isn't being used anymore taking up memory.

Removes obsolete character information

Removes obsolete guild information

Removes obsolete characters from tokens db

Removes obsolete profession information

NOTE: You DON'T really have to run this manually! If you really WANT to run it manually, use the /bgs fixdb command.

Minimap Button:

To move the minimap button, hold SHIFT and LEFT-CLICK drag the icon around.

Left-Click = BagSync Search Window

Right-Click = BagSync Tokens Window

Keybindings:

Search Window

Currency Window

Profiles Window

Professions Window

Blacklist Window

Search Syntax:

Typing a search without any modifiers will perform a "smart" search. For example, typing "armor" will find all items of type "armor" as well as any items containing the word "armor".

To find an item by name, simply type the items name. Typing "silk" will find all items that have "silk" in their name.

To find an item by type, subtype, or equip location, type t:<search>. "t:weapon" will find all weapons. "t:main" will find all main hand items.

To find an item by quality, type q:<quality>. "q:epic" will find all epic items. You can also use a quality number. "q:0" will find all grey items.

To find an item by name, type n:<name>. "n:muffins" will find all items with names containing "muffins".

To find items in an equipment set, type s:<equipmentSet>. "s:fire" will find all items in equipment sets you have with names that start with "fire".

Searches can be negated using the ! operator. "!q:epic" will find all items that are NOT epic.

A union of two searches can be performed using the | operator. Typing "q:epic|t:weapon" will find all items that are either epic OR weapons.

An intersection of two searches can be performed using the & operator. Typing "q:epic&t:weapon" will find all items that are epic AND weapons

Example: 'lvl:115 or level:115' would do a search for all items with an item level of 115.

The following search keywords are also supported:

boe - Bind on equip items.

quest - Items with "quest item" in their tooltips.

bop - Bind on pickup items.

boa - Bind on account items.

bou - Bind on use items

ilvl - Item Level

To search for items that are bind on account, type 'boa' or if you want bind on equip type 'boe'.

To search for items by keyword, type tt:<word>. "tt:companion" will find all items with the word "companion" in any part of the item description.

To search for items with exact name use 'name:' example: 'name:Hearthstone'.

You can also display items from various locations owned by the currently logged in character.
Example: Lets say you want to see all your items in your bank? type @bank
Example: Lets say you want to see all your items in the void bank? type @void

Why does my auction house items not properly sync?Blizzard doesn't make it really easy to track Auction House items. It's rather difficult to track items as they can be sold, canceled, and won. Since it's an elaborate process it's best to check the Auction House regularly to update the data.

Why can I still search for items i've blacklisted?The blacklisting feature only prevents the item from being displayed in the tooltips. It still gets stored in the database for consistency.

v10.9
Added option to disable the BagSync version information at login.

v10.8
Apparently there was some sort of odd packager issues at Curse. I'm updating the Library and pushing a new version to check again. Should fix the library issue folks were getting.

v10.7
Minor nil Fix for Multiple Realms

v10.6
-ADDED: Custom search library LibItemSearchGrid-1.0 based off the old LibItemSearch-1.0 code. Searching with BagSync search should be a little quicker than before and also the pause should be much shorter if you get at pause at all. Repeat searches or refreshes will now properly grab from the cache instead of pausing the WOW client.
-REMOVED: Apparently the LibItemSearch-1.2 library is causing a long pause every time a search string is given to it. It only seems to happen when there are large amounts of queries being tossed at it. The LibItemSearch-1.2 library also doesn't seem to cache search routines like the old LibItemSearch-1.0 used to do properly. So even a refresh or a search of the same item causes the BagSync Search window to pause the WOW Client for a brief period.
-TOC Update for Legion 7.1
-A few bug fixes

v10.5:
- Bug fixes and new config options
-Added a new option to replace Server names in the tooltips with astricks.
-Added a new option to shorten the server names in the tooltips.
-Fixed a bug where the gold display tooltip was not using class colors.
-Changed a few of the locale text. I want to start using the XR and BNET tags to reference cross-realm and battle.net features. It makes it easier when making config options.
-Trying new approach to cross-realm guild issue.
-Added an option to remove the XR and BNET identifiers in the tooltips.
-Fixed an issue where if a person had characters within the same group of connected realms, it would cause issues with the guild count. That's because although they are in the same guild within the connected realms, they are still on separate servers. So in order to compensate for this, it's best just not to add any realm identifiers to guilds within the same connected-realm group.

v10.4
- Fixing an issue where Curse.com adds duplicate files in the zip file.
-This is due to the packager utilizing the pkgmeta file to populate the zip file. I really should have never used gitmodules/submodules. It's caused nothing but problems.

v10.3
-Added an update to the koKR localization. (Thanks WetU)
-Fixed a bug where sometimes the currency window will give a nil error when Cross-Realms or Battle.Net is not enabled.
-Updated the FilterDB to compensate for not having Cross-Realms or Battle.Net enabled. This should solve any future issues where realm returns nil.
-Fixed an issue where sometimes the tooltips would not refresh properly (like in the tradeskill window for reagents) and the text would appear beyond the Tooltip borders. Making it really hard to see. (Special thanks to Nevcairiel and Homaxz for testing this out)

v10.2
-Added a new option to display a green checkmark next to the currently logged in characters name in the tooltips. This makes it easier to locate your current character quickly if you have lots of characters. This can be disabled in the BagSync config menu.
-Fixed a slight bug with SetQuestLogItem that was giving a nil return.
-Packaged the libraries manually to prevent any future issues. I'll just update manually myself.

v10.1
-Updated to fix an issue with Curse/Wowinterface packager
-Update koKR.lua
-This should address the issues that folks have been having.

v10.0
--WARNING!!! Due to database changes you MAY need to rescan all your characters. Sorry there was no way around this. I had to cleanup the Database code.
-NOTE:!!!!! BagSync has been completely rewritten to support Ace3!
-Better support for Cross-Realms and Battle.net accounts
-Better control of GUI elements with Ace3.
-NEW: BagSync now takes BonusID's into consideration when storing items. This means it will now properly store multiple items of the same name with different attributes based on class or dungeon type. (Mythic, Heroic, etc..)
-NEW: You can now display ItemID in the BagSync tooltips.
-Streamlined code throughout the addon to make things much more efficient.
-NEW recipes window! You can now view all the recipes for a given profession just by clicking it in the Professions window!
-Added many configuration options that weren't available before.
-Added color options to the BagSync config window.
-Reworked the localizations, requires less work with handling in the code.
-Changed the wording on a lot of things found in BagSync. Simplified some of the Config options.
-Added Cross-Realm and Battle.net support for guild names.
-Fixed an issue with @guild in the search window not working properly.
-Reworked how tooltip information is displayed. Now it looks much better and is easier to read then before. Use the color options to change if you want it to look differently.
-I've renamed the Tokens window to Currency. Tokens was the old name that was used back in the day.
-I've updated the profiles window and now no longer needs a client reload. The code also has been streamlined.
-Restructured the BagSync addon files. it was a mess before and I didn't like it.
-Converted all the GUI elements to Ace3 GUI framework.
-Added a warning window on the Search window when the Blizzard server is being naughty and not scanning all the items in our database.
-So many changes it's just not possible for me to list them all. Check the BagSync configuration screen for new options.

v9.1
-Removed redundant TradeSkill code no longer necessary with the new tooltip changes I did. It was nice while it lasted :D
-Version update, should push to remove redundant code due to a link coding failure in the ItemLink to Link translation.

v9.0
-Updated Tooltip Parsing -- Special thanks to Sohvan from wowinterface! Whose help made these fixes possible :D
-Because GetItem() is broken (thanks Blizzard!), I've had to make several workarounds to grab the itemLink for the current displayed tooltip.
-Tooltips should now properly fill the correct data with Recipes.
-Tooltips should now properly fill the correct data in the Guild Bank, Void Storage, Auction House, Professions Window, Reagents Bank
-Tooltips should now properly fill the correct data in the BagSync Search window for items such as Recipes.
-Fixed a bug with the TradeSkill window not showing tooltips properly.
-Simplify some of the tooltip names. Some were too long. Like "ReagentBank', 'MailBox', etc..
-More fixes for the tooltip issue, now addresses the chat link clicking.
-Trying to add more checks to make sure things don't get shown twice
-fixed a small typo on the new tooltip parser

v8.9
-Fixed an issue with the MailBox scanning. GetInboxItem(). Thanks to @XandrTV at GitHub
-Reworked how the Cross-Realm / BNet is processed. Much more efficient now.
-Cleanup of DB functions
-Some cleanup of the DB functions
-Added some independent functions to handle same filtering process
-Updated German localization by GrimPala at wowinterface.com (THANKS! :D)
-Added Cross-Realm / BNet support to Search Window
-The gold display tooltil /bgs gold should now properly show cross-realm characters.
-Slowly but surely. Had to change a local function to global for obvious reasons.
The @ commands only still work for the current logged in character. Such as @bank or @void etc...
-Lots of other stuff that was fixed lol :D
Known Issues: I know cross-realm/BNET isn't on Tokens, Profiles, Professions. I'm working on those. Didn't see them as a priority at the moment.

v8.8
Fix for Error on Non-Connected Realms
Special thanks to @xandrcouk at GitHub for finding a bug with realms that aren't connected. This should resolve that problem.

v8.7
Fixes for Cross Realm Support - Tooltip Sorting.
Changed the location of the Player Name sorting. Completely forgot about the Guild Name option. Oh WELL... can't win them all
Changed the delimiter used for player/realm to something a little less used in languages.
Fixed an issue where Tooltip information was not displaying correctly if CrossRealm and BNet support is not activated (Basically Default view)

v8.6
Added Cross Realm Support and BNet Account Support
-This is a big update as I've added support for both Cross Realms and BNet account.
-Please note that BNet account option will only show character items for the CURRENTLY LOGGED IN BNET ACCOUNT. It will not show characters from multiple BNET accounts as this is currently not possible with how Blizzard setup saved variables in game accounts.
-Cross Realm / BNet Account support does take the FACTION option into account. So if you have that enabled it will only display characters of the same faction on both Cross Realm and BNet Account
-It is NOT recommended to turn on BNet account items. This is a lot of data and it should be only used on really fast computers. Consider yourself WARNED if you experience lag.
-Cross Realm support is enabled by default.
-You may have to login/logout once or twice for it to fully take effect. The database has been updated to store character realms to assist in the tooltip process.
-If you use /bgs profiles and want to delete the information of a Cross Realm or BNET Account character. You need to LOGIN on that server in order to do this. I will be adding the ability to delete characters from different servers in the future. Right now it's not a priority.
-Added new localization strings for the new options. This will have to be updated by folks as they translate it for me.

I've tested this on several characters on different servers. Some with the same name and others not. Everything worked as expected. Please let me know if you get any bugs.

v8.5
Updated TOC for Legion
Special thanks to @Nevcairiel at GitHub.com for the updates to Legion
Special thanks to @jsutan for a bug catch on GitHub.com
@Nevcairiel Don't error out when no item id could be parsed
@Nevcairiel Ignore Dalaran Hearthstone
@Nevcairiel Update TradeSkill API

v8.4
-Fix for the issues where alt information was not displaying.
-Information for other characters should now properly display in Tooltips.
-Note to self, use only two digit version numbers in the future lol. Thanks for pointing this out Nevcairiel.

v8.3.1
-forgot to add the version number to TOC, DOH!

v8.3
Special thanks to the following users from Github.com for their contributions

@WetU
-Update KoKR localization

@EnumaElis
-Update ruRU localization
-ruRU localization bugfix

@Nevcairiel
-Fix leaked global variables
-Ignore Garrision Hearthstone
-Don't show a seperator line if no tooltip content is being added

v8.2
-Updated the TOC to reflect new patch number.
-Pushed fix for TradeSkill bug by @Ignifazius from GitHub

v8.1
-Merge pull request #17 from Blazeflack @ GitHub.com
Fix for issue #16: Bank not synced when exiting game
***Special thanks to Blazeflack for the code promotion to GitHub.

v8.0
-Added the Reagent Bank to the search routine. WHOOPS!
-Added some more localizations for deDE and ptBR

v7.9
-Removed redundant code
-Added missing localization strings to the total list of localized strings.
-Major shout out and special thanks to ytzyt at Curse for the zhCN and zhTW translations! Thanks!

v7.8
-Merge Pull Request Silvertwist
---Fixed an issue moving items to and from the ReagentBank and the Bank

v7.4
-Updated the tooltip search library
-Fixed an issue where the tooltip library search wouldn't always pick up on items.
-Added the ability to search by class c:warlock or class:warlock
-Fixed a stupid taint issue with bindings

v7.3
-Updated TOC to 5.2
-Added an ability to add a seperator before the BagSync Tooltip Display

v7.1
-Added new search parameters to search window to display items from the currently logged in character based on syntax provided.You can now display items from various locations owned by the currently logged in character.
Example: Lets say you want to see all your items in your bank? type @bank
Example: Lets say you want to see all your items in the void bank? type @void

Available Commands:

@bag

@bank

@equip

@mailbox

@void

@auction

@guid

v7NOTE: YOU HAVE TO SCAN ALL YOUR CHARACTERS AGAIN! THERE HAS BEEN A DATABASE UPGRADE!!!
-Database design has been completely reworked!
-Fixed an issue where items where incorrectly being reported due to changes in bag structure or bag sizes. The new database format will correct this bug.
-Fixed several issues with guild bank permissions. It will now check permissions before performing a scan.
-Added several missing options to the Interface->Addons BagSync panel.
-Added a new option to completely turn off the Bagsync tooltips.
-Reverted the tooltip handling to an old format from previous version, updated the code to reflect updates Tuller has done since. (thanks Tuller!)
-Removed a bunch of useless or old code.
-Reworked several functions to in order to improve efficiency.

v6.7.7
-Fixed a null link issue that was happening to some people.

v6.7.6
-Another darn quick fix for pet battle errors.
-I'm providing temporarily fixes to ignore them right now.
-I'm trying to enjoy playing the game. I will fix it completely when I can.

v6.7.5
-small temporary fix to get rid of the errors associated with capturing and using pets.
-I'll fix this as soon as I actually you know.. start playing MOP LOL.

v6.7.4
-Updated for Mists of Panderia patch 5.01

v6.7.3
-Fixed an issue with stored professions not picking up certain secondary tradeskills.
-Removed getglobal as it's been depreciated.

v6.7.2
-Removed secondary auction house check as it was no longer required.
-Auction house items will be triggered by expired checks only after a user places an item for auction.
-Auctions will now be updated on each visit to the Auction House. This is done to keep consistency throughout the data.

v6.7
-Added ability to track Auction House items. System to remove expired items was also implemented.Note: It's still best to check the auction house often while this feature is enabled. This way the data is up to date.
-Added ability to save professions throughout all your characters. You can now view and link professions from all your characters!
-Completely restructured the addon and converted some functions to local ones.
-Changed color coding for Professions. Green = linkable, Blue = not-linkable
-Reworked how the void storage is checked.
-Added an option to display the modified tooltips only in the BagSync Search winow.
-Added another check for expired items. Two is better then One!
-Added new Blacklist Window. You can now blacklist items by itemID.Note: these items will still be added to the database. They just will never be displayed in the toolips.
-Revamped the Profiles Window.
-Removed tekKonfigDropdown library as it was no longer needed.
-Updated the localization to reflect the new changes. Also added some more localization where it was required.

v6.6.2
-Had to reupload to fix a problem where git pushed the wrong files.

v6.6.1
-fix for an issue where some items were not being stored.
-solved an issue with transmorg sets :P
-items should now be properly stored

v6.6
-Fixed an issue with the Search Routine for /bgs [itemsearch]
-NEW: Added support for Void Storage. Blizzard didn't make this one easy I'll tell you that.
-This will probably be the last update for awhile. I'm working on the Auction House implementation but I won't upload it till I'm satisfied. Unless there are anymore bugs found, BagSync won't be updated for awhile.

v6.5.2
-Updated toc for new patch 4.3
-Fixed a slight bug with battlegrounds check
-Localized a few functions, (beginning of rework to localize BagSync and provided API function calls for addon developers)

v6.5.1
-Added a better tooltip for minimap button and LDB button.
-Show minimap is now on by default for new users.
-Fixed a dumb bug where the right click menu for LDB wasn't working. (I blame git)

v6.5
-([email protected]) Use the built-in HandleModifiedItemClick
-([email protected]) Fixes searching for items that are only present in the guild bank
-Added a rightclick menu for the Minimap button and LDB Broker button. Will allow you to open up several of the addon windows.

v6.4.1
-NOTE: Due to some changes to the DB, you may have to login each character to update to the correct data.
-Added a new BagSync configuration window
-Added slash command to open new config window. /bgs config
-Updated to the latest LibItemSearch-1.0 library.
-Removed option to enable/disble tooltip throttling. Now on by default.
-small fix for unguilded people
-Removed a bunch of slash commands.
-Modified the Localization file quite a bit.
-updated profiles window, you can now delete the info on the currently logged in character.
-fixed a bug in the search window that was sometimes treating gold value as an item.
-optimized search window, tokens window, and profiles window a bit.
-changed the way gold, class, and faction is stored in the db.
-fixed a slight bug with faction info not allowing certain characters at time to show
-removed obsolete keyring stuff from addon
-optimized fixdb a lot, removed irrelevent crap that wasn't needed anymore. now removes old keyring information.
-fixdb should now properly update db if the guild name has changed, granted the information will be removed but can be replaced with new guild information.
-Optimized the core bagsync code a bit.
-A guild check will be performed now if a user switches guilds, leaves a guild, or changes a guild name. Note if switched guilds old guild info will be removed.
-Fixed kitchen sink....

v6.3.4
-NEW: slash command /bgs faction
-Added a new slash command "/bgs faction" to toggle displaying of items for both factions or just the faction your currently logged in.
-This new slash command is on by default so it will be showing both ALLIANCE and HORDE toons items. If you turn it off it will only show items from the faction your current logged in toon is.
-Searching for items will take the new "/bgs faction" slash command into mind when performing a search for items.

v6.3.3
-Fixed a nil error that was occurring on the tooltip in chat.
-Updated the BagSync to autofocus when you do a search now.
-Updates thanks to @Aranarth

v6.3.2
-Updated for new patch
-Fixed an issue with rarity colors not displaying correctly (@Tonyleila from wowinterface)
-Updated the way tooltips are parsed. (@Aranarth from Wowinterface)
-Updated toc for patch 4.2

Version 5.5:
-Fixed an issue that would sometimes cause the LibItemSearch library to produce an error. (Which was my fault, thanks again Tuller ;) )
-LibItemSearch library has been updated to a new version, now support tooltip searching.
-You can now search for specific words in item tooltips by using the command tt: example: tt:companion
-Left-Click on the Databroker Icon or Minimap button will open the BagSync Search Window.
-Right-Clicking on the Databroker Icon or Minimap button will open the BagSync Tokens Window.

Version 5.4.1:
-Fixed a slight issue with guild count was being displayed and added twice.
-It should display correctly if using /bgs guild and /bgs guildname.

Version 5.4
-Slight fix for the search window. It should no longer display items in the guild if the guild feature is turned off in the BagSync settings.
-Optimized code for Cataclysm
-Fixed a few slight bugs
-Removed redundant code

Version 5.1: (Cataclysm Release)
-Hunter ammo check has been removed. (It's no longer needed)
-Updated FixDB to remove redudant range slot information
-Token currency window tooltip support has been removed. USE: /bgs tokens
-Added a minimap button so people can stop bothering me about it! toggle with /bgs minimap
-Updated token scanning. It should now work properly.
-Fixed a displaying issue on the BagSync tokens window.
-Rarity display on the BagSync tokens window has been removed.
-Updated FixDB to remove old Token Data

Version 5.0.1:
-Commented out token stuff till I can fix it.

Version 5.0:
-This is an experimental build. It should work with patch 4.0.
-Had to disable tokens as this was causing most of the issues. Working on a fix though.

Version 4.3:
-A slight fix AGAIN for the Search Window. Items weren't being inputed unless the editbox was shown.
-An update for the Search Window window to automatically select current editbox being used.
-Updated libraries (because of github lol)

Version 4.2:
-Added support for LibDataBroker-1.1. BagSync now has a broker icon to launch the search window.
-Added support to color names by unit class.
-New slash command /bgs unitclass will color names by color. OFF by default.
-Changed the way slash commands are handled. Much cleaner code ;)
-Fixed an issue where the throttle wasn't always allowing the information to show on certain tooltips.
-Fixed an issue where sometimes the throttling wasn't initiated.
-Added support for CallbackHandler-1.0.lua.
-Fixed an issue in the BagSync Search window where the scroll bar was off the frame sometimes.
-Fixed an error that prevented users from linking items from the BagSync Search window.
-Added a few helper functions.
6 files changed, 437 insertions(+), 59 deletions(-)

Version 4.1:
-Added a new slash command /bgs mailbox that will toggle mailbox features on/off.
-Using /bgs guild will now toggle off/on the guild scanning/displaying features entirely.

Version 4.0:
-Added spam checks for equipment and bag scan due to hunter ammo use.
-BagSync will now ignore bag updates and or equipment updates if the ammo slot is triggered.
-This will only take affect if the player is a Hunter. It should reduce CPU use significantly :)

Version 3.9:
-Completely redid the localization. The localization is now using metatables.
-Reworked some code here and there.
-Fixed an issue with the toggles where it wouldn't immediately take effect.
-Added a new option, /bgs guild - this will toggle guild display on tooltips.

Version 3.8.1:
-WHOOPS tiny bug where the tooltip would blink like mad. (Fixed)

Version 3.7
-Fixed an issue where the ammo count was being listed twice. (Thanks to berrybear from WOWInterface)
-Added tooltip display to the Currency Tab under the Character Window.
-Added a new slash command (/bgs guildname) which till toggle the display of guild names and count rather then just character and guild count.
-NOTE: /bgs guildname is toggled off by default
-Fixed an issue with the versioning that wasn't allowing the FixDB to fire off.

Version 3.6.1
-Added German localization, special thanks to Schnubby from WOWInterface.

Version 3.6:
-Added total to tooltips (item and gold displays).
-Added slash command to toggle total display. /bgs total
-NOTE: Totals will only display when there is more then one item in the tooltip.

Version 3.5.1
-Forgot to remove another instance of IsTabViewable. (Thanks Quokka, BugID: 6480)

Version 3.4:
-Possible fix for some supposed bug where the tokens wouldn't display or be stored.
-Commented out some redundant code.

Version 3.3:
-Updated the token retrieval code due to some changes Blizzard did to the client.
-Changed the way that tokens are saved into the database.
-Removed redundant code
-Optimized the token display and retrieval methods.
-Updated the Token Display for the new token changes.

Version 3.2:
-Added slash command /bgs fixdb to allow users to run FixDB
-Added an alert to let users known when a FixDB has been performed.
-FixDB is a function that runs everytime there is a new version update, basically it removes all old and irrelevent data from the database. That way you don't have old information that isn't being used anymore taking up memory. It removes old guild data if no user is in that guild, removes old token data for users that don't exist, and removes user data if they were removed using the BagSync Profiles window. You don't really have to run this manually unless you really want it to run even after a version change.
-Fixed an issue where sometimes the headers of the Token Window weren't being sorted correctly.

Version 3.1:
-Optimized BagSync code even further!
-Removed redudant code!
-Fixed a nil issue with first time users when viewing the Tokens Window.
-Added the removable of old token data to BagSync:FixDB_Data()
-Added more checks to prevent token spam where possible.
-Added more checks to prevent Mailbox spam.
-Updated Korean Localization file.

Version 3.0: (HUGE UPDATE)
ADDED: LibItemSearch-1.0 to enchance the searching in the BagSync Search window.
ADDED: BagSync will now scan your Mailbox and store the information to display in tooltips.
ADDED: BagSync will now scan your tokens/currency and display the information on the BagSync Tokens frame.
ADDED: NEW BagSync Tokens window will display tokens from all your characters.
ADDED: NEW BagSync Profiles window will allow you to delete profiles from old characters. Clean that DB!
ADDED: NEW Keybindings under the Blizzard Keybinding interface for the BagSync Search, Tokens, and Profile window.
ADDED: NEW Korean Support! Localization information in the BagSync Localization file has been updated for Korean.
ADDED: NEW /bgs Slash commands for the new BagSync Tokens and BagSync Profiles window!
ADDED: tekKonfigDropdown library for the profiles window for easy dropdowns
ADDED: Have added more support for localized languages throughout BagSync. Tried my best to use Localization file as often as possible for translations.
ADDED: Battleground and Arena checks for Tokens so that the user doesn't get spammed for updates for each kill.
ADDED: Spam check for Mailbox scanning to prevent multiple scanning of the same mailbox items.
FIXED: Fixed several issues in the core and removed redundant code
FIXED: An issue where sometimes the guild bag information wouldn't populate
FIXED: An issue where new time users would get a nil error check if data wasn't found in their bags.
FIXED: BagSync:FixDB_Data() has been updated with some more variable checks and error traps.
FIXED: An issue with the money tooltip that was sometimes displaying gold incorrectly. Redundant code has been removed.
FIXED: An issue in the search window where sometimes the scrollbar wouldn't work properly or update correctly.
FIXED: An issue where the mouse scrolling wouldn't affect the BagSync Search window scrollbar.
FIXED: An issue where sometimes the search window wouldn't show certain items.
CHANGED: Changed the way how information is parsed in the BagSync Search window.
CHANGED: The BagSync Search window can now be moved and is draggable.
CHANGED: The BagSync Tokens window can now be moved and is draggable.
CHANGED: The BagSync Profiles window can now be moved and is draggable.

Version 2.4:
-ARGH! I knew I forgot to add something before the last upload. Sorry folks!
-You can now link items from the search window using SHIFT-CLICK
-You can now use the dressing room with items from the search window using CTRL+CLICK

Version 2.3:
-Added a new tooltip that will display the currency (gold) on all your characters from that realm.
-Added the slash command '/bgs gold' to display the new gold tooltip

Version 2.2:
-Fixed a nil error when sometimes performing a search in the search window.
-Fixed an issue where the scroll-bar wasn't properly scrolling as it should.

Version 2.1:
-Argh! Fixed a stupid bug that was sometimes deleting the guild database at login.
-Fixed an issue where guild items (again!) weren't showing up in search window.
-Optimized the guild searching routines.
-Removed the multiple displaying of guild items for toons within the same guild. You should only see guild data displayed once in a tooltip for the first toon detected in a guild. (Instead of multiple toons in the same guild being displayed in the tooltip)

Version 2.0:
-Fixed an issue where the new search feature wasn't displaying results found in the guild bank.
-Items in the guild bank should now properly be displayed in the search window :)

Version 1.9:
-ADDED new search window! You can now search for items on your characters within the BagSync database!
-ADDED new slash commands for the Search Window! /bagsync or /bgs
-SLASH: /bgs search = will open the search window
-SLASH: /bgs itemnamehere = will open the search window with the given item name to find.

Version 1.8:
-Added removal of unused guilds to the database cleanser.
-Fixed an issue where sometimes the tooltip wouldn't show always.
-Fixed an issue where the tooltip data may not properly update on equipment change.

Version 1.6:
-Added measures to reduce lag from hovering over tooltips.
-Optimized the code a ton.
-Added checks for DB parsing so that the same data doesn't get scanned more then once.
-Removed redundant code
-Streamlined the database parsing throughout the addon.
(Very special thanks to Shirk for the help)

Version 1.4:
-Added guild bank to the database. Should now display the amount of items your characters guild has stored in the guild bank.
-Fixed database cleanser as it was not parsing all the realms.
-Added guild bank data to the database cleanser.

Version 1.3:
-Fixed a serious bug with the item count. It should now properly report correct item count information.
-Fixed an issue where the bank was being recorded twice, thus sometimes reporting incorrect item count.
-Added better item checking for item comparison.
-Added a database cleanser for incorrectly stored data in the database. (Removes incorrect item #'s)
-Fixed an issue with the bank bag not updating when it should.
-Added a complete inventory scan on login. (not just primary bag)

I've just discovered this nice addon and I like the search function (LibSearchItem is really a powerful tool!).

But (yeah, no pleasure if no problem) there is any way to find items in specific location ? I've tried @bank&tt:myText, but it seems do not work.

I'll continue to use this nice and useful tool but I appreciate any help.

I do apologize for the delay. I don't check this site as often as I used too, since I haven't been subscribed to WOW in a very long time. I'm no longer using LibItemSearch as the updated version of this library (by Jailborc) was causing a lot of complications with CPU Load (processing) while performing searches. (I was getting reports by a lot of users that it was freezing their WOW client). I tried several experiments and in the end it came out to how the logic is being parsed by the library itself. The original LibItemSearch code by Tuller seems to work much better and doesn't have the intensive CPU Load (processing) as the new one does. So what I did was create a modified version of Tuller's original code (with complete credit towards him of course) and added some new modifications to it. I had to rename the library to LibItemSearchGrid-1.0 as the original code has already been updated and maintains the same Library name as LibItemSearch. So to not cause confusion I renamed mine so as not to conflict with the new updated code by Jailborc. Think of it as a fork of the original LibItemSearch code. Regardless, I want to explain that in case any other folks were confused and still thought I used the new LibItemSearch library by Jailborc.

I'm sorry to say there isn't a way to check for an item in a specific place. That may be something I can add in the future to the extended LibItemSearchGrid-1.0, but for right now your options are the following.

1) Look for an item by name
2) Look for an item by type, class, quality, etc...
3) Use logic operators to find specific items.
4) Do a tooltip search on all items, using tt:
5) Display all items in a specific location. @bank, @void, etc...

Unfortunately, you cannot combine the location search with an item search at this time. I hope this helps!

EDIT: Ok the v10.7 I downloaded from Curse didn't work but I downloaded the v10.7 from curse forge and it works fine. Not sure what went wrong.

When you say nothing works, you have to be a bit more descriptive. Do you get any errors upon logging in. Do you not get any errors but none of the tooltips are working. etc.. etc..

That's really odd since they share the same repository. The files should have been identical. Weird.... I'll push another update and see if that fixes the issue.

Sorry, Ya nothing worked and no errors. But I decided to re download it on another site and it worked. So not sure what happened. Maybe something happened on my end and didn't complete the download or something. But its working now.

Bagsync used to be quite fast for me. But now it freezes up for a few seconds whenever I search for anything using the /bgs search function. It also freezes up even longer when I click the "Refresh" button.

After some tests and various performance checks. It appears that the ItemSearch library that I utilize in BagSync causes a performance hit when performing searches. The old LibItemSearch-1.0 library doesn't seem to have as much as a performance hit or "freeze" that the new LibItemSearch-1.2 has. I need to look at these libraries and determine what is going on. I'm also wondering why the old LibItemSearch-1.0 seems to cache better then the new LibItemSearch-1.2 version of the library.

Regardless, there is indeed a small freeze/hiccup everytime a search is performed. It's not game breaking but it is a little annoying. I'm going to try to see if I can make this much more efficient.

Bagsync used to be quite fast for me. But now it freezes up for a few seconds whenever I search for anything using the /bgs search function. It also freezes up even longer when I click the "Refresh" button. (I believe the freezing started when the version came that had the refresh button in it) The only fast way now to still see how many of a thing I have is to mouse over the item and look at the tooltip.

I tried completely deleting all Bagsync variables and reinstalling it, but this didn't make any difference.

Is this normal?

When you search on BagSync are you seeing the Warning window? If you are that means the SERVER hasn't responded to the query yet on all the items you have stored. In order for BagSync to make a precise and accurate search of all the items it has to wait for the Server to respond to the query. This is because WOW does not store item information on your computer that you haven't seen within your current logged in character. In order for BagSync to properly search all the items, it queries the server with a list of the items you have stored. That is the delay you are talking about. In the past BagSync didn't do this and at times some items would go missing from the search. Once the server does a full response from the query that BagSync sends out any continued searches after that should be much faster. This problem usually only happens on the first initial search after logging in. A few searches about that should increase it's speed. It's a minor headache and one I think can be ignored as I'm trying to provide you with the most accurate and reliable search results possible. I want to point out also that if you have Cross-Realms enabled and Battle.Net accounts enabled that's even MORE items that it has to search through. So keep that in mind.

Bagsync used to be quite fast for me. But now it freezes up for a few seconds whenever I search for anything using the /bgs search function. It also freezes up even longer when I click the "Refresh" button. (I believe the freezing started when the version came that had the refresh button in it) The only fast way now to still see how many of a thing I have is to mouse over the item and look at the tooltip.

I tried completely deleting all Bagsync variables and reinstalling it, but this didn't make any difference.

Hello. Using the version that was released today (Oct 2) and some of my items are not being tracked. Like, I'm looking at the tooltips of items in my bags and some of them show up and some don't. This just started happening after I updated. Sounds like you broke something.

Originally Posted by Saintgabrial

The version that was released today Oct 2 2016 does not work at all. I mean NOTHING works. Before it was just recipe's from vendors and auction house that wouldn't show that you had them in your bags or bank. Now its nothing. Going to reinstall the last one before this update for now.

The only thing that was changed was a bug that was displaying guilds more than once if cross-realms and battle.net account was enabled. This should have no effect on the regular tooltip display.

Verify that the items counts that is not showing is guild related not character related! If it's the guild item counts then it was probably affected by the Guild fix I implemented.

Please verify your options under BagSync Config. Make sure that enabling or disabling cross-realm or battle.net support fixes your issues. Battle.net support is NOT recommended. There is a reason the warning label is there.

If you still have issues and you can verify the problem then file a ticket at GitHub.
In order to fix this issue I really need more precise and detailed explanations of what's going on other then, "it's broken". Trust me I will work with you to get it resolved. However, it's difficult for me to fix something I can't duplicate myself. It's working absolutely fine on my end.

The version that was released today Oct 2 2016 does not work at all. I mean NOTHING works. Before it was just recipe's from vendors and auction house that wouldn't show that you had them in your bags or bank. Now its nothing. Going to reinstall the last one before this update for now.

Hello. Using the version that was released today (Oct 2) and some of my items are not being tracked. Like, I'm looking at the tooltips of items in my bags and some of them show up and some don't. This just started happening after I updated. Sounds like you broke something.