Cygwin (http://www.cygwin.com/mirrors.html) doesn't require admin rights to install, and has a subversion package, along with numerous other linux cli type goodies.
It's probably only worth your time if you know at least survival level *nix command line, though.
- Registered User
Member for 11 years, 3 months, and 25 days
Last active Fri, May, 26 2017 19:13:52
- 0 Followers
- 6 Total Posts
- 0 Thanks
Feb 4, 2008QuestHelper (http://wow.curse.com/downloads/details/9924/ alas, newly abandoned) has a great example of scads of static data saved in a separate .lua file. He saves it all inside a table in the global namespace (i.e. no 'local' in the definition). It's made available to the other scripts by being included in the .toc file. BTW, the structure of your /acro example looked fine to me. You could use ipairs() to loop through the "WoW" group, for example, to print out the keys and values.Posted in: Lua Code Discussion
On a somewhat related side note, I got the crazy idea in my head that I needed to create a light, in-memory relational database for my addon. I've long since passed the point of realizing that it's probably not the best thing for my mod, it's become a challenge now. I was doing pretty well, too, until I decided to make it take queries in basic SQL.. I've spent most of the rest of today cursing LUA's weak-sauce pattern matching implementation.
Feb 4, 2008Posted in: Lua Code DiscussionUnlike several other scripting languages, Lua does not use POSIX regular expressions (regexp) for pattern matching. The main reason for this is size: A typical implementation of POSIX regexp takes more than 4,000 lines of code. This is bigger than all Lua standard libraries together. In comparison, the implementation of pattern matching in Lua has less than 500 lines.
(As he points the other way and shifts the burden onto the users)
Little does he know, I've one-upped him. I've made a language so small and portable that it takes zero lines of code. The flexibility is fantastic! With it, a programmer can create literally anything (s)he has the ingenuity to come up with.
Jan 28, 2008Hello, I apologize if I'm missing something obvious here. Is there an API or library function available to determine whether an item may be used by the current player?Posted in: Lua Code Discussion
IsEquippableItem returns true if _someone_ can equip the item, but doesn't take level or class restrictions into account. I can come up with my own function to test these, but I'd rather not reinvent the wheel.
- To post a comment, please login or register a new account.