Download
(1MB)
Download
Updated: 06-11-24 08:18 PM
Compatibility:
The War Within Beta (11.0.0)
Updated:06-11-24 08:18 PM
Created:02-06-17 06:01 PM
Downloads:3,426
Favorites:1
MD5:

Discord Unit Frames Beta [TWW]  Updated less than 3 days ago!

Version: 11.0.0 Beta 2
by: Fizzlemizz [More]

Primary Discord Unit Frames Page

NOTE: For Beta only. Very early release with very limited testing!
NOTE: This Beta should also work on the Classic Era PTR (1.15.3)

Before starting the game, you should be able to copy your DiscordUnitFrames.lua from WTF Retail to WTF Beta and change your Beta character to use a profile you have saved there using /DUF and the Misc. Options button.

Updates.
11.0.0 Beta 2
  • Fix: For UnitPowerType returning nil when a unit doesn't exist (power type text colouring)

Dates are in DD/MM/YYYY notation.

11.0.0 Beta 2 - 12/6/2024
  • Fix: For UnitPowerType returning nil when a unit doesn't exist (power type text colouring)

11.0.0 Beta 1 - 9/6/2024
  • Update: Compatable (fingers crossed) with 11.0.0 Beta (The War Within)
Archived Files (1)
File Name
Version
Size
Author
Date
11.0.0 Beta 1
1MB
Fizzlemizz
06-08-24 02:48 PM


Post A Reply Comment Options
Unread 06-11-24, 10:45 AM  
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1909
File comments: 791
Uploads: 27
Re: Re: Re: Found one

Originally Posted by Prindarla
Originally Posted by Fizzlemizz
Did you add the $cz variable to a Beta textbox recently? Because apparently noone has ever used it .
Nope, used that for a long time. Think I reported the same error several expansions ago but I have no other addons in Beta throwing errors at the moment so noticed it again.
It would seem to be hitting some extra debug code that comes with Beta. I'll upload the fix later today or after the servers come up to test.

Thanks again for the report.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
Last edited by Fizzlemizz : 06-11-24 at 02:58 PM.
Report comment to moderator  
Reply With Quote
Unread 06-11-24, 01:11 AM  
Prindarla
A Kobold Labourer

Forum posts: 0
File comments: 48
Uploads: 0
Re: Re: Found one

Originally Posted by Fizzlemizz
Did you add the $cz variable to a Beta textbox recently? Because apparently noone has ever used it .
Nope, used that for a long time. Think I reported the same error several expansions ago but I have no other addons in Beta throwing errors at the moment so noticed it again.
Report comment to moderator  
Reply With Quote
Unread 06-10-24, 04:36 PM  
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1909
File comments: 791
Uploads: 27
Re: Found one

Originally Posted by Prindarla
NO errors on first login

Found this one entering appears to be portal related, happens every portal so far.
This is because units don't exist during portals (PLAYER_LEAVING/ENTERING_WORLD) so not new. I'll fix it for the next Beta.

Did you add the $cz variable to a Beta textbox recently? Because apparently noone has ever used it .

In the meantime if you don't use the player TextBox number 10 you can hide it or remove the $cz variable from the text string.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
Last edited by Fizzlemizz : 06-10-24 at 06:25 PM.
Report comment to moderator  
Reply With Quote
Unread 06-10-24, 03:10 PM  
Prindarla
A Kobold Labourer

Forum posts: 0
File comments: 48
Uploads: 0
Found one

NO errors on first login

Found this one entering appears to be portal related, happens every portal so far.

1x DiscordUnitFrames/DUF_Variables.lua:1332: attempt to index local 'color' (a nil value)
[string "@DiscordUnitFrames/DUF_Variables.lua"]:1332: in function `func'
[string "@DiscordUnitFrames/DUF_TextBox.lua"]:273: in function `DUF_TextBox_Update'
[string "@DiscordUnitFrames/DUF_TextBox.lua"]:248: in function `DUF_TextBox_OnUpdate'
[string "*DUF_Templates.xml:77_OnUpdate"]:2: in function <[string "*DUF_Templates.xml:77_OnUpdate"]:1>

Locals:
text = "$cqCurrent: |c0000FF000 |c0000FFFF0 $cz $mk $cw
$cqMax: |c0000FF000 |c0000FFFF0 $cz 0"
unit = "player"
self = DUF_PlayerFrame_TextBox_10 {
index = "TextBox"
shortHealth = true
timer = 0.033333
updatespeed = 0.033333
shortMana = true
TextString = DUF_PlayerFrame_TextBox_10_Text {
}
baseframelevel = 2
variables = <table> {
}
Background = DUF_PlayerFrame_TextBox_10_Background {
}
checkcolor = true
subindex = 10
}
debug = nil
color = nil
value = nil
unit = "player"
pt = nil
(*temporary) = <table> {
...
}
(*temporary) = "player"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'color' (a nil value)"
POWERTABLE = <table> {
0 = "manacolor"
13 = "insanitycolor"
1 = "ragecolor"
2 = "focuscolor"
8 = "holycolor"
9 = "lunarpowercolor"
3 = "energycolor"
6 = "runicpowercolor"
17 = "furycolor"
11 = "maelstrompower"
}
NS = <table> {
ALTPOWERTYPES = <table> {
}
DUF_NUM_STATUSBARS = 8
DUF_SUBVERSION = ".0"
DUF_NUM_PLAYER_TEXTBOXES = 11
DUF_NUM_OTHERS_TEXTBOXES = 10
UNIT_HEALTH_EVENT = "UNIT_HEALTH"
Bar = <table> {
}
DUF_DL_VERSION = 11
DUF_VARIABLE_FUNCTIONS = <table> {
}
DUF_ISSHAPESHIFTED = 1
DUF_ISDRUID = true
CLASS_BAR_DEFAULTS = <table> {
}
DUF_VERSION = "11.0"
}
Report comment to moderator  
Reply With Quote
Unread 10-11-22, 09:29 AM  
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1909
File comments: 791
Uploads: 27
Re: Cast bars

Originally Posted by Prindarla
Is it possible to have a text variable for the spell the target is casting?
I have no idea, but probably. I'll look into it.

Thank you for the report/request.

Edit: The UnitCastingInfo and UnitChannelInfo functions didn't come into existance until TBC and aren't part of the Classic (vanilla) API so this wouldn't work there if added.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
Last edited by Fizzlemizz : 10-11-22 at 01:41 PM.
Report comment to moderator  
Reply With Quote
Unread 10-11-22, 09:27 AM  
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1909
File comments: 791
Uploads: 27
Re: Library out of date

Originally Posted by Prindarla
In the Beta 5 update the addon cannot be loaded:
It means a mis-match in version numbering between
Discord Library:
Localization.lua DL_VERSION entry
and
DUF:
DUF_InitData.lua NS.DUF_DL_VERSION entry

They should both be the same 10.0

I'll double check and upload a new beta (although I'm surprised it's taken so long for anyone to say anything )
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
Report comment to moderator  
Reply With Quote
Unread 10-11-22, 06:57 AM  
Prindarla
A Kobold Labourer

Forum posts: 0
File comments: 48
Uploads: 0
Cast bars

Is it possible to have a text variable for the spell the target is casting?
Report comment to moderator  
Reply With Quote
Unread 10-11-22, 05:57 AM  
Prindarla
A Kobold Labourer

Forum posts: 0
File comments: 48
Uploads: 0
Library out of date

In the Beta 5 update the addon cannot be loaded:

You need to install the latest version of Discord Library
Report comment to moderator  
Reply With Quote
Unread 08-30-20, 09:57 AM  
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1909
File comments: 791
Uploads: 27
Re: UnitInPhase Error

Originally Posted by Prindarla
Using the Default UI set there was no error but as soon as I selected my saved UI set from retail I had this error.

Traced the problem to the $ph variable, once I removed that it worked.
Thank you for reporting this Prindarla, it is greatly appreciated.

Phasing is now more nuanced (UnitPhaseReason rather than just UnitInPhase).
It will also be changing from $ph to $pa as it clashes with the old Pet Happiness variable (you never know, they may bring it back for retail as well?!?!? and compitability with vanilla/classic configurations)

I've added a "Phased Reason $pr" variable (although they are rather long winded).

I'll get an update out a little later today.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
Last edited by Fizzlemizz : 09-17-20 at 01:48 AM.
Report comment to moderator  
Reply With Quote
Unread 08-30-20, 02:05 AM  
Prindarla
A Kobold Labourer

Forum posts: 0
File comments: 48
Uploads: 0
UnitInPhase Error

Using the Default UI set there was no error but as soon as I selected my saved UI set from retail I had this error.

Traced the problem to the $ph variable, once I removed that it worked.

1x DiscordUnitFrames\DUF_Variables.lua:1495: attempt to call global 'UnitInPhase' (a nil value)
[string "@DiscordUnitFrames\DUF_Variables.lua"]:1495: in function `func'
[string "@DiscordUnitFrames\DUF_TextBox.lua"]:266: in function `DUF_TextBox_Update'
[string "@DiscordUnitFrames\DUF_Initialization.lua"]:992: in function `DUF_Initialize_TextBox'
[string "@DiscordUnitFrames\DUF_Initialization.lua"]:280: in function `DUF_Initialize_AllFrames'
[string "@DiscordUnitFrames\DUF_Initialization.lua"]:245: in function `initFunction'
[string "@DiscordLibrary\DiscordLib_Main.lua"]:276: in function `DiscordLib_Initialize'
[string "@DiscordLibrary\DiscordLib_Main.lua"]:228: in function `DiscordLib_Main_OnUpdate'
[string "*:OnUpdate"]:1: in function <[string "*:OnUpdate"]:1>

Locals:
text = "|c00FF0000Dead $ph
|c00A4FFA6(N) 0|c0000FFFF
0"
unit = "party3"
self = DUF_PartyFrame3_TextBox_10 {
0 = <userdata>
baseframelevel = 2
index = "TextBox"
variables = <table> {
}
Background = DUF_PartyFrame3_TextBox_10_Background {
}
TextString = DUF_PartyFrame3_TextBox_10_Text {
}
subindex = 10
}
(*temporary) = nil
(*temporary) = "party3"
(*temporary) = "attempt to call global 'UnitInPhase' (a nil value)"
DUF_gsub = <function> defined @DiscordUnitFrames\DUF_Variables.lua:40
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: