Giter Site home page Giter Site logo

plater-nameplates's Introduction

plater-nameplates's People

Contributors

attickdoor avatar cont1nuity avatar dpcodes avatar flamanis avatar freddy090909 avatar github-actions[bot] avatar kitsunekyo avatar koviko avatar kufra avatar qartemist avatar slinkychampion avatar spencersteers avatar tercioo avatar thunderz96 avatar weswigham avatar xeropresence avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

plater-nameplates's Issues

[Feature] Option to display numbers without being shortened

I am personally not fond of the abreviated values that a lot of addons offer, no doubt due to retail's excessive number growth over the years. Currently there are only two options in Plater's number formating: Western abreviations and Eastern/Chinese abreviations. If it's not too much to ask, additional options such as showing comma-seperated absolute values would be appreciated.

2.6K (100%) -> 2,588 (100%)

Mod Destructors "modTable" is Nil

Game and Plater version

  • Game: TBC
  • Plater: 336-BCC

Describe the bug
Plater doesn't pass modTable to mod destructors. It passes nil instead. All other values work properly (envTable, unitFrame, etc).

The Plater template for Destructors literally includes modTable in the template function definition, so I assume this is a bug.

I've tested all of this with a totally blank, "New Mod", to verify that it indeed always sends a nil value.

Feature Request - Threat/Aggro colors for when solo

I think it would be good if there was an option to choose a nameplate (and or border/name) color for when you have aggro but aren't in a group with a tank. Because I think "aggro on you" option for DPS in a raid/dungeon should be a color you don't see often to really warn you, which with how it is now it uses the same colors you see if you have aggro as dps in the open world. Another reason is that I like having a single nameplate color define what good is across all roles, so if I'm a tank and have good threat then the nameplate would be red, and if I'm dps in a raid with no threat then the nameplate would also be red in that situation. Sorry if I'm not explaining it well. I think elvui does it like that and it's just something I got used to.

Personal nameplate

is it possible to use plater but with the default personal nameplate?

Plater needs a new script/mod event: Uninitialization

  • Initialization: Triggers when the mod first starts up, and every time the user disables/re-enables the mod.

  • Constructor: Triggers when nameplates first appear on the screen.

  • Destructor: When the user disables the mod, this triggers for all visible plates. If no plates are visible, this event doesn't trigger at all.

There is, from what I can see, no real way to do a guaranteed "this code will run when the user disables my addon" in Plater.

The destructor is not reliable, since it doesn't run at all if no plates are visible.

Therefore, it prevents programmers from creating Plater mods that do complex setup and teardowns. In my case, I'm hooking into another addon, leeching its data, presenting it in Plater instead. If the user disables my Plater mod, I need to restore the original 3rd party addon's behavior. But I can't do that, because there is no reliable event for it.

I even tried going through all of Plater's source code, looking for a way to loop through the list of compiled and loaded mods and checking which ones are enabled. That is kind of doable, but extremely hacky.

What would really improve things here is if Plater has a new event:

  • Uninitialization: Triggers whenever the mod is disabled (whether via auto-unload from load conditions, or via the user manually disabling the mod).

Protection warriors can execute in Shadowlands

Options tooltip:
"Show and indicator when the unit is in execute range... Warrior: Arms and Fury Spec"

Protection now has execute. Can we adjust the options filter so protection automatically has execute indicator?

Message: Interface\AddOns\Plater\Plater.lua:7614: attempt to index local 'platerRules' (a boolean value)

Message: Interface\AddOns\Plater\Plater.lua:7614: attempt to index local 'platerRules' (a boolean value)
Time: Sun Jan 24 16:06:47 2021
Count: 1
Stack: Interface\AddOns\Plater\Plater.lua:7614: attempt to index local 'platerRules' (a boolean value)
[string "@Interface\AddOns\Plater\Plater.lua"]:7614: in function <Interface\AddOns\Plater\Plater.lua:7580>

Locals: fromInit = nil
platerThemeName = "Plater Nameplates Theme"
platerRuleName = "Plater Nameplates Rule"
platerTheme = <table> {
 textStyles = <table> {
 }
 fontFace = "Fonts\FRIZQT__.TTF"
 timerOffset = 0
 drawSwipes = true
 scaleText = true
 tenthsDuration = 0
 fontOutline = "OUTLINE"
 minSize = 0.500000
 mmSSDuration = 0
 enableText = false
 effect = "pulse"
 yOff = 0
 xOff = 0
 fontSize = 18
 fontShadow = <table> {
 }
 minEffectDuration = 30
 minDuration = 2
 anchor = "CENTER"
}
platerRules = false
(*temporary) = <function> defined @Interface\AddOns\Details\Libs\DF\fw.lua:287
(*temporary) = <table> {
 4 = <table> {
 }
}
(*temporary) = 0
(*temporary) = nil
(*temporary) = nil
(*temporary) = 0
(*temporary) = "attempt to index local 'platerRules' (a boolean value)"
DF = <table> {
 CooldownToClass = <table> {
 }
 ClassCache = <table> {
 }
 SavePositionOnScreen = <function> defined @Interface\AddOns\Details\Libs\DF\panel.lua:2139
 CreateTabContainer = <function> defined @Interface\AddOns\Details\Libs\DF\panel.lua:3907
 IsUnitTapDenied = <function> defined @Interface\AddOns\Details\Libs\DF\fw.lua:4028
 CancelTimer = <function> defined @Interface\AddOns\ArkInventory\Externals\Ace3\AceTimer\AceTimer-3.0.lua:147
 NewLabel = <function> defined @Interface\AddOns\Details\Libs\DF\label.lua:275
 SavedVars = <table> {
 }
 BuildStatusbarAuthorInfo = <function> defined @Interface\AddOns\Details\Libs\DF\panel.lua:6972
 PanelCounter = 583208
 IconPick = <function> defined @Interface\AddOns\Details\Libs\DF\panel.lua:1515
 RuneIDs = <table> {
 }
 LabelNameCounter = 583371
 ListboxFunctions = <table> {
 }
 GetCurrentSpec = <function> defined @Interface\AddOns\Details\Libs\DF\fw.lua:3325
 alias_text_colors = <table> {
 }
 HidaAllBarrasInfo = <function> defined @Interface\AddOns\Details\frames\window_playerbreakdown.lua:421
 UnitFrameFunctions = <table> {
 }
 ScheduleTimer = <function> defined @Interface\AddOns\ArkInventory\Externals\Ace3\AceTimer\AceTimer-3.0.lua:94
 CreateCastBar = <function> defined @Interface\AddOns\Details\Libs\DF\panel.lua:8575
 RegisterScriptComm = <function> defined @Interface\AddOns\Details\Libs\DF\fw.lua:3970
 ShowPanicWarning = <function> defined @Interface\AddOns\Details\Libs\DF\panel.lua:1908
 UnitGroupRolesAssigned = <function> defined @Interface\AddOns\Details\Libs\DF\fw.lua:59
 SetAutoCompleteWithSpells = <function> defined @Interface\AddOns\Details\Libs\DF\auras.lua:1061
 ShowTutorialAlertFrame = <function> defined @Interface\AddOns\Details\Libs\DF\fw.lua:1907
 CooldownsExternals = <table> {
 }
 GetSpecializationRole = <function> defined @Interface\AddOns\Details\Libs\DF\fw.lua:95
 SpecListByClass = <table> {
 }
 FRAMELEVEL_BACKGROUND = 150
 CreateHealthBar = <function> defined @Interface\AddOns\Details\Libs\DF\panel.lua:7434
 RunHooksForWidget = <function> defined @Interface\AddOns\Details\Libs\DF\fw.lua:2296
 GetDefaultColorList = <function> defined @Interface\AddOns\Details\Libs\DF\colors.lua:170
 button_templates = <table> {
 }
 CreateNewDropdownFrame = <function> defined @Interface\AddOns\Details\Libs\DF\dropdown.lua:1137
 ReskinSlider = <function> defined @Interface\AddOns\Details\Libs\DF\fw.lua:3184
 CriaNovaBarraInfo2 = <function> defined @Interface\AddOns\Details\frames\window_playerbreakdown.lua:5775
 ColorPick = <function> defined @Interface\AddOns\Details\Libs\DF\panel.lua:1491
 CreateSwitch = <function> defined @Interface\AddOns\Details\Libs\DF\slider.lua:966
 font_templates = <table> {
 }
 embeds = <table> {
 }
 SetAnchor = <function> defined @Interface\AddOns\Details\Libs\DF\fw.lua:850
 trim = <function> defined @Interface\AddOns\Details\Libs\DF\

Aura timer font settings not being respected

Game and Plater version
Retail Plater-v9.0.1.316-Retail

Describe the bug
At some point while playing, my font settings for aura timer stop being respected (Expressway, size 10, centrally placed). Some of my auras display the wrong font, size, border, placement, etc. This seems to happen most consistently during group content. If I reload my UI, it goes back to normal.

  • Actual:
    broken fonts
  • Expected:
    expected
  • Settings:
    settings
  • When the bug started (a date, wow path release, details update, etc)?
    Since I started using Plater at the end of BFA

BUG - Personal Nameplate sometimes changing position

Yet I was not able to reproduce this issue since its happening quite random.
Sometimes, and sometimes often, the personal player resource is changing its position
after mounting or dismounting on or from an automatic flight.
Its like moving 20 pixels or so from its original position up on the Y-Axis.
Reloading the interface sets back the position to its correct coordinates.

I have the following Settings:

  • Personal Health and Mana Bars: Checked
  • Click Through: Checked
  • Always Show: Checked

Im using Plater version v8.1.5.265

I recorded a small video where you can see the Bug:
https://youtu.be/jQFoiaKLak8

Its not easy to see, but directly after selecting my flight destination, when the map closes, the plater personal resource bar is changing its position. This is not happening with plater being disabled. Also this is not happening always.

NPC Profession Outline

Id like to have the option to disable the outline of npc professions when in name only mode. Right now its the only thing keeping me from using it.

[Feature Request] show friendly class icons without nameplates

In ThreatPlates one can configure a "headline view" that allows for showing the class icon and name above friendlies while still having the option to configure separate enemy nameplates.

Here is an example:
2021-06-15 18_05_58-WoWScrnShot_061521_180430 jpg - IrfanView

I've gone through all the settings and tried various things, but can't seem to replicate it this way in Plater.
Therefore I'd like to request a feature like that.

Special characters bug

When the name a a player has special char in it with at least another char after it, the special char is correctly shown (font ok with it) but after that there is another char displayed as an error, but this char doesn't exist.
Example :
Sámu is shown Sá?mu
with the ? shown either as a rectangle or a diamond.
PlaterBug

I tried 12 different fonts, all the time the same result.
In the screenshot it is the same font in the UnitFrame up top and in Plater.

LibDataBroker support

Can I ask for a minimal broker support, just to do the same as the /plater command?

I peeked into the code and there is some skeleton for it with the DF lib, but even Details are implementing LDB support with in a custom way and not through DF:CreateAddOn, so it might needs additional work.

Plater / Details error adjusting skins and text fonts/color

Game and Plater version
Plater version: v9.0.1.309-retail
Game version v9.0.1

Game and Details! version
Details! version: R7908
Game version v9.0.1

Describe the bug

  • Steps to Reproduce (what did you do to make the bug happen):

First thanks for the great addon and all the efforts of the team.

I made my UI from scratch for the pre-patch. Problems with details started setting it up with plater nameplates enabled (configured that addon first).

I have 2 errors which i have posted also on the details GIT as issues #122 and #123. Error posted here is identical as issue #123 on the Details GIT

Error is being produced while configuring Details!:
Error starts when choosing different skin for bars and changing the font color in for example the title bar menu in Details!. Same thing happends when adjusting in the Statusbar menu: adjusting Color and transparancy, editing text color in the micro displays (cogwheel). When set the text color to white (255,255,255) the bar turn green and errors start popping up related to plater and details.

Even after disabeling details the error will still popup for plater. Before the installation of details there was no error with plater. I have to put a backup from WTF back (from before details installation) to stop the plater error.

  • Expected (what you think the expected behavior would be when following the steps):

  • When the bug started (a date, wow path release, details update, etc)?

Fresh wow retail installation (pre-patch) with elvui, plater and details. Addons are all up to date.

  • Additional information:

I will post my details and Plater config file from WTF at the bottem

Lua Error

1x Plater\Plater-Plater-v9.0.1.309-Retail.lua:8586: attempt to index local 'platerRules' (a boolean value)
[string "@plater\Plater-Plater-v9.0.1.309-Retail.lua"]:8586: in function <Plater\Plater.lua:8552>

Locals:
fromInit = nil
platerThemeName = "Plater Nameplates Theme"
platerRuleName = "Plater Nameplates Rule"
platerTheme =

{
textStyles =
{
}
fontFace = "Fonts\FRIZQT__.TTF"
timerOffset = 0
drawSwipes = true
scaleText = true
tenthsDuration = 0
fontOutline = "OUTLINE"
minSize = 0.500000
mmSSDuration = 0
enableText = true
effect = "pulse"
yOff = 0
xOff = 0
fontSize = 18
fontShadow =
{
}
minEffectDuration = 30
minDuration = 2
anchor = "CENTER"
}
platerRules = false
(*temporary) = defined @details\Libs\DF\fw.lua:286
(*temporary) =
{
4 =
{
}
}
(*temporary) = 0
(*temporary) = nil
(*temporary) = nil
(*temporary) = 0
(*temporary) = "attempt to index local 'platerRules' (a boolean value)"
DF =
{
CooldownToClass =
{
}
ClassCache =
{
}
SavePositionOnScreen = defined @details\Libs\DF\panel.lua:2137
CreateTabContainer = defined @details\Libs\DF\panel.lua:3898
IsUnitTapDenied = defined @details\Libs\DF\fw.lua:3982
CancelTimer = defined @arkinventory\Externals\Ace3\AceTimer\AceTimer-3.0.lua:147
NewLabel = defined @details\Libs\DF\label.lua:275
BuildStatusbarAuthorInfo = defined @details\Libs\DF\panel.lua:6943
PanelCounter = 338783
IconPick = defined @details\Libs\DF\panel.lua:1515
debug = false
LabelNameCounter = 338940
GetCurrentSpec = defined @details\Libs\DF\fw.lua:3303
alias_text_colors =
{
}
HidaAllBarrasInfo = defined @details\frames\window_playerbreakdown.lua:420
UnitFrameFunctions =
{
}
ScheduleTimer = defined @arkinventory\Externals\Ace3\AceTimer\AceTimer-3.0.lua:94
CreateCastBar = defined @details\Libs\DF\panel.lua:8541
RegisterScriptComm = defined @details\Libs\DF\fw.lua:3924
ShowPanicWarning = defined @details\Libs\DF\panel.lua:1908
UnitGroupRolesAssigned = defined @details\Libs\DF\fw.lua:58
SetAutoCompleteWithSpells = defined @details\Libs\DF\auras.lua:1061
ShowTutorialAlertFrame = defined @details\Libs\DF\fw.lua:1886
CooldownsExternals =
{
}
GetSpecializationRole = defined @details\Libs\DF\fw.lua:94
SpecListByClass =
{
}
FRAMELEVEL_BACKGROUND = 150
CreateHealthBar = defined @details\Libs\DF\panel.lua:7400
RunHooksForWidget = defined @details\Libs\DF\fw.lua:2275
GetDefaultColorList = defined @details\Libs\DF\colors.lua:170
button_templates =
{
}
CreateNewDropdownFrame = defined @details\Libs\DF\dropdown.lua:1137
ReskinSlider = defined @details\Libs\DF\fw.lua:3162
CriaNovaBarraInfo2 = defined @details\frames\window_playerbreakdown.lua:5771
ColorPick = defined @details\Libs\DF\panel.lua:1491
CreateSwitch = defined @details\Libs\DF\slider.lua:967
font_templates =
{
}
embeds =
{
}
SetAnchor = defined @details\Libs\DF\fw.lua:829
trim = defined @details\Libs\DF\fw.lua:597
NewSplitBar = defined @details\Libs\DF\split_bar.lua:590
GetSpecListFromClass = defined @details\Libs\DF\fw.lua:3757
FindClassForCooldown = defined @details\Libs\DF\spells.lua:883
FindHighestParent = defined @details\Libs\DF\panel.lua:3792
BuildDropDownFontList = defined @details\Libs\DF\dropdown.lua:903
HasHook = defined @details\Libs\DF\fw

Other Information: Details and Plater WTF settings file from saved variables

Details: https://pastebin.com/wSiiHj4Y
Plater: had to split the file due to size restrictions of pastbin:
plater WTF saved variable part 1 line 1-7504: https://pastebin.com/u1vUkSYV
plater WTF saved variable part 2 line 7505-end: https://pastebin.com/zhyjbKMY

Level/Strata

Separate Bodyguard to Target Scaling

The target of any mobs are good to what I set, but follower (in Nazj).. ike! soo big cuz literally following me everywhere

image
image

Personal Nameplate Anchoring

Game and Plater version
Plater-v9.0.1.310-Retail
Game 9.0.1.36322

Describe the bug
Frames anchored to the personal nameplate using WA2 and Plater shift on the Y axis sometimes on zone transition (and other events) and remain so until /reload (Or sometimes stubbornly until entire game reload). This happens with Plater, but never Kuinameplates - can't speak for other addons.
I think this is also what was taking place in this issue: #26

I believe it's the frame WeakAurasAttachToPRD that's the culprit, but it only happens with the Plater personal nameplate.

Screenshots
Here's how my personal resource display looks upon login:
uponlogin

And this is what happens sometimes after hearthing, dying, or just progressing through a dungeon (randomly):
afterawhile

When I /fstack, the WeakAurasAttachToPRD frame normally aligns to the top of the Plater PRD:
fstackaligned

When the problem occurs, it winds up in the middle, and all attached objects drift accordingly:
fstackmisaligned

Other Information
My knowledge of lua is very poor, but my very uneducated guess is that this may be mostly the fault of WA2. There appears to be code regarding the PRD in Weakauras.lua that factors in Kui and Elvui nameplates but not Plater, perhaps leading to this behaviour.

However, these other nameplate addons also include their own invisible PRD anchor frame so that WA's anchor frame can be circumvented if needed. It would be greatly appreciated if such functionality was added to Plater so that the (likely) problematic WA2 code could be avoided completely.

Such as: https://github.com/kesava-wow/kuinameplates2/blob/master/Kui_Nameplates/plugins/personal-anchor.lua

Populating Interface options

The Interface addons options for Plater are an empty page, could you add there a simple button to open the Plater Options window, like how Details does it?

Combo points display issue

Game and Plater version
Retail with version 8.2.5.283

Describe the bug
This just happens when playing normally as a rogue. I have no way of reproducing it consistently. In the screenshot I actually have 2 combo points. Don't know why Plater is displaying the 6th one.

WoWScrnShot_010820_082855

Nameplates BUG

Game and Plater version
8.3.7,Plater-v8.3.0.305-Retail

Describe the bug

  • Nameplates in plater doesn t appear

  • When the bug started (a date, wow path release, details update, etc)?
    The bug started 11.08.2020, reinstalling doesn't help, pressing "ctrl+v" or etc doesn't help also

  • Additional information:

Lua Error
Message: ...\Details\Libs\DF\Details-Framework-Classic\panel.lua:8105: attempt to call upvalue 'ChannelInfo' (a nil value)
Time: Tue Aug 11 15:48:23 2020
Count: 142
Stack: ...\Details\Libs\DF\Details-Framework-Classic\panel.lua:8105: attempt to call upvalue 'ChannelInfo' (a nil value)
[string "@interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua"]:8105: in function PLAYER_ENTERING_WORLD' [string "@Interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua"]:7927: in function <...\Details\Libs\DF\Details-Framework-Classic\panel.lua:7921> [string "=[C]"]: in function OnEvent'
[string "@interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua"]:7825: in function SetUnit' [string "@Interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua"]:8840: in function SetUnit'
[string "@interface\AddOns\Plater\Plater.lua"]:2807: in function `func'
[string "@interface\AddOns\Plater\Plater.lua"]:3147: in function <Interface\AddOns\Plater\Plater.lua:3144>

Locals: self = NamePlate11PlaterUnitFrameCastBar {
0 =
OnTick_Channeling = defined @interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua:7988
OnTick = defined =[C]:-1
isNamePlate = true
UpdateInterruptState = defined @interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua:7736
UNIT_SPELLCAST_CHANNEL_START = defined @interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua:8190
ScheduleToHide = defined @interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua:7869
IsProtected = defined @interface\AddOns\Plater\Plater.lua:9834
SetUnit = defined @interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua:7782
Animation_StopAllAnimations = defined @interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua:8090
OnShow = defined @interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua:7897
SetHook = defined @interface\AddOns\Details\Libs\DF\Details-Framework-Classic\fw.lua:2202
barTexture = {
}
UNIT_SPELLCAST_CHANNEL_UPDATE = defined @interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua:8368
Animation_FadeIn = defined @interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua:8072
flashTexture = {
}
fadeOutAnimation = {
}
extraBackground = {
}
OnHideWidget = defined @interface\AddOns\Plater\Plater.lua:9758
HasScheduledHide = defined @interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua:7858
HookList =

{
}
unit = "nameplate25"
UNIT_SPELLCAST_DELAYED = defined @interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua:8351
flashAnimation = {
}
Animation_FadeOut = defined @interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua:8060
WidgetType = "castBar"
Icon = {
}
SetDefaultColor = defined @interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua:7682
IsValid = defined @interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua:7716
lazyUpdateCooldown = 0.100000
RunHooksForWidget = defined @interface\AddOns\Details\Libs\DF\Details-Framework-Classic\fw.lua:2184
DoScheduledHide = defined @interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua:7845
ScriptRunNoAttach = defined @interface\AddOns\Plater\Plater.lua:9749
Animation_FadeInFinished = defined @interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua:8053
percentText = {
}
PlateFrame = NamePlate11 {
}
PLAYER_ENTERING_WORLD = defined @interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua:8104
GetTexture = defined @interface\AddOns\Details\Libs\DF\Details-Framework-Classic\panel.lua:6883

Screenshots
image

Other Information
If necessary, add more info here.

SL Beta [ADDON_ACTION_BLOCKED] AddOn 'Plater' tried to call the protected function 'SetTargetClampingInsets()'.

Game and Plater version
beta 90001
Plater-v9.0.1.11-Beta

Describe the bug
just questing, lua error

Lua Error
1x [ADDON_ACTION_BLOCKED] AddOn 'Plater' tried to call the protected function 'SetTargetClampingInsets()'.
[string "@!BugGrabber\BugGrabber.lua"]:519: in function <!BugGrabber\BugGrabber.lua:519>
[string "=[C]"]: in function SetTargetClampingInsets' [string "@Blizzard_NamePlates\Blizzard_NamePlates.lua"]:305: in function <...eBlizzard_NamePlates\Blizzard_NamePlates.lua:244> [string "=[C]"]: in function SetupClassNameplateBars'
[string "@Blizzard_NamePlates\Blizzard_NamePlates.lua"]:119: in function `OnNamePlateAdded'
[string "@Blizzard_NamePlates\Blizzard_NamePlates.lua"]:56: in function <...eBlizzard_NamePlates\Blizzard_NamePlates.lua:47>

Improvement: TullaCC Support

Plater already has an option to disable cooldown count on auras from OmniCC, there's a cpu lightweight version of OmniCC, made by the same author, where the option however doesn't work, named TullaCC.
tullamods/tullaCC#19
By changing the way the OmniCC disable works to just set that value, it should work for both addons, instead of the more complicated way it does it now, with adding themes and stuff to OmniCC?

Extra Button

Latest from Wowup

Anytime there is Extra Button appears from ANYTHING, it would be pushed DOWN and overlap the actionbar. I did fstack and it keep showing "NamePlatexxPlaterUnitFrame" in background. I need to check and see if that's the cause?

image

Plater error on clicking dialogue option NPC

Game and Plater version
Plater version: v9.0.1.309-retail
Plater version: Plater-v9.0.1.310-Retail-5-g1c12fed-alpha
Game version v9.0.1.36272

Describe the bug

  • Was cleaning up a quest in Stormwind City. I still had the quest "To be Prepared" open in the Stormwind Docks. This quest starts the BFA intro which you can skip if you did it on a another character. The quest remains then.

step 1: Talk to recruiter Lee to accept the quest (quest requires 4 steps)
step 2: click 3 items (a,b,c):

a) Armor polished
b) Weapon empowered
c) Last meal eaten
d) Warmed up with a duel is

Step 3: step d) Warmed up with a duel requires You to talk to one of the NPC's to duel them. The moment You click the dialogue option "Let's duel" the error triggers.

ps. Don't kill the npc otherwise you cant reproduce it anymore

  • Additional information:

Just in case: OmniCC/TullaCC removed due to earlier bug findings

Tested with latest release version and latest alpha version of plater

Lua Error

2x Plater\Plater-Plater-v9.0.1.310-Retail.lua:5726: bad argument #1 to 'unpack' (table expected, got nil)
[string "=[C]"]: ?
[string "@plater\Plater-Plater-v9.0.1.310-Retail.lua"]:5726: in function SetQuestColorByReaction' [string "@Plater\Plater-Plater-v9.0.1.310-Retail.lua"]:5753: in function ColorOverrider'
[string "@plater\Plater-Plater-v9.0.1.310-Retail.lua"]:5820: in function FindAndSetNameplateColor' [string "@Plater\Plater-Plater-v9.0.1.310-Retail.lua"]:3203: in function func'
[string "@plater\Plater-Plater-v9.0.1.310-Retail.lua"]:3450: in function EventHandler' [string "@Plater\Plater-Plater-v9.0.1.310-Retail.lua"]:3460: in function RunFunctionForEvent'
[string "@plater\Plater-Plater-v9.0.1.310-Retail.lua"]:1376: in function <Plater\Plater.lua:1356>
[string "@SharedXML\C_TimerAugment.lua"]:16: in function <SharedXML\C_TimerAugment.lua:14>

Locals:
(*temporary) = nil
(*temporary) = "table expected, got nil"

Screenshots
Screenshot with different steps
https://postimg.cc/mPBYqBkj

[Feature] Enemy Player has no "No Health Bar Shown" options

On PvE realms, and presumibly in sancuary zones, enemy players are not always pvp flagged and thus not always hostile. In this case, the enemy player's name shows up without a health bar but there are no options to adjust font, size, etc.

Classic Version

In case you want to start developing a Classic version already, when I run the current version in the current Classic client, these erros show up with Plater:

1x Plater\Plater-1.nil.lua:1851: attempt to call global 'GetNumFriends' (a nil value)
Plater\Plater-1.nil.lua:1851: in function `func'
Plater\Plater-1.nil.lua:2873: in function `EventHandler'
Plater\Plater-1.nil.lua:2883: in function `RunFunctionForEvent'
Plater\Plater-1.nil.lua:2889: in function <Plater\Plater.lua:2886>
SharedXML\C_TimerAugment.lua:16: in function <SharedXML\C_TimerAugment.lua:14>

Locals:
(*temporary) = 1
(*temporary) = nil
(*temporary) = "attempt to call global 'GetNumFriends' (a nil value)"
Plater = <table> {
 IncreaseRefreshID = <function> defined @Plater\Plater.lua:89
 ActorTypeSettingsCache = <table> {
 }
 IsUnitTapDenied = <function> defined @Plater\Plater.lua:1091
 CancelTimer = <function> defined @Details\Libs\AceTimer-3.0\AceTimer-3.0.lua:147
 GetAuraIcon = <function> defined @Plater\Plater.lua:4210
 SetCastBarBorderColor = <function> defined @Plater\Plater.lua:8990
 IconPick = <function> defined @Details\Libs\DF\panel.lua:1403
 GetTemplate = <function> defined @Details\Libs\DF\fw.lua:1566
 SaveConsoleVariables = <function> defined @Plater\Plater.lua:1218
 PostponeCVarRestauration = <function> defined @Plater\Plater.lua:8456
 DecodeImportedString = <function> defined @Plater\Plater.lua:10296
 WipeHookContainers = <function> defined @Plater\Plater.lua:9586
 ScheduleTimer = <function> defined @Details\Libs\AceTimer-3.0\AceTimer-3.0.lua:94
 CreateGlowOverlay = <function> defined @Details\Libs\DF\fw.lua:2130
 UpdateUIParentTargetLevels = <function> defined @Plater\Plater.lua:1646
 db = <table> {
 }
 UnregisterAllComm = <function> defined @BugSack\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
 SetEnabledState = <function> defined @Details\Libs\AceAddon-3.0\AceAddon-3.0.lua:424
 GetHealthCutoffValue = <function> defined @Plater\Plater.lua:808
 ShowTutorialAlertFrame = <function> defined @Details\Libs\DF\fw.lua:1243
 CheckScriptTriggerOverlap = <function> defined @Plater\Plater.lua:9903
 FindAndSetNameplateColor = <function> defined @Plater\Plater.lua:4995
 StopButtonGlow = <function> defined @Plater\Plater.lua:8749
 TargetHighlights = <table> {
 }
 RefreshAutoToggle = <function> defined @Plater\Plater.lua:7157
 TrackSpecificAuras = <function> defined @Plater\Plater.lua:4662
 UpdateSelfPlate = <function> defined @Plater\Plater.lua:5089
 OnPlayerTargetChanged = <function> defined @Plater\Plater.lua:5877
 ApplyPatches = <function> defined @Plater\Plater.lua:1578
 UnregisterAllEvents = <function> defined @BugSack\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
 RefreshConfigProfileChanged = <function> defined @Plater\Plater.lua:1209
 GetSpellForRangeCheck = <function> defined @Plater\Plater.lua:976
 ColorPick = <function> defined @Details\Libs\DF\panel.lua:1379
 CreateSwitch = <function> defined @Details\Libs\DF\slider.lua:922
 IsNpcInIgnoreList = <function> defined @Plater\Plater.lua:7651
 ResetAuraContainer = <function> defined @Plater\Plater.lua:4635
 SetAnchor = <function> defined @Plater\Plater.lua:7267
 UpdateLifePercentVisibility = <function> defined @Plater\Plater.lua:6359
 GetName = <function> defined @Details\Libs\AceAddon-3.0\AceAddon-3.0.lua:279
 CompileHook = <function> defined @Plater\Plater.lua:9682
 UpdateRaidMarkersOnAllNameplates = <function> defined @Plater\Plater.lua:6971
 AddAura = <function> defined @Plater\Plater.lua:4314
 UpdateTarget = <function> defined @Plater\Plater.lua:5794
 UpdateAuras_Manual = <function> defined @Plater\Plater.lua:4733
 FindHighestParent = <function> defined @Details\Libs\DF\panel.lua:3686
 Disable = <function> defined @Details\Libs\AceAddon-3.0\AceAddon-3.0.lua:314
 SetCVarsOnFirstRun = <function> defined @Plater\Plater.lua:7981
 OnEnterAura = <function> defined @Plater\Plater.lua:3923
 IsQuestO

Bug

Game and Plater version
Game:8.2.5.32750
Plater: 8.2.5.281

Describe the bug

  • when i switch to druid feral, the skill range monitoring will be permanently effective, no matter whether the monster is in the skill range or not, the transparency will be reduced.

  • Non-configuration reasons, it happend as well as the default configuration,

  • This is not a problem with switching spec, or with leopard morphologies that are not specialized in the feral

Screenshots
Snipaste_2019-12-16_12-30-31
Snipaste_2019-12-16_12-31-09
Snipaste_2019-12-16_12-33-45

Feature Request - Nameplate scaling and alpha based on enemy (Neutral, Hostile etc.)

Hello!

I've been using Tidy plates and then Threat plates for years now. Few days ago I saw Plater and tried it and I was immensively impressed right at the beginning. I imported the most starred profile from Wago and it had everything what was lacking for me from Threat plates. BUT.

I've been trying to change the sizes of nameplates based on enemies: neutral, normal hostiles, rares and elites and the transparency on based on the same reason. Am I able to do it at the moment and I'm just too unskilled or is it something I cannot even do at the moment?

My ideal situation would be that I would be able to resize nameplates when based on enemy units (neutral etc) when I'm in combat and not in combat. Also to change the transparency of the nameplates of those different units when I'm in combat and not. I'm not sure if I'm able to clarify this better but I'm looking for the same kind of ability to change these like the Threat plates have. I'll provide screenshots if you need and would want them.

Best regards,
Vakke

Anti-contribution?

Hey I wanted to bring this to light @Tercioo. I recently opened up an issue regarding the new combat logic that was added to Plater in the new shadowlands update (issue for reference #66). That issue was closed rather rapidly before the issue was actually resolved (now I already had a fork where I did the research to see where the issue occurred and a quick patch), With it being closed with and not being solved I decided to open a PR with my work (PR for reference #67). That work was rough and I had a couple questions on getting it to load correctly in WoW so it needed a bit of polish, but the PR was closed right away because it wasn't in the right place in the menu, and there were a few code styling changes needed I guess. The problem comes with this commit c1281e1, the implementation is the exact same implementation I did with a few code changes. So rather than making the changes to my PR and merging with actual credit to my work, it was just copied and cleaned up. I noticed the details repo is actually managed like a proper open source project cuz its more widely used, but the gatekeeping happening by the maintainer of this project is kinda sickening, because it seems to have happened before by another person who wanted to contribute (#57).

I just really enjoy using Plater and wanted to make a contribution because its open source but it seems like the maintainer of this just wants all the credit for anything done. It's very anti open-source and kind of sad to see.

Target Bracket Indicator 'Pins' is scaled too high

Game and Plater version
WoW: 9.0.5
Plater: v9.0.2.327-Retail

Describe the bug
The Target Bracket Indicator 'Pins' is scaled way too high. The Pins look very strange to me and since you can't scale the indicator it's annoying, so that I rerolled to the previous version.
The other indicators look like fine to me.

Lua Error
no LUA errors

Screenshots
How it looks like since newest update:
https://imgur.com/a/j4oCByc

How it should look like IMHO:
https://imgur.com/a/XHYRcrm

Other Information

Error during "Tea Tales" quest and world quests

Game and Plater version
Which is the game version and Plater version you're using.

Plater: Plater-v9.0.1.321-Retail
WoW: 9.0.2

Describe the bug

The following error message is spammed when controlling a unit in the "Tea Tales" world quest in Revendreth. This error also occurs during a similar quest in the main campaign.

As far as I can tell this occurs when in combat and once upon exiting combat, but I've seen it occur while moving around before without being in combat at all. Functionally speaking this doesn't appear to affect gameplay at all.

Lua Error

https://pastebin.com/vLhUaG5p

Error after login displayed

For quite some time now I got this error when logging in with any char and having Plater (latest version) installed and acitve:

Message: Interface\AddOns\Plater\Plater-Plater-1.13.5.91-Classic.lua:8031: attempt to call method 'RemoveRule' (a nil value)
Time: Mon Oct 12 08:23:13 2020
Count: 1
Stack: Interface\AddOns\Plater\Plater-Plater-1.13.5.91-Classic.lua:8031: attempt to call method 'RemoveRule' (a nil value)

Locals:

I though maybe this gonna be resolved some time, but maybe noone being aware about this?

ConsolePort's raid cursor compatibility (taint issue)

Game and Plater version
Wow 9.0.2
Plater-v9.0.2.326b-Retail

Describe the bug

  • Steps to Reproduce (what did you do to make the bug happen)
  1. Install and enable ConsolePort wow addon.
  2. Bind raid cursor ('Target unit frames (hold)' or 'Toggle Raid Cursor')
  3. Use button with the bind
  4. Look at error window
  • Result (what happens when you follow the steps above):
    Error window and raid cursor is not enabled
  • Expected (what you think the expected behavior would be when following the steps):
    ConsolePort's Raid cursor is enabled without lua errors
  • When the bug started (a date, wow path release, details update, etc)?
    Dont know. First try raid cursor right now
  • Additional information:
    Error still happen with all disabled Plater's mods and scripts.
    Error still happen with all disabled wow modification except ConsolePort and Plater.
    Error is gone when i dont have any nameplates(include friendly) at screen after reload.
    But Error happen after first Plater's nameplate is created at screen.

Lua Error

Message: Interface\FrameXML\RestrictedExecution.lua:431: Call failed: Interface\FrameXML\RestrictedExecution.lua:431: Call failed: Interface\FrameXML\RestrictedExecution.lua:431: Call failed: Interface\FrameXML\RestrictedExecution.lua:431: Call failed: Interface\FrameXML\RestrictedInfrastructure.lua:259: Cannot insecurely modify restricted table
Time: Sat Feb 27 20:06:05 2021
Count: 1
Stack: Interface\FrameXML\RestrictedExecution.lua:431: Call failed: Interface\FrameXML\RestrictedExecution.lua:431: Call failed: Interface\FrameXML\RestrictedExecution.lua:431: Call failed: Interface\FrameXML\RestrictedExecution.lua:431: Call failed: Interface\FrameXML\RestrictedInfrastructure.lua:259: Cannot insecurely modify restricted table
[string "=[C]"]: ?
[string "@Interface\FrameXML\RestrictedExecution.lua"]:431: in function <Interface\FrameXML\RestrictedExecution.lua:420>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "@Interface\FrameXML\SecureHandlers.lua"]:285: in function <Interface\FrameXML\SecureHandlers.lua:279>
[string "=(tail call)"]: ?

Locals: (*temporary) = "Call failed: Interface\FrameXML\RestrictedExecution.lua:431: Call failed: Interface\FrameXML\RestrictedExecution.lua:431: Call failed: Interface\FrameXML\RestrictedExecution.lua:431: Call failed: Interface\FrameXML\RestrictedInfrastructure.lua:259: Cannot insecurely modify restricted table"

Screenshots
image

Other Information

In combat doesnt work against training dummies

Game and Plater version
Plater: 9.0.1.309-retail
WoW: 9.0.1

Describe the bug

  • Steps to Reproduce (what did you do to make the bug happen):
    Set in combat healthbar size different from out of combat.

  • Result (what happens when you follow the steps above):
    When entering combat with a training dummy, the nameplate state does not change.

  • Expected (what you think the expected behavior would be when following the steps:
    Healthbar should be using in combat sizing/profile settings.

  • When the bug started (a date, wow path release, details update, etc)?
    After 9.0.1.307-retail update (happened with this 67d3a27#diff-1db561366533fc606b39c5b02911293cbfd0ef25cb949792a0ff1f2ea1df9887R11).

  • Additional information:
    This works for units who can change their state to in combat but since training dummies are never in combat this doesn't work. I primarily use training dummies to test my profile settings. I have a fork (https://github.com/Jaden-Giordano/Plater-Nameplates/tree/jg/global-combat-toggle) currently that adds a checkbox to the general settings to toggle this new logic, but I see there y'all have been changes to try to fix (4951f09). If you want to take a look at my work and let me know if its something I should make a PR with.

Screenshots
Settings:
image

Out of combat:
image

In combat:
image

Feature Request - Better Quest Support

I know you've got a basic mod over at wago, which in a recent update seems to of stopped working.

Was hoping for something more detailed (and pretty!) such as the one developed for ElvUI's nameplates here:
https://git.tukui.org/elvui/elvui/blob/development/ElvUI/Modules/Nameplates/Plugins/QuestIcons.lua

Another example, but less detailed is QuestPlates:
https://www.curseforge.com/wow/addons/questplates

Both these plugins/addons use tooltip scanning and iterate through the quest log.

I did attempt to write a plugin/mod for Plater, but tooltip scanning is not something I have worked with before.

[Feature Request] Option to save fine tune scale value to profile

Hey, so I've been using the fine tune scale option in the level & strata tab but when trying to export the profile using this for a friend to import this setting isn't saved to to profile and is instead reset to default of "1.41".
The main reason this is an issue is when trying to use a fine tune scale of 1.0 and having someone import it the nameplates that look fine for me are obviously massive.
Ideally this would just auto save to profile but am assuming there's a reason behind it not doing so. Instead would it be possible to add something like a checkbox that you could enable to make it save this data to profiles. Therefor it would not be something forced on everyone using it but just be a nice small quality of life addition if you need it.

Screenshots for reference
What it looks like normally
normalPlater
After reimporting the same profile
scuffedImportPlater

Enhancement Request - Allow for Cast Bar Y Offset on Friendly NPC/Player

Game and Plater version
Plater 8.3.0.286, WOW 8.3.0 (33115)

Description
I want move the cast bars down, but I see the Y Offset is only available for Enemy plates. The result is I've offset enemy cast bars, but friendly bars are in the wrong spot and display on top of the nameplate.

My suggestion is either include the Cast Bar Y Offset on Friendly Npc / Player configuration sections or add Cast Bar Y Offset as a global setting in Advanced tab.

Screenshots
This is how my frames look for Enemy cast bars:
offset

In contrast all friendly players and NPCs don't have the offset, which results in the nameplate text being covered:
default

Other Information
I'm assuming the castbars can be moved via Modding, but I don't have knowledge of LUA and thought this enhancement would be helpful for any users with friendly cast bars enabled.

Thank you

Level & Strata issue

Hey, I have an issue when trying to use level and strata setting. Without using it the nameplates will overlap as you would expect with the entire nameplate either going behind or in front of the other.
However with custom level and strata enabled it kind of does a mix and some parts are behind some in front. For example in the first screenshot below you can see the nameplates sort of mesh together instead of one behind another.

If there is any way to fix this that would be great or alternatively make it possible to use the fine tune scale setting without enabling all of the others that mess with the strata.

This is with custom level and strata enabled
Wow_gcscv0MaBE
This is with it disabled and how i would expect it should function
Wow_CGxbozuf6B

[Feature Request] Allow the combination of Monochrome + Outline on text

I'd like to be able to use Monochrome + Outline together. This option is standard in WeakAuras as well.

The addition is fairly simple:

Plater_OptionsPanel.lua:872-873:

-	local outline_modes = {"NONE", "MONOCHROME", "OUTLINE", "THICKOUTLINE"}
+	local outline_modes = {"NONE", "MONOCHROME", "OUTLINE", "THICKOUTLINE", "MONOCHROME, OUTLINE"}
-	local outline_modes_names = {"None", "Monochrome", "Outline", "Thick Outline"}
+	local outline_modes_names = {"None", "Monochrome", "Outline", "Thick Outline", "Monochrome Outline"}

From what I can tell in a day of testing, this addition doesn't seem to have any side effects or throw any errors.

Feature Request: Allow API to set color alphas

I've hacked together a solution that seems to work for me, but I'm sure I've missed some intricacies and so don't want to PR yet. I'd like to request changing Plater.SetNameplateColor (unitFrame, r, g, b) to Plater.SetNameplateColor (unitFrame, r, g, b, a), and similarly for any other API functions that allow for setting colors. This would involve updating Plater.ChangeHealthBarColor_Internal and probably a number of other functions in a small way. I don't think it would break the API for any existing mods, but I think it's a valuable feature to have.

Plater modding update enhancment

Would it be possiable when user updates plater modding from wago.io that it leaves things size ,position,color ,.. unchanged similar to weakaura addon?

SLBeta 271x SharedXML\FrameUtil.lua:57: Action[FrameMeasurement] failed because[Can't measure restricted regions]: attempted from: <unnamed>:GetScaledRect().

beta 90001

Plater-v9.0.1.11-Beta

Describe the bug
just questing

Lua Error
271x SharedXML\FrameUtil.lua:57: Action[FrameMeasurement] failed because[Can't measure restricted regions]: attempted from: :GetScaledRect().
[string "=[C]"]: in function GetScaledRect' [string "@SharedXML\FrameUtil.lua"]:57: in function GetUnscaledFrameRect'
[string "@SharedXML\LayoutFrame.lua"]:288: in function <SharedXML\LayoutFrame.lua:287>
[string "@SharedXML\LayoutFrame.lua"]:325: in function Layout' [string "@SharedXML\LayoutFrame.lua"]:33: in function <SharedXML\LayoutFrame.lua:32> [string "=[C]"]: in function Show'
[string "@plater\Plater-Plater-v9.0.1.11-Beta.lua"]:3025: in function `func'
[string "@plater\Plater-Plater-v9.0.1.11-Beta.lua"]:3407: in function <Plater\Plater.lua:3404>

Locals:
(*temporary) = {
0 =
OnLeave = defined @Blizzard_UIWidgets\Blizzard_UIWidgetTemplateBase.lua:72
OutAnimFinished = defined @Blizzard_UIWidgets\Blizzard_UIWidgetTemplateBase.lua:124
widgetTag = ""
GetWidgetWidth = defined @Blizzard_UIWidgets\Blizzard_UIWidgetTemplateBase.lua:113
widgetType = 13
Spell = {
}
GetWidgetHeight = defined @Blizzard_UIWidgets\Blizzard_UIWidgetTemplateBase.lua:117
SetTooltipOwner = defined @Blizzard_UIWidgets\Blizzard_UIWidgetTemplateBase.lua:31
Setup = defined @Blizzard_UIWidgets\Blizzard_UIWidgetTemplateSpellDisplay.lua:12
SetFontStringColor = defined @Blizzard_UIWidgets\Blizzard_UIWidgetTemplateSpellDisplay.lua:30
hasTimer = false
widgetID = 2864
InAnimFinished = defined @Blizzard_UIWidgets\Blizzard_UIWidgetTemplateBase.lua:121
widgetContainer = {
}
FadeInAnim = {
}
SetFontColor = defined @Blizzard_UIWidgets\Blizzard_UIWidgetTemplateBase.lua:94
AnimIn = defined @Blizzard_UIWidgets\Blizzard_UIWidgetTemplateBase.lua:146
widgetSetID = 444
layoutDirection = 0
tooltipAnchor = "ANCHOR_BOTTOMLEFT"
ResetAnimState = defined @Blizzard_UIWidgets\Blizzard_UIWidgetTemplateBase.lua:140
outAnimType = 0
OnLoad = defined @Blizzard_UIWidgets\Blizzard_UIWidgetTemplateBase.lua:109
OnReset = defined @Blizzard_UIWidgets\Blizzard_UIWidgetTemplateSpellDisplay.lua:25
GetOutAnim = defined @Blizzard_UIWidgets\Blizzard_UIWidgetTemplateBase.lua:134
GetInAnim = defined @Blizzard_UIWidgets\Blizzard_UIWidgetTemplateBase.lua:128
FadeOutAnim = {
}
OnEnter = defined @Blizzard_UIWidgets\Blizzard_UIWidgetTemplateBase.lua:35
SetTooltip = defined @Blizzard_UIWidgets\Blizzard_UIWidgetTemplateBase.lua:17
inAnimType = 0
SetEnabledState = defined @Blizzard_UIWidgets\Blizzard_UIWidgetTemplateBase.lua:102
orderIndex = 1
AnimOut = defined @Blizzard_UIWidgets\Blizzard_UIWidgetTemplateBase.lua:162
SetMouse = defined @Blizzard_UIWidgets\Blizzard_UIWidgetTemplateBase.lua:3
}

Profiling lua error

Game and Plater version
Retail 9.0.5
Plater-Plater-v9.0.2.327a-Retail

Describe the bug

  • Steps to Reproduce (what did you do to make the bug happen):
  1. type "/plater profstart"
  2. type "/plater profstop" or "/plater profprint"
  • Result (what happens when you follow the steps above):

Lua error as below and no profiling results reported

  • Expected (what you think the expected behavior would be when following the steps):

profiling results reported

  • When the bug started (a date, wow path release, details update, etc)?

25-3-2021 - First time I've tried using plater profiling so not sure if it occurred in earlier releases. Plater version at the top.

  • Additional information:

N/A

Lua Error
Post here lua errors, if you aren't getting any, use /console scriptErrors 1

1x Plater\Plater_Profiling.lua:161: attempt to perform arithmetic on field 'totalTime' (a nil value)
[string "@Plater\Plater_Profiling.lua"]:161: in function <Plater\Plater_Profiling.lua:131>
[string "@Plater\Plater_Profiling.lua"]:203: in function `DumpPerformance'
[string "@Plater\Plater_Profiling.lua"]:56: in function `DisableProfiling'
[string "@Plater\Plater-Plater-v9.0.2.327a-Retail.lua"]:11190: in function `?'
[string "@FrameXML\ChatFrame.lua"]:5094: in function `ChatEdit_ParseText'
[string "@FrameXML\ChatFrame.lua"]:4758: in function `ChatEdit_SendText'
[string "@FrameXML\ChatFrame.lua"]:4794: in function <FrameXML\ChatFrame.lua:4790>
[string "=[C]"]: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals:
perfTable = <table> {
 Plater-Core = <table> {
 }
 totalGlobalTime = 61887.226200
}
indent = "    "
printStr = ""
sumTimePTypes = 0
sumExecPTypes = 0
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
 Plater-Core = <table> {
 }
 Mod-RunHooks = <table> {
 }
}
(for control) = "Plater-Core"
pType = "Plater-Core"
data = <table> {
 Update = <table> {
 }
 Health = <table> {
 }
 Events = <table> {
 }
}
pTypeTime = 324.336101
pTypeExec = 46232
pTypeSubLog = 62.625600
printStrPType = "    Update - avg: 0.00837ms - count: 46232 - total: 324.3361ms - (as sub-log: 62.6256ms)
"
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
 Update = <table> {
 }
 Health = <table> {
 }
 Events = <table> {
 }
}
(for control) = "Update"
event = "Update"
pData = <table> {
 subTypeData = <table> {
 }
 count = 46232
 totalTime = 386.961701
 subLogTime = 62.625600
}
pTypeSufTime = 0
pTypeSufExec = 0
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
 CheckRange = <table> {
 }
 NameplateTick = <table> {
 }
 UpdatePlateFrame = <table> {
 }
}
(for control) = "CheckRange"
subType = "CheckRange"
sufData = <table> {
 curStartTime = 183913051.044100
}
(*temporary) = <table> {
}
(*temporary) = "avg: "
(*temporary) = <function> defined @Plater\Plater_Profiling.lua:15
(*temporary) = nil
(*temporary) = nil
(*temporary) = 6262560
(*temporary) = 0.536778
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on field 'totalTime' (a nil value)"
profData = <table> {
 endTime = 183913059.986900
 totalTimeInPlater = 435.305801
 startTime = 183851172.760700
 data = <table> {
 }
}
roundTime = <function> defined @Plater\Plater_Profiling.lua:15
roundPercent = <function> defined @Plater\Plater_Profiling.lua:20

Screenshots
Post images of the bug if necessary.

N/A

Other Information
If necessary, add more info here.

N/A

Nazjatar Guard Rank

So i noticed that while using plater i cant see the rank of the guard under his health like with default nameplates, is this something youre gonna add as an option maybe?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.