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

    posted a message on Something i want to make.
    Quote from Phanx
    You don't "put" the table anywhere. You just look up values in it. For instance:

    local color = PowerBarColor["MANA"]
    fontstring:SetTextColor(color.r, color.g, color.b)
    



    What's wrong with the font string in Speedometer that I've gone over line by line? ???


    i'm having problems with adding it to mine. it might have been cux i had just "LibSharedMedia-3.0" in the folder instead of "LibSharedMedia-3.0" + "LibStub" but i'm not sure.

    i want to get the color stuff working since i think i can do that. i'll create another post with a paste if i get it working. i'm pretty sure it will work though.
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    egingell:

    putting in the table does nothing. what do i do with the table once it's in?

    --

    Phanx:

    can u show me an example of a font sting that uses shared media?
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.


    thats the code for the default player portrait isn't it?

    so does that mean i have to make a power bar table for the colors? then add thoses event in to the event handler? then relate the frame to the powerbarcolor?

    --

    Phanx

    i tried changing the font stuff before and it ended bad. i could only use fonts from the this page on wow wiki. which were game fonts. that one font i only found in xml.

    so i need line 29, 123, 147-144, and 147-151 to get shared media into my addon? how much of a difference would it be to require shared media? i'd assumed only 123 would change.
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    forget the whole pet and vehicle thing gonna keep it to only players.

    i can't find PowerBarColor on wow wiki. is it called something else?

    i don't exaclty understand how LibSharedMedia works to tie into the addon. i know what it does. i can see theres a lot of references to media which relates to" LibStub and LibStub:GetLibrary("LibSharedMedia-3.0", true) ". Which parts do what?
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    I'll explain, keep in mind i did call it custom power.

    Main Features:

    - a Text display of your class' power type - rage, runic power, w/e ( we've achieved this )
    - a movable frame of the display - so you can place it any where on your screen. ( we've got this done as well )
    - colored text ( sorta figured out the color but i want a color picker for w/e wacky color some1 might want )
    - shared media so it can barrow fonts from other addons.
    - maybe scale-able font.

    Additional Options:

    Pet support, and maybe w/e other power types that are used at some point.

    I haven't logged on a hunter to see what it's like with a pet but with that few other questions come to mind. Like vehicles or shit that happen to ur character that have power types to them. after all, all of that is considered ur pet right?

    i could careless about pets or w/e else but a "what if" came to mind that some ppl might want it. if it turns into something extra then i'd rather drop it cux i don't want it myself. i can only thing of 1 place where i'd care to see it and that is Eoe's phase 3.
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    what would be the easiest way for me to make an options menu for which power types to show? tekconfig kinda seems lost cux i can't find any help with it or where to start.

    heres the code as it is atm.
    http://paste.wowace.com/586/

    the only thing i've added in is line 27 but that was when i was messing around with text and color which didn't really go anywhere. except for making the text red.
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    then how can i limit what power/s are shown?

    most of the color stuff on wow wiki doesn't exist, like there is no info. is there some place else i can look for it?
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    i'm sry for all the trouble Phanx, u've been a great help tho. i will use this code in case i messed up anything else. i'll also add in the unit power table again and make sure i don't add in the old event handler. i just need to keep track of what i change and want to undo. i think using notepad 2 will help with the undo/redo thing.

    also in Speedometer is FRIZQT__.ttf short for Friz Quadrata TT and is that a font in the game?
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    it's all cool Torhal i wasn't mad. just was bothered by how u expect people to learn just by only reading stuff.

    --

    i got it to lock and unlock. however on first load it's locked so i /cp lock which seems not to do anything but if i do it again it's unlocked. what could be causing this? is it cux i have not deleted the saved variable or closed the game and reloaded it? granted i have /console reloadui after any change. i have tired changing the local default from false to true but that didn't work.

    to achieve the whole lock/unlock thing i had to swap 103/104 with 107/108. with the way it was it would be unlocked on load then locked forever if /cp lock was done. Am i getting or am i still mixing it up?

    10-1 your going to tell me that the default value is locked so on first load it's locked. so the first /cp lock tells it to lock nothing then when done again it unlocks it.
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    Phanx before i put in any of your stuff i'm gonna try a few things. i didn't realize i had 2 event handlers. i didn't know they would overwrite eachother. i just saw the power event table was gone so i added them in.

    If i get confused or lost i'll try ur code or use it as a reference.
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    Quote from Torhal
    This is exactly why I haven't attempted to help with this. Specifically, the words in bold.


    Quote from Bitwise
    Ditto.


    well u guys r lazy. i've learned a lot more by making mistakes thanks to Phanx. i'm not trying to be lazy or ask him to do the addon for me. i have little or no idea what i was doing when i started all of this. i never did anything sort of like this before. i can't just read someone's code and understand what going on when i've never completed my own first addon for a basic understanding. granted there were the other things on wow wiki but none of them were related to what i wanted to do.

    here read this, this and this put it all together then do something with it. 10-1 ur first response will be "well, where do i start". at least that, is how i felt reading some of that stuff on wow wiki. Other times it was the fact that i didn't know how to connect any of the stuff i did read on there.

    i guess i am an idiot but at least there was one nice person to take the time to help out this idiot out. i understand there is some people that don't want to put up with something like that. which is fine but why do u have to be mean to me cux u know more then i do?
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    there is one command " /cp or custompower lock " to toggle the state and no unlock command?

    also is " if cmd and cmd == "lock" then " wrong? Or does that enable it to be on/off the way it's written?

    doesn't in the slash command handler when referring to the state of the frame to use self.db.lock ?

    if i use CustomPower.db.lock db is nil if i use self.db.lock then self is nil i can't figure out why it's nil.

    i disabled the show and hide by putting " -- " in front of them other then that i'm not fully sure if i changed anything this time except for moving the unitpower to a different spot.

    http://paste.wowace.com/557/

    also if self :hide() is a nil value wouldn't self:show() be as well? Even if i put both of them with CustomPower:hide/show() it still doesn't seem to work.
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    this show and hide thing is making me confused because there seems to be no rule as to when it's shown.

    i also don't understand why it's lock by default.

    http://paste.wowace.com/556/

    so far that is wut i've tried there is an error on line 50

    Message: ..\AddOns\Custom Power\Custom Power.lua line 50:
    '}' expected (to close '{' at line 49) near '='

    also if i make line 50 not error and try /cp lock there is an error on line 100.

    Why are theses popping up?
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    man i read it over 4 times and everything i thought the error was, it wasn't but i missed a stupid thing like a damn ")" /sigh. Like i thought the long form of the slash command had to be b4 the short one because of the example on wow wiki for example.

    Phanx i have no problem with giving u some kinda of thanks or something when it is released. i honestly will say " This addon could have never been finished without Phanx". Really though major face palm at a dumb ")".

    theses are the changes i've made so far but i have a raid soon so i'll double post when i'm done.

    http://paste.wowace.com/549/
    *note for me to see the frame i need to take out line 23. when i do that the frame is locked and won't move even if i try the slash commands.

    i'm not done yet so let me work on it abit more
    Posted in: Addon Ideas
  • 0

    posted a message on Something i want to make.
    i have no idea why this pops up

    Custom Power.lua line 82:
    ')' expected (to close '(' at line 42) near 'SLASH_CUSTOMPOWER1'

    could it be because there is nothing in my xml file at all? i'm pretty sure that is why but what exactly do i put in there?

    just this? :
    <OnLoad>
    Custom Power_OnLoad();
    </OnLoad>
    Posted in: Addon Ideas
  • To post a comment, please or register a new account.