Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeUI causing an issue for stat weight addons #98

Open
Arrenton opened this issue Oct 8, 2015 · 3 comments
Open

FreeUI causing an issue for stat weight addons #98

Arrenton opened this issue Oct 8, 2015 · 3 comments

Comments

@Arrenton
Copy link

Arrenton commented Oct 8, 2015

So I got Pawn just recently, and I keep getting the error "Pawn couldn't read the speed and damage stats of (item name). Translation error?"
I tried another addon (Stat Weight Score,) and it would not read the speed or damage stats on weapons.

So after I got tired of it and the addon giving me incorrect upgrade suggestions, I disabled all my addons.
After I re-enabled Pawn, it worked fine. I started enabling one addon at a time, and FreeUI started causing the errors again.
I have no idea why this would happen but I thought I would bring it to attention.

@Leandros
Copy link

Leandros commented Oct 2, 2016

Any progress on this?

@Dubsys
Copy link

Dubsys commented Oct 27, 2016

bumping this

@batsumishi
Copy link

It looks like this is caused by the DAMAGE_TEMPLATE global in FreeUI/scripts/globals.lua at line 83.

You can fix this on your install by commenting out the DAMAGE_TEMPLATE variable (add -- to the start of the line, or just remove it).

ARMOR_TEMPLATE = "Armor: %s"
-- DAMAGE_TEMPLATE = "Damage: %s - %s"
DPS_TEMPLATE = "%s DPS"
DURABILITY_TEMPLATE = "Durability: %d/%d"
SHIELD_BLOCK_TEMPLATE = "Block: %d"

In the tooltips, this will change the way damage is displayed from Damage: 1 - 2 back to the default 1 - 2 Damage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants