View Full Version : JASS tutorial question

09-19-2009, 08:51 PM
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!

09-19-2009, 09:18 PM
Just ignore anything in a tutorial that has a reference to the return bug.

09-19-2009, 09:38 PM
Is that all? Thank you :grin:

09-19-2009, 11:43 PM
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.

09-20-2009, 06:36 AM
If I remember correctly, 1.24 fixed a double return bug like

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 :)