Download
(964 b)
Download
Updated: 11-12-23 11:23 AM
Pictures
File Info
Compatibility:
Guardians of the Dream (10.2.0)
Embers of Neltharion (10.1.0)
Updated:11-12-23 11:23 AM
Created:12-22-10 02:41 PM
Downloads:4,659
Favorites:34
MD5:
Categories:Bags, Bank, Inventory, Chat Mods, Miscellaneous

Cash Flow Lite

Version: 2023.11.12
by: WNxSajuukCor [More]

Converts your long money loot messages into something simple and light that takes up less room in your chat frame.

Example:

+ 4g 21s 83c

2023.11.12
  • Updated TOC

2023.05.04
  • Updated TOC

2023.03.21
  • Updated TOC

2022.11.06
  • Updated TOC

2021.06.29
  • Updated TOC

2021.03.16
  • Updated TOC

2020.11.17
  • Updated TOC

2020.09.10
  • Updated TOC for Shadowlands

2019.07.09
  • Updated TOC
  • Tweaked party members loot messages.

2018.12.11
  • Updated TOC

2018.07.15
  • Added a space after "+" symbol.

2018.07.15
  • Updated TOC

2017.03.28
  • Updated TOC

2016.11.01
  • Updated TOC

2016.07.16
  • Updated TOC

2014.10.13
  • Updated TOC

2014.01.30
  • Updated TOC

2013.03.05
  • Updated TOC

2012.11.29
  • Updated TOC

2012.08.30
  • Updated TOC

2012.03.01
  • Updated TOC

2011.08.30
  • Minor tweak to work with the Postal addon better

2011.04.27
  • Updated TOC
  • Removed the Cash Flow perk messages as they no longer show in 4.1

2011.1.12
  • Slight update to mailbox coin display behavior

2010.12.28B
  • Replaced "PLAYER_LOGIN" with "PLAYER_ENTERING_WORLD" for better color switching

2010.12.28
  • Postal problems fixed, colors re-enabled

2010.12.27
  • Removed coloring for the time being, was throwing errors with Postal

2010.12.26
  • Recoded, reduced size by 1500% and removed libs
  • With the new coding the addon should work no matter the localization :)

2010.12.22B
  • Fixed small coding problem

2010.12.22
  • Initial Release
Archived Files (1)
File Name
Version
Size
Author
Date
2023.05.04
964B
WNxSajuukCor
05-05-23 12:12 PM


Post A Reply Comment Options
Unread 12-22-10, 03:30 PM  
vivianalive
A Deviate Faerie Dragon
 
vivianalive's Avatar

Forum posts: 15
File comments: 34
Uploads: 2
Looks kinda appealing, helpful addon. And it is my honor to be the first to comment here.
The system default money looting message is pretty annoying ATM.
__________________

CeeUI: a minimalistic all-class UI
Report comment to moderator  
Reply With Quote
Unread 12-22-10, 03:37 PM  
WNxSajuukCor
A Kobold Labourer
 
WNxSajuukCor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 5
Thanks After my guild reached Cash Flow Rank 1 I wanted to write this to help shorten the length. Was very spammy in raids XD
__________________
http://www.warriornation.net
Report comment to moderator  
Reply With Quote
Unread 12-22-10, 11:00 PM  
creepy_inc
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Exact same thing as:

http://www.wowinterface.com/download...dCashFlow.html

Just lower memory print, I'll give it a shot.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 12-22-10, 11:53 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1600
File comments: 2305
Uploads: 21
Just a thought

Yo Another way of doing this, and having it fully localized for all WoW client languages, would be to replace the global strings associated with looting money.

The default global strings are:
COPPER_AMOUNT = "%d Copper";
SILVER_AMOUNT = "%d Silver";
GOLD_AMOUNT = "%d Gold";
YOU_LOOT_MONEY = "You loot %s";
YOU_LOOT_MONEY_GUILD = "You loot %s (%s deposited to guild bank)";
LOOT_MONEY_SPLIT = "Your share of the loot is %s.";
LOOT_MONEY_SPLIT_GUILD = "Your share of the loot is %s. (%s deposited to guild bank)";
So you'd simply have to replace these via having this code in a PLAYER_LOGIN event:
COPPER_AMOUNT = "%d|cFF954F28"..COPPER_AMOUNT_SYMBOL.."|r";
SILVER_AMOUNT = "%d|cFFC0C0C0"..SILVER_AMOUNT_SYMBOL.."|r";
GOLD_AMOUNT = "%d|cFFF0D440"..GOLD_AMOUNT_SYMBOL.."|r";
YOU_LOOT_MONEY = "+%s";
YOU_LOOT_MONEY_GUILD = "+%s (%s)";
LOOT_MONEY_SPLIT = "+%s.";
LOOT_MONEY_SPLIT_GUILD = "+%s. (%s)";

Last edited by Nibelheim : 12-23-10 at 12:14 AM.
Report comment to moderator  
Reply With Quote
Unread 12-23-10, 08:46 AM  
WNxSajuukCor
A Kobold Labourer
 
WNxSajuukCor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 5
Re: Just a thought

Originally posted by Nibelheim
Yo Another way of doing this, and having it fully localized for all WoW client languages, would be to replace the global strings associated with looting money.

The default global strings are:
COPPER_AMOUNT = "%d Copper";
SILVER_AMOUNT = "%d Silver";
GOLD_AMOUNT = "%d Gold";
YOU_LOOT_MONEY = "You loot %s";
YOU_LOOT_MONEY_GUILD = "You loot %s (%s deposited to guild bank)";
LOOT_MONEY_SPLIT = "Your share of the loot is %s.";
LOOT_MONEY_SPLIT_GUILD = "Your share of the loot is %s. (%s deposited to guild bank)";
So you'd simply have to replace these via having this code in a PLAYER_LOGIN event:
COPPER_AMOUNT = "%d|cFF954F28"..COPPER_AMOUNT_SYMBOL.."|r";
SILVER_AMOUNT = "%d|cFFC0C0C0"..SILVER_AMOUNT_SYMBOL.."|r";
GOLD_AMOUNT = "%d|cFFF0D440"..GOLD_AMOUNT_SYMBOL.."|r";
YOU_LOOT_MONEY = "+%s";
YOU_LOOT_MONEY_GUILD = "+%s (%s)";
LOOT_MONEY_SPLIT = "+%s.";
LOOT_MONEY_SPLIT_GUILD = "+%s. (%s)";

I've been looking everywhere for those events lol. Would definitely simplify everything instead of parsing the already existing strings I'll see about putting in the changes
__________________
http://www.warriornation.net
Report comment to moderator  
Reply With Quote
Unread 12-27-10, 09:34 AM  
scaife
A Kobold Labourer

Forum posts: 0
File comments: 28
Uploads: 0
CashFlowLite and Postal

Hi,

nice addon, i don't understand why Blizz loot text and combat text are so wordy.

There's a problem between your addon and Postal : when I send gold to my alts Postal auto complete the subject of the mail with the amount of gold sended but CashFlowLite rewrite this with shiny colors and when i want to send the mail I have an "Internal Mail Error" so I must rewrite the subject myself.

Is it possible to add an exception for this kind of situation?
Report comment to moderator  
Reply With Quote
Unread 12-27-10, 11:07 AM  
AllanF
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Icons

if you want to, you can use the standard icons for Gold, Silver and Copper by simply doing the following:
local COPPER_ICON = "|TInterface\\MONEYFRAME\\UI-CopperIcon:0:0:0:-1|t"
local SILVER_ICON = "|TInterface\\MONEYFRAME\\UI-SilverIcon:0:0:0:-1|t"
local GOLD_ICON = "|TInterface\\MONEYFRAME\\UI-GoldIcon:0:0:0:-1|t"

COPPER_AMOUNT = "%d" .. COPPER_ICON
SILVER_AMOUNT = "%d" .. SILVER_ICON
GOLD_AMOUNT = "%d"..GOLD_ICON
Report comment to moderator  
Reply With Quote
Unread 12-27-10, 03:53 PM  
WNxSajuukCor
A Kobold Labourer
 
WNxSajuukCor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 5
Re: CashFlowLite and Postal

Originally posted by scaife
Hi,

nice addon, i don't understand why Blizz loot text and combat text are so wordy.

There's a problem between your addon and Postal : when I send gold to my alts Postal auto complete the subject of the mail with the amount of gold sended but CashFlowLite rewrite this with shiny colors and when i want to send the mail I have an "Internal Mail Error" so I must rewrite the subject myself.

Is it possible to add an exception for this kind of situation?

Hmm... I'll take a look into the Postal issue.

As for the icons, I was kinda afraid of said Postal issues with the icons since Postal grabs the money strings to auto-complete subjects with money. I love the icons better than the g/s/c lol.
__________________
http://www.warriornation.net
Report comment to moderator  
Reply With Quote
Unread 12-27-10, 05:49 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1600
File comments: 2305
Uploads: 21
Re: Re: CashFlowLite and Postal

Originally posted by WNxSajuukCor
Hmm... I'll take a look into the Postal issue.

As for the icons, I was kinda afraid of said Postal issues with the icons since Postal grabs the money strings to auto-complete subjects with money. I love the icons better than the g/s/c lol.
Ahh. Seems the issue is in Wire.lua, whose soul purpose is to auto-fill the subject with currency amount if it's blank.

local g, s, c
g = "^%["..GOLD_AMOUNT.." "..SILVER_AMOUNT.." "..COPPER_AMOUNT.."%]$"
s = "^%["..SILVER_AMOUNT.." "..COPPER_AMOUNT.."%]$"
c = "^%["..COPPER_AMOUNT.."%]$"
The problem is the subject of mail can't have escaped strings, which adding colors or textures would include.

One way of going about this, would be to add a compatibility check.

if not IsAddOnLoaded("Postal") then
local COPPER_ICON = "|TInterface\\MONEYFRAME\\UI-CopperIcon:0:0:0:-1|t"
local SILVER_ICON = "|TInterface\\MONEYFRAME\\UI-SilverIcon:0:0:0:-1|t"
local GOLD_ICON = "|TInterface\\MONEYFRAME\\UI-GoldIcon:0:0:0:-1|t"

COPPER_AMOUNT = "%d" .. COPPER_ICON
SILVER_AMOUNT = "%d" .. SILVER_ICON
GOLD_AMOUNT = "%d"..GOLD_ICON
else
COPPER_AMOUNT = "%dc"
SILVER_AMOUNT = "%ds"
GOLD_AMOUNT = "%dg"
end

YOU_LOOT_MONEY = "+%s";
YOU_LOOT_MONEY_GUILD = "+%s (%s)";
LOOT_MONEY_SPLIT = "+%s.";
LOOT_MONEY_SPLIT_GUILD = "+%s. (%s)";
Last edited by Nibelheim : 12-27-10 at 05:53 PM.
Report comment to moderator  
Reply With Quote
Unread 12-27-10, 07:07 PM  
WNxSajuukCor
A Kobold Labourer
 
WNxSajuukCor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 5
Re: Re: Re: CashFlowLite and Postal

Originally posted by Nibelheim
Ahh. Seems the issue is in Wire.lua, whose soul purpose is to auto-fill the subject with currency amount if it's blank.



The problem is the subject of mail can't have escaped strings, which adding colors or textures would include.

One way of going about this, would be to add a compatibility check.
Yeah I figured the same and uploaded a version without the coloring until I poked around Postal's code some more. Running heroics with the guild isn't the best time to code test XD
__________________
http://www.warriornation.net
Last edited by WNxSajuukCor : 12-27-10 at 07:09 PM.
Report comment to moderator  
Reply With Quote
Unread 12-28-10, 02:23 AM  
scaife
A Kobold Labourer

Forum posts: 0
File comments: 28
Uploads: 0
Maybe you can add a more simplisitc style like :

+10 40 5 (1 4)

I think you should write the number with the color of the corresponding unit it will be more readable than all numbers in yellow which is the color of gold.

The issue with Postal is not vital, it's just to report it
Report comment to moderator  
Reply With Quote
Unread 12-28-10, 07:41 PM  
WNxSajuukCor
A Kobold Labourer
 
WNxSajuukCor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 5
Originally posted by scaife
Maybe you can add a more simplisitc style like :

+10 40 5 (1 4)

I think you should write the number with the color of the corresponding unit it will be more readable than all numbers in yellow which is the color of gold.

The issue with Postal is not vital, it's just to report it
Maybe in a future version where people can choose this, icons or colored letters

As for the Postal problems, I fixed them! Colors are re-enabled and they will no longer throw errors when sending mail
__________________
http://www.warriornation.net
Report comment to moderator  
Reply With Quote
Unread 12-29-10, 02:43 AM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1600
File comments: 2305
Uploads: 21
Originally posted by WNxSajuukCor
Maybe in a future version where people can choose this, icons or colored letters

As for the Postal problems, I fixed them! Colors are re-enabled and they will no longer throw errors when sending mail
Ohh, very nice idea on the MAIL_ events Though you can still use X_AMOUNT_SYMBOL for mail.

Code:
COPPER_AMOUNT = "%d"..COPPER_AMOUNT_SYMBOL
Last edited by Nibelheim : 12-29-10 at 02:46 AM.
Report comment to moderator  
Reply With Quote
Unread 12-29-10, 02:56 PM  
WNxSajuukCor
A Kobold Labourer
 
WNxSajuukCor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 5
Originally posted by Nibelheim
Ohh, very nice idea on the MAIL_ events Though you can still use X_AMOUNT_SYMBOL for mail.

Code:
COPPER_AMOUNT = "%d"..COPPER_AMOUNT_SYMBOL
Yeah I should to keep things global When it gets updated next I'll put those back in. As long as nothing else breaks in conjuction with other addons I want to see about adding the ability to change the format through options.

- Default = 1g 2s 3c (10s 20c)
- Numbers = 1 2 3 (10 20)
- Icons = 1 2 3 (10 20)
__________________
http://www.warriornation.net
Report comment to moderator  
Reply With Quote
Unread 02-24-11, 11:53 AM  
WNxSajuukCor
A Kobold Labourer
 
WNxSajuukCor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 5
Looks like Blizzard is planning to remove the Cash Flow message from the chat frame in 4.1:

The Guild Perk, Cash Flow, no longer prints out text to the Chat Log. Instead, the daily amount deposited is shown in the Guild Vault Money Log. In addition, players can view the weekly contribution in a new window at the bottom of the Money Log.
Will it be the death of Cash Flow Lite then? It can stay around to condense the cash messages at least, right? Tell me what you think
__________________
http://www.warriornation.net
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.