X-Perl UnitFrames
Patch 6.0.3 compatibility and future of X-Perl
Use latest alpha from WoWAce for using in Patch 6.0.3
http://www.wowace.com/addons/xperl/files/
May still has problems but for most cases it should be working(at least was tested on beta), if not, clearing old setting by killing(and backup) XPerlxxxxxxx.lua in the WTF directory of your WoW installlation and try again with fresh new default setting, thanks your patience.
If still someone want to help Zeksie for he earns his donates from X-Perl then that's fine for Zek and X-Perl, but seems like it's time to cut him out as no one want to help X-Perl anymore (as many of users already heard about the mess of this poor addon), I guess.
I don't know X-Perl will still be continue or not(it's highly possible it won't be, as the new maintainer Resike continued the developing and forked to Z-Perl, and he said he won't abandon his addons), I won't force everyone should must to use Resike's one at this point, as his Z-Perl isn't stable yet, and for some reasons, I don't think he want to port his fixes back to X-Perl as he knows about how Zek did about his addons and everyone who helped Zek to maintaining this poor addon...and, of course...X-Perl may broken again when next time Blizzard's patches released..... /sigh
(At this point, I won't force everyone who used X-Perl to go Z-Perl until it's more stable than now, feel free to use Z-Perl or other Unitframe addons if you want, and do NOT hold your breathe about X-Perl too much, too. I already lost my hope on X-Perl, at least I can trust Resike and Z-Perl now...)
Sincerely,
PlayerLin - Maintainer of X-Perl but not a proper skilled coder, just a locale translator and do some shitty PRs. :(
Bug Reporting
Please use the Ticketing System on WoWAce Here and avoid posting bugs using comments on Curse because they're difficult to track and they will probably get lost.
Use a good error catcher (like BugSack from files.wowace.com) and provide the full error text, and give as much information as possible to recreate the problem. Don't assume We know what you're talking about with some three word report.
Introduction
Perl, with Extra stuff. Much enchanced from Nymbia's Perl UnitFrames, and a complete replacement for Blizzard's default unit frames, including raid frames and raid tools, with little remaining of the original Nymbia code.
- Range Finder (combined with optional health check and/or debuff check) for all frames based on spell or item range test.
- HoT Monitor will highlight units clearly that have ''your own'' active Heal over Time spells. Regardless of how many other heal over time buffs are on the raid members, you can keep track of your own ones and when they expire.
- Debuff Highlighting in standard debuff colours on all friendly frames. Priority given to show debuffs that ''you'' can cure first.
- Raid Frames, buff icons, MT list units and some other portions or X-Perl are Created on demand. Saving a lot of time and memory at system startup. Defering the creation of many parts of X-Perl to when they are actually required. And of course, most often outside of raids they are never required and are never created.
- Raid Target icon support for Target, Target's Target, MT Targets.
- Raid Tooltip will show combat rezzers available (druids with Rebirth ready (or very soon available) and any normal rezzers out of combat) if you bring up tooltip of a dead person.
- In-combat indicators for all units.
- 3D Portraits for player, pet, target, focus, party. Optional. Of course this may degrade your framerate somewhat because you are displaying more 3D character models that without this option. But some like it pretty, and it does look cool.
- Red and Green combat flashes for frames when player, pet, target, party, partypets, raid take damage/heals. Useful indication of things happening.
- Added '''time left''' on party member/target buffs/debuffs when in a raid, these depend somewhat on CTRA sending appropriate information over the addon channel, although some of it can be determined at run time by X-Perl, when a player gets a buff for example, we know how long it should last, and therefor when it should expire.
- Totally new options window including all X-Perl options and access via minimap icon and the /xperl splash command.
- Configurable colours for borders and backgrounds. Including class coloured names, and configurable reaction colours.
Much care has been taken with code size, memory load, memory usage per cycle and so on. LuaProfiler/OnEvent mods used extensively and regularly to ensure that X-Perl does not do more work than is absolutely necessary.
Assists View
Will show anyone from raid assising you with your target, and can also show healers or all plus known enemies targetting you.
Tooltips for the same also available (on player and target frames) if you prefer to not use the main window.
MT Targets
Replaces CTRA MT Targets window, and doubles as a replacement for the Perl RaidFrames warrior targets.
Indicator shows which target you are on.
Frames will be coloured to show if tanks have duplicate targets.
Casting Monitor
(WORK IN PROGRESS)
Shows selected classes (defaults to healer classes) in a list (much like the MT List), but with some differences.
Shows mana bars and cast bars on left. Their targets on right. Health bar as normal, but a secondary small red bar on targets which shows the maximum single hit this unit has received since entering combat. The secondary bar will extend downwards from their current HP level down to as far as zero.
A green name on the targets indicates this is the same target that you have. You can click on casters or their targets as expected.
For druids, right clicking on a caster will cast Innervate on them.
For shamans, right clicking on a caster will cast Mana Tide Totem. Check the * indicator to see if they're in your group.
All bars can be re-sized in X-Perl main options (Monitor section).
Totals can be toggled (from the 'T' minibutton at top of frame) which gives overview of raid mana status.
Raid Admin
(WORK IN PROGRESS)
Save/Load raid roster setups Only does direct save and load for the moment, but more to come (templates and such).
Item Check
Replacement for /raitem /radur /raresist /rareg. Use the old commands before, or drop items in the left item list.
Query button will perform /raitem on all ticked items (query always includes dur and resists) and you can then view and review all the results whenever, without having to re-query each item.
Includes everyone in raid, so you don't have to work out who doesn't have items, it'll list them with 0 instead of no entry.
Active Scanner to check raid member's equipment for the item selected. So you can be sure that people actually have the item worn (Onyxia Cloak for example), without having to go round single target inspecting everyone who 'forgot' to install CTRA for the 50th raid in a row.
Grim Reaper
Removed from X-Perl, but continues as it's own standalone Ace mod.
[http://www.wowace.com/projects/grim-reaper/]
More Buffing Features
Can be found in my new universal buffing mod, ZOMGBuffs
if you do find a way don't forget to make it so that blizz default buffs show.
i think i'm gonna find a way to code it so player buffs are auto disabled in 4.0, it's better that way anyways.
yea i tried to code in a thing to use GetShapeshiftFormID() in the buff portion but when ever i tried to put it in it stopped showing buffs under the player frame.
can anyone tell me why the inside of my player frame is smaller then my targets when both are at 100%?
the position of buffs should also dynamicly update though, the talent check thing tells it to rerun the player buff rules. so that means your elseif rule for when you ARE in boomkin spec is wrong :P
yes eclipse hides when you spec out and reappears when you spec back to moonkin.
so eclipse is hiding if you spec out of moonkin?
it works except the fact that if your in your boomkin spec the buffs still appear in an ugly position if your not in unshapeshifted or moonkin form but thats minor. If you are in your offspec and it is not moonkin the buffs appear correctly.
damnit. grr..fixed that too in 412. hopefully NOW it'll work
still getting errors only 14 now tho this is 1/14
Message: Interface\AddOns\XPerl_Player\XPerl_Player.lua:1295 ')' expected near 'then'
Time: 10/10/10 13:49:19
Count: 1
Stack:
Locals:
edit: added the ) needed and no errors
try 411
a () error, i'm working on it and another improvement
i'll vert it then, like i said i'm not smart enough to actually do it right. :\ i know where the fix is supposed to be. but no idea how to do it
this is error 14/25 and it seems to be the major one since when ever you close the error frame it pops back up to this one and the count keeps going up.
Message: Interface\AddOns\XPerl_Player\XPerl_Player.lua:433 attempt to call upvalue 'XPerl_Player_InitMoonkin' (a nil value)
Time: 10/10/10 13:33:31
Count: 9939
Stack: Interface\AddOns\XPerl_Player\XPerl_Player.lua:433 in function <Interface\AddOns\XPerl_Player\XPerl_Player.lua:396
Interface\AddOns\XPerl_Player\XPerl_Player.lua:467 in function <Interface\AddOns\XPerl_Player\XPerl_Player.lua:441
Interface\AddOns\XPerl_Player\XPerl_Player.lua:572 in function <Interface\AddOns\XPerl_Player\XPerl_Player.lua:566
Locals: self = XPerl_Player {
classFrame = XPerl_PlayerclassFrame {
}
perlBuffs = 1
portraitFrame = XPerl_PlayerportraitFrame {
}
nameFrame = XPerl_PlayernameFrame {
}
eclipse = XPerl_Runes {
}
dropdownMenu = PlayerFrameDropDown {
}
partyid = "player"
hitIndicator = XPerl_PlayerhitIndicator {
}
tutorialPage = 2
BOTTOMLEFT = "BOTTOMLEFT"
EnergyLast = 0
buffSpacing = <table> {
}
buffFrame = XPerl_PlayerbuffFrame {
}
FlashFrames = <table> {
}
buffOptMix = "1000210"
prevBuff = XPerlBuff4 {
}
tempEnchantFrame = XPerl_PlayertempEnchantFrame {
}
highlight = XPerl_Playerhighlight {
}
updateAFK = true
TOPRIGHT = "TOPRIGHT"
time = 0
feedbackText = XPerl_PlayerhitIndicatortext {
}
SPACING = 1
statsFrame = XPerl_PlayerstatsFrame {
}
GetBuffSpacing = <function> defined @Interface\AddOns\XPerl_PlayerBuffs\XPerl_PlayerBuffs.lua:489
conf = <table> {
}
TOPLEFT = "TOPLEFT"
perlDebuffs = 0
BOTTOMRIGHT = "BOTTOMRIGHT"
0 = <userdata>
debuffFrame = XPerl_PlayerdebuffFrame {
}
VSPACING = -1
buffSetup = <table> {
}
feedbackFontHeight = 30
groupFrame = XPerl_PlayergroupFrame {
}
levelFrame = XPerl_PlayerlevelFrame {
}
}
manaPct = nil
druidBar = XPerl_PlayerstatsFramedruidBar {
0 = <userdata>
percent = XPerl_PlayerstatsFramedruidBarpercent {
}
tex = XPerl_PlayerstatsFramedruidBartex {
}
text = XPerl_PlayerstatsFramedruidBartext {
}
bg = XPerl_PlayerstatsFramedruidBarbg {
}
SetValue = <function> defined @Interface\AddOns\XPerl\XPerl.lua:2274
}
maxMana = 72565
currMana = 72565
druidBarExtra = 0
h = 40
(*temporary) = nil
(*temporary) = XPerl_Player {
classFrame = XPerl_PlayerclassFrame {
}
perlBuffs = 1
portraitFrame = XPerl_PlayerportraitFrame {
}
nameFrame = XPerl_PlayernameFrame {
}
eclipse = XPerl_Runes {
}
dropdownMenu = PlayerFrameDropDown {
}
partyid = "player"
hitIndicator = XPerl_PlayerhitIndicator {
}
tutorialPage = 2
BOTTOMLEFT = "BOTTOMLEFT"
EnergyLast = 0
buffSpacing = <table> {
}
buffFrame = XPerl_PlayerbuffFrame {
}
FlashFrames = <table> {
}
buffOptMix = "1000210"
prevBuff = XPerlBuff4 {
}
tempEnchantFrame = XPerl_PlayertempEnchantFrame {
}
highlight = XPerl_Playerhighlight {
}
updateAFK = true
TOPRIGHT = "TOPRIGHT"
time = 0
feedbackText = XPerl_PlayerhitIndicatortext {
}
SPACING = 1
statsFrame = XPerl_PlayerstatsFrame {
}
GetBuffSpacing = <function> defined @Interface\AddOns\XPerl_PlayerBuffs\XPerl_PlayerBuffs.lua:489
conf = <table> {
}
TOPLEFT = "TOPLEFT"
perlDebuffs = 0
BOTTOMRIGHT = "BOTTOMRIGHT"
0 = <userdata>
debuffFrame = XPerl_PlayerdebuffFrame {
}
VSPACING = -1
buffSetup = <table> {
}
feedbackFontHeight = 30
groupFrame = XPerl_PlayergroupFrame {
}
levelFrame = XPerl_PlayerlevelFrame {
}
}
(*temporary) = "attempt to call upvalue 'XPerl_Player_InitMoonkin' (a nil value)"
UnitPower = <function> defined =[C]:-1
percD = "%d%%"
UnitPowerType = <function> defined =[C]:-1
pconf = <table> {
partyNumber = 1
debuffs = <table> {
}
portrait = 1
scale = 0.9
castBar = <table> {
}
fullScreen = <table> {
}
hitIndicator = 1
dockRunes = 1
level = 1
size = <table> {
}
threat = 1
portrait3D = 1
pvpIcon = 1
classIcon = 1
showRunes = 1
extendPortrait = 1
threatMode = "portraitFrame"
totems = <table> {
}
healerMode = <table> {
}
values = 1
buffs = <table> {
}
percent = 1
energyTicker = 1
}
XPerl_Player_InitMoonkin = nil
getting tons of errors with 410 this is error 1/25
Message: Interface\AddOns\XPerl_Player\XPerl_Player.lua:433 attempt to call upvalue 'XPerl_Player_InitMoonkin' (a nil value)
Time: 10/10/10 13:27:34
Count: 1
Stack: Interface\AddOns\XPerl\XPerl_Init.lua:748 in function <Interface\AddOns\XPerl\XPerl_Init.lua:723
[C]: in function `pcall'
Interface\AddOns\XPerl\XPerl_Init.lua:148 in function `XPerl_pcall'
Interface\AddOns\XPerl\XPerl_Init.lua:473 in function `XPerl_Init'
Interface\AddOns\XPerl\XPerl_Globals.lua:366 in function <Interface\AddOns\XPerl\XPerl_Globals.lua:334
Interface\AddOns\XPerl\XPerl_Globals.lua:401 in function <Interface\AddOns\XPerl\XPerl_Globals.lua:375
Locals: <none>
try 410 see how it works. i still don't know how to actually hide it going from moonkin to non moonkin yet
ah yes that sounds about right
ah nice xperl already uses a similar function i can just add to it. XPerl_Player_DruidBarUpdate
in the blizzard EclipseBarFrame.lua file there is a self:RegisterEvent("PLAYER_TALENT_UPDATE"); line maybe that will help you?
i added your code so far. but like i said there are 2 problems. respec to moonkin after login you won't get an eclypse bar. and going from moonkin to non moonkin after login and you will have an eclypse bar still...i need to find blizzard api event for player changed specs so i can fire a show or hide event there. maybe zek can help with this?
if blizz never fixes canceling buffs in 4.0, we might end up having to remove them too anyways. i already disabled the cancel buff code in 4.0 (right clicking buffs should just do nothing now if client is 4.0 instead of tainting).
it's recommend in 4.0 though to disable player buffs anyways if you want to maintain functinality over them.