1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Off-Topic

Fountain, a World of Warcraft Addon by me

  • Zacker
  • September 8, 2006 at 12:49 PM
  • Zacker
    • September 8, 2006 at 12:49 PM
    • #1

    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

  • Spellbinder
    • September 8, 2006 at 1:26 PM
    • #2

    I don't know what it is since i don't play WoW. But i just love innovated and productive people so Good job!

  • e-freak
    • September 9, 2006 at 8:49 PM
    • #3

    wow doesn't detect this as cheating?

  • dissonance
    • September 9, 2006 at 11:12 PM
    • #4
    Quote from e-freak

    wow doesn't detect this as cheating?

    it's not.

  • Polaris
    • September 10, 2006 at 3:44 AM
    • #5

    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?

  • RD
    • September 10, 2006 at 9:11 AM
    • #6

    A nano add-on

  • Sindwiller
    • September 10, 2006 at 9:33 AM
    • #7

    LUA is damn cool, isnt it?

  • Zacker
    • September 10, 2006 at 1:13 PM
    • #8

    Yes Polaris, you got it there:) And well LUA itself is interesting, so far it feels like a mix of coding javascript and vb.

  • dissonance
    • September 10, 2006 at 8:11 PM
    • #9

    i've been meaning to get into it; have any good nub tutorials or hints, anything like that?

  • Zacker
    • September 10, 2006 at 9:00 PM
    • #10

    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.

  • dissonance
    • September 10, 2006 at 10:03 PM
    • #11

    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.

  • Zacker
    • September 28, 2006 at 3:07 PM
    • #12

    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.

  • e-freak
    • September 28, 2006 at 3:27 PM
    • #13

    lol i looked into some lua code and it's basicly... basic in the very same style it has been 1982...

  • Zacker
    • September 28, 2006 at 4:28 PM
    • #14

    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:

    Code
    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.

  • e-freak
    • September 28, 2006 at 5:54 PM
    • #15

    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.

  • teeluu
    • September 28, 2006 at 11:45 PM
    • #16

    A-ha, ok, riiight.. coders, moving on :arrow:

  • wacko
    • September 30, 2006 at 8:46 AM
    • #17
    Quote from e-freak

    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.

    Display More

    well I mean its a dynamic lang which in most cases do not really have types they are just objects. scripting langs all tend to be that way. LUA is a good one I will say aside from WoW's UI we use it all over the place in tools

  • Skjalg
    • September 30, 2006 at 9:52 PM
    • #18

    thanks dude, been wanting something like this^^

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. Custom Gamemodes Contest

    Angel
    July 20, 2026 at 11:46 AM
  2. FAQ

    Angel
    July 20, 2026 at 10:14 AM
  3. Tangerine

    Harry Poster
    July 18, 2026 at 11:10 AM
  4. Any of the old guard still around? D:

    Warby
    July 12, 2026 at 8:23 PM
  5. About our archived forums

    Thrik
    June 30, 2026 at 2:12 PM
  6. Mapcore Discord

    mason_fan123
    June 24, 2026 at 8:52 PM
  7. [CS2] Valley

    Serialmapper
    June 22, 2026 at 11:56 AM
  8. Free Music / SFX Resource - Over 2500 Tracks

    Eric Matyas
    June 18, 2026 at 12:32 PM
  9. Pango [WIP]

    Elowen
    June 11, 2026 at 10:13 AM
  10. [CS2] Dvina

    Jeremy Rivera
    June 11, 2026 at 10:03 AM
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™