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
i tried to read his code but it comes up one big wall of text for me -_- i am assuming this is because i don't have notepad++
EDIT: downloaded notepad++ and took a look at his code and i have no idea how it works but also didn't he remove perl buffs? so that there is no need for him to try and adjust the buff position because of the frames.
one thing you might want to look at too is how perl classic is doing it, they aren't doing a class check at all. they are simply checking if frame exists in default interface. which is smarter for all of them anyways
http://www.wowinterface.com/downloads/info18093-PerlClassicUnitFramesCataclysm.html
In XPerl_Player.lua add this on like line 29 or around the others.
then on line 78 or so add this
then i added this under the paladin holy bar stuff on line 1284
Then in XPerl_PlayerBuffs.lua i added this to line 150-151
hello, is there anyway to edit the border to a custom one?
maybe. i don't have a druid to really test with on beta though so i guess i'll copy a pre made over.
i tried to code that in but my coding skills are kinda limited. so if i post the code that i have done think you could try and get it to work?
as solo, you lost "send whisper" menu in the right click menu from friends list or who list or guild roster list
in raid you lost set raid icon, set raid difficulty wasn't lost but it was bugged and greyed out. probably some others. guess it's probably why zek never enabled that work around. just left it unfinished.
as for getting buffs to only change position if balance druid.
if (select(2, UnitClass("player")) == "DRUID" and select(5, GetTalentTabInfo(1)) >= 31) then
this will check your class AND your spec at login. if moonkin, enable the elycpse stuff, if not, don't.
note that on 4.0 GetTalentTabInfo changed, on live talent points spent is select 3, not 5. although that shoudln't really matter since we don't care since above function won't run unless it's 4.0 :).
the only problem this would create is respec/duelspec, if you weren't moonkin at login, if you respec, we'd have to add something into xperl to monitor this to enable eclypse bar if you respec moonkin.
alternatively you can not do it on respec but on shift? balance druids are still owls in 4.0 right?
I didn't do any value checks(like nil/0/something possible cause out of range problem) when committed the code because I failed to code them and they're pain my ass...then I just forgot them... :(
Time: 10/10/10 16:00:46
Count: 13
Stack: [C]: in function `SetTexCoord'
Interface\AddOns\XPerl\XPerl.lua:708: in function `XPerl_SetHealthBar'
Interface\AddOns\XPerl_Party\XPerl_Party.lua:237: in function `XPerl_Party_UpdateHealth'
Interface\AddOns\XPerl_Party\XPerl_Party.lua:934: in function `func'
Interface\AddOns\XPerl_Party\XPerl_Party.lua:869: in function <Interface\AddOns\XPerl_Party\XPerl_Party.lua:863>
Locals: (*temporary) = XPerl_party4statsFramehealthBartex {
0 = <userdata>
}
(*temporary) = 0
(*temporary) = 24113
(*temporary) = 0
(*temporary) = 1
getting it randomly in bg's
@mysticalos : Did my hide/remove setfocus code broken something else in right click menu? They're working fine on my ends......it's weird... :X
Please let me find it out before you want push beta/release of 3.1.0... sorry.
EDIT : I test with 3.3.5 live, all right menu items are working fine with myself alone... PTR 4.0.1 not tested, I'll test on it... I don't know why it doesn't work.
EDIT 2 : Ok, I see the complaints on Curse... hmm, looks like I needed more tests before commit... *sigh*
EDIT 3 : Hmm... it's too complicated than I was thought... now I know why no one want give a shit on it... :3
Ok, looks like it's not that easy fix for just hiding/removing one line, it affects all rightclick menus...needed some conditions check... :(
one problem i am having with the buffs for eclipse bar is that if your eclipse bar doesn't show such as your in any form other than unshapshifted form or moonkin form or in a feral/resto spec the buffs still appear where they would if you had an eclipse bar which is a lot lower than the mana/rage/energy bars.
EDIT: I can't get the buffs to only change position when eclipse bar is shown so it looks really dumb when your in a different spec or form besides moonkin and unshapeshifted. If you think you might be able to figure it out i can post what i have which makes it work except for the buff part which makes the buffs appear in the proper place for eclipse bar but wrong place for everything else.
one sec i will edit that post to use the code brackets
EDIT changed it to use the code brackets and as to your question about needing a closing bracket it is further down above the line self.holyp.unit = PaladinPowerBar:GetParent().unit it is end)
there is invalid code in your thing. such as self.holyp:SetScript("OnDragStart",function(self)
it should have another closing bracket? and what's with the \ ?
nevermind that's just how badly the spacing made reading the code
fyi under wikicreole you can use code lua brackts so spacing doesn't get messed up that badly.
reloadui causes problem for dbm too. we schedule a 3 second delay before firing player entering world/player changed zone functions
I am having issues with the eclipse bar. it seems if you reloadui it dissapears and it won't come back till you relog.