• 0

    posted a message on Dropdown menu woes
    Quote from Ringleron »

    Hehe... one of those cases where an object name is needed. :)


    Most FrameXML-defined functions don't like unnamed frames it seems, even if they let you pass the raw object rather than just the frame name.

    That's not the only thing that they did wrong though. Those UI data files scare me.
    Posted in: Lua Code Discussion
  • 0

    posted a message on BG timer
    I still don't see a reason for this. If you're dying to regen health instantly you're being very lazy.
    Posted in: Addon Ideas
  • 1.87069778747956

    posted a message on Prat Filter, Lua search pattern help
    Quote from Yves »

    .*%[Dirge%].*

    Could u possibly explain the steps?

    1. [Dirge%]- Why that percent sign inside the brackets?
    2. .*% - Why did you add the percent sign there as well?
    3. .* - Why not use a percent sign there when you did it in the start of the string?
    4. The dot before the star means that it's a wildcard and not a lua function right or?


    Offtopic:
    We started with Lobotomizer spam, then Thunderfury spam, then Twinblades of Azinoth, and now Dirge as well.
    Stormscale EU.



    1&2: Brackets are special characters. Without them, Lua/Prat would interpret anything inside the bracket as a pattern 'set'. Adding the percents makes sure Lua sees them as normal brackets.
    3: A dot represents all characters in a pattern. Using a percent sign would make it just a normal dot. It's required here to match any string of text coming before the '[Dirge]'.
    4: The dot as mentioned above matches any single character. The asterisk (or a '-' if you wish to use that, they're interchangeable) means unlimited (0 or more) repetitions of the dot.

    So the string to Lua looks like this:

    <any character(s)>[Dirge]<any character(s)>

    http://www.lua.org/pil/20.2.html
    Posted in: General Chat
  • 0

    posted a message on Quartz and cyCircled
    Indeed a nice UI!

    Any way, that's not cyCircled. That's an eePanel frame placed behind the cast bar, then parented to it (so it shows/hides with the cast bar).

    What options in Quartz did you change to lose it?

    Edit: Or maybe it's a custom border placed on Quartz through its options...
    Posted in: General AddOns
  • 0

    posted a message on slightly confused
    If you don't understand this much, this isn't the first problem you'll run across, even if you can have libraries do a lot of work for you. I suggest you read the PIL.

    Edit: Because I'm bored:
    1.
    MyAddon = AceLibrary("AceAddon-2.0"):new("AceConsole-2.0", "AceEvent-2.0")

    Sets the return of the function call :new(...) (called from the table return of AceLibrary(...)) to the global MyAddon.

    2.
    MyAddon = AceLibrary("AceAddon-2.0"):new("AceConsole-2.0", "AceEvent-2.0")
    local MyAddon = MyAddon

    Sets the return of the function call :new(...) (called from the table return of AceLibrary(...)) to the global MyAddon, then creates a local reference to MyAddon (because accessing locals is faster).

    3.
    local MyAddon = AceLibrary("AceAddon-2.0"):new("AceConsole-2.0", "AceEvent-2.0")

    Sets the return of the function call :new(...) (called from the table return of AceLibrary(...)) to the local MyAddon. (Using this means there's no global at all, so other addon can't access your addon.)

    4.
    local MyAddon = AceLibrary("AceAddon-2.0"):new("AceConsole-2.0", "AceEvent-2.0")
    _G.MyAddon = MyAddon

    Sets the return of the function call :new(...) (called from the table return of AceLibrary(...)) to the local MyAddon, then creates a global reference to it (functionally the same as 2).


    Bam, number 3 is not silly at all. Almost all libraries use number 3. This means the library functions should only be available via the MyLib = AceLibrary("MyLibrary-1.0") call and not from globally.


    I'm pretty sure libraries aren't registered like that. >> We're obviously talking about addons.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Item ratings
    Quote from st0nedpenguin »

    On a more serious note, I'd go for a combo of the two routes in this thread.

    Get your girlfriend edumacated up on what stats she should be looking out for and how valuable those stats are, then get her running something like RatingBuster so she can make nice quick and easy comparisons of new items against her current ones.




    <3 RatingBuster
    Posted in: Addon Ideas
  • 0

    posted a message on Mini Map "Blips" in Raids?
    Aren't the blips different colors by default?

    Any way, I use NefRadar to turn all mimimap blips into icons that look like MetaMap's icons. You can try it, or another similar addon I guess.
    Posted in: AddOn HELP!
  • 0

    posted a message on Item ratings
    Quote from Astaldo »

    Cmon now :)

    The high-end raiding populace is using a few cookie-cutter specs and their class-leader is telling them what gear to shoot for,
    and what skill rotations to use and if they can follow simple instructions they don't "suck".

    The people that model spreadsheets and run simulations and have a "thorough" understanding of what each stat provides based on their current gear are a very slim percentage of the WoW population.

    such strong words...

    An addon telling an elemental shaman that this piece of mail with int / spell damage / spirit is better than that one with agility / strength can't hurt anyone.

    He'll make the connection soon enough.


    I beg to differ. You don't have to be the in-depth theorycrafter type to know what each stat means to your class, and how to balance them effectively, or how to spec and play your class in a raid environment. I wouldn't say the average 70 is a theorycrafter, but I wouldn't say the average 70 follows nothing but cookie-cutter specs and rotations.. at least not without coming up with said specs and rotations on their own (because in WoW there just isn't room for anything but cookie-cutter).

    That said, and as I mentioned before, stats are simple. The basic stats are quicker to learn in-and-out than most mods are, and the advanced stats are something that should come over time anyway--and aren't nearly difficult enough to want to avoid learning.

    Just make that push in the right direction, OP. There aren't many people--save perhaps mentally retarded ones--incapable of learning WoW's simple mechanics. And on the bright side, you won't have her asking you questions about the game--or the mods you tell her to run--after just a little while.
    Posted in: Addon Ideas
  • 0

    posted a message on Item ratings
    Quote from st0nedpenguin »

    Every class should focus on spirit as #1 priority for sure!1!11!1!

    Especially if you're opposite faction to me, in my battlegroup, and PVP a lot.


    win

    Anyway, I still disagree that an addon like this should be used at all, regardless of whether the player is new. The only stat balances that matter to new players (the very general 5 basic stats) are so overly simple to understand that it takes merely a couple minutes for them to get it all down. Trying to avoid this learning is only dangerous to future learning in the long run, and given the time it'll take to get used to the addon providing the alternative is kind of counterintuitive.

    If they're higher up and need to worry about more than the basic 5 stats, then you're doing wrong by them by not helping them in actually learning them, or pointing them towards a resource for that. Anyone above 50 should understand each stat affecting their class thoroughly or they're going to.... suck.... badly.
    Posted in: Addon Ideas
  • 0

    posted a message on Rat!! addon help
    Quote from Seerah »

    Right-click Tattle in WAU and select Ignore.


    When was that feature put in? I'm still dumping a .svn folder in everything I modify. lol
    Posted in: General Chat
  • 0

    posted a message on Item ratings
    Quote from tekkub »

    EXACTLY. Teach her which stats are important to her build and playstyle. My hubby knows "int, +heal, MP5 and maybe a little spi".


    Well it isn't impossible to make. Have the addon scan the talents then check up on a pre-build data table of stat weights for the class/spec, and compare it against current gear to see what's needed most.

    Worth it? No. You should know well enough to pick your own gear. And if you do, you'll find this system way too constrained for you.
    Posted in: Addon Ideas
  • 0

    posted a message on UI Screenshots - Show us what you use!
    Quote from zariel »

    New oUF


    I wish pulling off hot pink in more complex layouts wasn't so hard.
    Posted in: General Chat
  • 0

    posted a message on [searching] global emotes
    Quote from egingell »

    It's not possible unless every single person around you has the same addon.


    Don't emotes still appear in the chat log? Just PlaySound() on the proper file..?
    Posted in: Addon Ideas
  • 0

    posted a message on Cartographer Addition Wanted
    I meant on the zone maps. City maps are a whole different story. =)
    Posted in: AddOn HELP!
  • 0

    posted a message on UI Screenshots - Show us what you use!
    Quote from Quokka »

    My latest UI

    OOC Group (CI-2.3.2-1.0)

    Still not happy with this thing, but can't seem to get it right this time.
    Any sugestions are welcome


    I feel my head leaning to one side.

    And I feel like throwing on the caption 'random'.
    Posted in: General Chat
  • To post a comment, please or register a new account.