Just wanted to throw in an idea for a plugin to Baggins:
The ability to have a small text showing the combined market value of a section/category. This plugin should derive values from Auctioneer or whatever, and then show a small [xx g. yy s. zz c] beside the category-name.
Been wondering about this, and I couldn't find the features in TradeSkillInfo, nor Informant, so here goes.
An addon to display in mouse-over tooltips, which of your characters will be able to use that item and in what tradeskill/recipe.
- TradeSkillInfo only shows which of your characters that can use the item with the recipes they know of NOW, but not in the future.
- Informant only shows what tradeskills use that specific item
-- Create scrollframe to list people inside frame f.
fscroll = AceGUI:Create("ScrollFrame");
fscroll:SetFullWidth(true);
fscroll:SetAutoAdjustHeight(true)
I think the above caused the cpu-lag. Anyway, it's fixed :)
Unless f.Hide returns a function, it can't possible work like that. You are effectively calling, f:SetCallback("OnClose", nil) or f:SetCallback("OnClose"), because f:Hide() == nil.
Allright, that cleared it up for me, thanks. But it still doesn't help with my problem described above :)
Hello, I*m trying to create a frame and add 'lines of information' showing a name, and three checkboxes in each line (possibly marked). I'm doing it as so:
-- Create a container frame
f = AceGUI:Create("Frame");
f:SetCallback("OnClose",f:Hide());
f:SetTitle("myRaidAddon");
f:SetStatusText("Raid max: Empty - Raid current: - Empty");
f:SetLayout("Flow");
f:SetWidth(600);
-- Create scrollframe to list people inside frame f.
fscroll = AceGUI:Create("ScrollFrame");
fscroll:SetFullWidth(true);
fscroll:SetAutoAdjustHeight(true)
f:AddChild(fscroll);
Whenever I want to add a line to my
fscroll
, I call
function myRaidAddon:UpdateFrame()
fscroll:ReleaseChildren();
fscroll:PauseLayout();
max_tanks = 0;
max_healers = 0;
max_dps = 0;
for k,v in pairs(raid_data) do
raid_line = AceGUI:Create("SimpleGroup");
raid_line:SetLayout("Flow");
raid_line:SetRelativeWidth(1);
-- Name
l = AceGUI:Create("Label");
l:SetText(k);
l:SetWidth(name_width);
raid_line:AddChild(l);
-- Tank
c = AceGUI:Create("CheckBox");
c:SetType("checkbox");
c:SetWidth(spec_width);
c:SetDisabled(true);
c:SetTriState(true);
if(v[1]) then max_tanks = max_tanks + 1; end
c:SetValue(v[1]);
raid_line:AddChild(c);
-- Heal
c2 = AceGUI:Create("CheckBox");
c2:SetType("checkbox");
c2:SetWidth(spec_width);
c2:SetDisabled(true);
c2:SetTriState(true);
if(v[2]) then max_healers = max_healers + 1; end
c2:SetValue(v[2]);
raid_line:AddChild(c2);
-- DPS
c3 = AceGUI:Create("CheckBox");
c3:SetType("checkbox");
c3:SetWidth(spec_width);
c3:SetDisabled(true);
c3:SetTriState(true);
if(v[3]) then max_dps = max_dps + 1; end
c3:SetValue(v[3]);
raid_line:AddChild(c3);
fscroll:AddChild(raid_line);
end
fscroll:ResumeLayout();
fscroll:DoLayout();
-- Update raid status:
f:SetStatusText("Raid max: ("..max_tanks.." | "..max_healers.." | "..max_dps..") - Raid current: - Empty");
end
But it seems to go awfully wrong. I try to add one line, but nothing shows up in my frame f, nor in fscroll. if I add multiple lines of the information, the scroll-buttons appear, but nothing in the frame itself. Adding more lines causes the CPU-processing to go crazy. Can someone help me and tell me what I'm doing wrong ?
Keep mind that Skada starts a new "fight" segment only when you enter combat, unlike Recount which monitors the combat log to start a new segment when anyone in your group performs a "hostile" action.
What's the reasoning behind doing it like this ? If I enter combat a few seconds after my group, the dmg beforehand isn't counted right ? I can't seem to find the logic behind this, could anyone enlighten me ? :)
I've gotten as far as letting people register their specs through whispers to the raidleader. The point here is that if one of their specs are usable, they'll get an invite (automatically).
It should (on most servers anyway) prioritise tanks/healers first.
I'll keep this thread updated
Edit: Haven't had much time to work on it, but I've got a bunch of ideas that could lower the burden of assembling a pickup raid.
I've just gotten into Ace addons and all that, and I've got my config working, as well as a nice frame.
How do I go about writing a table to this frame ? I've looked at AceGUI-3.0 and I just can't seem to find anything about creating a table, or perhaps I'm just not using the information on that page correctly.
Can anybody help me ?
Edit: Ah, seem to have found that it supports SimpleHTML through
frame:SetText('<html><body>
Heading1
A paragraph
</body></html>');
If this works, it should get me started with what I want :)
0
Just wanted to throw in an idea for a plugin to Baggins:
The ability to have a small text showing the combined market value of a section/category. This plugin should derive values from Auctioneer or whatever, and then show a small [xx g. yy s. zz c] beside the category-name.
0
Been wondering about this, and I couldn't find the features in TradeSkillInfo, nor Informant, so here goes.
An addon to display in mouse-over tooltips, which of your characters will be able to use that item and in what tradeskill/recipe.
- TradeSkillInfo only shows which of your characters that can use the item with the recipes they know of NOW, but not in the future.
- Informant only shows what tradeskills use that specific item
0
What is the list of players to the upper left, and what does the 'i' indicate ?
Also, what boss mods are you using ?
0
I think the above caused the cpu-lag. Anyway, it's fixed :)
0
Allright, that cleared it up for me, thanks. But it still doesn't help with my problem described above :)
0
Thank you, but the works just fine when closing the frame. And changing it doesn't do anything about the problem I describe, sadly.
Thanks though :)
0
I got It's supposed to be the following: ?
I dont quite follow, what you're saying. Please elaborate.
0
Whenever I want to add a line to my , I call
But it seems to go awfully wrong. I try to add one line, but nothing shows up in my frame f, nor in fscroll. if I add multiple lines of the information, the scroll-buttons appear, but nothing in the frame itself. Adding more lines causes the CPU-processing to go crazy. Can someone help me and tell me what I'm doing wrong ?
0
What's the reasoning behind doing it like this ? If I enter combat a few seconds after my group, the dmg beforehand isn't counted right ? I can't seem to find the logic behind this, could anyone enlighten me ? :)
Kinds regards,
Sunseth
0
0
It should (on most servers anyway) prioritise tanks/healers first.
I'll keep this thread updated
Edit: Haven't had much time to work on it, but I've got a bunch of ideas that could lower the burden of assembling a pickup raid.
0
0
0
0
I've just gotten into Ace addons and all that, and I've got my config working, as well as a nice frame.
How do I go about writing a table to this frame ? I've looked at AceGUI-3.0 and I just can't seem to find anything about creating a table, or perhaps I'm just not using the information on that page correctly.
Can anybody help me ?
Edit: Ah, seem to have found that it supports SimpleHTML through
If this works, it should get me started with what I want :)
Edit 2: Seems it doesn't work. Or should it ?