CurseForge Register Sign In

Authors CurseForge

  • Dashboard
  • Forums
  • Paste
  • Knowledge Base
  • Reward Store
Desktop View
  • Home
  • Member List
  • cralor's Profile
  • Send Private Message
  • View cralor's Profile
  • cralor
  • Registered User
  • Member for 13 years, 11 months, and 13 days
    Last active Sat, Sep, 21 2019 16:26:39
  • 0 Followers
  • 30 Total Posts
  • 0 Thanks
  • Posts
  • Threads
  • Forum Posts
  • 1
  • 2
  • Next
  • View cralor's Profile

    0

    Sep 3, 2013
    cralor posted a message on Functions in a local table
    What are some recommendations for my Slider situation (which is just 1 of the 6 units having trouble)? It appears the callbacks are fine with data... something is complaining with my for loop indexing, whether it be the callback functions themselves, or other functions used by the callback functions referenced.

    See: http://forums.wowace.com/showpost.php?p=326731&postcount=15

    RuneItAll.lua: https://github.com/cralor/rune-it-all/blob/master/RuneItAll.lua
    Options.lua: https://github.com/cralor/rune-it-all/blob/master/Options.lua
    Posted in: Lua Code Discussion
  • View cralor's Profile

    0

    Sep 3, 2013
    cralor posted a message on Functions in a local table
    I appreciate all the insight.

    Alright, I've updated my files once again, this time the Options uses the colon to ensure 'self' is passed through.

    In my main, I've renamed all mentions of the "RIA" table with "self". Table entries referenced with "self." and functions referenced with "self:".

    However, I still have this Slider error. Attached is some additional intel regarding the callbacks. Thanks all.
    Posted in: Lua Code Discussion
  • View cralor's Profile

    0

    Sep 2, 2013
    cralor posted a message on Functions in a local table
    Yeah, yeah. I said that wrong.

    Anyway, I'm unaware of a "GetValue" function that I have. Could you clarify?

    As an aside, what do you recommend as a a Blizz Options framework? I'd like something similarly simple to implement. This method is currently working fine, although it is discontinued and somewhat bloated, as I understand.
    Posted in: Lua Code Discussion
  • View cralor's Profile

    0

    Sep 2, 2013
    cralor posted a message on Functions in a local table
    See: https://github.com/cralor/rune-it-all/blob/master/Portfolio/Control/Slider.lua
    All of the files are on the GitHub.

    This is a "back-end" file, so changes won't be made here, however feel free to view it as reference to what is going on. When the error mentions this, it's like mentioning that Blizzard's code is wrong.
    Posted in: Lua Code Discussion
  • View cralor's Profile

    0

    Sep 2, 2013
    cralor posted a message on Functions in a local table
    Yes, I do understand this. However, I think my implementation may be off.

    If you could look back into the code, my intent was to put all of my data (more importantly, my functions) into a local table so they did not pollute the global namespace. The problem is that this is producing additional errors when references callback functions in my Options, etc.

    Have I implemented this correctly? If so, then I can tell it's more specific errors to fix.
    Posted in: Lua Code Discussion
  • View cralor's Profile

    0

    Sep 1, 2013
    cralor posted a message on Functions in a local table
    So, in "re-writing" my code, I have created a local table, RIA, and renamed my functions to "RIA:doesSomething()".

    Now, I'm using Portfolio as my Interface Options framework. Very simple, easy, just works for me. Anyway, I've had to refer to my functions as "RIA.doesSomething" for callbacks. Probably the right way, but some explanation regarding this would be helpful for my understanding :)

    In addition, I'm getting this error: http://pastebin.com/wJammv8H

    I have a feeling it is in regards to my new function namespace setup.

    Here is current code: https://github.com/cralor/rune-it-all/blob/master/RuneItAll.lua
    Options: https://github.com/cralor/rune-it-all/blob/master/Options.lua

    All the other code can be viewed on GitHub too.

    Thanks for the help!
    Posted in: Lua Code Discussion
  • View cralor's Profile

    0

    Aug 22, 2013
    cralor posted a message on Conflicts with FrameLocks
    Thanks funkydude.

    You're right; it was a simple line to fix (that I didn't need, in fact).

    Having neglecting the AddOn (and WoW) for almost 2 years now, I'm going ahead and doing some heavy cleaning here. I'll put my functions into a local database.
    Posted in: Lua Code Discussion
  • View cralor's Profile

    0

    Aug 21, 2013
    cralor posted a message on Conflicts with FrameLocks
    Any additional thoughts?
    Posted in: Lua Code Discussion
  • View cralor's Profile

    0

    Aug 17, 2013
    cralor posted a message on Conflicts with FrameLocks
    Yep. With my AddOn disabled Pet Battles are perfect. It's gotta be something inside!
    Posted in: Lua Code Discussion
  • View cralor's Profile

    0

    Aug 16, 2013
    cralor posted a message on Conflicts with FrameLocks
    Thank you for your help.

    This occurs when entering or exiting a Pet Battle, more specifically... upon the frame lock to the "pokemon view".

    I've had reports that my AddOn was at fault. With it enabled, I've seen the same. I will have to check with it disabled.
    Posted in: Lua Code Discussion
  • View cralor's Profile

    0

    Aug 16, 2013
    cralor posted a message on Conflicts with FrameLocks
    Coming back from the dead and updating my AddOn(s).

    My DK AddOn has been troubled with FrameLocks.lua issues since Pet Battles were introduced. I did some research but couldn't get a handle on much. Maybe one of the fine folks around here has more experience / can spot something I cannot.

    FrameLocks.lua: https://github.com/tekkub/wow-ui-source/blob/live/FrameXML/FrameLocks.lua

    "FrameLocks.lua:60: table index is nil"
    Gist of error: https://gist.github.com/cralor/6247441

    And my code: https://github.com/cralor/rune-it-all/blob/master/RuneItAll.lua
    Posted in: Lua Code Discussion
  • View cralor's Profile

    0

    Mar 23, 2011
    cralor posted a message on Store Gift Card Restock?
    Thanks for your efforts!
    Posted in: General Chat
  • View cralor's Profile

    0

    Mar 21, 2011
    cralor posted a message on Store Gift Card Restock?
    Personally, the $500 option is not currently achievable by any means for me.
    Posted in: General Chat
  • View cralor's Profile

    0

    Mar 21, 2011
    cralor posted a message on Store Gift Card Restock?
    What's the current Status for "Earth's Biggest Selection" store cards?
    Posted in: General Chat
  • View cralor's Profile

    0

    Jun 4, 2010
    cralor posted a message on Store Gift Card Restock?
    Yeah. The end of the months are when they tally and review everything. This also explains the delay in points received until several days into the new month.
    Posted in: General Chat
  • To post a comment, please login or register a new account.
  • 1
  • 2
  • Next
  • Product
    • Overwolf platform
    • Appstore
    • Download Overwolf
  • Developers
    • Getting started
    • Documentation
    • Apply for funding
  • Partners
    • Advertise on Overwolf
    • Partner with us
    • Influencers
  • Company
    • About us
    • Our story
    • Commitment to gamers
    • Blog
    • Career
  • Resources
    • Help & support
    • Terms of service
    • Privacy policy
    • Brand guidelines