Thread Tools Display Modes
10-30-22, 08:09 AM   #1
Uitat
A Chromatic Dragonspawn
 
Uitat's Avatar
AddOn Author - Click to view addons
Join Date: May 2011
Posts: 162
Uiparent_managed_frame_positions

working on getting The "Castbars" addon working again.

i know there are multiple errors beyond this one but i am at a loss for this
i am unable to locate any info about UIPARENT_MANAGED_FRAME_POSITIONS

here is the error and the code block, any of you that are considered brilliant want to help guide me through this? i would be appreciative.

Code:
1x Interface/AddOns/Castbars/Castbars.lua:1344: attempt to index global 'UIPARENT_MANAGED_FRAME_POSITIONS' (a nil value)
[string "@Interface/AddOns/Castbars/Castbars.lua"]:1344: in function <Interface/AddOns/Castbars/Castbars.lua:1243>
[string "=[C]"]: ?
[string "@Interface/AddOns/Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@Interface/AddOns/Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:494: in function `InitializeAddon'
[string "@Interface/AddOns/Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:619: in function <Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua:611>
Lua Code:
  1. UIPARENT_MANAGED_FRAME_POSITIONS["PlayerCastingBarFrame"] = nil;
__________________
  Reply With Quote
10-30-22, 08:27 AM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
Not sure if it can be used in the same way as before but it looks like it has been removed and MIGHT have been replaced with a mixin with a similar name linked to particular frames.
An example of the Archaeology Progress Bar
https://www.townlong-yak.com/framexm...ressBar.lua#42

Hopefully someone with more knowledge in this area can confirm or give an example of how you can use it in your situation.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote
10-30-22, 08:45 AM   #3
Uitat
A Chromatic Dragonspawn
 
Uitat's Avatar
AddOn Author - Click to view addons
Join Date: May 2011
Posts: 162
Originally Posted by Xrystal View Post
Not sure if it can be used in the same way as before but it looks like it has been removed and MIGHT have been replaced with a mixin with a similar name linked to particular frames.
An example of the Archaeology Progress Bar
https://www.townlong-yak.com/framexm...ressBar.lua#42

Hopefully someone with more knowledge in this area can confirm or give an example of how you can use it in your situation.
if this is the case it may need a total rewrite.... i was afraid of that.
__________________
  Reply With Quote
10-30-22, 07:51 PM   #4
Spiderkeg
A Deviate Faerie Dragon
Join Date: Sep 2006
Posts: 18
Sadly, looks like the Castbars addon will need some serious lovin' to get working again.

The old OnLoad call:
CastingBarFrame_OnLoad (self, unit, showTradeSkills, showShield)

The new OnLoad call:
CastingBarMixin:OnLoad(unit, showTradeSkills, showShield)

Looks like every function has changed so the code will need to be painstakingly altered to reflect the new functions, just for starters.

So, the addon may be fixable, but I wouldn't expect a quick turnaround.
  Reply With Quote
11-01-22, 10:29 AM   #5
Uitat
A Chromatic Dragonspawn
 
Uitat's Avatar
AddOn Author - Click to view addons
Join Date: May 2011
Posts: 162
Originally Posted by Spiderkeg View Post
Sadly, looks like the Castbars addon will need some serious lovin' to get working again.

The old OnLoad call:
CastingBarFrame_OnLoad (self, unit, showTradeSkills, showShield)

The new OnLoad call:
CastingBarMixin:OnLoad(unit, showTradeSkills, showShield)

Looks like every function has changed so the code will need to be painstakingly altered to reflect the new functions, just for starters.

So, the addon may be fixable, but I wouldn't expect a quick turnaround.
yep i better get moving on it, many people seem to love it but the author hasn't been on it looks like in a year
__________________
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Uiparent_managed_frame_positions


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off