• 0

    posted a message on Skinner
    Skin Request:
    AphesLootBrowser: http://wow.curseforge.com/addons/apheslootbrowser/

    Skin Fix:
    Newest version of TradeskillMAster has changed a lot of things so skin needs reworked
    http://wow.curseforge.com/addons/tradeskill-master/
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    Skin Request

    Can you please skin the sidebar panel in Docking Station ... it's in the config section, I believe you have to skin the LibMenuAssist that is included in the config addon libs.

    Thanks for all you do much appreciated ;-)
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    1x Skinner\Skinner-b4.15050.2.lua:226: table index is nil
    Skinner\Skinner-b4.15050.2.lua:226: in function <Skinner\Skinner.lua:226>
    Skinner\Skinner-b4.15050.2.lua:1337: in function <Skinner\Skinner.lua:1318>
    Skinner\Skinner-b4.15050.2.lua:1406: in function "skinEditBox"
    Skinner-b4.15050.2\SkinMe\AdiBags-v1.4.7.lua:22: in function <Skinner\SkinMe\AdiBags.lua:19>
    (tail call): ?
    <in C code>
    <string>:"safecall Dispatcher[1]":9: in function <string>:"safecall Dispatcher[1]":5
    (tail call): ?
    Ace3-r1045\AceTimer-3.0\AceTimer-3.0-6.lua:166: in function <Ace3\AceTimer-3.0\AceTimer-3.0.lua:138>

    Locals:
    nil
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    Bug Report:

    1x Skinner\Skinner-b4.13875.1.lua:1614: attempt to index field "obj" (a nil value)
    Skinner\Skinner-b4.13875.1.lua:1614: in function <Skinner\Skinner.lua:1602>
    Skinner\Skinner-b4.13875.1.lua:1637: in function "skinUsingBD"
    Skinner\Skinner-b4.13875.1.lua:1470: in function <Skinner\Skinner.lua:1447>
    Skinner\Skinner-b4.13875.1.lua:1493: in function "skinScrollBar"
    Skinner-b4.13875.1\UIElements2.lua:296: in function <Skinner\UIElements2.lua:284>
    Skinner-b4.13875.1\UIElements2.lua:298: in function <Skinner\UIElements2.lua:284>
    (tail call): ?
    <in C code>
    <string>:"safecall Dispatcher[1]":9: in function <string>:"safecall Dispatcher[1]":5
    (tail call): ?
    Ace3-Release-r1032\AceTimer-3.0\AceTimer-3.0-5.lua:166: in function <Ace3\AceTimer-3.0\AceTimer-3.0.lua:138>

    Locals:
    nil
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    1x Skinner\Skinner-b4.13875.1.lua:1614: attempt to index field "obj" (a nil value)
    Skinner\Skinner-b4.13875.1.lua:1614: in function <Skinner\Skinner.lua:1602>
    Skinner\Skinner-b4.13875.1.lua:1637: in function "skinUsingBD"
    Skinner\Skinner-b4.13875.1.lua:1470: in function <Skinner\Skinner.lua:1447>
    Skinner\Skinner-b4.13875.1.lua:1493: in function "skinScrollBar"
    Skinner-b4.13875.1\UIElements2.lua:296: in function <Skinner\UIElements2.lua:284>
    Skinner-b4.13875.1\UIElements2.lua:298: in function <Skinner\UIElements2.lua:284>
    (tail call): ?
    <in C code>
    <string>:"safecall Dispatcher[1]":9: in function <string>:"safecall Dispatcher[1]":5
    (tail call): ?
    Ace3-r1028\AceTimer-3.0\AceTimer-3.0-5.lua:166: in function <Ace3\AceTimer-3.0\AceTimer-3.0.lua:138>

    Locals:
    nil
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    13x Skinner-b4.13875.1\CharacterFrames2.lua:481: attempt to index field "?" (a nil value)
    Skinner-b4.13875.1\CharacterFrames2.lua:481: in function <Skinner\CharacterFrames2.lua:477>
    Skinner-b4.13875.1\CharacterFrames2.lua:494: in function <Skinner\CharacterFrames2.lua:493>
    (tail call): ?
    <in C code>
    FrameXML\WatchFrame.lua:1585: in function "?"
    FrameXML\WatchFrame.lua:388: in function <FrameXML\WatchFrame.lua:365>
    <in C code>
    SexyMap-v1.2.4-4-ge1a8dd2\General-General.lua:133: in function <SexyMap\General.lua:131>
    (tail call): ?
    <in C code>
    FrameXML\WatchFrame.lua:1708: in function "WatchFrameAutoQuest_AddPopUp"
    FrameXML\QuestFrame.lua:31: in function <FrameXML\QuestFrame.lua:17>

    Locals:
    parent = WatchFrameLines {
    0 = <userdata>
    numFunctions = 0
    updateFunctions = {}
    AutoQuestShadow = WatchFrameLinesAutoQuestShadow {}
    }
    index = 1
    skinAutoPopUps = <func> @Skinner\CharacterFrames2.lua:477
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    Thanks Seerah thats the correct link my bad ;-)

    Another skin Request for ya if you would sir...

    Guild Warden

    http://wow.curseforge.com/addons/warden/
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    Skin Request:

    GuildMaster

    http://wow.curseforge.com/addons/guildmaster/

    Thanks again for all your hard work it is much appreciated
    Posted in: General AddOns
  • 0

    posted a message on syntax help with AceConfig
    Thanks a bunch, that did it, I knew it was a syntax thing, had to have the space so the macro would work properly
    Posted in: Lua Code Discussion
  • 0

    posted a message on syntax help with AceConfig
    having issue passing two words into the select values of AceConfig, it gives following error...

    1x CCFocus2\CCFocus2-1.0.lua:37: "}" expected (to close "{" at line 36) near "Cat"

    I am trying to dumb my way thru this but hit a roadblock here,
    here is the code I am using, I am making a mod that auto generates cc focus macros and I am trying to pass "Black Cat" into the macro but it errors with the aboved error when ever i use Black Cat in my select values table

    CCFocus2 = LibStub("AceAddon-3.0"):NewAddon("CCFocus2", "AceEvent-3.0")
    -- local L = LibStub("AceLocale-3.0"):GetLocale("CCFocus2",true);
    local LDBicon =  LibStub("LibDBIcon-1.0");
    
    CCFocus2_VERSION = GetAddOnMetadata("CCFocus2", "Version");
    
    local NotInCombat = true;
    
    local CCFocus2_MACRONAME1 = "CCFocus1";
    local CCFocus2_MACRONAME2 = "CCFocus2";
    local CCFocus2_MACRONAME3 = "CCFocus3";
    local CCFocus2_MACRONAME4 = "CCFocus4";
    
    local CCWarnLoaded = nil;
    
    local PlayerClass;
    
    --DB Set Handler
    local function set(info, value)
    	local key = info[#info]
    	CCFocus2.db.profile[key] = value
    end
    
    --DB Get Handler
    local function get(info)
    	local key = info[#info]
    	return CCFocus2.db.profile[key]
    end
    
    modSelect = {
      ctrl = "Control",
    	alt = "Alt",
    	shift = "Shift",
    }
    
    modSelect2 = {
      Black Cat = "Black Cat", <==throws error but needed to generate macro
    	Pig = "Pig",
    	Rabbit = "Rabbit",
    	Turkey = "Turkey",
    	Turtle = "Turtle",
    }
    
    --DB Defaults
    local defaults = {
      profile = {
        MinimapIcon = { },
        ClearKey = "ctrl",
        SetKey = "alt",
        Version = CCFocus2_VERSION,
        CCWarn = false,
        SRandom = "Pig",
    	},
    }
    
    local optionsTable = {	
    	    desc = "CCFocus2",
    	    type = 'group',
    	    handler = CCFocus2,
    			args = {
    		  --UI Elements Options Start Here 
    		    CCFocus2OPT = {
    	        order = 1,			    
    			    type = "group",
    			--    childGroups = "tab",
    			    name = "Macro Options",
    			    desc = "Configure Macro Modifier Keys",
    			    args = {				      
    			  	  CCF2Opt1 = {
    	            order = 1,
    			        type = 'group',			    
    			        name = "Macro Options",
    			        desc = "Configure Options for Macros",
    			        args = {			        
    			          modifier1 = {
    			           name = "Clear Focus",
    			           desc = "Modifier key to be held down for clearing your focusd target",
    			           type  = "select",
    			           values = modSelect,	
    			           get = function(info) return CCFocus2.db.profile.ClearKey end,			    
    							   set = function(info, value) CCFocus2.db.profile.ClearKey = value CCFocus2:CCFMakeMacros() end,
    			           order = 1
    		            },	            
    		             modifier2 = {
    			           name = "Set Focus",
    			           desc = "Modifier key to be held down for clearing your focusd target",
    			           type  = "select",
    			           values = modSelect,	
    			           get = function(info) return CCFocus2.db.profile.SetKey end,			    
    							   set = function(info, value) CCFocus2.db.profile.SetKey = value CCFocus2:CCFMakeMacros() end,
    			           order = 2
    		            },
    		          },
    		        },		        
    		        CCF2Opt2 = {
    	            order = 2,
    			        type = 'group',			    
    			        name = "Alerts",
    			        desc = "Configure Options for CCWarn Support",
    			        args = {
    			        
    			         CCWarnOpt = {
    							      name = "CCWarn", 
    							      type = "toggle",
    							      desc = "Toggle CCWarn Mod Support",
    							      get = function(info) return CCFocus2.db.profile.CCWarn end,
    							      set = function(info, value) CCFocus2.db.profile.CCWarn = value end,							
    							      order = 1,
    						   },
    	
    		          },
    		        },		        
    		        CCF2Opt3 = {
    	            order = 3,
    			        type = 'group',			    
    			        name = "Polymorh Macro Options",
    			        desc = "Configure Options for Polymorph Macros",
    			        args = {			        
    			          modifier1 = {
    			           name = "Clear Focus",
    			           desc = "Modifier key to be held down for clearing your focusd target",
    			           type  = "select",
    			           values = modSelect2,	
    			           get = function(info) return CCFocus2.db.profile.SRandom end,			    
    							   set = function(info, value) CCFocus2.db.profile.SRandom = value CCFocus2:CCFMakeMacros() end,
    			           order = 1		           
    		            },
    		          },
    		        }, 		                 		          		          				            
    		      },
    		    },
    		 --UI Elements Options Stop Here 
    		
    	   --UI General Options start here		   
    		    MMIcon = {
    			    order = 2,
    			    type = 'toggle',
    			    name = "Minimap Icon",
    			    desc = "Toggle Minimap Icon.",			       
    			    get = function(info) return not CCFocus2.db.profile.MinimapIcon.hide end,
    					set = function(info, value)
    						CCFocus2.db.profile.MinimapIcon.hide = not value
    						if value then LDBicon:Show("CCFocus2") else LDBicon:Hide("CCFocus2") end
    					end,
    					hidden = function() return not LDBicon end,					
    		    },		   
    		 --UI General options stop	here		 
    	    },
    }
    
    --Create LDB Display
    CCFocus2.dataObject = LibStub:GetLibrary("LibDataBroker-1.1"):NewDataObject("CCFocus2", {
    	  type = "data source",
    	  text = "",
        icon = "Interface\\Icons\\INV_Misc_Spyglass_03",
        OnClick = function(frame, button)
    				if button == "RightButton" then
    				   InterfaceOptionsFrame_OpenToCategory(CCFocus2.optionsFrame)
    			  elseif button == "LeftButton" then
    			     if IsAltKeyDown() then
    			 
    			     elseif IsShiftKeyDown() then
    			 
    			     else
    			  
    			     end
    				end
    			end,
    		OnEnter = function(frame)
    		--		tooltip = QTC:Acquire("CCFocus2Tooltip", 1, "CENTER")
    		--		tooltip:SmartAnchorTo(frame)
    		--		tooltip:SetAutoHideDelay(1.25, frame)
    		--		DrawTooltip()
    			end,
    		OnLeave = function()
    		--		HideTooltip()
    			end,
    })
    
    --Create DB and Load Events
    function CCFocus2:OnInitialize()
    	 CCFocus2.db = LibStub("AceDB-3.0"):New("CCFocus2DB", defaults)
    	 optionsTable.args.profiles = LibStub("AceDBOptions-3.0"):GetOptionsTable(CCFocus2.db)
    	 LibStub("AceConfig-3.0"):RegisterOptionsTable("CCFocus2", optionsTable)
    	 CCFocus2.optionsFrame = LibStub("AceConfigDialog-3.0"):AddToBlizOptions("CCFocus2")
    	 LibStub("AceConsole-3.0"):RegisterChatCommand("ccf2", function() InterfaceOptionsFrame_OpenToCategory(CCFocus2.optionsFrame); end)
    	 if LDBicon then
    		 LDBicon:Register("CCFocus2", CCFocus2.dataObject, CCFocus2.db.profile.MinimapIcon)
    	 end
    end
    
    
    function CCFocus2:OnEnable()
    	-- Event received when starting, reloading or zoning
    	self:RegisterEvent("PLAYER_ENTERING_WORLD")
    	self:RegisterEvent("PLAYER_REGEN_DISABLED")
    	self:RegisterEvent("PLAYER_REGEN_ENABLED")	
    end
    
    function CCFocus2:PLAYER_ENTERING_WORLD()
      if ( IsAddOnLoaded("CCWarn") ) then
         CCWarnLoaded = true;
      end
      CCFocus2:CCFMakeMacros();
        -- we only need to do that on initial enter, so unregister
      self:UnregisterEvent("PLAYER_ENTERING_WORLD");
    end
    
    function CCFocus2:PLAYER_REGEN_DISABLED()
      NotInCombat = false
    end
    
    function CCFocus2:PLAYER_REGEN_ENABLED()
      NotInCombat = true
    end
    
    function CCFocus2:OneMacro(MacroName, MacroSpell, UseDefaultCondition, Warn, WarnSpell)
    
      local focusString = "#showtooltip\
    /focus [mod:"..CCFocus2.db.profile.SetKey.."]\
    /clearfocus [mod:"..CCFocus2.db.profile.ClearKey.."]; [target=focus,dead]\
    /stopmacro [mod:"..CCFocus2.db.profile.ClearKey.."]; [nocombat,mod:"..CCFocus2.db.profile.SetKey.."]\
    /focus [target=focus,noexists]";
    
      if ( ( CCWarnLoaded ~= nil ) and ( Warn == 1 ) and ( CCFocus2.db.profile.CCWarn ~= nil ) ) then
        focusString = focusString.."\n/ccfw";
        if ( WarnSpell ~= nil ) then
          focusString = focusString.." "..WarnSpell;
        else
          focusString = focusString.." "..MacroSpell;
        end
      end
    
      focusString = focusString.."\n/cast ";
    
      if ( UseDefaultCondition == 1) then
        focusString = focusString.."[target=focus] ";
      end
    
      focusString = focusString..MacroSpell;
    
      local MacroNumber = GetMacroIndexByName(MacroName);
    
      if ( MacroNumber == 0 ) then
        CreateMacro(MacroName, 1, focusString, 1, 1);
      else 
        EditMacro(MacroNumber, MacroName, 1, focusString, 1, 1);
      end
    end
    
    function CCFocus2:CCFMakeMacros()
      _, PlayerClass = UnitClass("player");
      if ( PlayerClass == "MAGE" ) then
        -- Polymorph
        CCFocus2:OneMacro( CCFocus2_MACRONAME1, CCFocus2_Strings.Mage_Spell1, 1, 1 );
        -- Polymorph: Pets
        CCFocus2:OneMacro( CCFocus2_MACRONAME2, "Polymorph("..CCFocus2.db.profile.SRandom..")", 1, 1 ); <==Injecting Spell name here
      
      elseif ( PlayerClass ==  "WARLOCK" ) then
        -- Fear
        CCFocus2:OneMacro( CCFocus2_MACRONAME1, CCFocus2_Strings.Warlock_Spell1, 1, 0 );
        -- Banish
        CCFocus2:OneMacro( CCFocus2_MACRONAME2, CCFocus2_Strings.Warlock_Spell2, 1, 0 );
        -- Seduction OR Spell Lock
        CCFocus2:OneMacro( CCFocus2_MACRONAME3, CCFocus2_Strings.Warlock_Spell3, 0, 1, CCFocus2_Strings.Seduction );
    
      elseif ( PlayerClass == "PALADIN" ) then
        -- Turn Evil
        CCFocus2:OneMacro( CCFocus2_MACRONAME1, CCFocus2_Strings.Paladin_Spell1, 1, 0);
    
      elseif ( PlayerClass == "PRIEST" ) then
        -- Shackle Undead
        CCFocus2:OneMacro( CCFocus2_MACRONAME1, CCFocus2_Strings.Priest_Spell1, 1, 1 );
        -- Mind Control
        CCFocus2:OneMacro( CCFocus2_MACRONAME2, CCFocus2_Strings.Priest_Spell2, 1, 0 );
        -- Silence?
    
      elseif ( PlayerClass == "DRUID" ) then
        -- Hibernate
        CCFocus2:OneMacro( CCFocus2_MACRONAME1, CCFocus2_Strings.Druid_Spell1, 1, 1 );
        -- Cyclone
        CCFocus2:OneMacro( CCFocus2_MACRONAME2, CCFocus2_Strings.Druid_Spell2, 1, 0 );
    
      elseif ( PlayerClass == "ROGUE" ) then
        -- Blind
        CCFocus2:OneMacro( CCFocus2_MACRONAME1, CCFocus2_Strings.Rogue_Spell1, 1, 0 );
      
      elseif ( PlayerClass == "HUNTER" ) then
        -- Distracting Shot
        CCFocus2:OneMacro( CCFocus2_MACRONAME1, CCFocus2_Strings.Hunter_Spell1, 1, 1 );
        -- Scatter Shot
        CCFocus2:OneMacro( CCFocus2_MACRONAME2, CCFocus2_Strings.Hunter_Spell2, 1, 0 );
        -- Silencing Shot
        CCFocus2:OneMacro( CCFocus2_MACRONAME3, CCFocus2_Strings.Hunter_Spell3, 1, 0 );
        -- Wyvern Sting
        CCFocus2:OneMacro( CCFocus2_MACRONAME4, CCFocus2_Strings.Hunter_Spell4, 1, 1 );
        
      elseif ( PlayerClass == "SHAMAN" ) then
        -- Hex
        CCFocus2:OneMacro( CCFocus2_MACRONAME1, CCFocus2_Strings.Shaman_Spell1, 1, 1 );  
    
      end -- of all classes
    end
    
    Posted in: Lua Code Discussion
  • 0

    posted a message on Skinner
    Skin Request:

    http://wow.curseforge.com/addons/tradeskill-master/
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    Quote from Decabah
    1x Skinner-b4.13914.4\Skinner.lua:954: attempt to index local 'obj' (a nil value)
    Skinner-b4.13914.4\SkinMe\Altoholic.lua:9: in function <Skinner\SkinMe\Altoholic.lua:4>
    Skinner-b4.13914.4\SkinMe\Altoholic.lua:59: in function <Skinner\SkinMe\Altoholic.lua:26>
    (tail call): ?:
    <in C code>: in function `xpcall'
    Skinner-b4.13914.4\UtilFuncs.lua:95: in function <Skinner\UtilFuncs.lua:93>
    Skinner-b4.13914.4\UtilFuncs.lua:152: in function `checkAndRunAddOn'
    Skinner-b4.13914.4\AddonFrames.lua:154: in function <Skinner\AddonFrames.lua:113>
    (tail call): ?:
    <in C code>: ?
    <string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
    (tail call): ?:
    AceTimer-3.0-5 (Ace3):164: in function <Ace3\AceTimer-3.0\AceTimer-3.0.lua:138>
    


    This is with the latest version of Altoholic, he changed up alot of the ui
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    Skin request:

    Reagent Restocker
    http://wow.curseforge.com/addons/reagent_restocker/

    Options Frame needs skinned, if you please sir
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    Bug report:

    1x Skinner-b4.13875.1\SkinMe\XLoot10.lua:24: attempt to index upvalue "btn" (a nil value)
    Skinner-b4.13875.1\SkinMe\XLoot10.lua:24: in function <Skinner\SkinMe\XLoot10.lua:12>
    <string>:"safecall Dispatcher[2]":4: in function <string>:"safecall Dispatcher[2]":4
    <in C code>
    <string>:"safecall Dispatcher[2]":13: in function "?"
    Ace3-r1022\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function "Fire"
    Ace3-r1022\AceEvent-3.0\AceEvent-3.0-3.lua:120: in function <Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>

    Locals:
    nil
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    broken skins examiner and flightmap, both have just released new versions
    Posted in: General AddOns
  • To post a comment, please or register a new account.