Download
(17Kb)
Download
Updated: 07-21-08 12:58 PM
Pictures
File Info
Updated:07-21-08 12:58 PM
Created:unknown
Downloads:9,110
Favorites:36
MD5:

Guild Inventory  Popular! (More than 5000 hits)

Version: 3.0.0
by: Wintry [More]

Guild Inventory is the solution to a guild banker's problems. It scans your guild bank character's bank (of which you may have multiple), and allows others in your guild to see its contents.

V3 - Now facilitates actual guild banks!

IMPORTANT: If nothing else, read the Initial Setup (either mass distribution or in-game) section, as it is crucial to the mod's operation!

Note: this also works for communities formed over several guilds. The difference is that bank data is "advertised" over raid, rather than guild messaging.


Data Transfer
Guild Inventory works by transferring data through (hidden) whispers, so it cannot be intercepted by unintended players. Every few seconds, Guild Inventory broadcasts the list of banks it has data for in the guild and raid (using the addon messages, so nobody will see anything even if they don't have the mod), and how recent the data is. Any other player with the addon that needs said bank data will ask for it, and if the password is correct, will receive it. No data is transmitted without being set up to be - e.g. your main character's inventory will never be sent unless you specifically set up the mod to do so.


Initial Setup - Mass Distribution
For the preferred distribution method, this mod requires an initial setup via modification of the GuildBanks.lua file with a standard text editor (although probably not Notepad, use Wordpad instead). The idea is that the guild or community leader will set the addon up with all the relevant bank details, and then upload it on to their website (or otherwise give it to all guild members).

In this file, you will find the following LUA function (approximately):

Code:
function GuildInventory_ResetCustom()
    GuildInventory_Banks = {};
    
    GuildInventory_Banks["Example1"] = {
            ["name"] = "Guild Bank: Example 1",
            ["content"] = {},
            ["password"] = "password",
            ["updated"] = 0;
        };
    GuildInventory_Banks["Example2"] = {
            ["name"] = "Guild Bank: Example 2",
            ["content"] = {},
            ["password"] = "password",
            ["updated"] = 0;
        };
    GuildInventory_Banks["Example3"] = {
            ["name"] = "Guild Bank: Example 3",
            ["content"] = {},
            ["password"] = "password",
            ["updated"] = 0;
        };
end
You can remove and add to these as you see fit, just don't change the "content" or "updated" fields. An example from my own guild would be:
Code:
    GuildInventory_Banks["Wizar"] = {
            ["name"] = "Guild: Books & Plans",
            ["content"] = {},
            ["password"] = "****",
            ["updated"] = 0;
        };
Where you see "Example1", that is the bank character's name. ["name"] refers to the name that appears on the list.

Initial Setup - In-game Method
If modification of the LUA file does not appeal to you, then you can use in-game commands to create, edit and remove banks from Guild Inventory. Note that for mass distribution throughout a guild, this method is a little more tedious, as everyone else has to do the same too. The main commands for this are:

/gi create bank <Bank Character>
/gi delete bank <Bank Character>
/gi password <Bank Character> <New Password>
/gi clear bank <Bank Character>

Each is self-explanatory. When a bank is created, it's password is defaulted to the character name of the bank character, but it is recommended you change it. From default settings, Guild Inventory has 3 example banks, which should be deleted first. These banks just serve as a convenience for the mass-distribution method, and are included for that reason. Keeping them in the system won't cause any harm, but they will still appear in the list, hence it is better to delete them.


Distribution
Re-package the files and upload them to your guild website or equivalent, and ask everyone in the guild to download it. Note that anyone that downloads that particular distribution of the mod will be able to read your guild bank's content if they are in a raid group with another in your guild, so restrict access to the download, or send it via other means. For version 1.5.0 and onwards, you should be able to just update from this site.

If everyone is willing to do the in-game setup, then you can just direct them to this site, but you'd have to tell them which banks to create and the passwords set for them. For small distributions, this may be more appropriate.


In-Game Operation
Once the intial setup is complete, in-game operation is straight-forward. All commands can be viewed with the '/gi help' command. For normal operation, log in to one of your guild bank characters. Open up the bank, and then type '/gi scan'. It will then perform a scan of all items in your inventory and bank, and load them in to memory. If another guild member is online (with the mod set up in the same way), then the guild bank's content will be automatically transferred to them. Repeat this process for any other banks.

You can type '/gi' or '/gi show' to view Guild Inventory, and all banks that were scanned, or content that was transmitted to you. Bank content data cascades through online players. Anyone with more up-to-date data will send it to those with out-dated data, so you end up with everyone having the latest guild bank information. Guild bank information is saved between sessions, and is not character-specific.

If you want to send a request for an item to the relevant bank, open up a mailbox, type '/gi' to show the Guild Inventory window, select the required bank, and double-click the item of desire.

Now there's a minimap icon! Currently, it's only functionality is left-click to open up Guild Inventory, but more features coming soon.


Sending Bank Details to Others - New Feature!
In version 1.2.0, you can send bank authentication details to other players, if they're using that version of the addon. You will only be able to send details to others in your guild or raid. To do so, type '/gi broadcast'. The rest is self-explanatory.


Upgrading
It is recommended that when you update the addon afer a major update, you perform a reset of all the data. Note that this will clear all banks, and restore the "factory" default settings. Type '/gi resetall' to do this. If you have custom settings in the GuildBanks.lua file, then it will load these instead.


Exporting
You can, as of 2.1.0, now export data from Guild Inventory. There are 3 supported formats; plain text, item tags, and url tags (linking to thottbot) for phpBB. To do so, type:
/gi export Mybank url
/gi export Mybank item
/gi export Mybank text

You can then copy the data using Ctrl-C, and paste it in to the browser window. Use '/gi export' (without parameters) to see the latest list of exportable formats.


Comments
Any comments would be greatly appreciated, especially if they further development. If needed, you can contact me (Wintry) in whispers or mail on Argent Dawn (EU). Don't forget to vote if you like it!


Version History
3.0.0
- Now supports actual guild banks. Commands such as '/gi create guildbank <Name of Guild>' allow you to do this. Please see '/gi help' for more commands. To scan a guild bank, open the guild bank, cycle through all tabs (this loads the data from the server), and then just type '/gi scan' as normal.
- Items now show their locations on hover-over, such as guild bank tabs.
- Due to these changes, 3.0.0 is incompatible with previous versions.

2.2.0
- Now compatible with WoW 2.1.
- Switched from whisper communication to "addon whisper" communication. This has the added benefit of not producing errors when your character is drunk, for starters.
- Due to this change, version 2.2.0 will not interface with Guild Inventory 2.1.0 or lower.
- Bank data will be automatically cleared on first addon load upon upgrading.

2.1.0
- Now has the capability to export data, using the /gi export command. See the section "Exporting" for more information.

2.0.0
- Major update - No longer compatible with pre-2.0.0 versions. Older versions won't fail to run, but they will not communicate with a 2.0+ version.
- Banks automatically cleared on first-load due to storage changes.
- No actual links are transmitted any more, so disconnects should not occur.
- Now you can Ctrl-Click an item to view it on yourself (if it can be worn).
- Shift-Clicking an item will copy the link in to the chat window.

1.8.3
- You can now close the Guild Inventory window with the escape key.

1.8.2
- Fixed a bug with transfers timing out (timeout wasn't resetting when items were received).

1.8.1
- Fixed a bug (caused by using an old version of ChatThrottleLib), bringing up error messages.

1.8.0 (Beta)
- I've now integrated ChatThrottleLib in to Guild Inventory in order to permanently solve the disconnection problem. However, this has not been fully-tested yet. You may use this version if you like, but I cannot guarantee it will work properly.

1.7.0
- Added two commands to show/hide the minimap icon, '/gi showminimap' and '/gi hideminimap'.
- Tripled the time inbetween data transfer elements. This may or may not fix the disconnect issue, but if it does, it's only a temporary fix.

1.6.1
- Seems I left some debug code in 1.5.1, which is now removed. Sorry about that!

1.6.0
- Added a minimap icon with functionality to open Guild Inventory (thanks Gello!)
- Once opened for the first time since login/reload, Guild Inventory will show a much smaller amount of boxes
- Guild Inventory window is now clipped to the screen. This also allows you to keep the window at a corner of the screen, for example, irrelevant of inventory size.

1.5.1
- Fixed a bug which caused the addon to crash when it encountered certain items.

1.5.0
- Now improved for distribution - default banks are in GuildBanks.lua, to be changed by guild leaders.
- Fixed a bug whereby if you were to transfer data to a person in AFK status, an AFK message would appear for every item transferred. (Should be fixed, but let me know if it isn't)

1.4.2
- Updated to work with WoW 2.0.3.

1.4.1
- Accidentally left debug mode on, fixed now

1.4.0
- Improved sorting order. Now arranges items (but will require a rescan/transfer to take effect) in the following order: Consumables, trade goods, reagents, recipes, miscellaneous, everything else (depending on categories assigned by Blizzard).

1.3.0
- Added a new command, '/gi movable' which toggles the movability of the panel, and removes the blackness.
- Guild bank contents now fits in to a smaller window, varying size by the quantity of stuff inside it.

1.2.0
- Added ability to send bank authentication details to others with the '/gi broadcast' command.

1.1.1
- Bug fix: sometimes when in a raid, broadcasts would not be made. This should be fixed.
- Bug fix: Punctured Voodoo Doll should no longer stack (will require a re-scan).
- The addon will no longer broadcast during combat, this is just to prevent possible lag.

1.1.0
- Improved command-line use, now no longer requires editing of the LUA (although is still recommended).
- When the Guild Inventory window is open, you can no longer control your character with the keyboard.

Post A Reply Comment Options
Unread 03-22-07, 02:05 AM  
Wintry
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 44
Uploads: 4
Re: Re: Major update to 2.0.0

Originally posted by chrull
Thanks for a great mod, i'm sure this will help administrating the guild bank alot easier.

Is there anyway to easily export this into text/BBcode or html? Or any plans of adding it?
Currently exporting is not a planned development, as Guild Inventory was primarily designed to avoid web-based approaches. However, I may add it in a future release (although there are no guarantees), as a copy-in-game/paste-on-forums feature. On the plus side, I don't think I have any other ideas I'd like to implement in Guild Inventory, so you will probably see a change like this within the next month - I will be on holiday soon though.
Report comment to moderator  
Reply With Quote
Unread 03-22-07, 01:12 AM  
chrull
A Defias Bandit

Forum posts: 3
File comments: 2
Uploads: 0
Re: Major update to 2.0.0

Originally posted by Wintry
Ok, the major update is now complete. A few changes to take note of:
- Disconnects should no longer happen, as no actual links are transferred any more. Item links are broken down first, then transmitted, and reconstructed at the other end.
- Ctrl-clicking an item will allow it to be viewed on yourself.
- Shift-clicking an item will paste the link in to the chat box.
Thanks for a great mod, i'm sure this will help administrating the guild bank alot easier.

Is there anyway to easily export this into text/BBcode or html? Or any plans of adding it?
Report comment to moderator  
Reply With Quote
Unread 03-18-07, 02:46 PM  
Wintry
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 44
Uploads: 4
Major update to 2.0.0

Ok, the major update is now complete. A few changes to take note of:
- Disconnects should no longer happen, as no actual links are transferred any more. Item links are broken down first, then transmitted, and reconstructed at the other end.
- Ctrl-clicking an item will allow it to be viewed on yourself.
- Shift-clicking an item will paste the link in to the chat box.
Report comment to moderator  
Reply With Quote
Unread 03-14-07, 07:12 AM  
Draque
A Murloc Raider

Forum posts: 6
File comments: 13
Uploads: 0
Re: Re: AFK message

Originally posted by Wintry
That was an old bug, which should have been fixed in version 1.5.0. Does it occur when you are AFK, or the other player is AFK? Thanks for letting me know nonetheless, evidently there's still a problem with it.
i do have the current version.

and it happens when the other is AFK

No need for thanks, we have to be grateful for your effords.
Report comment to moderator  
Reply With Quote
Unread 03-14-07, 06:23 AM  
Wintry
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 44
Uploads: 4
Originally posted by Lerbic
One of the bankis is one of my alts, but I dont know specifically which bank is transferring as the DCs happen during the automatic transfer rather than using /gi broadcast

There are other people getting the same problem, some have banks, some dont...so that doesnt seem to affect it

One thing I just thought of though.....my bank is quite frequently empty and I believe thats the case right now (Its a bank for temporary holding of raid loot before its distributed, but I like to show the guidlies what the total loot pool was before it gets dished out)

Could the problem be trying to transfer an empty bank ?
I'll try putting some trash items into the bank to see if it makes a difference
I think I've found the problem, but unfortunately it's not overly easy to fix. What I believe it is, is that on your side it's trying to transfer data for an item that does not exist in your cache (which, I don't think is usually a problem, but on a larger scale it might be). If I'm thinking correctly, I'll have to reformat the way data is transferred in order to fix the problem. While in itself this shouldn't be an issue, it will definitely mean that the next version would not be backwards-compatible. Hence, I'd implement it as a 2.0 version, and include some extra planned changes as well. If all goes well, you should expect a new version within a week.
Report comment to moderator  
Reply With Quote
Unread 03-14-07, 06:13 AM  
Wintry
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 44
Uploads: 4
Originally posted by khardee
Awesome Mod. I installed it last night with three banks to begin with
and it works like a charm. The only issue I see from a quick look is that
I'd like to be able to link items into a tell, and that doesn't seem to be
possible. That way, someone could drop me a note in game for an item
from the bank without having to get to an mbox. Since I run two accounts,
I could take care of it right away instead of having to process it later.

Thanks for supplying this mod. As a new guild banker, this will make
my job a lot easier. Much appreciated for your consideration.
Indeed, I intend to implement that soon, as it is certainly a well-desired feature.
Report comment to moderator  
Reply With Quote
Unread 03-14-07, 06:12 AM  
Wintry
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 44
Uploads: 4
Re: AFK message

Originally posted by Draque
i have an issue with AFK messages.

I am online, then the guild-bank-char comes online and scans the bank, after i got an update correct, some other character from guild tries to refresh with my guild-inventory. When this char now is AFK i get spammed with "player is AFK" whisper messages.

can anyone comfirm this ?
That was an old bug, which should have been fixed in version 1.5.0. Does it occur when you are AFK, or the other player is AFK? Thanks for letting me know nonetheless, evidently there's still a problem with it.
Report comment to moderator  
Reply With Quote
Unread 03-13-07, 11:47 AM  
khardee
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Awesome Mod. I installed it last night with three banks to begin with
and it works like a charm. The only issue I see from a quick look is that
I'd like to be able to link items into a tell, and that doesn't seem to be
possible. That way, someone could drop me a note in game for an item
from the bank without having to get to an mbox. Since I run two accounts,
I could take care of it right away instead of having to process it later.

Thanks for supplying this mod. As a new guild banker, this will make
my job a lot easier. Much appreciated for your consideration.
Report comment to moderator  
Reply With Quote
Unread 03-13-07, 03:42 AM  
Draque
A Murloc Raider

Forum posts: 6
File comments: 13
Uploads: 0
AFK message

i have an issue with AFK messages.

I am online, then the guild-bank-char comes online and scans the bank, after i got an update correct, some other character from guild tries to refresh with my guild-inventory. When this char now is AFK i get spammed with "player is AFK" whisper messages.

can anyone comfirm this ?
Report comment to moderator  
Reply With Quote
Unread 03-09-07, 03:06 AM  
Lerbic
A Defias Bandit

Forum posts: 3
File comments: 7
Uploads: 0
Appreciate your quick response

Just a couple of seconds, not long at all
Report comment to moderator  
Reply With Quote
Unread 03-08-07, 06:10 PM  
Wintry
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 44
Uploads: 4
Originally posted by Lerbic
One of the bankis is one of my alts, but I dont know specifically which bank is transferring as the DCs happen during the automatic transfer rather than using /gi broadcast

There are other people getting the same problem, some have banks, some dont...so that doesnt seem to affect it

One thing I just thought of though.....my bank is quite frequently empty and I believe thats the case right now (Its a bank for temporary holding of raid loot before its distributed, but I like to show the guidlies what the total loot pool was before it gets dished out)

Could the problem be trying to transfer an empty bank ?
I'll try putting some trash items into the bank to see if it makes a difference
Hmm, an empty bank should be able to be transferred without a problem. You say it breaks at around 25% - how long does it take to get to this stage (as accurately as you can measure), from the time the transfer starts?
Report comment to moderator  
Reply With Quote
Unread 03-08-07, 11:18 AM  
Lerbic
A Defias Bandit

Forum posts: 3
File comments: 7
Uploads: 0
One of the bankis is one of my alts, but I dont know specifically which bank is transferring as the DCs happen during the automatic transfer rather than using /gi broadcast

There are other people getting the same problem, some have banks, some dont...so that doesnt seem to affect it

One thing I just thought of though.....my bank is quite frequently empty and I believe thats the case right now (Its a bank for temporary holding of raid loot before its distributed, but I like to show the guidlies what the total loot pool was before it gets dished out)

Could the problem be trying to transfer an empty bank ?
I'll try putting some trash items into the bank to see if it makes a difference
Report comment to moderator  
Reply With Quote
Unread 03-08-07, 05:19 AM  
Wintry
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 44
Uploads: 4
Re: DC problem

Originally posted by Lerbic
Hi

I have the same problem as Vassago below (we both run banks in the same guild)

I too had to disable the add in order to stop getting DCd

What happens is the transferring window opens up, and the progress bar gets maybe 25% through, then the DC happens, this happened 3-4 times running to me last night, always with the same player in the transfer window

I spoke with this player, and he isnt getting DC'd and he said he has the latest version (ok, not the latest one now, I see a new update since I last checked this page but he is using 1.8.2, same as the rest of us)
I also spoke with other people who were having the DC problems, and they had the same experience, with the same player

We will of course all download 1.8.3 (thanks for this useful change) and see if we still have the problem

Thanks again for you work on this.....when its not DCing us, its a great mod

Lerbic

Hmm... that is very odd. Does your character (or any alt of yours) actually own the bank that's being transferred, or is it from a different player, e.g. transferred from your friend to you, and then from you to another guild member?
Report comment to moderator  
Reply With Quote
Unread 03-08-07, 03:49 AM  
Lerbic
A Defias Bandit

Forum posts: 3
File comments: 7
Uploads: 0
DC problem

Hi

I have the same problem as Vassago below (we both run banks in the same guild)

I too had to disable the add in order to stop getting DCd

What happens is the transferring window opens up, and the progress bar gets maybe 25% through, then the DC happens, this happened 3-4 times running to me last night, always with the same player in the transfer window

I spoke with this player, and he isnt getting DC'd and he said he has the latest version (ok, not the latest one now, I see a new update since I last checked this page but he is using 1.8.2, same as the rest of us)
I also spoke with other people who were having the DC problems, and they had the same experience, with the same player

We will of course all download 1.8.3 (thanks for this useful change) and see if we still have the problem

Thanks again for you work on this.....when its not DCing us, its a great mod

Lerbic
Report comment to moderator  
Reply With Quote
Unread 03-04-07, 08:02 AM  
Wintry
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 44
Uploads: 4
Originally posted by Draque
Yes, it works here too, thanks alot.

I have some ideas:

* Is it possible to get the location [char]+[bank/bag/(mailbox)] into the request-mail ? (example below)

* Is it possible that one guildbank character gets a copy of all requests ? (because i dont log into any but one bankchar regularly

* When the bankchar gets a request mail, it would be nice, when after reading it, the name+item+amount+(location) would show up somewhere as stickynote ? (when i get several mails, i go from mailbox to bank and have forgotten what i need when i am there)

* Is it possible to get the items that are in the mailbox, into the guildinventory ?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Request mail Example:
FROM: [charname]
SUBJECT: ItemRequest: [ItemName]x[Amount]
BODY:
Item: [ItemName]
Quantity: [Quantity]
Location: [BankChar];[Bag|Bank|(Mailbox)]
Reason: [...]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I am not sure if it is clever to include the name in the Subject, because you may not be able to tell apart a request-mail and a sent item.

I'll go through your points one-by-one, to simplify things:

1. The bank character name can be put in the mail without problem (although there's no point unless (2) is also implemented), and as for the location, that can be done, but would definitely require a large update and rescan. I believe I'd have to make it a 2.0 version, and also remove backwards-compatibility with any 1.x versions to make this possible though.

2. That's possible, but each client would have to be set up to do so (and of course the code would need to be updated as well).

3. Should be possible, but don't expect that any time soon - I can think of one way to do it, but might be necessary for a cleaner method

4. I'm not actually sure. It might be possible to scan the mailbox (although it may have to be done one page at a time, not entirely sure on this), however, there's one large problem: when an update is performed, it clears the previous data. Now, one performs an update at the bank, *but* you can't read the mailbox at the bank. Same applies the other way around. So I'm not sure about this, I'd have to get back to ya on it.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: