Quantcast
Download
(5 Kb)
Download
Updated: 12-04-16 08:56 PM
Pictures
File Info
Compatibility:
Return to Karazhan (7.1.5)
Updated:12-04-16 08:56 PM
Created:01-23-15 07:01 AM
Downloads:3,406
Favorites:31
MD5:
7.1.5

Binds When?

Version: 7.1.0.1
by: Phanx [More]

Shows BoA/BoE text on items in your bags and bank.

Supported bag addons:

  • Blizzard default UI
  • AdiBags
  • Bagnon
  • cargBags*
  • Combuctor
  • DerpyStuffing
  • ElvUI
  • Inventorian
  • LiteBags
  • TukUI

Feedback

Post a ticket on GitHub or a comment on this page. If you are requesting support for a bag addon, please include a link to its download page.

____________________

* cargBags layouts must have an "## X-cargBags: AnythingHere" line in their TOC file. The second half of the line doesn't matter at all -- it can be "AnythingHere" or "cargBags" or "AgLj8vMjc5PDw8J" -- it just needs to exist.

Version 7.1.0.1
  • Added support for Backpack

Version 7.1.0.0
  • Updated for WoW 7.1

Version 7.0.3.0
  • Updated for WoW 7.0

Version 6.2.2.5
  • Added support for Inventorian

Version 6.2.2.4
  • Fixed errors with Bagnon_VoidStorage
  • Added support for Combuctor, ElvUI, TukUI

Version 6.1.0.3
  • Updated for WoW 6.1
  • Added support for AdiBags, DerpyStuffing, LiteBags

Version 6.0.3.2
  • Added support for cargBags (requires an X-cargBags TOC field in the layout)

Version 6.0.3.1
  • First public release.
Archived Files (6)
File Name
Version
Size
Author
Date
7.1.0.0
5kB
Phanx
10-31-16 08:39 AM
7.0.3.0
5kB
Phanx
07-24-16 02:38 AM
6.2.2.5
3kB
Phanx
10-16-15 11:52 PM
6.1.0.3
3kB
Phanx
02-27-15 04:28 AM
6.0.3.2
2kB
Phanx
01-28-15 11:32 PM
6.0.3.1
2kB
Phanx
01-23-15 07:01 AM


Post A Reply Comment Options
Unread 03-07-17, 09:01 PM  
griddark
A Kobold Labourer
 
griddark's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 43
Uploads: 3
I can't get bindwhen working with AdiBags. Anyone else have this problem?
Report comment to moderator  
Reply With Quote
Unread 10-25-16, 01:11 AM  
MoonWitch
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 455
File comments: 163
Uploads: 8
Originally Posted by Phanx
It goes in the cargBags layout's TOC file. The value of the field isn't really important, but it shouldn't conflict with any existing globals, so I'd recommend just sticking with "cargBags":

Code:
## X-cargBags: cargBags
Without this line, cargBags isn't made available to other addons, and BindsWhen can't hook into it.
Trying to do the same to http://www.wowinterface.com/download...-Backpack.html
Or rather, get BindsWhen to support it --
__________________
Report comment to moderator  
Reply With Quote
Unread 07-30-16, 05:31 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5567
File comments: 2288
Uploads: 46
The simplest solution is probably just to open CaerdonWardrobe/Core.lua in Notepad or similar, and remove the lines highlighted in red, leaving the first and last (non highlighted) lines, near the top:

Code:
local bindTextTable = {
	[ITEM_ACCOUNTBOUND]        = L["BoA"],
	[ITEM_BNETACCOUNTBOUND]    = L["BoA"],
	[ITEM_BIND_TO_ACCOUNT]     = L["BoA"],
	[ITEM_BIND_TO_BNETACCOUNT] = L["BoA"],
	[ITEM_BIND_ON_EQUIP]       = L["BoE"],
	[ITEM_BIND_ON_USE]         = L["BoE"]
}
Long-term, a better solution would probably be for the author of that addon to show the bind type on non-transmog items, and then if you want to see the extra transmog info, you just use that addon instead of BindsWhen.

I could also detect if CaerdonWardrobe is running and forcibly remove its text in BindsWhen, but I'm not really sure I want to do that.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Report comment to moderator  
Reply With Quote
Unread 07-29-16, 10:54 AM  
samvx
A Defias Bandit
 
samvx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 101
Uploads: 5
Conflict with other addon

Hi Phanx tyvm for all your work.

it seems there is a conflict with an addon (Caerdon Wardrobe) using the same text , but removes on the rings, necks, trinckets or other unused in xmog
Report comment to moderator  
Reply With Quote
Unread 07-24-16, 10:05 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5567
File comments: 2288
Uploads: 46
cargBags layouts must provide an "X-cargBags" field in their TOC file.
It goes in the cargBags layout's TOC file. The value of the field isn't really important, but it shouldn't conflict with any existing globals, so I'd recommend just sticking with "cargBags":

Code:
## X-cargBags: cargBags
Without this line, cargBags isn't made available to other addons, and BindsWhen can't hook into it.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Report comment to moderator  
Reply With Quote
Unread 07-24-16, 10:04 PM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

Forum posts: 106
File comments: 538
Uploads: 0
Thank you!

Thanks for the update for 7.0.3!
-Barleduq
Report comment to moderator  
Reply With Quote
Unread 07-24-16, 04:19 AM  
Triksterism
A Wyrmkin Dreamwalker
 
Triksterism's Avatar
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 28
Uploads: 1
With my recent ventures into mog farming, I figured this addon would come in quite handy. My question is: I use carbags and I noticed you mention I would need to change the .toc -- What exactly must I do? Do I edit the toc of your addon or carbags and what do I add/edit?
__________________
Report comment to moderator  
Reply With Quote
Unread 03-25-16, 02:13 PM  
Shen
A Murloc Raider

Forum posts: 5
File comments: 15
Uploads: 0
Hey, I've installed Binds When? addon, and it works great on elvUI 9.14, except it throws an error sometimes, when the bags are closed.

Here's a pastebin of the error.

http://pastebin.com/E2R9wehU

Edit: I noticed it also throws the error on the same line when you right click a piece of equipment in the bag to equip it.

Edit 2: Download link is http://www.tukui.org/downloads/elvui-9.14.zip
__________________
-Shen
Last edited by Shen : 03-26-16 at 01:17 PM.
Report comment to moderator  
Reply With Quote
Unread 10-22-15, 01:43 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5567
File comments: 2288
Uploads: 46
Re: Great addon, and a feature request

Originally Posted by Cantankerous
If there was an option to show the required character level that would be nice for viewing gear for alts that's stashed in the bank, instead of having to mouse over every item.
While I suppose this could be useful in a few cases, I probably won't add such a feature. I'm not really sure where the text would go, anyway... just replace the "BoE" text?

Originally Posted by Gingersnaps
im going to see if theres something else whats causing the error..maybe outdated elvui files or something..
If you're still getting the error once you're sure everything is up to date, give me a link to the page where I can download the version of ElvUI you're using.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Report comment to moderator  
Reply With Quote
Unread 10-19-15, 04:37 PM  
Cantankerous
A Deviate Faerie Dragon

Forum posts: 13
File comments: 7
Uploads: 0
Great addon, and a feature request

Really useful addon. Thanks!

If there was an option to show the required character level that would be nice for viewing gear for alts that's stashed in the bank, instead of having to mouse over every item.
Report comment to moderator  
Reply With Quote
Unread 10-18-15, 06:41 AM  
Gingersnaps
A Kobold Labourer
 
Gingersnaps's Avatar

Forum posts: 0
File comments: 4
Uploads: 0
Re: Re: error newest file

Originally Posted by Phanx
Try changing line 339 from:
Code:
		local button = self.Bags[bag][slot]
to this:
Code:
		local button = self[bag][slot]
At first glance the existing line maybe looks incorrect; I don't actually use ElvUI, so the ElvUI support wasn't tested by me, but someone else reported it was working.

The other option would be that you're using something that identifies itself as ElvUI but isn't actually ElvUI, in which case you'll have to post a link to where the version you're using can be downloaded.
changed and it didnt work now i got 281 errors :P

its just the same error as before.

im going to see if theres something else whats causing the error..maybe outdated elvui files or something..
thnx for the reply tho
Last edited by Gingersnaps : 10-18-15 at 07:03 AM.
Report comment to moderator  
Reply With Quote
Unread 10-17-15, 05:01 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5567
File comments: 2288
Uploads: 46
Re: error newest file

Try changing line 339 from:
Code:
		local button = self.Bags[bag][slot]
to this:
Code:
		local button = self[bag][slot]
At first glance the existing line maybe looks incorrect; I don't actually use ElvUI, so the ElvUI support wasn't tested by me, but someone else reported it was working.

The other option would be that you're using something that identifies itself as ElvUI but isn't actually ElvUI, in which case you'll have to post a link to where the version you're using can be downloaded.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Last edited by Phanx : 10-17-15 at 05:02 PM.
Report comment to moderator  
Reply With Quote
Unread 10-17-15, 10:31 AM  
Gingersnaps
A Kobold Labourer
 
Gingersnaps's Avatar

Forum posts: 0
File comments: 4
Uploads: 0
error newest file

with decui part of elvui it always worked as far as i know and i just updated to 6.2.2.5 and i signed into WoW and bam 251 errors
this is what i got...dunno if i should post this here but yeah ill just do it..

251x BindsWhen\BindsWhen-6.2.2.5.lua:339: attempt to index field '?' (a nil value)
BindsWhen\BindsWhen-6.2.2.5.lua:339: in function <BindsWhen\BindsWhen.lua:338>
[C]: in function `UpdateSlot'
ElvUI\modules\bags\bags.lua:668: in function <ElvUI\modules\bags\bags.lua:662>
[C]: ?
[C]: in function `UseContainerItem'
FrameXML\ContainerFrame.lua:1004: in function `ContainerFrameItemButton_OnClick'
[string "*:OnClick"]:12: in function <[string "*:OnClick"]:1>

Locals:
(*temporary) = <function> defined =[C]:-1
= <function> defined =[C]:-1
= <function> defined @BindsWhen\BindsWhen.lua:338
Last edited by Gingersnaps : 10-17-15 at 10:32 AM.
Report comment to moderator  
Reply With Quote
Unread 03-08-15, 02:50 AM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

Forum posts: 106
File comments: 538
Uploads: 0
Oops!

I was just at the xmog guy. When I chose one of my recent drops to xmog to, the frame offered to soulbind it since that's required for xmogging. I chose yes. When I looked in my bag again, it still had the BOE on it.
Report comment to moderator  
Reply With Quote
Unread 02-27-15, 03:51 PM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

Forum posts: 106
File comments: 538
Uploads: 0
No request here!

Just thanks! I don't use any bag addon, so I'm assuming it will Just Work.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: