• 0

    posted a message on Routes: Official Thread
    Any plans to make a ldb plugin for routesfu?
    Posted in: General AddOns
  • 0

    posted a message on Guild Crafts ~~Stable Beta now~~
    Checked this out yesterday and first thing I noticed is that it needs a scroll bar for the right side of the frame when it shows regents and such. other then that nice job.
    Posted in: General AddOns
  • 0

    posted a message on PlayerMenu (orig: AcePlayerMenu)
    Fix for locales.. Replace ALL code in your Locale.enUS.lua with the code below.


    local L = LibStub("AceLocale-3.0"):NewLocale("PlayerMenu","enUS",true)
    L["Left Button Menu"] = true
    L["Mouse left click to show menu"] = true
    
    L["Use Focus to Cast"] = true
    L["Use focus feature to cast spell instead of using target."] = true
    
    L["Extend Menu Hide Delay"] = true
    L["Set extend menu auto hide delay time."] = true
    
    L["Clear Target After Cast"] = true
    
    L["Reset"] = true
    L["ResetDB_Confirm"] = true
    L["All settings are reset to default value."] = true
    
    L["GUILD_INVITE"] = "Guild Invite"
    L["ADD_FRIEND"] = TEXT(ADD_FRIEND)
    L["GET_NAME"] = "Get Player Name"
    L["WHO"] = TEXT(WHO)
    L["EXTMENU"] = "Extended Menu"
    
    L["Set Target"] = true
    L["Set Focus"] = true
    
    Posted in: General AddOns
  • 0

    posted a message on PlayerMenu (orig: AcePlayerMenu)
    Replace ALL Code in Playermenu.lua with the code below to fix for 3.0.8

    --[[ $Id: PlayerMenu.lua 70828 2008-04-22 03:41:29Z hshh $ ]]--
    PlayerMenu = LibStub("AceAddon-3.0"):NewAddon("PlayerMenu", "AceConsole-3.0", "AceEvent-3.0", "AceHook-3.0", "AceTimer-3.0")
    local L = LibStub("AceLocale-3.0"):GetLocale("PlayerMenu")
    
    --save blizzard origin variables
    local menus = {"FRIEND", "PLAYER", "PARTY", "RAID_PLAYER"}
    local menus_new_items = {"GUILD_INVITE", "ADD_FRIEND", "GET_NAME", "WHO"}
    local PM_BLZ_ORIGIN = {}
    local m,k,v
    local _G = getfenv(0)
    for _,m in ipairs(menus) do
    	PM_BLZ_ORIGIN[m]={}
    	for k,v in pairs(_G.UnitPopupMenus[m]) do
    		PM_BLZ_ORIGIN[m][k]=v
    	end
    end
    
    local ExtMaxButton = 20
    
    
    --db get/set function
    local function get(info)
        local k = info[#info]
    	return PlayerMenu.db.profile[k]
    end
    local function set(info,value)
        local k = info[#info]
        PlayerMenu.db.profile[k] = value
    end
    
    function PlayerMenu:OnInitialize()
    	local defaults = {
    		profile = {
    			leftButton = false,
    		}
    	}
    	self.db = LibStub("AceDB-3.0"):New("PlayerMenu_Settings", defaults, "Default")
    
    	local options = {
    		type = "group",
    		get = get,
    		set = set,
    		args = {
    			leftButton = {
    				order = 100,
    				type = "toggle",
    				name = L["Left Button Menu"],
    				desc = L["Mouse left click to show menu"],
    			},
    			resetdb = {
    				order = 500,
    				type = "execute",
    				name = L["Reset"],
    				confirm = true,
    				confirmText = L["ResetDB_Confirm"],
    				func = function()
    					self.db:ResetDB()
    					self:OnDisable()
    					self:OnEnable()
    					self:Print(L["All settings are reset to default value."])
    				end,
    			},
    		}
    	}
    	LibStub("AceConfig-3.0"):RegisterOptionsTable("PlayerMenu", options)
    	LibStub("AceConfigDialog-3.0"):AddToBlizOptions("PlayerMenu", "PlayerMenu")
    end
    
    function PlayerMenu:OnEnable()
    	self:SecureHook("UnitPopup_OnClick")
    	self:SecureHook("UnitPopup_HideButtons")
    	if (self.db.profile.leftButton) then
    		self:SecureHook("SetItemRef")
    	end
    
    	local v,vv
    	for _,v in ipairs(menus_new_items) do
    		UnitPopupButtons[v] = { text = L[v], dist = 0 }
    		for _,vv in ipairs(menus) do
    			tinsert(UnitPopupMenus[vv], getn(UnitPopupMenus[vv])-1, v)
    		end
    	end
    end
    
    function PlayerMenu:OnDisable()
    	local v,vv,kkk,vvv
    	for _,v in ipairs(menus_new_items) do
    		for _,vv in ipairs(menus) do
    			UnitPopupMenus[vv]={}
    			for kkk,vvv in pairs(PM_BLZ_ORIGIN[vv]) do
    				UnitPopupMenus[vv][kkk]=vvv
    			end
    		end
    		UnitPopupButtons[v] = nil
    	end
    end
    
    function PlayerMenu:UnitPopup_HideButtons()
    	local dropdownMenu = UIDROPDOWNMENU_INIT_MENU
    	local diffFactionGroup
    	if dropdownMenu.unit and UnitFactionGroup("player") ~= UnitFactionGroup(dropdownMenu.unit) then
    		diffFactionGroup = true
    	end
    	local realm
    	if dropdownMenu.unit then
    		_,realm = UnitName(dropdownMenu.unit)
    	end
    
    	for index, value in ipairs(UnitPopupMenus[dropdownMenu.which]) do
    		if value == "GET_NAME" then
    			if dropdownMenu.name == UnitName("player") then
    				UnitPopupShown[UIDROPDOWNMENU_MENU_LEVEL][index] = 0
    			else
    				UnitPopupShown[UIDROPDOWNMENU_MENU_LEVEL][index] = 1
    			end
    		elseif value == "WHO" or value == "ADD_FRIEND" then
    			if dropdownMenu.name == UnitName("player") or (realm and realm ~="") or diffFactionGroup then
    				UnitPopupShown[UIDROPDOWNMENU_MENU_LEVEL][index] = 0
    			else
    				UnitPopupShown[UIDROPDOWNMENU_MENU_LEVEL][index] = 1
    			end
    		elseif value == "GUILD_INVITE" then
    			if not CanGuildInvite() or dropdownMenu.name == UnitName("player") or (realm and realm ~="") or diffFactionGroup then
    				UnitPopupShown[UIDROPDOWNMENU_MENU_LEVEL][index] = 0
    			else
    				UnitPopupShown[UIDROPDOWNMENU_MENU_LEVEL][index] = 1
    			end
    		end
    	end
    end
    
    function PlayerMenu:UnitPopup_OnClick()
    	local dropdownFrame = UIDROPDOWNMENU_INIT_MENU
    	local button = this.value
    	local name = dropdownFrame.name
    
    	if (button == "ADD_FRIEND") then
    		AddFriend(name)
    	elseif (button == "GUILD_INVITE") then
    		GuildInvite(name)
    	elseif (button == "GET_NAME") then
    		ChatFrameEditBox:Show()
    		local realm
    		if dropdownFrame.unit then
    			_,realm = UnitName(dropdownFrame.unit)
    		end
    		if (realm and realm ~="") then
    			ChatFrameEditBox:Insert(name .. " - " .. realm)
    		else
    			ChatFrameEditBox:Insert(name)
    		end
    	elseif (button == "WHO") then
    		SendWho(name)
    	end
    	PlaySound("UChatScrollButton")
    end
    
    function PlayerMenu:SetItemRef(link, text, button)
    	if ( strsub(link, 1, 6) == "player" ) then
    		local namelink = strsub(link, 8);
    		local name, lineid = strsplit(":", namelink);
    		if ( name and (strlen(name) > 0) ) then
    			if ( IsModifiedClick("CHATLINK") ) then
    				local staticPopup;
    				staticPopup = StaticPopup_Visible("ADD_IGNORE");
    				if ( staticPopup ) then
    					-- If add ignore dialog is up then enter the name into the editbox
    					getglobal(staticPopup.."EditBox"):SetText(name);
    					return;
    				end
    				staticPopup = StaticPopup_Visible("ADD_MUTE");
    				if ( staticPopup ) then
    					-- If add ignore dialog is up then enter the name into the editbox
    					getglobal(staticPopup.."EditBox"):SetText(name);
    					return;
    				end
    				staticPopup = StaticPopup_Visible("ADD_FRIEND");
    				if ( staticPopup ) then
    					-- If add ignore dialog is up then enter the name into the editbox
    					getglobal(staticPopup.."EditBox"):SetText(name);
    					return;
    				end
    				staticPopup = StaticPopup_Visible("ADD_GUILDMEMBER");
    				if ( staticPopup ) then
    					-- If add ignore dialog is up then enter the name into the editbox
    					getglobal(staticPopup.."EditBox"):SetText(name);
    					return;
    				end
    				staticPopup = StaticPopup_Visible("ADD_TEAMMEMBER");
    				if ( staticPopup ) then
    					-- If add ignore dialog is up then enter the name into the editbox
    					getglobal(staticPopup.."EditBox"):SetText(name);
    					return;
    				end
    				staticPopup = StaticPopup_Visible("ADD_RAIDMEMBER");
    				if ( staticPopup ) then
    					-- If add ignore dialog is up then enter the name into the editbox
    					getglobal(staticPopup.."EditBox"):SetText(name);
    					return;
    				end
    				staticPopup = StaticPopup_Visible("CHANNEL_INVITE");
    				if ( staticPopup ) then
    					getglobal(staticPopup.."EditBox"):SetText(name);
    					return;
    				end
    				if ( ChatFrameEditBox:IsVisible() ) then
    					ChatFrameEditBox:Insert(name);
    				elseif ( HelpFrameOpenTicketText:IsVisible() ) then
    					HelpFrameOpenTicketText:Insert(name);
    				else
    					SendWho("n-"..name);					
    				end
    				
    			else
    				ChatFrameEditBox:Hide()
    				FriendsFrame_ShowDropdown(name, 1, lineid);
    			end
    		end
    		return;
    	end
    end
    
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    Just wanted to say thanks again for all your hard work and speedy responses to bugs and skin request.

    You sir are a credit to your work, and I know not enough praise is given so here is some praise 10 fold.

    Thanks again.
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    Had to modify your LibQtip function in AddonFrames.lua to make it work with various Broker plugins.

    Modified function:

    -- hook this to handle tooltips being released				
    self:SecureHook(LibStub(lib), "Release", function(this, lt, ...)
      if not lt then return end  --added to fix issue with nil values from various Broker plugins			
      lt.skinned = nil
    end)
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    Skinner bug report:

    Skinner still not skinning ShadowDancer3... getting alot of errors when I open the config frame.
    errors are as follows: "Not a frame or subclass of frame: table:"
    this repeats for all hooks to any of the frame objects.

    Skin request:
    Please skin GuildBankSearch from the wowinterface site.

    Thanks again for all your hard work.
    Posted in: General AddOns
  • 0

    posted a message on Tablet-2.0 Mouse Sticking
    Having issues with Detached frames sticking to mouse, specifically Fubar_QuestFu Quest Tracker.

    If I lock the detached tracker frame and then hold alt and click to drag the frame it becomes stuck to the mouse cursor.

    If I release the alt key befor releasing the mouse on the frame it becomes stuck to the mouse, as long as I release the mouse from frame befor I release the alt key it does not stick.
    Posted in: AddOn HELP!
  • 0

    posted a message on Skinner
    [2008/12/20 03:16:38-1577-x1]: Skinner-b1.9183.15 \SkinMe\ShadowDancer3.lua:4: attempt to index global 'CWDG' (a nil value)
    (tail call): ?:
    <in C code>: ?
    <string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
    (tail call): ?:
    AceTimer-3.0-4 (Ace3):144: in function <Interface\AddOns\Ace3\AceTimer-3.0\AceTimer-3.0.lua:118>

    ---
    Posted in: General AddOns
  • 0

    posted a message on Skillet - the lilsparky branch
    vertscroll errors in the tradeskill que... fixed on my local copy... just a heads up.
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    b1.9183.17

    Panada Buttons On Left side still not skinning, rest of frame is. Using the Panda version from http://www.wowace.com/projects/panda/files/12-3-0-3-12-beta/

    Thanks again for all your hard work. I really cannot live without this mod.
    Posted in: General AddOns
  • 0

    posted a message on ZOMGBuffs Official Thread
    r42 still cannot cast mage arcane intellect, alerts to missing the buff but will cast it.
    Posted in: General AddOns
  • 0

    posted a message on ZOMGBuffs Official Thread
    newest version no longer cast mage intellect buffs
    Posted in: General AddOns
  • 0

    posted a message on ZOMGBuffs Official Thread
    Rogue poisons above level 70 are not detecting at all.

    Did some editing on my local version to fix this issue, will mail over my changes to you.
    Posted in: General AddOns
  • 0

    posted a message on Prat 3.0 Chat Mod Framework
    r171

    [2008/12/14 16:54:34-1449-x1]: Prat-3.0-r171 \modules\PlayerNames.lua:997: attempt to index field 'wholib' (a nil value)
    Prat-3.0-r171 \modules\PlayerNames.lua:1135: in function `?'
    CallbackHandler-1.0-3:146: in function <...edia-3.0\CallbackHandler-1.0\CallbackHandler-1.0.lua:146>
    <string>:"safecall Dispatcher[4]":4: in function <[string "safecall Dispatcher[4]"]:4>
    <in C code>: ?
    <string>:"safecall Dispatcher[4]":13: in function `?'
    CallbackHandler-1.0-3:91: in function `Fire'
    Prat-3.0-r171 \addon\addon.lua:511: in function <Interface\AddOns\Prat-3.0\addon\addon.lua:454>
    (tail call): ?:
    Interface\FrameXML\ChatFrame.lua:2070: in function <Interface\FrameXML\ChatFrame.lua:2063>:
    <in C code>: in function `pcall'
    Stubby-130\Stubby.lua:379: in function <Interface\AddOns\Stubby\Stubby.lua:325>
    (tail call): ?:
    Factionizer-30003.1\Factionizer.lua:4668: in function `GLDG_originalChatEventHandler'
    GuildGreet-30002.1\GuildGreet.lua:6110: in function `ChatFrame_OnEvent'
    Devnull-b1.9056.0\devnull.lua:286: in function <Interface\AddOns\Devnull\devnull.lua:273>
    (tail call): ?:
    <string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>

    ---
    Posted in: General AddOns
  • To post a comment, please or register a new account.