ascott18 / TellMeWhen

TellMeWhen is a combat tracking AddOn for World of Warcraft Retail and Classic
https://wow.curseforge.com/projects/tellmewhen
GNU General Public License v3.0
86 stars 11 forks source link

[CF 1090] Badunit Errot when I ask [HP(unit="party 1")] #1111

Closed tmw-issue-import closed 9 years ago

tmw-issue-import commented 9 years ago

Task: I want to monitor party1 and party 2 health .

What steps will reproduce the problem?
1. Set up a condition to detect party member 1
2. Set up the [HP] tag and update it as [HP(unit='party 1')]

What do you expect to happen? What happens instead?
It does not show the health . However it show an error. "bad unit "
Also it the definition "unit" is a bit buggie. There is a confusion "unit" vs "Unit". It is seems that there are two units definitions.

What version of TellMeWhen are you using? ("The latest" is not a version)
Latest version upon today

Do you have an error log of what happened?
The error is that it saying "Badunit"

Please provide any additional information below (including any export strings if applicable; see above.)

^1^T^SShowTimer^B ^SType^Sconditionicon ^SConditions^T ^N1^T ^SType^SHEALTH ^SOperator^S<= ^SUnit^Sparty~`1 ^SLevel^N100 ^t^N2^T ^SType^SEXISTS ^SUnit^Sparty~`1 ^t^Sn^N2 ^t^SShowTimerText^B ^SName^SDark~`Intent ^SSettingsPerView^T ^Sicon^T ^STextLayout^Sbar1 ^STexts^T ^N1^S[HP(known=false,~`unit="Party 1")] ^N2^S ^t^t^t^SCustomTex^S128461 ^SEnabled^B ^t^N72332^S~`~| ^Sicon^^


Posted by CurseForge user stdjmax | Imported from CurseForge issue #1090 | Raw

tmw-issue-import commented 9 years ago

"party 1" is not a valid unit. "party1" is. UnitIDs don't have any spaces in them.


> Posted by CurseForge user Cybeloras