• 0

    posted a message on Wysiwyg or notepad
    I like Microsoft's "Addon Studio for World of Warcraft" over at CodePlex for Lua and XML-editing. But as Xinhuan mentioned, it's shite as a wysiwyg-editor compared to what you can do in Lua.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Weird addon descriptions.
    Having cooled down a bit (I didn't like the OP's tone) I returned to my usual coöperative mood and adjusted my project description a bit.

    There ya go :)
    Posted in: General Chat
  • 0

    posted a message on Heatsink: Ace3/LibBars/LibSink cooldown tracking
    durcyn, someone requested filtering of cooldowns, which you declined. Any chance you can provide us with help so that an outside config-addon can modify the spelltables and knock off the cooldowns we're not interested in?

    Something like (psuedo-code here, I'm not well-versed in Ace3 yet, nor the internal structure of HeatSink):
    local hs = LibStub("AceAddon-3.0"):GetAddon("HeatSink")
    hs:DropSpell(spellname)
    hs:RescanSpellTable()
    Posted in: General AddOns
  • 0

    posted a message on LibMindReader
    Woot, First release of LibMindReader. There were some annoying thingies that got in the way, but the basic read-only functionality is up and running. I haven't tried changing anything yet though :p.

    Even in this state it's an awesome thing to have, a visual of your table variables...

    Helped me a lot in fixing some of the weird bugs I was having w BeneCast.
    Posted in: General AddOns
  • 0

    posted a message on Weird addon descriptions.
    I'm feeling like being stubborn about this. Maybe later, when the "wtf" wears off, I'll be more coöperative.
    Posted in: General Chat
  • 0

    posted a message on ckknight gone / his addons dead ?
    I think the real ckknight just made a lua-bot that keeps his addons up to date and regularly posts on here in his name. About a months later he died in a car-crash. The bot is still running of course because it's on Linux.
    Posted in: General Chat
  • 0

    posted a message on Ace3 Documentation
    Quote from RedDoom
    Thanks for the very useful responses! That got me started on a sleuthing expedition during which I found these webpages on Ace3 (and lots of other good stuff) for newbies like myself,

    http://old.wowace.com/wiki/Category:API_Documentation
    http://old.wowace.com/wiki/Category:Tutorials

    - RedDoom


    thank you thank you thank you thank you thank you thank you ...
    Posted in: General Chat
  • 0

    posted a message on IDE and how to get started
    I use the AddOn Studio for World of Warcraft made by Microsoft. It has some nice features, it's standalone and still a known environment for most of us. The coming 2.0 version will even boast SVN-integration out of the box!

    Some will slag it, but it works well for me.
    Posted in: General Chat
  • 0

    posted a message on Compression algorithms
    (mostly a rehash of what ciscoh said)

    Anyone see collections in school?

    "Encoding" is the very broad concept of translating the same information into another format
    "Compressing" is a subset of "encoding" where the aim is to end up with less bytes than at the start. Often (though not persé) without any loss of information. This splits up in lossy compression (some information-loss is accepted, see the DCT-algorithms and it's applications, most known in JPEG and derivatives) and lossless compression (any Hoffman derivative, "zip"-like format really, zip itself of course being the defacto standard).

    Converting a byte into a format that uses less bits per byte either:
    - Has no real net gain
    - Does not compress at all, it usually uses more bytes to translate otherwise unaccepted values into a known range of accepted values. Prime example is the BASE64 encoding used in mail transfer.
    - Has a compression ratio depending on the "tightness" of the format which depends on assuming certain values will never occur in the source material. Example: If your source will only contain 8 values at any one time per byte you can squeeze 8 bytes into 3 bytes achieving a 37.5% compression ratio (that is, you gain 62.5%). Complexity-wise this is hardly worth calling compression since most algorithms are usually built to accomodate ANY byte.

    If you want to try your hand on the simplest of compression see Huffman coding. Warning, I suggest reading up on trees first!
    Posted in: Lua Code Discussion
  • 0

    posted a message on Kill the armored man.
    I thought this was gonna be a post against plate wearers :p
    Posted in: Addon Ideas
  • 0

    posted a message on Help with my code
    Yeah, I got that far. But he also kind of said which nameplates were and were not complying to the changes and I couldn't make that out.

    Ctrl+H 10 -> 5 ?? :p
    Posted in: Lua Code Discussion
  • 0

    posted a message on Bored? Read some newbie code
    I found that a suitable substitute is still to use the tableID itself:
    tostring(tablevar)

    That narrows the situations where you need a table as the key even further!
    Posted in: Lua Code Discussion
  • 0

    posted a message on Instance Maps.
    I suppose that's another way of doing it :p
    Posted in: Lua Code Discussion
  • 0

    posted a message on Help with my code
    groin84, could you rewrite the original question? I can't make heads nor tails of it.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Bored? Read some newbie code
    There should be a Help A Newbie program where experienced coders take a newbie under his wing. The "big brother/sister" then regularly reviews the newbie's code and points him in the right direction.

    Like, just the other day (well, more like a week ago) I asked someone to read through my LibMindReader-code. They dredged up tons of mistakes. Felt like a noob but it helped me a TON and it'll probably make me a better author.

    Some examples:
    - putting table recycling functions in a seperate lib. Correct way: remake the functions in each addon/library. Reason: If one addon doesn't play right, every addon that uses the lib gets screwy.

    - Overusing table recycling. No need for getting your tables from a recycling function if your addon is not intended to release any of them.

    - Don't use a table-var as a key for a table. Well, that was actually a bug since I MEANT to use a similarly named string-var.

    See many more in the official LibMindReader-thread :p.
    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.