Quantcast WoWInterface - View Single Post - Trying to see guild bank transaction information
View Single Post
05-21-10, 05:13 PM   #13
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,329
Hmm strange. All I did was open the bank and it displayed the transactions linked to each of the bank tabs.


Ah, unless it is to do with permissions. Can you usually view items or the log for each tab ? If not perhaps that functionality isn't available without the right permission. I am an officer in my guild so I have full access to the tabs so could explain why it worked for me.

I'll edit the last code post and add comments for you.

The updatelog event I would have thought would get triggered but if not you could try adding the following events with RegisterEvent lines:
"GUILDBANKBAGSLOTS_CHANGED" - Fired when the guild-bank contents change
"GUILDBANK_ITEM_LOCK_CHANGED"
"GUILDBANK_UPDATE_MONEY"
"GUILDBANK_UPDATE_TABS"
"GUILDBANK_UPDATE_TEXT"
"GUILDBANK_UPDATE_WITHDRAWMONEY"

And then adjust the following line so that each event is checked to run the same query code. Or you could add them as separate elseif sections and call the same block of code the GUILDBANKFRAME_OPENED event uses:

if ( event == "GUILDBANKFRAME_OPENED" or event == "GUILDBANKBAGSLOTS_CHANGED" or "GUILDBANK_ITEM_LOCK_CHANGED") then
__________________

Last edited by Xrystal : 05-21-10 at 05:24 PM.
  Reply With Quote