Notes
This Accountant Classic is base on the original version written by Sabaki and modify by Shadow and Rophy.
Shadow and Rophy used to updated the Accountant to version 2.3.
However, it seems Shadow and Rophy stop to updated the codes. So here I am. Some codes revised to make Accountant alive.
Summary
Accountant is a basic tool to track your monetary incomings and outgoings within WoW. It logs per-session and running totals of how much money you have spent and earned from vendors / loot / quests etc...
Cross-server is supported. You can have the same player name in different realms. The money information will be saved for each realm.
Usage
Either click the minimap button, bind a key to accountant or use /acc to view your accountant log
Installation Guide
- Exit "World of Warcraft" completely
- Download the mod you want to install
- Make a folder on your desktop called "My Mods"
- Save the .zip/.rar files to this folder.
- If, when you try to download the file, it automatically "opens" it... you need to RIGHT click on the link and "save as..." or "Save Target As".
- Extract the file - commonly known as 'unzipping'
Do this ONE FILE AT A TIME!
- Windows
- Windows XP a built in ZIP extractor. Double click on the file to open it, inside should be the file or folders needed. Copy these outside to the "My Mods" folder.
- WinRAR: Right click the file, select "Extract Here"
- WinZip: You MUST make sure the option to "Use Folder Names" is CHECKED or it will just extract the files and not make the proper folders how the Authors designed
- Mac Users
- StuffitExpander: Double click the archive to extract it to a folder in the current directory.
- Verify your WoW Installation Path
That is where you are running WoW from and THAT is where you need to install your mods.
- Move to the Addon folder
- Open your World of Warcraft folder. (default is C:\Program Files\World of Warcraft\)
- Go into the "Interface" folder.
- Go into the "AddOns" folder.
- In a new window, open the "My Mods" folder.
- The "My Mods" folder should have the "Addonname" folder in it.
- Move the "Addonname" folder into the "AddOns" folder
- Start World of Warcraft
- Make sure AddOns are installed
- Log in
- At the Character Select screen, look in lower left corner for the "addons" button.
- If button is there: make sure all the mods you installed are listed and make sure "load out of date addons" is checked.
- If the button is NOT there: means you did not install the addons properly. Look at the above screenshots. Try repeating the steps or getting someone who knows more about computers than you do to help.
Translations
When you download a mod, please be sure that the mod is compatible with your translation of wow. Some mods only work on the US versions, while some only work on some of the various European versions. These variations are called "Localizations".
TOC Numbers (Out of Date Mods)
When Blizzard patches WoW, they change the Interface number. This means that all mods will be "out of date" unless or until the author releases a new version for that interface. Some people go into the .toc files and update the numbers themselves, but this is STRONGLY advised against as it will cause problems locating possible incompatibilities addons. When you log into WoW after a patch, you DO NOT have to delete your interface directory. All you have to do is simply tell WoW to ignore the interface numbers and load all the mods anyway. All you have to do is, while at the "character select" screen, look in the lower left corner and click on the "addons" button. A window will pop up listing all your installed mods.
If you look in the upper left corner of that window there should be a box that says "Load Out of Date AddOns". You want to CHECK this box. Now simply go into WoW normally and all your mods should load. As of the 1.9 patch, you will have to do this after EVERY patch/update that Blizzard posts! If you encounter any problems with a mod after a patch, please be sure to let the author of the mod know so they can fix it.
See also: About "Out Of Date AddOns"
Mac Support
WoW addons are not platformed based. As such, they can be used on either Mac or PC. You can extract both .zip and .rar files on a Mac using StuffitExpander.
Directory Structure
World of Warcraft
|_ Interface
|_AddOns
|_*AddonName*
|_ *AddonName*.toc
|_ *AddonName*.xml
|_ *AddonName*.lua
|_ (possibly others as well)...
- +0
- Thumbs Down
- Thumbs Up
ltdeta saidmaybe i found the problem for the gold bug
search Accountant.lua found:
_, _, gold = string.find(arg1, "(%d+) " .. GOLD)
_, _, silver = string.find(arg1, "(%d+) " .. SILVER)
_, _, copper = string.find(arg1, "(%d+) " .. COPPER)
replace it with:
_, _, gold = string.find(arg1, "(%d+) "..ACCLOC_P_GOLD)
_, _, silver = string.find(arg1, "(%d+) "..ACCLOC_P_SILVER)
_, _, copper = string.find(arg1, "(%d+) "..ACCLOC_P_CENT)
in your location file (example location.de) insert bevor the "end":
change the values in your language
-- Parsing Money
ACCLOC_P_GOLD = "Gold";
ACCLOC_P_SILVER = "Silber";
ACCLOC_P_CENT = "Kupfer";
i hope it works ;)
- +0
- Thumbs Down
- Thumbs Up
Terilyn saidThis is the error I'm getting with accountant and 2.4.2 any help would be appreciated.
Date: 2008-05-22 21:46:34
ID: 58
Error occured in: Global
Count: 1
Message: ..\AddOns\Accountant\Accountant.lua line 435:
attempt to index field '?' (a nil value)
Debug:
[C]: ?
Accountant\Accountant.lua:435: Accountant_OnShow()
[string "*:OnShow"]:1:
[string "*:OnShow"]:1
[C]: Show()
..\FrameXML\UIParent.lua:1322: SetUIPanel()
..\FrameXML\UIParent.lua:1177: ShowUIPanel()
..\FrameXML\UIParent.lua:1073:
..\FrameXML\UIParent.lua:1069
[C]: SetAttribute()
..\FrameXML\UIParent.lua:1632: ShowUIPanel()
UIParent.lua:1632: ShowUIPanel()
Accountant\AccountantButton.lua:7: AccountantButton_OnClick()
[string "*:OnClick"]:1:
[string "*:OnClick"]:1
- +0
- Thumbs Down
- Thumbs Up
ltdeta saidget the same error
Fehler: attempt to concatenate global 'GOLD' (a nil value)
AddOn: Accountant
Datei:Accountant.lua
Zeile:356
Fehler Nummer:13
- +0
- Thumbs Down
- Thumbs Up
biggpapa saidI get the same error. I've done a little addon coding myself and I can't find what's going wrong... the addon seems to work despite what seems to be a pretty bad error...
It would be AMAZING if you could tell me how much money you loot the next time that error occurs so i can find out what's happening in the code.
- +1
- Thumbs Down
- Thumbs Up
Abu-Dun saidSince 2.4.2, everytime i loot a mob with money in it:
Fehler: attempt to concatenate global 'GOLD' (a nil value)
AddOn: Accountant
Datei:Accountant.lua
Zeile:356
Fehler Nummer:1
(German client)
- +1
- Thumbs Down
- Thumbs Up
BJRubino saidFor some reason I do not track income under the "Day" tab. All the other tabs seem to be correct, but the day one rarely works.
BJR
- +0
- Thumbs Down
- Thumbs Up
arith saidI am sorry that I only have a few time to track the issue, but last time I check this addon and it seems the Day tracking is working fine.
Anyone who can help to provide more clues is welcome.
- +1
- Thumbs Down
- Thumbs Up
Lazare saidarith, we know you are doing Atlasloot Enhanced currently, so could you please update this fantastic mod also? I have been using various versions of this mod since 2005 and would love to see it continue. Since that time I have made over 100kg and would like to continue keeping track.
Thanks in advance!
- +0
- Thumbs Down
- Thumbs Up
arith saidWith some testing with the latest version (v2.42), it seems still working fine. Do you guys encounter some errors?
- +1
- Thumbs Down
- Thumbs Up
arith saidI will try.
- +1
- Thumbs Down
- Thumbs Up
Abu-Dun saidawesome!
- +0
- Thumbs Down
- Thumbs Up
Derpo saidI'm starting to have some troubles with Accountant...
It doesn't remember my expenses if I don't open it (from the minimap) and sometimes it even does not remember my income too. Not sure if it's a conflict with other addons though.
It is a rather old version too. I wonder if there will be updates comming?
- +0
- Thumbs Down
- Thumbs Up
ltdeta saidnew feature request: showing data for a month too
- +0
- Thumbs Down
- Thumbs Up
ltdeta saidi used 2.2q a long time
now i found this version from Accountant
and say thanks for still alive this
- +0
- Thumbs Down
- Thumbs Up
arith saidCloudsBreak, good approach. I noticed that. I will try to look what's wrong when I have time. Quite busy these days....
- +0
- Thumbs Down
- Thumbs Up
CloudsBreak said@fisko
I dont seem to be getting any errors with this mod its running just fine for me , all I had to do was change the TOC to get it to work with the latest patch but ya its running fine for me...
Edit : Seems to run ok been using it the past few hours but question though... How does it calculate when a day ends... I'm only asking because if it goes by the computers clock then I think it missed some money earned after my clock rolled over to midnight... because I had a guy give me 5g in trade for help and some minor money loot off corpses after my clock rolled midnight but it didnt seem to log then but it logged money I claimed from the mail after I got back to town... I could be wrong I will have to play with it again as it rolls midnight tomorrow or here i nthe next few days but ya I think it did miss some money earned while I was playing during / after my clocks "rollover"...
- +0
- Thumbs Down
- Thumbs Up
Fisko saidIs there anyways to change the in/out sum of the addon? Its like this i spent 520g on skills and it say 5203g can i change that some how?
- +0
- Thumbs Down
- Thumbs Up
arith saidPlease try 2.41 beta2. It looks like repair cost can be detected and won't go into merchant profit.
- +0
- Thumbs Down
- Thumbs Up
NiaNiaNia saidLoot profit is the coin you pick up in the loot frame not the items. So when you sell the items it becomes merchant profit. The repair costs are counted as merchant costs because blizzard blocked the function originally used to track repair costs. Temporary fix that never left and quite possibly why they stopped updating it as they never found a way around it.
- +0
- Thumbs Down
- Thumbs Up
arith saidRight. The repair is kind of hack that the original author find a way to monitor the repair cost. But with the codes then targeting will have problem.
I will try something else to detect the repair cost.