• 0

    posted a message on Basic Chat Mods??
    Newest version doesn't seem to want to add timestamps to any chatframe besides one, I altered the code thusly
    local _G = getfenv(0)
    local date = _G.date
    local hooks = {}
    local h = nil
    
    local function AddMessage(frame, text, ...)
    	text = "|cff"..COLOR.."["..date("%X").."]|r "..text
    	return hooks[frame](frame, text, ...)
    end
    
    for i = 1, 7 do
    	if i ~= 2 then -- skip combatlog
    		h = _G[("%s%d"):format("ChatFrame", i)]
    		hooks[h] = h.AddMessage
    		h.AddMessage = AddMessage
    	end
    end


    Intended change or oversight? :P
    Posted in: General AddOns
  • 0

    posted a message on PitBull 2.0
    Quote from Kerecha »

    Are those with or without externals?

    With
    Posted in: Unit Frames
  • 0

    posted a message on Ackis Recipe List
    I get the same error if I try to expand any of the list items after I close the tradeskill window. If you leave the window open it works fine so I didn't think it was an error.
    Posted in: General AddOns
  • 0

    posted a message on Ackis Recipe List
    Happy I can help :)
    Posted in: General AddOns
  • 0

    posted a message on Ackis Recipe List
    You've got some errors in the vendors file:
    Allaince -> Alliance
    Stormwind -> Stormwind City
    Neutra; -> Neutral

    After fixing those in my local copy I'm still getting the following error:
    Date: 2008-03-07 17:19:19
    ID: 4
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\AckisRecipeList\ARLFrame.lua line 60:
      attempt to index global 'ARL_MissingRecipeListing' (a nil value)
    Debug:
      [C]: ?
      AckisRecipeList\ARLFrame.lua:60:
       AckisRecipeList\ARLFrame.lua:34

    Happens when I try to expand an item in the list.

    {edit}
    Changing line 60 in ARLFrame.lua from
    if (ARL_MissingRecipeListing[RecipeText ]["Acquire"] == nil) then
    to
    if (ARL_MissingRecipeListing[RecipeText]["Acquire"] == nil) then
    seems to fix the error.
    Posted in: General AddOns
  • 0

    posted a message on Chinchilla - Minimap addon of awesomeness.
    Quote from HunterZ »

    ckknight: I haven't verified that it works yet, but thanks a million for reverting the change that forced a round shape when minimap rotation is enabled.

    It works and all was well in the world again.
    Posted in: Map/Minimap AddOns
  • 0

    posted a message on Mail Box add-on
    1) Run up to the mail box
    2) Zoom your camera in all the way so you're doing that crazy "First Person" view
    3) You can now see the mail box because you are inside all the other players' models
    4) Loot your gold from the AH ;)
    Posted in: Addon Ideas
  • 0

    posted a message on AckisRecipeList - Official Thread
    The latest change, putting the scan button inside the skill window, puts all the buttons mid-frame when using frames resized.
    Posted in: General AddOns
  • 0

    posted a message on Cumulated mana of healers in raid
    I use XRS Mana/Health stuff to make sure everyone's at 100% and AFK/Offline to make sure everyone's around before I issue a boss pull, beyond that those bars aren't very useful.

    I also use the death counter to see when I should be FD'ing on my hunter ;)
    Posted in: Addon Ideas
  • 0

    posted a message on PitBull 2.0
    Just wanted to say the new aura module is working great! Thanks for all the hard work guys :)
    Posted in: Unit Frames
  • 0

    posted a message on WowAceUpdater 1.9.44+ Official Thread
    Problem seems to be fixed. Been running the updater, ads working, for about 10 minutes now without issue.
    Posted in: Updaters
  • 0

    posted a message on WowAceUpdater 1.9.44+ Official Thread
    I'm having the crashing as well, I believe it to be the IE (Internet Explorer) ads on the bottom of the updater...
    Posted in: Updaters
  • 0

    posted a message on Basic guild roster dump
    whoops, thanks
    Posted in: Lua Code Discussion
  • 0

    posted a message on Basic guild roster dump
    I tried what you've suggested, adding some status messages, and I'm still getting the same results:
    local output = "";
    local f = CreateFrame("Frame")
    
    local function RoLwriteGuild()
    	f:RegisterEvent("GUILD_ROSTER_UPDATE")
    	GuildRoster();
    	DEFAULT_CHAT_FRAME:AddMessage("RoLExport: Starting guild export.");
    end
    
    f:SetScript("OnEvent", function(f)
    	f:UnregisterEvent("GUILD_ROSTER_UPDATE")
    	GuildRoster();
    	local numTotal = (GetNumGuildMembers(true));
    	output = "<guildExport><guildMembers>";
    	
    	for i=1,numTotal do
    		local name, rank, rankIndex, level, class, zone, note, officernote, online, status = GetGuildRosterInfo(i);
    		output = output .. "<member>";
    		output = output .. "<name>" .. name .. "</name>";
    		output = output .. "<rank>" .. rankIndex .. "</rank>";
    		output = output .. "<level>" .. level .. "</level>";
    		output = output .. "<class>" .. class .. "</class>";
    		output = output .. "<note>".. note .."</note>";
    		output = output .. "</member>";
    	end
    	output = output .. "</guildMembers><guildRanks>"
    	
    	for x=1,GuildControlGetNumRanks() do
    		output = output .. "<rank" .. x .. ">" .. GuildControlGetRankName(x) .. "</rank" .. x .. ">";
    	end
    	
    	output = output .. "</guildRanks></guildExport>";
    	StaticPopup_Show("RoLwriteGuildDialog");
    	DEFAULT_CHAT_FRAME:AddMessage("RoLExport: Export complete.");
    end)
    
    SlashCmdList["ROLEXPORT"] = RoLwriteGuild;
    SLASH_ROLEXPORT1 = "/rolexport";
    SLASH_ROLEXPORT2 = "/rol";
    
    StaticPopupDialogs["RoLwriteGuildDialog"] = {
    	text = "Guild Export",
    	button2 = TEXT(CLOSE),
    	hasEditBox = 1,
    	showAlert = 1,
    	OnShow = Show,
    	EditBoxOnEscapePressed = Hide,
    	timeout = 0,
    	whileDead = 1,
    	hasWideEditBox = 1,
    	hideOnEscape = 1,
    	OnShow = function()
    		local editBox = getglobal(this:GetName().."WideEditBox")
    		if editBox then
    			editBox:SetText(output)
    			editBox:SetFocus()
    			editBox:HighlightText(0)
    		end
    		local button = getglobal(this:GetName().."Button2")
    		if button then
    			button:ClearAllPoints()
    			button:SetWidth(200)
    			button:SetPoint("CENTER", editBox, "CENTER", 0, -30)
    		end
    		local icon = getglobal(this:GetName().."AlertIcon");
    		if icon then
    			icon:Hide()
    		end
    	end,
    }


    Produces
    <guildExport><guildMembers><mem
    if the roster is altered.
    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.