1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Compete in Concept Art Contest - Bounty Hunter . May the best artist's bounty hunter execute!
    Dismiss Notice
  3. The Modeling Mini-Contest #5 - Familiar is up! Compete to design a pet companion to a lonely WC3 Hero of your preference.
    Dismiss Notice
  4. The present for our Christmas Mini-Texturing Contest finally arrived. Check out the results!
    Dismiss Notice
  5. The 6th installment of our Music Contest just got fired up! Now with an Apocalyptic taste. Get started and compete in this musical battle!
    Dismiss Notice
  6. Looking to expand an altered melee race of yours? Join the Advanced Techtree Contest - Recycle, Revise, Reinvent contest!
    Dismiss Notice

JASS tutorial question

Discussion in 'World Editor Help Zone' started by Kercyn, Sep 19, 2009.

  1. Kercyn

    Kercyn
    Joined:
    Feb 14, 2009
    Messages:
    850
    First of all, let me apologise, as I am not certain if this is the correct section to post this, but I just couldn't find a more appropriate one.

    So, I would like to start learning JASS. I know, there are plenty tutorials for me to start with. But since 1.24, there have been groundbreaking changes in JASS (at least, that's what I've heard) and I don't know if the current JASS tutorials are outdated and thus teach you stuff and techniques which are no longer used. I want to ask everybody, should I start with some of the tutorials here in the Hive, and then proceed with some more advanced? Is there any difference in the basics?

    I hope you understand what I mean. Thank you for your time :cool:



    333 posts RAWR!
     
  2. TriggerHappy

    TriggerHappy
    Joined:
    Jun 23, 2007
    Messages:
    2,916
    Just ignore anything in a tutorial that has a reference to the return bug.
     
  3. Kercyn

    Kercyn
    Joined:
    Feb 14, 2009
    Messages:
    850
    Is that all? Thank you :grin:
     
  4. Shdow89

    Shdow89
    Joined:
    Jun 18, 2007
    Messages:
    215
    You should absolutely read the Hive's tuts. I also learned JASS not so long ago, and the best tuts for me were the ones by Daelin. http://www.hiveworkshop.com/forums/jass-ai-scripts-tutorials-280/jass-tutorial-16456/, http://www.hiveworkshop.com/forums/jass-ai-scripts-tutorials-280/basic-jass-tips-22947/, http://www.hiveworkshop.com/forums/jass-ai-scripts-tutorials-280/advanced-jass-tips-22710/.
    Everything here is right except, as TriggerHappy187 stated return bug module. It means you can't use the old KaTTaNa's handle vars, instead read some tuts about "hashtables" and that will teach about all you need to know to get started with JASS. Hope this helps, and good luck.
     
  5. Kercyn

    Kercyn
    Joined:
    Feb 14, 2009
    Messages:
    850
    If I remember correctly, 1.24 fixed a double return bug like

    Code (vJASS):

    return h
    return 0


    I guess hashtables is a new form of doing what the double return thingie did? Okay guys, thank you both then :)