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 707] Lua errors #729

Closed tmw-issue-import closed 11 years ago

tmw-issue-import commented 11 years ago

3x LibDogTag-3.0-90203.90203: Error with code "[(if Duration ~= 0 then\
    Unit:Name ":"\
end) Duration:Floor:Hide(0)]" (Base;TMW;Unit). TellMeWhen\Lib\LibDogTag-3.0\Compiler.lua:1636: Unknown astType: "boolean"
<in C code>
TellMeWhen-r672\Lib\21LibDogTag-3.0-90203\Compiler.lua:1999: in function "CreateFunctionFromCode"
Components\IconModules\IconModule_Texts\Config.lua:271: in function <Components\IconModules\IconModule_Texts\Config.lua:222>
(tail call): ?
<in C code>
<string>:"safecall Dispatcher[3]":9: in function <string>:"safecall Dispatcher[3]":5
(tail call): ?
TellMeWhen\TellMeWhen-r672.lua:792: in function "Fire"
TellMeWhen-r672\Options\TellMeWhen_Options-r672.lua:2210: in function "Load"
IconModules\IconModule_IconEditorLoader\module.lua:69: in function <IconModules\IconModule_IconEditorLoader\module.lua:60>
TellMeWhen\TellMeWhen-r672.lua:4861: in function <TellMeWhen\TellMeWhen.lua:4858>
<in C code>
<in C code>

Locals:
nil

version:r672

String 1
^1^T^SUnit^Sraid~`1-40 ^SSort^N-1 ^SType^Sunitcooldown ^SName^S108280:180 ^SCooldownCheck^B ^SEvents^T ^N1^T ^SType^SSound ^SEvent^SOnShow ^t^N2^T ^SType^SAnnouncements ^SEvent^SOnShow ^t^N3^T ^SType^SAnimations ^SEvent^SOnShow ^t^Sn^N3 ^t^SSettingsPerView^T ^Sicon^T ^STexts^T ^N1^S[Unit:Name] ^N2^S[Duration:TMWFormatDuration] ^t^t^t^SShowWhen^N3 ^SCustomTex^S108280 ^SRangeCheck^B ^SUnitConditions^T ^N1^T ^SType^SCLASS ^SLevel^N8 ^t^Sn^N1 ^t^SEnabled^B ^SUseActvtnOverlay^B ^t^N61017^S~`~| ^Sicon^^

String 2
^1^T^SUnit^Sparty~`1-4;~`player;~`raid~`1-40 ^SSort^N-1 ^SType^Sbuff ^SName^S回生迷霧 ^SSettingsPerView^T ^Sicon^T ^STextLayout^S,O9EZx'8xTB2 ^STexts^T ^N1^S[(if~`RaidStacks('\229\155\158\231\148\159\232\191\183\233\156\167')~`~|=~`0~`then~J~`~`~`~`'\229\133\177\230\156\137'~Jelse~J~`~`~`~`'\230\151\160'~Jend)~`RaidStacks('\229\155\158\231\148\159\232\191\183\233\156\167'):Hide(0)~`(if~`RaidStacks('\229\155\158\231\148\159\232\191\183\233\156\167')~`~|=~`0~`then~J~`~`~`~`'\228\184\170'~Jend)] ^N2^S[(if~`Duration~`~|=~`0~`then~J~`~`~`~`Unit:Name~`':'~Jend)~`Duration:Floor:Hide(0)] ^t^t^t^SShowWhen^N3 ^SOnlyMine^B ^SEnabled^B ^t^N61017^S~`~| ^Sicon^^


Posted by CurseForge user lsjyzjl | Imported from CurseForge issue #707 | Raw

tmw-issue-import commented 11 years ago

Attachment Added: TWW-err-1.jpg

TWW-err-1.jpg


Posted by CurseForge user lsjyzjl

tmw-issue-import commented 11 years ago

Attachment Added: TMW-err-2.jpg

TMW-err-2.jpg


Posted by CurseForge user lsjyzjl

tmw-issue-import commented 11 years ago

Attachment Added: TMW-err-3.jpg

TMW-err-3.jpg


Posted by CurseForge user lsjyzjl

tmw-issue-import commented 11 years ago

Attachment Added: 200_50c1a253202f2.png

200_50c1a253202f2.png


Posted by CurseForge user lsjyzjl

tmw-issue-import commented 11 years ago

Grrr. I thought I had finally figured out a way around this stupid error, but I guess not.


> Posted by CurseForge user Cybeloras
tmw-issue-import commented 11 years ago

And the bar mode is broke, It's show nothing now.


> Posted by CurseForge user lsjyzjl
tmw-issue-import commented 11 years ago

Should be fixed in r673


> Posted by CurseForge user Cybeloras
tmw-issue-import commented 11 years ago

You might need a complete restart of WoW for bars to start working again after r672. I added a new file, and so their might be issues with that file not being found.

That is weird, though, because this file is just a config file, and only needs to load in config mode. So I'm not really sure. Try a restart and let me know if that fixes the issue.


> Posted by CurseForge user Cybeloras
tmw-issue-import commented 11 years ago

@Cybeloras: Go

Dogtags errors fixed in r673.

Bar mode still not work.


Edited Nov 24, 2012

> Posted by CurseForge user lsjyzjl
tmw-issue-import commented 11 years ago

http://www.curseforge.com/media/attachments/33/371/TMW-err-2.jpg
http://www.curseforge.com/media/attachments/33/372/TMW-err-3.jpg


> Posted by CurseForge user lsjyzjl
tmw-issue-import commented 11 years ago

I reset my profiles, bar mode is work so well, it is so magic.

String:
^1^T^STextLayouts^T ^Sicon1^T ^N1^T ^t^N2^T ^t^t^S,O9EZx'8xTB2^T ^N1^T ^SDefaultText^SH:[PercentHP:Percent] ^SName^S預設 ^SStringName^STop ^SAnchors^T ^N1^T ^Sy^N20 ^SrelativeTo^SIconModule_CooldownSweepCooldown ^t^t^SConstrainWidth^b ^SSize^N9 ^t^N2^T ^SDefaultText^SM:[PercentMP:Percent] ^SName^S預設 ^SStringName^SDown ^SAnchors^T ^N1^T ^Sy^N-3 ^Sx^N-2 ^SrelativePoint^SBOTTOM ^t^t^SConstrainWidth^b ^SSize^N9 ^t^SGUID^S,O9EZx'8xTB2 ^Sn^N2 ^SName^SRaidStacks ^t^S,N2d>bl,"OI&^T ^N1^T ^SDefaultText^SH:[PercentHP:Percent] ^SName^S預設 ^SStringName^SHP ^SAnchors^T ^N1^T ^Sy^N5 ^Sx^N-2 ^t^t^SConstrainWidth^b ^SSize^N9 ^t^N2^T ^SDefaultText^SM:[PercentMP:Percent] ^SName^S預設 ^SStringName^SMP ^SAnchors^T ^N1^T ^Sy^N9 ^Sx^N-2 ^SrelativePoint^SBOTTOM ^t^t^SConstrainWidth^b ^SSize^N9 ^t^SGUID^S,N2d>bl,"OI& ^Sn^N2 ^SName^SHP&MP ^t^t^SNumGroups^N7 ^SGroups^T ^N1^T ^SPoint^T ^Sy^F-4830411410998232 ^f-46^Sx ^F6390938267832164^f-48 ^Spoint^SLEFT ^SrelativePoint^SLEFT ^t^SScale^F5232150666365821 ^f-51^SIcons ^T^N1^T ^SType^Sconditionicon ^SSettingsPerView^T ^Sicon^T ^STextLayout^S,N2d>bl,"OI& ^t^t^SCustomTex^SInterface\Addons\SharedMedia\statusbar\Empty.tga ^SEnabled^B ^t^N2^T ^SEnabled^B ^t^N3^T ^SShowTimer^B ^SType^Sunitcooldown ^SManaCheck^B ^SClockGCD^B ^SShowTimerText^B ^SEvents^T ^N1^T ^SType^SSound ^SEvent^SOnCondition ^SOnConditionConditions^T ^N1^T ^SType^SHEALTH ^t^Sn^N1 ^t^t^N2^T ^SType^SAnnouncements ^SChannel^SFRAME ^SLocation^S綜合 ^SOnlyShown^B ^SText^S123 ^SEvent^SOnEventsRestored ^t^N3^T ^SType^SSound ^SEvent^SOnShow ^t^Sn^N3 ^t^SShowWhen^N3 ^SEnabled^B ^t^N4^T ^SUnit^Sraid~`1-40 ^SSort^N-1 ^SType^Sunitcooldown ^SName^S108280:180 ^SCooldownCheck^B ^SEvents^T ^N1^T ^SType^SSound ^SEvent^SOnShow ^t^N2^T ^SType^SAnnouncements ^SEvent^SOnShow ^t^N3^T ^SType^SAnimations ^SEvent^SOnShow ^t^Sn^N3 ^t^SSettingsPerView^T ^Sicon^T ^STexts^T ^N1^S[Unit:Name] ^N2^S[Duration:TMWFormatDuration] ^t^t^t^SShowWhen^N3 ^SCustomTex^S108280 ^SRangeCheck^B ^SEnabled^B ^SUnitConditions^T ^N1^T ^SType^SCLASS ^SLevel^N8 ^t^Sn^N1 ^t^SUseActvtnOverlay^B ^t^t^t^N2^T ^SPoint^T ^Sy^F-7253430435922973 ^f-46^Sx ^F8494265900314363^f-51 ^Spoint^SRIGHT ^SrelativePoint^SRIGHT ^t^SScale^F6320185224370356 ^f-52^SRows ^N2^SOnlyInCombat ^B^SEnabled ^B^SColumns ^N6^SIcons ^T^N1^T ^SShowTimer^B ^SConditionAlpha^N0.28 ^SType^Scooldown ^SName^S炼狱冲击 ^SEvents^T ^N1^T ^SType^SAnimations ^SDuration^N2.2 ^SOnlyShown^B ^SAnimation^SACTVTNGLOW ^SEvent^SOnAlphaInc ^t^N2^T ^SType^SAnimations ^SAnimation^SICONCLEAR ^SEvent^SOnHide ^t^Sn^N2 ^t^SShowWhen^N3 ^SUnAlpha^N0 ^SConditions^T ^N1^T ^SType^SBUFFDUR ^SOperator^S> ^SName^S热力迸发 ^t^Sn^N1 ^t^SEnabled^B ^t^N2^T ^SType^Smultistate ^SName^S11366 ^SEvents^T ^N1^T ^SType^SAnimations ^SAnimation^SACTVTNGLOW ^SEvent^SOnShow ^SInfinite^B ^t^N2^T ^SType^SAnimations ^SAnimation^SICONCLEAR ^SEvent^SOnHide ^t^Sn^N2 ^t^SConditions^T ^N1^T ^SType^SBUFFDUR ^SChecked^B ^SOperator^S> ^SName^S炎爆术! ^t^Sn^N1 ^t^SEnabled^B ^t^N3^T ^SShowTimer^B ^SBuffOrDebuff^SHARMFUL ^SConditionAlpha^N1 ^SUnit^Starget ^SOnlyMine^B ^SType^Sbuff ^SAlpha^N0.5 ^SShowTimerText^B ^SName^S活體爆彈 ^SEvents^T ^N1^T ^SType^SAnimations ^SAnimation^SACTVTNGLOW ^SEvent^SOnAlphaInc ^SInfinite^B ^t^N2^T ^SType^SAnimations ^SAnimation^SICONCLEAR ^SEvent^SOnAlphaDec ^t^Sn^N2 ^t^SShowWhen^N3 ^SEnabled^B ^SConditions^T ^N1^T ^SType^SDEBUFFDUR ^SChecked^B ^SUnit^Starget ^SOperator^S>= ^SName^S活體爆彈 ^SLevel^N3.1 ^t^Sn^N1 ^t^t^N4^T ^SBuffOrDebuff^SHARMFUL ^SUnit^Starget ^SType^Sbuff ^SShowTimerText^B ^SName^S12654 ^SShowTTText^B ^SEnabled^B ^SOnlyMine^B ^t^N5^T ^SConditionAlpha^N0.5 ^SType^Scooldown ^SName^S燃烧;~`11129 ^SEvents^T ^N1^T ^SType^SAnimations ^SAnimation^SACTVTNGLOW ^SEvent^SOnAlphaInc ^SInfinite^B ^t^N2^T ^SType^SAnimations ^SAnimation^SICONCLEAR ^SEvent^SOnAlphaDec ^t^Sn^N2 ^t^SConditions^T ^N1^T ^SType^SDEBUFFTOOLTIP ^SChecked^B ^SUnit^Starget ^SOperator^S>= ^SName^S点燃 ^SLevel^N9998 ^t^Sn^N1 ^t^SEnabled^B ^t^N6^T ^SShowTimer^B ^SOnlyMine^B ^SType^Sbuff ^SAlpha^N0.8 ^SName^S祈愿者之能 ^SEvents^T ^N1^T ^SPassingCndt^B ^SType^SAnimations ^SCndtJustPassed^B ^SValue^N3 ^SAnimation^SACTVTNGLOW ^SEvent^SOnDuration ^SOperator^S<= ^SInfinite^B ^t^N2^T ^SPassingCndt^B ^SType^SAnimations ^SCndtJustPassed^B ^SDuration^N4 ^SValue^N35 ^SAnimation^SICONCLEAR ^SEvent^SOnDuration ^SOperator^S>= ^t^Sn^N2 ^t^SShowWhen^N3 ^SCustomTex^S116257 ^SShowTimerText^B ^SEnabled^B ^t^t^SSettingsPerView^T ^Sicon^T ^SSpacingY^N7 ^STextLayout^S,MLe(Os*CP.U ^SSpacingX^N6 ^t^t^t^N3^T ^SPoint^T ^Sy^F8993678629845299 ^f-49^Sx ^F4527577997539841^f-46 ^Spoint^SLEFT ^SrelativePoint^SLEFT ^t^SScale^F4821817634722039 ^f-51^SEnabled ^B^SColumns ^N1^SIcons ^T^N1^T ^SUnit^Sparty~`1-4;~`player;~`raid~`1-40 ^SSort^N-1 ^SType^Sbuff ^SName^S回生迷霧 ^SSettingsPerView^T ^Sicon^T ^STextLayout^S,O9EZx'8xTB2 ^STexts^T ^N1^S[(if~`RaidStacks('\229\155\158\231\148\159\232\191\183\233\156\167')~`~|=~`0~`then~J~`~`~`~`'\229\133\177\230\156\137'~Jelse~J~`~`~`~`'\230\151\160'~Jend)~`RaidStacks('\229\155\158\231\148\159\232\191\183\233\156\167'):Hide(0)~`(if~`RaidStacks('\229\155\158\231\148\159\232\191\183\233\156\167')~`~|=~`0~`then~J~`~`~`~`'\228\184\170'~Jend)] ^N2^S[(if~`Duration~`~|=~`0~`then~J~`~`~`~`Unit:Name~`':'~Jend)~`Duration:Floor:Hide(0)] ^t^t^t^SShowWhen^N3 ^SOnlyMine^B ^SEnabled^B ^t^t^SSettingsPerView^T ^Sicon^T ^SSpacingY^N7 ^STextLayout^S,O9EZx'8xTB2 ^SSpacingX^N6 ^t^t^t^N4^T ^SPoint^T ^Sy^F-6501315155782864 ^f-48^Sx ^F-5127779389053753^f-46 ^t^SScale^F4821817634722039 ^f-51^SEnabled ^B^SColumns ^N1^SIcons ^T^N1^T ^SUnit^Sparty~`1-4;~`player;~`raid~`1-40 ^SSort^N-1 ^SType^Sbuff ^SName^S774 ^SSettingsPerView^T ^Sicon^T ^STextLayout^S,O9EZx'8xTB2 ^STexts^T ^N1^S[(if~`RaidStacks('774')~`~|=~`0~`then~J~`~`~`~`'\229\133\177\230\156\137'~Jelse~J~`~`~`~`'\230\151\160'~Jend)~`RaidStacks(774):Hide(0)~`(if~`RaidStacks(774)~`~|=~`0~`then~J~`~`~`~`'\228\184\170'~Jend)] ^N2^S[(if~`Duration~`~|=~`0~`then~J~`~`~`~`Unit:Name~`':'~Jend)~`Duration:Floor:Hide(0)] ^t^t^t^SShowWhen^N3 ^SOnlyMine^B ^SEnabled^B ^t^t^SSettingsPerView^T ^Sicon^T ^SSpacingY^N7 ^STextLayout^S,O9EZx'8xTB2 ^SSpacingX^N6 ^t^t^t^N5^T ^SPoint^T ^Sy^F6226492671264241 ^f-50^Sx ^F-8833756079828436^f-46 ^Spoint^SRIGHT ^SrelativePoint^SRIGHT ^t^SScale^F4821817634722039 ^f-51^SEnabled ^B^SColumns ^N1^SIcons ^T^N1^T ^SType^Sbuff ^SShowTTText^B ^SName^S774 ^SStackMax^N154 ^SEvents^T ^N1^T ^SType^SAnimations ^SOnlyShown^B ^SEvent^SOnStack ^SOperator^S> ^t^Sn^N1 ^t^SSettingsPerView^T ^Sicon^T ^STextLayout^S,O9EZx'8xTB2 ^STexts^T ^N1^S[Stacks:Hide(0)] ^N2^S[Percent(Format("%.1f",~`((Stacks~`/~`(MaxHP(unit="player")~`*~`0.6))~`*~`100))):Hide("0%")] ^t^t^t^SShowWhen^N3 ^SStackMaxEnabled^B ^SEnabled^B ^t^t^SSettingsPerView^T ^Sicon^T ^SSpacingY^N7 ^STextLayout^S,O9EZx'8xTB2 ^SSpacingX^N6 ^t^t^t^N6^T ^SPoint^T ^Sy^F7826507103513479 ^f-46^Sx ^F-8790461760439060^f-48 ^Spoint^SBOTTOM ^SrelativePoint^SBOTTOM ^t^SScale^F4821817634722039 ^f-51^SEnabled ^B^SColumns ^N1^SIcons ^T^N1^T ^SType^Scast ^SSettingsPerView^T ^Sicon^T ^STextLayout^S,MLe(Os*CP.U ^t^t^SShowWhen^N3 ^SICDType^Sspellcast ^SBarDisplay_FakeMax^N5 ^SEnabled^B ^t^t^SSettingsPerView^T ^Sicon^T ^SSpacingY^N7 ^STextLayout^S,O9EZx'8xTB2 ^SSpacingX^N6 ^t^t^t^N7^T ^SPoint^T ^Sy^F-4874826770597799 ^f-46^Sx ^F7610842087225653^f-47 ^t^SScale^F6834866932624182 ^f-51^SRows ^N2^SOnlyInCombat ^B^SEnabled ^B^SColumns ^N1^SIcons ^T^N1^T ^SUnit^Starget ^SOnlyMine^B ^SType^Sbuff ^SName^S774 ^SShowWhen^N3 ^SEnabled^B ^t^N2^T ^SType^Scast ^SSettingsPerView^T ^Sicon^T ^STextLayout^S,MLe(Os*CP.U ^t^t^SShowWhen^N3 ^SICDType^Sspellcast ^SEnabled^B ^t^t^SSettingsPerView^T ^Sicon^T ^SSpacingY^N7 ^STextLayout^S,MLe(Os*CP.U ^SSpacingX^N6 ^t^Sbar^T ^SSizeX^F6923817016431319 ^f-46^t ^t^SView^Sbar ^t^t^SClockGCD^b ^SBarGCD^b ^SVersion^N61018 ^SColors^T ^Sbuff^T ^SCTA^T ^Sa^N1 ^SGray^B ^t^SCTS^T ^SGray^B ^t^SNA^T ^SOverride^B ^SGray^B ^t^SCOA^T ^SGray^B ^t^SCOS^T ^SGray^B ^t^t^t^SInterval^N0.03 ^SWarnInvalids^B ^t^N61018^S~`~| ^Sprofile^S嘿寶貝~`-~`地獄吼 ^^


> Posted by CurseForge user lsjyzjl
tmw-issue-import commented 11 years ago

That bar group is set to only show while in combat. It is working fine for me (testing with hearthstone) after I disabled the Only Show In Combat option for it.


> Posted by CurseForge user Cybeloras
tmw-issue-import commented 11 years ago

<<reply 1085026>>

Ya, All fixed.


> Posted by CurseForge user lsjyzjl