Recount Broken on One Character

I am unsure how to fix this for this one toon.

When ONLY Recount is enabled, it will not show data and is super-locked above my unit frame. LUA ERROR:

    Message: Interface\AddOns\Recount\GUI_Main.lua:621: attempt to index field '?' (a nil value)
Time: Sun Dec  8 12:39:01 2019
Count: 1
Stack: Interface\AddOns\Recount\GUI_Main.lua:621: attempt to index field '?' (a nil value)
Interface\AddOns\Recount\GUI_Main.lua:621: in function `ResizeMainWindow'
Interface\AddOns\Recount\GUI_Main.lua:1838: in function `RestoreMainWindowPosition'
Interface\AddOns\Recount\GUI_Main.lua:849: in function `CreateMainWindow'
Interface\AddOns\Recount\Recount.lua:1758: in function <Interface\AddOns\Recount\Recount.lua:1719>
[C]: ?
...ce\AddOns\Recount\Libs\AceAddon-3.0\AceAddon-3.0.lua:70: in function <...ce\AddOns\Recount\Libs\AceAddon-3.0\AceAddon-3.0.lua:65>
...ce\AddOns\Recount\Libs\AceAddon-3.0\AceAddon-3.0.lua:498: in function `InitializeAddon'
...ce\AddOns\Recount\Libs\AceAddon-3.0\AceAddon-3.0.lua:613: in function <...ce\AddOns\Recount\Libs\AceAddon-3.0\AceAddon-3.0.lua:605>

Locals: <none>

I have erased her WTF folders multiple times, I have deleted and re-installed the addon. I have even tried to clear the combatlogs with a macro script.

When I use ElvUI and run AddonSkins, the box propagates in the panel but is full of pink bars that say TEST.

Again, everything is functioning everywhere else on every other toon but this one.

Do you have any addons enabled on that character that are not enabled on your others?

When you say you’ve erased “her” WTF folders, do you mean only the ones in the WTF folder that are listed under the realm/name of that character?

If so then, after getting out of the game, go to the WTF\account\[your account]\SavedVariables folder, make a backup copy of the file Recount.lua, then open it (not the copy). Find the section labeled ["profileKeys"] and delete the line that contains the ["character - realm"]. Save/exit, try again.

The problem seems to be with Recount calculating # of bars to frame size specified for that character, this should start them with default size settings.

1 Like

No, actually I have less.

Yes, only that character on that realm.

I opened the .LUA in notepad but didn’t see profile keys.

RecountPerCharDB = {
	["version"] = "1.3",
	["combatants"] = {
	},
	["FightNum"] = 0,
	["CombatTimes"] = {
	},
	["FoughtWho"] = {
	},
}

My directory is C:\Program Files (x86)\World of Warcraft_retail_\WTF\Account[acctname][server][character]\SavedVariables

There were no account specific savedvariables without being at the character level.

Means you are in the wrong folder. Go back up the list to the folder with your account name and then select the folder under it called SavedVariables then Recount.lua.

It should start with RecountDB and not RecountPerCharDB

Warcraft_retail_\WTF\Account[acctname]\SavedVariables\Recount.lua

You might want to delete the ["character - realm"] entry under the ["profiles"] section as well if you feel confident enough.

2 Likes

Trying only the profile key did not fix it, I also had to do this step but FINALLY, it works. Thank you so much!

Now you can safely switch to Details and have a better damage meter! lol

1 Like

Well played sir :rofl:

For future readers, you can logon to the character and in-game type:
/recount profile reset
to do the same thing.

2 Likes

Thought there was a slash command but didn’t see it on the addon page.

I personally prefer Skada, nice to auto swap to a threat meter when in combat.

I still run Omen for that + threat reactive nameplates.