CurseForge Register Sign In

Our first step of the new Authors Portal is Live! Learn more or click here to check it out!

Authors CurseForge

  • Dashboard
  • Forums
  • Paste
  • Knowledge Base
  • Reward Store
Desktop View
  • Home
  • Member List
  • otravi's Profile
  • Send Private Message
  • View otravi's Profile
  • otravi
  • Curse Premium
  • Member for 17 years, 4 months, and 10 days
    Last active Wed, Dec, 22 2021 18:41:32
  • 1 Follower
  • 739 Total Posts
  • 0 Thanks
  • Posts
  • Threads
  • Followers
  • Forum Posts
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 35
  • Next
  • View otravi's Profile

    0

    Nov 30, 2009
    otravi posted a message on General Practise: named arguments, optional arguments
    No, it was actually the first time I'm browsing the WoWAce forums in months :p. Pure coincident.
    Posted in: Lua Code Discussion
  • View otravi's Profile

    0

    Nov 30, 2009
    otravi posted a message on General Practise: named arguments, optional arguments
    It's a unit frame add-on: http://github.com/haste/oUF

    The file you want to look at is elements/tags.lua. The basic idea is that we use a big fat function of doom to create closures that we can cache for later usage. This way it doesn't really matter how heavy the Tag() function is, as it's a one-time cost anyway.
    Posted in: Lua Code Discussion
  • View otravi's Profile

    0

    Feb 8, 2009
    otravi posted a message on Proposal for changing class colors without tainting
    You could avoid the pair/ipairs/next issue by using a metatable also.
    Posted in: Lua Code Discussion
  • View otravi's Profile

    0

    Oct 1, 2008
    otravi posted a message on Unofficial oUF - methods used for layouts
    No, not really. I won't be subscribing to it anymore however :).
    Posted in: Unit Frames
  • View otravi's Profile

    0

    Oct 1, 2008
    otravi posted a message on Unofficial oUF - methods used for layouts
    From the ashes of this thread rises:
    oUF - General discussion
    oUF - Layout discussion
    Posted in: Unit Frames
  • View otravi's Profile

    0

    Sep 29, 2008
    otravi posted a message on Unofficial oUF - methods used for layouts
    Quote from dafire »

    btw where is the advantage of putting everything into one big function instead splitting it up and using sub functions ?

    It has advantages such as: Less readability and increased horribleness when it comes to maintaining it.
    Posted in: Unit Frames
  • View otravi's Profile

    0

    Sep 28, 2008
    otravi posted a message on Unofficial oUF - methods used for layouts
    shrugs, I won't be moving anything over to github anytime soon, and comments such as that don't help at all.
    Posted in: Unit Frames
  • View otravi's Profile

    0

    Sep 28, 2008
    otravi posted a message on Unofficial oUF - methods used for layouts
    http://en.wikipedia.org/wiki/Diff
    Posted in: Unit Frames
  • View otravi's Profile

    0

    Sep 27, 2008
    otravi posted a message on Unofficial oUF - methods used for layouts
    Quote from p3lim »

    Same, I posted that a page back :/

    I know of it.
    Quote from p3lim »

    threat.lua changes:
    http://pastey.net/96815-xih9:96814-1jo6

    Post a diff or a git repo I can pull from if you want anything done on Monday.
    Posted in: Unit Frames
  • View otravi's Profile

    0

    Sep 26, 2008
    otravi posted a message on Unofficial oUF - methods used for layouts
    Quote from Marek »

    As far as I understand, buff.filter = true is only a switch between displaying class buffs or all buffs, correct?

    Filter is the following on live:
    http://www.wowwiki.com/API_UnitBuff
    http://www.wowwiki.com/API_UnitDebuff
    Posted in: Unit Frames
  • View otravi's Profile

    0

    Sep 25, 2008
    otravi posted a message on Unofficial oUF - methods used for layouts
    http://www.wowwiki.com/API_IsInInstance
    Posted in: Unit Frames
  • View otravi's Profile

    0

    Sep 24, 2008
    otravi posted a message on Unofficial oUF - methods used for layouts
    Quote from Quokka »

    But the both point to raid now if i'm correct

    Lua is case-sensitive like most languages.
    Posted in: Unit Frames
  • View otravi's Profile

    0

    Sep 24, 2008
    otravi posted a message on Unofficial oUF - methods used for layouts
    Quote from Coldfury »

    UnregisterUnitWatch(raid)

    Wrong.
    Quote from Quokka »

    Could soneone tell me why my raid is still showing when I have 1 till 5 raid members?

    Your raid spawning code uses last as the table, while your toggling uses Raid.
    Posted in: Unit Frames
  • View otravi's Profile

    0

    Sep 23, 2008
    otravi posted a message on Unofficial oUF - methods used for layouts
    Quote from haste over at wowi »

    Originally posted by coree
    currently i am trying to work with the new tags. but i have a problem. the health texts of my targettarget or my focustarget wont be updated when i use [curhp] or [perhp]. but for player, target and focus the tags work fine.

    edit: same problem with names

    There currently is no polling for such units.
    Posted in: Unit Frames
  • View otravi's Profile

    0

    Sep 23, 2008
    otravi posted a message on Unofficial oUF - methods used for layouts
    That's because you are pointing the tag system to your statusbars, and not your fontstrings.
    Posted in: Unit Frames
  • To post a comment, please login or register a new account.
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 35
  • Next
  • Creators
    • Build an App
    • Publish a mod
    • Why Overwolf
    • App documentation
    • Mod documentation
    • Creator services
    • Apply for funding
  • Gamers
    • Discover Mods
    • Discover Apps
    • Gameplay First
    • Download Overwolf
    • Suggest a feature
  • Company
    • About us
    • Our story
    • Careers
    • Blog
    • Brand Guidelines
  • Work With Us
    • Partners
    • Advertisers
    • Influencers
    • Game Developers
  • Support & Privacy
    • Help Center
    • Supported Games
    • Terms of service
    • Privacy Policy
    • Overwolf Alphas
    • Licenses
Overwolf 2021