Zacker Posted September 8, 2006 Report Posted September 8, 2006 Some weeks ago I decided to give a go at learning LUA. The result of this is an addon for the mage class in WoW which automatically gives water to people who ask for it. Usually a mage spend a bunch of time with handing our water when raiding. With this addon, that is a thing of the past. This is the first public beta and it is therefore still in the early stages. http://www.curse-gaming.com/en/wow/addo ... ntain.html Quote
Spellbinder Posted September 8, 2006 Report Posted September 8, 2006 I don't know what it is since i don't play WoW. But i just love innovated and productive people so Good job! Quote
e-freak Posted September 9, 2006 Report Posted September 9, 2006 wow doesn't detect this as cheating? Quote
dissonance Posted September 9, 2006 Report Posted September 9, 2006 wow doesn't detect this as cheating?it's not. Quote
Polaris Posted September 10, 2006 Report Posted September 10, 2006 Is it sort of like a macro that autotrades the water (wich im guessing the wizard already has to be carrying) to the player that makes the request? Quote
Sindwiller Posted September 10, 2006 Report Posted September 10, 2006 LUA is damn cool, isnt it? Quote
Zacker Posted September 10, 2006 Author Report Posted September 10, 2006 Yes Polaris, you got it there:) And well LUA itself is interesting, so far it feels like a mix of coding javascript and vb. Quote
dissonance Posted September 10, 2006 Report Posted September 10, 2006 i've been meaning to get into it; have any good nub tutorials or hints, anything like that? Quote
Zacker Posted September 10, 2006 Author Report Posted September 10, 2006 I have learned everything so far by studying other addons. Many prefer tutorials, but just studying other peoples code can learn you a lot. If you want WoW specific LUA tutorials then I think you can download some kind of sdk somewhere. Afaik it's not of much use though. Quote
dissonance Posted September 10, 2006 Report Posted September 10, 2006 heh. i'm hacking up a few addons right now. trying to learn xml and lua at the same time is a blast, imo. well, sgml-based shit aint that hard, but lua got me. Quote
Zacker Posted September 28, 2006 Author Report Posted September 28, 2006 LUA turned out to be a great language and WoW is easy to mod, although it lacks official documentation. Released a few more versions of the mod. So far it has been received well with more than a thousand downloads and good ratings on curse-gaming. Quote
e-freak Posted September 28, 2006 Report Posted September 28, 2006 lol i looked into some lua code and it's basicly... basic in the very same style it has been 1982... Quote
Zacker Posted September 28, 2006 Author Report Posted September 28, 2006 I am pretty sure that the e.g. the or operator in 1982 basic did not have support for returning non-boolean values. I do not believe it had extensive support for strings and patterns either. Here is an example of how I used those things in Fountain: result = string.find(msg, FountainPattern) or string.find(msg, FountainPattern2); There are also other also many other differences, but the syntax is similar yes. This however can be said about most of todays common languages. Quote
e-freak Posted September 28, 2006 Report Posted September 28, 2006 nah i programmed 3 years with basic for school and it could handle all stuff for strings and arrays (patterns) and so on... the syntax is in basic imho totally different from c++ and delphi. while basic and lua don't split var types in integer and string c++ and delphi do. for example: basic: x = "Hello World" x = 12 * SQRT(13) x(1,5) = "Vars is free" delphi: VAR x := Integer; x1 := String; x2 := Array of String [...] begin x := 12 * SQRT(13); x1 := "Hello World"; x2(1,5) := "Vars in an array"; end; end. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.