PerfectRaid Beta-r77 FAQ
Here's a FAQ I put together, shamelessly copying and pasting from lots of posts ;) Hopefully we can keep it up to date, correct, and helpful.
1/11/07 Edit: Attempting to update for r77. I'm doing this at work (shh don't tell) so let me know what doesn't work or works differently. Thanks. :) ** Please Note: This is a user FAQ of a mod that's still in beta. Some of the workarounds listed were not written by the author, so keep that in mind. ** *** -- How do I bring up the GUI? Type "/praid" or "/perfectraid". -- How do I move the frames? Left-click and drag the health bars. -- How do I lock the frames? You can't yet, but you will be able to in the release version. -- How do I localize? In the Localization.en.us.lua file. Check here for more info: http://www.wowinterface.com/forums/s...ead.php?t=7852. -- How do I show mana bars? Look for the following code in PerfectRaid.lua and comment out the "bar:Hide()" line to "-- bar:Hide()" (Thanks Qat) Code:
local bar = CreateFrame("StatusBar", nil, button.healthbar) Change: Code:
column:SetAttribute("maxColumns", 2) Code:
column:SetAttribute("maxColumns", 1) -- How do I reset Perfectraid to display default buffs/debuffs for my class? Type "/script PerfectRaidDB = {}". -- I’m getting a Dongle error, what do I do? Sounds like a personal problem. Update Clique. -- I can’t see the options on the GUI, what do I do? Update Clique, duh. -- Can I have icons instead of text for buffs and debuffs? No, newbie, lern2Bstreamlined. -- How do I change the scale? You can make changes in PerfectRaid_Hacks.lua: Code:
function Hacks:UpdateScale(val) Code:
local spells = { MAGE = "Remove Lesser Curse", Or an appropriate spell for your class. If you are a healing class, shame on you for not training your healing spells! -- How do I change the look of the health bars? In the file PerfectRaid.lua search for the code Code:
self.headerDefaults = { For bars colored by class change "ColorClass = false" to "ColorClass = true". For bars that don't change color with loss of HP change "ColorSeverity = true" to "ColorSeverity = false". (thanks Nahamnessa) -- How do I sort by class instead of group? 1. Find and unncomment this line in blue : Code:
-- TODO: Make this so we can actually instantiate frames as the users wants Code:
self:CreateRaidFrame("PRHeader1", "Warrior", "WARRIOR", nil, PRHeader1) -- Can I show party frames or focus frame in PerfectRaid? You will in the release. -- Where do I submit requests? http://code.google.com/p/wow-perfectraid/issues/list |
Stickied.. thanks for making this, and feel free to keep it up =)
|
Elli is the hotness. great faq!
|
Quote:
-Qat |
Yep, probably my fault.
|
To reverse/inverse the health bars you can edit the default options as per below.
You can also change this and toggle ColorClass and ColorSeverity if you wish to use class colours for health bars as opposed to the severity colours. In the file PerfectRaid.lua search for the code Code:
self.headerDefaults = { Code:
self.headerDefaults = { |
You can edit the options in PerfectRaid.lua, the self.defaults block.
|
Updated to here. Thanks for the info! :)
|
How to display by Class and not by Group :
1. Find and unncomment this line in blue : Quote:
2. Add this just below the section above: Quote:
|
updated to here.
|
Quote:
2. Add this just below the section above: Code:
self:CreateRaidFrame("PRHeader1", "Warrior", "WARRIOR", nil, PRHeader1) Code:
self:CreateRaidFrame("PRHeader3", "Shaman", "SHAMAN", nil, PRHeader1) |
Lol I didn't even notice about the Druids. Thanks for noticing that, I'll update ;)
|
Should probably just have all nine classes all the time, since all nine will exist in a week.
|
question:
since the "sort by class" function is to be changed in the main .lua file, how can i have "sort by class" on my warrior while keeping "sort by group" on my druid? same account. |
Its a workaround until I implement it. That's now how it will work when this mod is finished.
|
Quote:
I think you meant to say "comment the line in blue" .... since this line seems to be creating the headers with name "group 1" ,etc. It is also non-commented in the original version. Also, I haven't had a chance to get in a raid to test this, but won't we ultimately want "for i=1,9 do" since we now have 9 classes to choose from? -Qat |
Has anyone had much luck in using the one column hack with the r77 version?
I've cleared my variables/ uninstalled/ reinstalled but no joy. :f |
You should read the changelog. A double-column sorted by class is currently the default.
|
Quote:
Hack or no hack i cannot find a way to get one column to work. Now if the current hack has been disabled that's another point. |
Trying to update. I downloaded last night, which doesn't look like the latest now and wasn't able to raid with it so need some help here. Is one column by class the default now? Are people able to change to 2 columns in the same way?
|
in PerfectRaid.lua:
column:SetAttribute("maxColumns", 2) column:SetAttribute("unitsPerColumn", 20) column:SetAttribute("columnSpacing", 10) Change maxColumns to 1, and unitsPerColumn to 40 |
Try as I might, I can't find those lines in PerfectRaid.lua. In fact, there are no lines that begin with "column:"!
|
Quote:
|
Big thanks to Krinla for the FAQ and Huge thanks to Clad for coming up with and continuing work on PRaid!!
Ok, I'm a total noob on this coding thing. I saw how to change to Class view from Group view, but I would like to go back to Group view. When I downloaded yesterday it gave me sorting by class by default. I'm looking at this line: column:SetAttribute("groupBy", "CLASS") To view by group, is it as easy as changing "CLASS" to "GROUP"? Not sure what line I'm on so here's a little of before and after that line: self.db.profile.headers["PRHeaderColumn"] = setmetatable({}, {__index=self.headerDefaults}) local column = self:CreateRaidFrame("PRHeaderColumn", nil, "1,2,3,4,5,6,7,8", nil) column:Hide() column:SetAttribute("groupBy", "CLASS") <- this is the line I'm looking at column:SetAttribute("groupingOrder", "WARRIOR,PRIEST,DRUID,SHAMAN,PALADIN,MAGE,ROGUE,WARLOCK,HUNTER") column:SetAttribute("maxColumns", 1) column:SetAttribute("unitsPerColumn", 40) column:SetAttribute("columnSpacing", 10) column:SetAttribute("columnAnchorPoint", "LEFT") Thanks for the help. Keep up the awesome work guys! Lumi :) |
Quote:
I believe the solution to your question is posted earlier in this thread, but yes indeed change the word "CLASS" to "GROUP" and then comment out (put two hyphens infront of) the line: column:SetAttribute("groupingOrder", "WARRIOR,PRIEST,DRUID,SHAMAN,PALADIN,MAGE,ROGUE,WARLOCK,HUNTER") -Laine |
Quote:
And these 2 lines change the sorting from class to group: Code:
column:SetAttribute("groupBy", "GROUP") |
You have to change both of them, i.e. turn one on and the other one off.
|
Thank you Laine and soulcow. Seems to be working pretty good now. No headers for groups, which I don't care for anyway, just reporting it :), but not sure how to space out groups vertically. Not worried about it tho. I know Clad is workin on a final version and I can wait for that ;)
Clad, again, friggin excellent work here! -Lumi |
Help with an erro
Clad, thnks for an excellent excellent addon.
Whenever I enter a raid, this error message pops up Interace/Addons/PerfecrRaid/PerfectRaid.lua a:343:attempt to call method 'SetText' a nil value and it won't go away. I'm an absolute noob when it comes to these things. Any help at all would be greatly appreciated Thanks |
What are you using to edit PerfectRaid.Lua?
i've tried, using notepad and wordpad et, but i cant find the correct lines for changing to 1 column. I can only find: frame:SetAttribute("maxColumns", columns) frame:SetAttribute("columnSpacing", coloffset) frame:SetAttribute("columnAnchorPoint", colanchor) |
They are further up from there, if you search for column: you'll find them.
|
hi, i updated to newest beta and now i cant even get it to go to 1 frame, ive gone through this whole forum post to try and change it to 1 column and found some help but i still cant manage to do it.
im guessing i have to chnage something in this part of the lua file. Quote:
Quote:
|
Quote:
@Romie--the part you're looking for is at about line 100, just under where you make changes for sort order. @Goat--there are several program editors out there, but SciTE works pretty well for just browsing around. www dot scintilla dot org -Laine |
fixed it wooot :D
|
opps false thread :)
|
column:SetAttribute("groupBy", "GROUP")
column:SetAttribute("groupingOrder", "1,2,3,4,5,6,7,8") Doing that doesnt work for me :( Prefer my frames sorted by group. |
Quote:
|
I would like to thank Clad for his hard work for maintaining this wonderful addon. Keep up the good work!
|
Quote:
|
Hi all. Sorry for the FAQ neglect but it's been hard to keep up with all the changes. Looks like we're getting close! Hopefully I'll have time soon to see what works and what doesn't work and what's been added to the gui, etc.
|
Unless I'm missing it, i couldn't display the group numbers next to the names, like in the old praid. Since we assign buffers to groups, this was important. So I added this to the end of perfectraid.lua
function PerfectRaid:GetRaidGroupNumber(unitName) for count=0,GetNumRaidMembers() do local name, rank, subgroup, level, class, fileName, zone, online, isDead, role, isML = GetRaidRosterInfo(count) if unitName == name then return subgroup end end end and then changed frame.name:SetText(self:GetColoredName(unit)) to frame.name:SetText(PerfectRaid:GetRaidGroupNumber(UnitName(unit)) .. self:GetColoredName(unit) ) So the group number appears first. If I add it after the name, and the name is too long, you won't see the group number. |
Thats a really inefficient way to do it, but yes, it will work for right now.
|
Oh, its totally inefficient, but I didn't want to delv into your code too much since it is still in flux.
|
You could write a module very easily that does this, but its intended to be in the core. Not very difficult, to say the least, just needs _time_ =)
|
perfectraid r180 question
Clad,
Please see my post in interface help question section. Can you help me out? Thanks! |
In the future, please post here.
|
Is there a way to make the range check work on a warrior? I'm not sure what spell I can use that will do a 30 or 40 yard check.
Thanks!! |
Quote:
|
Aye, 2.4 fixes this =/.
|
All times are GMT -6. The time now is 07:47 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI