CurseForge and Overwolf are joining forces!
Awesome More Information
  • 0

    posted a message on Looking to modify name plates
    isn't there a mod called dog tags that did this?
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    is there something i can read on wow wiki that tells me how to add it to my addon?

    from what i understand i need to

    make an event for lock
    unreg the lock event for unlock
    add the slash command for lock/unlock

    however if i do that then i need to change it all to add in tekconfig or ace3... i think

    also i noticed last night the addon has been showing player mana. i didn't change anything in the .lua when i named the addon. granted i updated the toc, folders and w/e.
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    this is from Speedometer -

    what is:

    db.lock
    CMD_LOCK

    Quote from Seerah
    For tekkonfig, the documentation is in the code as comments.

    i can't find it.
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    i've been busy a lot with stuff and raids but i've been using the addon. i ended up calling it Custom Power. i'm not gonna release it till it has at least the lock/unlock thing for now i'm pretty happy with it.

    i'll double post when i get to read Tekkub's stuff
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    oh alright i'll check that out but it seem you have to look at it in word pad then notepad.
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    ok i ended up finding this website/page ( http://github.com/tekkub/tekkonfig/graphs/languages ) and got the entire thing. i don't see any faqs or tutorials on this site. so based on what u said i have to look at his other addons to figure it out?

    i also found " Tekkub's Emporium of Random Crap " ( http://tekkub.net/ )

    Also where is the lock/unlock frame in Speedometer?
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    so if i get Tekkub's tekKonfig libraries and the whole SharedMedia-3.0 thing going the user can choose font and textures from other addons in the options menu?
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    Quote from Phanx
    What is what about LibSharedMedia-3.0? If you want to offer font selection, you should use it. It's extremely simple to implement, adds almost no overhead, does not greatly increase your addon's download size, and provides great conveniences for both authors and users. It's also standalone, so it's not dependent on any Ace3 (or other) libraries.

    Again, I'll point you at Speedometer for a simple example of LibSharedMedia-3.0 support.


    yeah sry i was looking at it and want to figure out what is was so i could make sense of it in the code.

    I downloaded it and have it but i don't see anywhere in the folders on what to do with it or what i can do with it. Does Elkano have a site or something?
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    what is this about LibSharedMedia-3.0?
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    I took out line 56. so there is no more chat spam. i also tired changing the count to 0.01 which seems to be spot-on with blizzard's display.

    Can i register an event to lock the frame with a slash command? i can't seem to find that answer on wow wiki. How else can i prevent the user from moving the frame when they don't want to? Can i limit it the drag command to when holding X button?

    I'd also like to read something that will let me add a custom font or plug into another addon with fonts the user can choose from. Sorta like how you can with recount. i guess that would lead to me making a options menu, i think. Which i could put the unlock and lock into. What do you guys think is the best option?

    Also before i go any further could i use anything with ace3 for any of this?
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    holy crap it works thanks to you guys babysitting me /bow /bow and Phanx... i can't come up with something witty to thank Phanx but damn. This is beginning to really make more sense.

    there were a few errors in the paste but i found them and fixed them. which resulted in getting something on the screen that works pretty ok.

    it seems any kind of regen that doesn't follow the 3 second rule doesn't get updated right away. Also the chat log gets spammed with " OnEvent: UNIT_(type)_POWER

    so this is what it does and i'm pretty excited. i have a movable frame that says " player has power" in game font.

    so this is what it all looks like now http://paste.wowace.com/519/
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    alright i made thoses changes and took out the texture and made it " (nil,"BACKGROUND") " also did f:SetFontObject. i have also moved some of the stuff around. Now on line 21 (old 16 ) it's giving me a function argument near 'f'. i changed the "Myframe" to the frame 'F' which is my frame so what am i missing

    this is what it looks like now:
    frame = CreateFrame("Frame"); -- frame created, OnLoad handler called
    frame:SetScript("OnLoad", function() print("Frame loaded") end); -- never called
    
    frame:SetScript("handler",function(UnitPower) end)
    
    local f = CreateFrame("Frame",nil,UIParent)
    f:SetFrameStrata("BACKGROUND")
    f:SetWidth(128) -- Set these to whatever height/width is needed 
    f:SetHeight(64) -- for your Texture
    
    local t = f:CreateTexture(nil,"BACKGROUND")
    t:SetTexture(nil,"BACKGROUND")
    t:SetAllPoints(f)
    f.texture = t
    
    f:SetPoint("CENTER",0,0)
    f:Show()
    
    f:SetFontObject
    
    f:SetMovable(true)
    f:EnableMouse(true)
    f:SetScript("OnMouseDown",function()
      f:StartMoving()
    end)
    f:SetScript("OnMouseUp",function()
      f:StopMovingOrSizing()
    end)
    
    local power = UnitPower("player")
    local name = UnitName("player")
    local possessiveName = "";
    if strsub(name, -1) == "s" then
        possessiveName = name .. "'" -- Marcus' rage is whatever
    else
        possessiveName = name .. "'s" -- Bob's mana is whatever
    end
    
    local frame = CreateFrame("FRAME",nil,UIParent);
    frame:RegisterEvent("UnitPower");
    local function eventHandler(self, event, ...)
     print("UnitPower" .. event);
    end
    
    frame:SetScript("OnEvent", eventHandler);
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    local f = CreateFrame("Frame",nil,UIParent)
    f:SetFrameStrata("BACKGROUND")
    f:SetWidth(128) -- Set these to whatever height/width is needed 
    f:SetHeight(64) -- for your Texture
    
    local t = f:CreateTexture(nil,"BACKGROUND")
    t:SetTexture("Interface\\Glues\\CharacterCreate\\UI-CharacterCreate-Factions.blp")
    t:SetAllPoints(f)
    f.texture = t
    
    f:SetPoint("CENTER",0,0)
    f:Show()
    
    Button:SetTextFontObject("GameFontNormal")
    
    MyFrame:SetMovable(true)
    MyFrame:EnableMouse(true)
    MyFrame:SetScript("OnMouseDown",function()
      MyFrame:StartMoving()
    end)
    MyFrame:SetScript("OnMouseUp",function()
      MyFrame:StopMovingOrSizing()
    end)
    
    frame:SetScript("handler",function(UnitPower) end)
    
    frame = CreateFrame("Frame"); -- frame created, OnLoad handler called
    frame:SetScript("OnLoad", function() print("Frame loaded") end); -- never called
    
    local power = UnitPower("player")
    local name = UnitName("player")
    local possessiveName = "";
    if strsub(name, -1) == "s" then
        possessiveName = name .. "'" -- Marcus' rage is whatever
    else
        possessiveName = name .. "'s" -- Bob's mana is whatever
    end
    
    local frame = CreateFrame("FRAME",nil,UIParent);
    frame:RegisterEvent("UnitPower");
    local function eventHandler(self, event, ...)
     print("UnitPower" .. event);
    end
    
    frame:SetScript("OnEvent", eventHandler);


    alright i made those changes and now it comes up with a new error.

    line 14: attempt to index global 'Button' (a nil value)

    another thing:
    t:SetTexture("Interface\\Glues\\CharacterCreate\\UI-CharacterCreate-Factions.blp")
    what can i change this to or where do i find out what i can change it to.
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    alright this is what i have in it so far.

    local f = CreateFrame("Frame",nil,UIParent)
    f:SetFrameStrata("BACKGROUND")
    f:SetWidth(128) -- Set these to whatever height/width is needed
    f:SetHeight(64) -- for your Texture

    local t = f:CreateTexture(nil,"BACKGROUND")
    t:SetTexture("Interface\\Glues\\CharacterCreate\\UI-CharacterCreate-Factions.blp")
    t:SetAllPoints(f)
    f.texture = t

    f:SetPoint("CENTER",0,0)
    f:Show()

    Button:SetTextFontObject("GameFontNormal")

    MyFrame:SetMovable(true)
    MyFrame:EnableMouse(true)
    MyFrame:SetScript("OnMouseDown",function()
    MyFrame:StartMoving()
    end)
    MyFrame:SetScript("OnMouseUp",function()
    MyFrame:StopMovingOrSizing()
    end)

    frame:SetScript("handler",function(UnitPower) do-stuff end)

    frame = CreateFrame("Frame"); -- frame created, OnLoad handler called
    frame:SetScript("OnLoad", function() print("Frame loaded") end); -- never called

    local power = UnitPower("player" [, type]);
    local name = UnitName("player")
    local possessiveName = "";
    if strsub(name, -1) == "s" then
    possessiveName = name .. "'" -- Marcus' rage is whatever
    else
    possessiveName = name .. "'s" -- Bob's mana is whatever
    end

    local frame = CreateFrame("FRAME",nil,UIParent);
    frame:RegisterEvent("UnitPower");
    local function eventHandler(self, event, ...)
    print("UnitPower" .. event);
    end

    frame:SetScript("OnEvent", eventHandler);



    it still doesn't show anything and theres an error on line 25 for some reason.
    Posted in: Addon Ideas
  • To post a comment, please or register a new account.