1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. The member Kam is making HIVE coasters. Take a look. For every coaster you buy, Hive gets $1.
    Dismiss Notice
  3. Buy it, use it, break it, fix it, trash it, change it, mail - upgrade it. Join (Optionally) Paired Techtree Contest #11 - Techno Magic now!
    Dismiss Notice
  4. Dismiss Notice
  5. After a long wait, the results for Terraining Contest #18 are finally out! Drop by and congratulate the winners!
    Dismiss Notice
  6. The poll for Concept Art Contest #9 is up! Cast your vote for your favourite entry!
    Dismiss Notice
  7. Hero Contest #8 is up and running! This time it's a joint contest between artists and coders. Go here for team matchmaking.
    Dismiss Notice
  8. Our first StarCraft contest, The Galaxy Terraining Contest #1 - World Wonders has started. Enter to show off your Galaxy Editor skills and win a custom rank icon among other things.
    Dismiss Notice
  9. Ever wanted to get your sets ready for fast texturing while still having fun? Now it is possible with our newest Mini-Texturing Contest.
    The Skeleton Units need your dire help!
    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,739
    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 :)