Aloft NPC Reputation Module

1 - False/Nil Broken

If this is attached to a tag in Aloft but the tag it is attached to has a condition which is false or nil, then instead of displaying nothing at all which is the default behavior, this tag will cause 'false' or 'nil' to display instead.

It also makes the string it's attached to completely invisible until it has data to determine what rep it is.

Defaulting to HealthBarColor until it has data would be better behavior.

Name Description Size MD5
AloftNPCReputation.lua Fixed Replacement File 13.4 KiB ce040653bdbd...
User When Change
Thortok2000 Sep 29, 2012 at 15:08 UTC

Added attachment AloftNPCReputation.lua

Thortok2000 Sep 29, 2012 at 15:07 UTC

Deleted attachment AloftNPCReputation.lua: Uploading a better version

Thortok2000 Sep 27, 2012 at 19:33 UTC

Added attachment AloftNPCReputation.lua

Thortok2000 Sep 27, 2012 at 03:01 UTC Changed description:
  If this is attached to a tag in Aloft but the tag it is attached to has a condition which is false or nil, then instead of displaying nothing at all which is the default behavior, this tag will cause 'false' or 'nil' to display instead.
+
+ It also makes the string it's attached to completely invisible until it has data to determine what rep it is.
+
+ Defaulting to HealthBarColor until it has data would be better behavior.
Thortok2000 Sep 27, 2012 at 02:55 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of Thortok2000 Thortok2000 Sep 29, 2012 at 15:09 UTC - 0 likes

    There was one more bug. If you level up a reputation (like from Neutral to friendly) and you save data between sessions, the addon would 'lock' into the first detected rep and never update.

    Now it updates on mouseover or target. Uploaded another fixed LUA file.

  • Avatar of Thortok2000 Thortok2000 Sep 27, 2012 at 19:34 UTC - 0 likes

    I've uploaded a fix for all of these errors.

    False and nil no longer display, and if the reputation is unknown the default color is 'OriginalHealthBarColor' (red/yellow/green, blue for friendly players)

  • 2 comments

Facts

Last updated
Sep 29, 2012
Reported
Sep 27, 2012
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees