Log in

View Full Version : [WoW] Party gold, for the lazy :-)



Zub
09-14-2010, 08:30 AM
I couldn't be asked to always calculate how much i have in total, across all my toons, so i wrote a little addon to calculate it for me.
Thought it might be useful to others.

I've updated the tool a fair bit and now this is what it does:
- uses the addon chat methods, so you won't see anything in party chat anymore
- i still display the information on the main toon, in normal text
- I now remember the gold on all of your toons, and calculate the complete total for the realm you are on.
- Just login/logout with a toon for the addon to register it and include it in totals.
- by default the addon lists all the toons it knows and their respective gold, you can skip that list by using " /gt silent " (display none) or "/gt current" (only display the list of toons currently in the group)
- in all cases (silent, group or just /gt) the total is based on all knows toons linked to the accounts currently in the group.
- use /gt help if in doubt.

here's the new link to download it (3KB): GoldTracker Addon (http://tonicturtle.free.fr/wow/GoldTracker.zip)

Updated the image below as well


DISCLAIMER #1: I'm not an addon specialist! so the code is probably stupid, not optimised and sucks altogether. oh well. it works, and it's under a hundred lines so not going to eat your resources

DISCLAIMER #2: it's only lua, no danger (check it yourself), however, use at your own risk :p
Don't blame me if for whatever reason you end up spamming your gold in /yell in the middle of Dalaran. (take a screenshot if you do however please :-)


Here's what it looks like:
http://tonicturtle.free.fr/wow/GoldTracker_v1.2.jpg
as you can see it's very basic. use "/gt help" to see the options


how it works:
- download the attachment, and unzip it in your "wow / Interface / AddOns" folder
- put it on every wow that you're going to start.
- once you're loaded, get all your toons in a group.
- type /gt or /goldtracker on your main toon, you'll see a request go off
- you'll then see all party members answer with their gold info
- the requester will then announce the total.

Haven't tested it much yet, but curious to hear any suggestions/improvements as i might update it.

Cheers,
-Zub / Soap

Kalyse
09-14-2010, 08:45 AM
Very nice. I'm downloading. Is this your first addon contribution? How did you first start learning.

Harrypott
09-14-2010, 08:48 AM
very nice, altoholic is an addon that keeps track of gear, professions etc etc across toons too. not real sure how it works between active accounts. One very handy thing it does is tell you how many of something you have and where it is, in what toons bank etc etc. not sure if it works with gbanks tho. It's on curse

Kalyse
09-14-2010, 08:50 AM
Yeah that would be a really nice addition. So instead of /gt you have /gt-register to register the active character to a registry which continually monitors the gold for that character, then you could use /gt to get the gold total accross all accounts and all characters that have been registered.

Just a suggested feature.

Evilphtbstrd
09-14-2010, 09:46 AM
The gold option your talking about is built into Titan panel , for those that already have it and don't want more addons . And carbonite is a (IMO ) better add-on than altoholic , you also get a nice map with it ;)

Maxion
09-14-2010, 05:39 PM
The gold option your talking about is built into Titan panel , for those that already have it and don't want more addons . And carbonite is a (IMO ) better add-on than altoholic , you also get a nice map with it ;)

Titan panel does not track across multiple accounts (last i checked), carbonite is nothing like altoholic (last i checked).
Altoholic requires you to activate the sharing feature and such procedures in order to share data across multiple accounts (which is good enough for me, though it's been a while since I bothered to do it).

The newest version of jamba lets your characters keep a set amount of gold and deposit/withdraw any difference in the guild bank (if you have your own personal guildbank, as most of us do), which makes this kind of tracking less useful.

But for people with their characters in different guilds or in a guild with a non-personal bank, this addon would be quite useful.

To the original poster: Nicely done, I'm sure the people who were using macros to report their gold in chat will find this very useful.

Zub
09-14-2010, 05:51 PM
@Kalyse: it's not my first addon, i did one that gave the total mana returns of shadowfiend about 3 years ago >.<
I started by downloading a simple addon and understanding how it was written lol. that and wowwiki is nice

@Harrypot: I have tried altoholic, but somehow couldn't make it work across accounts, it is great however to know where everything is on one account's toons.

@Kalyse: I like the /gt-register idea, that would allow the summing of all toons on every account (which i'd split per realm) I'll see if i can do this.


@evilphtbstrd: i use Titan and i don't think it does cross accounts. It does cross toons however indeed, and the register option Kalyse is indeed related, but pushed to multi toons AND multi account (which is what goldtracker is for really)
I haven't tried carbonire, no idea what it does

@Maxion: oh nice i haven't upgraded to the latest jamba yet, and indeed having, say, toons always at 1000g and the rest in the gbank would make it very to calculate your total


Thanks for the feedback, all in all i'm mostly doing this for fun, rather than to do the ultimate addon, but it's nice to have things to try :-)

Zub
09-15-2010, 09:53 AM
I've now modified so that it:
- doesn't use party chat anymore
- automatically registers any toon you logon with, and includes it into the total (per realm)
- allows a silent mode (no listing of all toons)

see original post for more info

cheers,
Zub

Kalyse
09-16-2010, 07:38 AM
Very nice. I will test the registration. Should be interesting.
Can you SS the register example?

Zub
09-16-2010, 08:54 AM
Very nice. I will test the registration. Should be interesting.
Can you SS the register example?
Added it in the original post.

regarding the registration, there really isn't anything to do. Whenever you log on a toon that has the addon enabled, it will automatically save his data (which is updated whenever a gold transaction happens)

When you request the GoldTracker info (/gt) all party members check all known toons on their account and forward the info to the master.