Accountant

Accountant

414k Downloads

no data for characters from server with a hyphen "-" in the name

Like2w opened this issue · 3 comments

commented

There is no data for characters from ru server "Король-лич" in English it is "Lich King" server name. On other servers everything works fine.

logged on my alt Шордуум-Король-лич:
image

logged on main from another server Ревущий фьорд (Howling fjord):
image

Version:

  • Accountant-10.1.1
commented

Thanks for the report @Like2w

I can replicate the issue and believe I have a fix that could work for it, it appears "-" is a special character so we can find and replace it on the realm name, I'm just testing a fix which seems to be working.

However it wont restore any historical data, due to the fix changing the realm name, it can be manually restored by changing the accountant.lua in WTF\Account<ACCOUNTNAME>\SavedVariables by doing a find on replace on the realm name with a - in.. for example realm-name to realmname and then that would allow the data (if any to display)

the fix so far is in accountant.lua you would need to add acc_realm = acc_realm:gsub('-',"") on line 208 and SC.Realm = SC.Realm:gsub('-',"") on line 1057

commented

That helped! I am very grateful!

commented

@Like2w let me know if you have any other issues, I'm still testing/validating before i add it to a version to test (with df launch dont have the time to do a alpha build to test at the moment)