Thread Tools Display Modes
12-18-06, 01:09 AM   #1
ramzi_
A Defias Bandit
Join Date: Dec 2006
Posts: 2
Group/Class sorting in CTraid

I can't seem to get the keybind for class/group sorting to actually make the switch. If I were to go through the CTraid options window and change this setting, then it works, but attempting to do so with a keybinding wouldn't. The sorting would remain the same.

Has anyone else run into this problem?
  Reply With Quote
12-24-06, 02:36 PM   #2
Eyly
A Kobold Labourer
Join Date: Dec 2006
Posts: 1
Here is my Posted Thread, am still waiting for a response
  Reply With Quote
12-24-06, 05:27 PM   #3
Dargen
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 22
I believe that the keybinding for class/group sorting should be one of the bugs fixed in the next release of CT_Raidassist (I haven't heard a time frame yet).

If you don't mind editing the lua file yourself, you can fix it by editing the CT_RaidAssist.lua file (around line 4149). There you will find a CT_RA_ToggleGroupSort() function which should be replaced with an updated version. Keep in mind that due to Blizzard restrictions, it is not possible to toggle between class and group sorting during combat.

In version 1.621 of CT_RaidAssist, the original function looks like this:

Code:
function CT_RA_ToggleGroupSort()
	local tempOptions = CT_RAMenu_Options["temp"];
	if ( tempOptions["SORTTYPE"] == "group" ) then
		CT_RA_SetSortType("class");
	else
		CT_RA_SetSortType("group");
	end

	CT_RA_UpdateRaidGroup(3);
	CT_RA_UpdateMTs(true);
	CT_RA_UpdatePTs(true);
	CT_RAOptions_UpdateGroups();
end
You need to replace those lines of code with these:

Code:
function CT_RA_ToggleGroupSort()
	if (InCombatLockdown()) then
		return;
	end

	local tempOptions = CT_RAMenu_Options["temp"];
	if ( tempOptions["SORTTYPE"] == "group" ) then
		CT_RA_SetSortType("class");
	else
		CT_RA_SetSortType("group");
	end

	CT_RA_UpdateRaidGroup(0);
	CT_RA_UpdateRaidFrameOptions();
	CT_RAOptions_UpdateGroups();
end
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Group/Class sorting in CTraid


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