Download
(43Kb)
Download
Updated: 01-27-10 02:47 AM
Pictures
File Info
Updated:01-27-10 02:47 AM
Created:09-27-09 04:09 AM
Downloads:4,940
Favorites:11
MD5:

Guild Tax With Raid Duty

Version: 5.4.7.034
by: Drshow [More]

Whats New! "All Gold made in Game now Shown." Type /guildtax for Command List - common uses are, set tax on guild raids to raise funds for Guild Bank Repairs ect, will also handle donations.
IMPORTANT NOTE: You will need to remove anyother Guild Tax addons you use, or you will risk double taxation with out representaion.
HOW TO USE: Guild leaders need to add a line to the "Guild Message Of The Day, MOTD" with the amount you wish to tax, Must contain the word “tax” and an amount. It is NOT case sensitive.
Guildtax = 15%Tax - 86%GUILDtax: 25TaX 20
If there is an amount in both Guild MOTD and guild info the one in the guild MOTD will be used, the Officers Note overrides all other amounts. If no line is added to the Guild Message or guild infomation of the day then the default of 10% will be used.
Tax cannot be set above 100% or below 0%, if this happens it will be set at 10%.
The amount taxed will be saved up until a player visits the guild bank, at which point it will be deposited automatically when bank is opened.

  • GLoad = pulls new Guild Info, MOTD or Officers Note "tax amount".
  • Evade = Resets Tax Amount to 0. "This is the amount that adds up ass you loot or vendor items."
  • Pay Debt = Will take funds you have evaded and set to be paid, ie Due.
  • Donate = Toggles the Donation Window.
  • Clear = Clears the amount you have set to be donated and takes that amount from Due.
SLASH COMMANDS:
  • For Guild Tax:
  • Type '/guildtax' to bring up the list of commands.
  • Type '/guildtax options' to bring up the options window.
  • Type '/guildtax show' to display the tax window, showing how much tax you are to pay.
  • Type '/guildtax rate' display the Guild tax rate.
  • Type '/guildtax tax' display the Guild Tax that will be paid next bank visit.
  • Type '/guildtax total' display the toal amount of Guild tax you have paid.
  • For Raid Duty:
  • Type '/guildtax rd' to bring up Raid Duty Window
WHISPER COMMANDS:
  • For Guild Tax
  • !audit = will get reply with user economy stats.
  • !guild audit = user will post there economy stats to guild chat.
  • For Raid Duty:
  • !rdheal = user will post there economy stats to say chat.
  • !rdtank = user will post there economy stats to say chat.
  • !rdstrat = user will post there economy stats to say chat.
WHAT IS TAXED:
Small change, quest rewards, money from the mailbox. Small changed is the small amounts of cash you loot from bodies, normaly only a few silver and copper. Quest rewards are the cash reward from completeing a quest, not the items. Mailbox will take tax from all the money earnt though the mail (auction house and COD mail). Vendor amounts, will take any profit you make from selling items to a vendor.

(Poll) What would you pay a guild tax for?

About Raid Duty:
Raid Duty is a small tool included with Guild Tax. Common uses are
Setting Tank Assignments, Healer Assignments, Dps Assignments, and Boss strat in one place, in an easy and intuitive interface. All info is easily accessed by guild or raid memebers simply by wispering you with simple, easy to remember commands. EG: !rdheal or !rdtank or !rdstrat.
Currently Raid Duty is in its Quick and Dirty phase and has more to come.
  • Save Current Assignments to "Custom Named Table"
  • Load Custom Named Table into Current Assignments IE: Import
  • I will be making "Custom Layouts" Per Raid Instance, per Difficulty IE: reg and heroic.
  • Users will be able to load Custom Layouts into Current Assignments IE: Import.
  • Users wil be able to save / load Custom Layouts per Raid Instance, per Difficulty, per Account.


This addon is developed and supported by -
www.ShawnsSpace.com Hosting, Domains & More.

3:36 PM 12/8/2009 v 5.4.3
UPDATED for WoW 3.3.0

4:01 PM 11/23/2009 v 5.4.0
added new stats, eg. travel expense, respec expense, postage expense
beta - piggy bank - set % to collect to send by mail to chosen toon "piggy bank"


4:24 PM Friday, October 30, 2009 v 5.3.0
applied user fix to Guild Chat Spam, stops posts when amounts are 0.
applied user fix to Guild Tax Info window, is hidden by default "needs texted on non configed machine, with fresh install"
spelling error line 779 "Deposted to Deposited"
applied Math fix to handle numbers amounts over 16 digits.


11:44 PM 10/29/2009 v 5.2.0
added Officer Note Tax setting.

11:00 PM 10/21/2009 v 5.0.7
* bug fix: title regions would not resize with number of characters in title. set titles to fontsize 10.

10:16 AM 10/21/2009 redesigned Guild Tax UI, i like even more now
added options for donating
added info pane to show funding sources, vendor, mail ect.
Fixed a few minor bugs with Guild Name Tag
Released Guild Tax v 5.0.5

6:21 PM 10/7/2009 Redesigned Guild Tax UI
Addon Button tool tips for added ease of use.
Added Evade Button for reseting Tax Amount to 0
Note: Use this if you do not want to pay the tax you have accrued though loot, mail, vendor.
Released Guild Tax v. 4.0.0

4:09 AM 10/2/2009 GLoad button now refreshes MOTD or Guild info Tax amount.

2:31 AM 10/2/2009 Added support to refresh current MOTD tax amount by:See NOTES:
Note: If new tax is set in MOTD just open guilld bank to update Tax Rate amount. Will also refresh if vendor, loot window is opened.
Note: If new tax is set in MOTD, using command /guildtax, or /guildtax rate to set new Rate.
Note: If new tax is set in MOTD, closing Tax window if open, or opening then closing Tax frame with set new Rate.

12:30 AM 10/2/2009 fixed bug with total tax todate not updating with refreshed version.

11:23 PM 10/1/2009 added total tax todate to Gtax frame.
added current tax rate to Gtax frame.
added Options show / hide buttons to Gtax frame.
added Minimap button show / hide button to Gtax frame

4:09 AM 10/2/2009 GLoad button now refreshes MOTD or Guild info Tax amount.


6:02 AM 9/30/2009 added Comment conversion to SVN.

5:08 AM 9/30/2009 added to SVN repository for dymanic updating. v2.3.2

7:33 PM 9/29/2009 - v. 2.3.1
Minor Frame Changes to adjust for close buttons
Added guild stamp to Options Frame.
Upated Toc for use with WoW 3.2.2, no longer shows out of date.

4:25 AM 9/27/2009 - v. 2.1
Drshow of Dragonblight takes over project.
Added Mini Map button to call Frame.
Set Default Guild Tax to 10%

V.1.1.6
Bug fixed with collecting tax while in a raid.

V.1.1.5
Bug fixed with Chat messages.
Bug fixed when depositing money.

V.1.1.4
Fixed an error with the '!guildtax' whiper command.

V.1.1.3
Completely re-done the UI.
Added the option to take tax from items sold to the vendor.
Added the option to collect tax from each source with the guild.

V.1.0.2
Added the option to take tax from the mailbox.
Added the choice of putting the tax amount in either the MOTD or guild infomation.
Fixed a bug where it sometimes didnt get the tax rate from the guild MOTD.

V.1.0.1
Added the option to take tax only when in a group or raid with a guild member

V.1.0.0
First release of the guild tax addon.
Included:
Disabling tax collection from small change and quest rewards
Disabling bank deposits.
Able to whisper player '!guildtax' to see their settings.
Getting tax amount from Guild MOTD
Optional Files (0)


Post A Reply Comment Options
Unread 09-30-09, 02:25 AM  
Miralen
A Rage Talon Dragon Guard
 
Miralen's Avatar

Forum posts: 341
File comments: 80
Uploads: 0
So if I understand correctly, if my guild isn't using this mod but I still want to contribute money to the guild bank automatically all I have to do is drop it in and it will donate 5% of all money earned to the guild bank? Also is there a way for someone like me who just wants to donate money to the guild bank without trying to lobby for this addon to become a required guild addon change the percentage to donate more or less? I really like the idea behind this addon, I am going to download it right now and check it out, I personally wouldn't want this to be a mandatory guild addon which is why I think it would be nice to be able to personally tweak it for my personal donation percentage. apologies if this doesnt make much sense im a bit tired atm. Also I apologize if my questions were answered on the download page, I may have missed them in the rush to read.

EDIT: Ok found out my answers to my questions. Another question though do you plan on adding LDB support or something like it (fubar) as I prefer those over my minimap buttons and would also be nice to have the display with the money I owe on a bar mod like fubar or fortress instead of a dragable frame.
__________________
Never hold discussions with the monkey when the organ grinder is in the room.

- Winston Churchill
Last edited by Miralen : 09-30-09 at 02:33 AM.
Report comment to moderator  
Reply With Quote
Unread 10-07-09, 04:16 AM  
Drshow
A Cyclonian
 
Drshow's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 23
Uploads: 3
I will put in the dev plan to int....

Originally posted by Miralen
So if I understand correctly, if my guild isn't using this mod but I still want to contribute money to the guild bank automatically all I have to do is drop it in and it will donate 5% of all money earned to the guild bank? Also is there a way for someone like me who just wants to donate money to the guild bank without trying to lobby for this addon to become a required guild addon change the percentage to donate more or less? I really like the idea behind this addon, I am going to download it right now and check it out, I personally wouldn't want this to be a mandatory guild addon which is why I think it would be nice to be able to personally tweak it for my personal donation percentage. apologies if this doesnt make much sense im a bit tired atm. Also I apologize if my questions were answered on the download page, I may have missed them in the rush to read.

EDIT: Ok found out my answers to my questions. Another question though do you plan on adding LDB support or something like it (fubar) as I prefer those over my minimap buttons and would also be nice to have the display with the money I owe on a bar mod like fubar or fortress instead of a dragable frame.
1. Yes you can donate without the other guildies using the addon, it simply takes a % off of the top of your quests, small change, loot ect. then deposits for your when you open the gbank.

2. Fubar, i will work with integration to fubar. Todate im the only dev working on this project and welcome anyone with experience to contribute or add other ideas for future releases.

3. Ideas and Developers welcome
__________________
Last edited by Drshow : 10-07-09 at 04:41 AM.
Report comment to moderator  
Reply With Quote
Unread 10-24-09, 11:29 AM  
aktlingit
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 8
Uploads: 4
Minor Changes

Hey, slowly but surely getting the guild interested in the addon - thanks

I've made 3 minor edits to our version that'd like to see make it into the official version:

1. Fixed a typo - "Deposted" should be "Deposited" (approximately line 763)

2. Hide the extra info panels by default, starting approximately line 420
if (event == "ADDON_LOADED" and arg1 == "GuildTax") then
LoadOptions();
GName();
GuildTaxMiniFrame:Hide(); --Hide extra info by default
end

3. Remove some of the extra spam when you open guild bank but have no tax to pay by wrapping DepositMoneyInGuild with an if check
function DepositMoneyInGuild()
if (taxincopper_total > 0) then -- WRJ
...
end
Report comment to moderator  
Reply With Quote
Unread 10-30-09, 02:57 PM  
Drshow
A Cyclonian
 
Drshow's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 23
Uploads: 3
Re: Minor Changes

Originally posted by aktlingit
Hey, slowly but surely getting the guild interested in the addon - thanks

I've made 3 minor edits to our version that'd like to see make it into the official version:

1. Fixed a typo - "Deposted" should be "Deposited" (approximately line 763)

2. Hide the extra info panels by default, starting approximately line 420
if (event == "ADDON_LOADED" and arg1 == "GuildTax") then
LoadOptions();
GName();
GuildTaxMiniFrame:Hide(); --Hide extra info by default
end

3. Remove some of the extra spam when you open guild bank but have no tax to pay by wrapping DepositMoneyInGuild with an if check
function DepositMoneyInGuild()
if (taxincopper_total > 0) then -- WRJ
...
end
Sure thing, all changes are noted n will be set for 5.3 on sat of this week. ty for bringing to my attention.
__________________
Report comment to moderator  
Reply With Quote
Unread 10-30-09, 03:01 PM  
Drshow
A Cyclonian
 
Drshow's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 23
Uploads: 3
Arrow Whats New in Guild Tax 5.2.0

Not too much, fixed a few minor bugs and started a few new features.

Added option to set an individuals tax rate in the Officers Note, with format;

tax = 25%
or
guildtax = 25%
or
tax = 25
or
tax 25

Also Donations of gold are made easier now from Guild Tax.
__________________
Report comment to moderator  
Reply With Quote
Unread 11-01-09, 01:44 PM  
Vis
A Pyroguard Emberseer
 
Vis's Avatar

Forum posts: 1827
File comments: 50
Uploads: 0
I may have missed the option, but is it possible to prevent the addon from posting to the Guild channel when it makes an auto deposit?

Thanks in advance for the help and a great new tool
Report comment to moderator  
Reply With Quote
Unread 11-01-09, 06:52 PM  
Drshow
A Cyclonian
 
Drshow's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 23
Uploads: 3
Guild Chat Posts

Originally posted by Vis
I may have missed the option, but is it possible to prevent the addon from posting to the Guild channel when it makes an auto deposit?

Thanks in advance for the help and a great new tool
Currently there is no options to disable Guild Chat Posts on,
Auto Deposit
Evade
Pay Debt

These where not set in options as a request to a few guild masters that originally requested those options. Im still considering having options to disable but enable by default. All in time i suppose.
__________________
Report comment to moderator  
Reply With Quote
Unread 11-04-09, 11:19 PM  
aktlingit
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 8
Uploads: 4
Minor Logic Problem in GName()

Hey, found a minor logic problem in GName() in 5.3.0 that causes the miniframe to sometimes not display guild name and tax rate. Basically you were missing an else declaration, here's the updated code:

Code:
function GName()
    local guildName = GetGuildInfo("player");
    if (not guildName) then
        guildName = ("Guild");	
    elseif strlen(guildName) > 12 then
	theguild:SetFont("Fonts\\FRIZQT__.TTF", 12, "OUTLINE");
	theguild:SetText("" .. guildName .. " Tax");
    else
        nameofguild:SetFont("Fonts\\FRIZQT__.TTF", 10, "OUTLINE");
        nameofguild:SetText("" .. guildName .. " Tax @ " .. gtax_amount .. "\%");
    end	
end
One other thing, it would be nice if the formatting of the code was cleaned up. I see a lot of indentation done with tabs, others done with 4 spaces, and others done with 2 spaces. Everyone has their own preference for indentation style but makes it easier to read if it's consistent throughout the file
Report comment to moderator  
Reply With Quote
Unread 11-05-09, 11:00 AM  
Drshow
A Cyclonian
 
Drshow's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 23
Uploads: 3
Re: Minor Logic Problem in GName()

Originally posted by aktlingit
Hey, found a minor logic problem in GName() in 5.3.0 that causes the miniframe to sometimes not display guild name and tax rate. Basically you were missing an else declaration, here's the updated code:
I will add n see if i can recreate the issue.

One other thing, it would be nice if the formatting of the code was cleaned up. I see a lot of indentation done with tabs, others done with 4 spaces, and others done with 2 spaces. Everyone has their own preference for indentation style but makes it easier to read if it's consistent throughout the file


from VWD express to Notepad ++ i lost most of my formating due to an error when i was writing with VWD express, it started one day inserting formating marks that caused errors in SVN. I started then using Notepad++ and lost alot of formatting, i tend to use tabs for indents but for sure as i get time i will streamline the project code. But for now in the words of Bill Gates "quick and dirty".
__________________
Last edited by Drshow : 11-05-09 at 11:21 AM.
Report comment to moderator  
Reply With Quote
Unread 11-05-09, 11:19 AM  
Drshow
A Cyclonian
 
Drshow's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 23
Uploads: 3
Re: Minor Logic Problem in GName()

Originally posted by aktlingit
Code:
function GName()
 local guildName = GetGuildInfo("player");
 if (not guildName) then
     guildName = ("Guild");    
 elseif strlen(guildName) > 12 then
  theguild:SetFont("Fonts\\FRIZQT__.TTF", 12, "OUTLINE");
  theguild:SetText("" .. guildName .. " Tax");
 else
     nameofguild:SetFont("Fonts\\FRIZQT__.TTF", 10, "OUTLINE");
     nameofguild:SetText("" .. guildName .. " Tax @ " .. gtax_amount .. "\%");
 end    
end
OK i peeked at the code, the logic is correct... theguild & nameofguild
are 2 sperate fontstrings that are called when a guild name is greater than 12 characters, and if notGuildName, then it sets the text to "Guild"
adding the logical else will not fix the problem your stating, instead it will only update one fontstring, and only if The use is in guild.

The problem is that not all functions ie slash or onload call to this function. Once the minimap button is clicked or gload engaged then the Name of the guild is called if is in guild. This is not so much an error as it is a waiting for format, you should also notice on new toons or fresh installs the 0's are not called in the tax info frame, this also gets its format on first use.

The issue you are describing would be fixed by an onload event, but i seem to be having random issues calling GName in OnLoad, when its first loaded.

... Formating guild name if exists and what to do if not.

Code:
-- onload event
function GuildTaxFrame_OnLoad()
  SetGuildTaxRate();
GName();
 GuildTaxFrame:RegisterEvent("CHAT_MSG_MONEY");
 GuildTaxFrame:RegisterEvent("ADDON_LOADED");
 GuildTaxFrame:RegisterEvent("GUILDBANKFRAME_OPENED");
 GuildTaxFrame:RegisterEvent("CHAT_MSG_SYSTEM");
 GuildTaxFrame:RegisterEvent("CHAT_MSG_WHISPER");
 GuildTaxFrame:RegisterEvent("PARTY_MEMBERS_CHANGED");
 GuildTaxFrame:RegisterEvent("RAID_ROSTER_UPDATE");
 GuildTaxFrame:RegisterEvent("GUILD_ROSTER_UPDATE");
 GuildTaxFrame:RegisterEvent("MAIL_CLOSED");
 GuildTaxFrame:RegisterEvent("MAIL_SHOW");
 GuildTaxFrame:RegisterEvent("MERCHANT_CLOSED");
 GuildTaxFrame:RegisterEvent("MERCHANT_SHOW");
 
 SLASH_GUILDTAX1 = "/guildtax"
 SlashCmdList["GUILDTAX"] = function(msg)
  GuildTax_SlashCmdHandler(msg)
 end
end
 
-- calls a guildname for tax and options frame.
function GName()
    local guildName = GetGuildInfo("player");
  if (not guildName) then
    guildName = ("Guild");
theguild:SetFont("Fonts\\FRIZQT__.TTF", 12, "OUTLINE");
theguild:SetText("" .. guildName .. " Tax");
  nameofguild:SetFont("Fonts\\FRIZQT__.TTF", 10, "OUTLINE");
  nameofguild:SetText("" .. guildName .. " Tax @ " .. gtax_amount .. "\%");
    elseif strlen(guildName) > 12 then
 theguild:SetFont("Fonts\\FRIZQT__.TTF", 12, "OUTLINE");
 theguild:SetText("" .. guildName .. " Tax");
    nameofguild:SetFont("Fonts\\FRIZQT__.TTF", 10, "OUTLINE");
    nameofguild:SetText("" .. guildName .. " Tax @ " .. gtax_amount .. "\%");
    end
 
end
would be the correct way to format the text, excecpt the formating in the xml is for "if not guildname", adding it in lua would only be redundant.

If is in guild and has called GName then GuildName Tax @ ??% is shown and formated here
If is not in guild or GName has not been called then Guild Tax @ ??% is shown and formated in xml template.
__________________
Last edited by Drshow : 11-05-09 at 12:14 PM.
Report comment to moderator  
Reply With Quote
Unread 11-05-09, 12:23 PM  
Drshow
A Cyclonian
 
Drshow's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 23
Uploads: 3
71 lines retabbed in lua

lol that sucked but the lua is retabbed with indents, will work on xml later n upload tomorrow. It seems the xml is gonna be about 1200 lines to retab, its a shame i cant "Replaces Spaces with tabs lol" would be so much faster.
__________________
Last edited by Drshow : 11-05-09 at 12:24 PM.
Report comment to moderator  
Reply With Quote
Unread 11-05-09, 12:29 PM  
Drshow
A Cyclonian
 
Drshow's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 23
Uploads: 3
Talking OMG learned something new today

Today i learned
  1. the actual character used to express a space
  2. the actual character used to express a tab
  3. that Find & Replace functions in Notepad will find and replace these characters with out issue, "4947 Occurances Found and Replaced." XML done lol.
__________________
Report comment to moderator  
Reply With Quote
Unread 11-05-09, 01:45 PM  
aktlingit
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 8
Uploads: 4
Doh!

You are correct sir! I overlooked the object names you were calling the SetText and SetFont methods on lmao. In my defense, my change made my guild tax rate show up consistently though :P

Thanks for reformatting - I was gonna let you know about various editors that can replace spaces/tabs cleanly but you got it.

Thanks for all the work.
Report comment to moderator  
Reply With Quote
Unread 11-05-09, 02:00 PM  
Drshow
A Cyclonian
 
Drshow's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 23
Uploads: 3
Lightbulb Re: Doh!

Originally posted by aktlingit
You are correct sir! I overlooked the object names you were calling the SetText and SetFont methods on lmao. In my defense, my change made my guild tax rate show up consistently though :P

Thanks for reformatting - I was gonna let you know about various editors that can replace spaces/tabs cleanly but you got it.

Thanks for all the work.
Id really like to have an example of when it doesnt show up if possible.

i only know of it not showing, on a new install, on a new toon.

Either way i think i have writen the fix. im calling for the guildname of the user in the onload "in green", rather than calling for the function during onload "in red".

Code:
function GuildTaxFrame_OnLoad()
 SetGuildTaxRate();
 --GName();
 --try to call Guild Name and set its value on an onload event
 local guildName = GetGuildInfo("player");
 if (not guildName) then
    guildName = ("Guild");
 end
 GuildTaxFrame:RegisterEvent("CHAT_MSG_MONEY");
 GuildTaxFrame:RegisterEvent("ADDON_LOADED");
 GuildTaxFrame:RegisterEvent("GUILDBANKFRAME_OPENED");
 GuildTaxFrame:RegisterEvent("CHAT_MSG_SYSTEM");
 GuildTaxFrame:RegisterEvent("CHAT_MSG_WHISPER");
 GuildTaxFrame:RegisterEvent("PARTY_MEMBERS_CHANGED");
 GuildTaxFrame:RegisterEvent("RAID_ROSTER_UPDATE");
 GuildTaxFrame:RegisterEvent("GUILD_ROSTER_UPDATE");
 GuildTaxFrame:RegisterEvent("MAIL_CLOSED");
 GuildTaxFrame:RegisterEvent("MAIL_SHOW");
 GuildTaxFrame:RegisterEvent("MERCHANT_CLOSED");
 GuildTaxFrame:RegisterEvent("MERCHANT_SHOW");
 
 SLASH_GUILDTAX1 = "/guildtax"
 SlashCmdList["GUILDTAX"] = function(msg)
  GuildTax_SlashCmdHandler(msg)
 end
end
Im not sure what events you cant see the guildname but this should fix that as well as the formating of new addon installs, & new toons "first time use thing"

Ill set this to be released this weekend.
__________________
Report comment to moderator  
Reply With Quote
Unread 11-06-09, 10:04 AM  
Drshow
A Cyclonian
 
Drshow's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 23
Uploads: 3
OK still have the bugg

BUG = When user is installing addon new, using for the first time, or has removed data tables the guild name if is in guild still does not translate but is stored in table correctly.
__________________
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: