-
Member
Remove Quest Log Cap
Hi Guys,
As the title states, does anyone know of a way to remove the quest log cap for 3.3.5 trinity repack?
Thanks,
Veng
-
Hmmm, there are multiple solutions. It will require client modifications. This isn't going to be easy.
It looks like the client code is written to use the number of buttons defined in the quest log. So if you can change that it should work with more, and you will just need to update the server to send more. Unfortunately I cannot identify where these buttons are being created from a quick look: Misc-WoW-Stuff/QuestLogFrame.lua at master . stoneharry/Misc-WoW-Stuff . GitHub
Code:
function QuestLogScrollFrame_OnLoad(self)
HybridScrollFrame_OnLoad(self);
self.update = QuestLog_Update;
HybridScrollFrame_CreateButtons(self, "QuestLogTitleButtonTemplate");
end
Need to work out what HybridScrollFrame_CreateButtons is doing.
I found some information here:
- UI Mod Developer: Extending scroll lists in the default frames
- BlizzardInterfaceCode/hybridscrollframe.lua at master . tomrus88/BlizzardInterfaceCode . GitHub
Which is calling:
Code:
for i = #buttons + 1, numButtons do
button = CreateFrame("BUTTON", buttonName and (buttonName .. i) or nil, scrollChild, buttonTemplate);
button:SetPoint(point, buttons[i-1], relativePoint, offsetX, offsetY);
tinsert(buttons, button);
end
You could artificially inject more buttons into the table using the above code.
-
Post Thanks / Like - 1 Thanks
veng455 (1 members gave Thanks to stoneharry for this useful post)
-
Member
Hmm sounds a bit complex for me, probably going to have to leave this. Thanks anyway though mate