What are leaks?
Just a little bit 'different' explaining for all those who don't understand it.
I will explain it with an example.
1. Imagine a variable is a memo.
You can save data with a variable.
So in this example you write a value down on a memo.
2. How to check the value?
Simply pick up the memo and read what you've written down.
Any problems so far? No? Fine, let's continue!
3. I want to write down something else
How could you do this?
Strike the previous text and write down something else.
So we have an unreadable text (striked text) and another text you can read.
In our example the striked text is the leak.
It is still there, but you can't read it (even when you know what it is).
4. How can we avoid this leak?
Get a new memo for every text you write down.
And don't forget to throw the old memo into your bin.
This means that a variable would be removed, destroyed or 'null'ed now.
5. Does any variable leaks?
Thanks god no, but it would be easier to remember if they all would.
There's the problem. How should you know what leaks?
Don't worry, you will learn this over time (even if you don't focuse on it).
6. How can I avoid leaks?
If you already used Jass it's not that problem. Because removing leaks mostly needs jass scripts.
As a GUI user (warcraft dialog triggering) you need custom scripts (listed somewhere on the top of all).
Inside those custom scripts you can write down any jass line you want.
In this case the 'leak remover'
7. Is there a complete list of things, or additional infos?
Yes, take a look here.
This page helped me a lot!
This info does not contains all infos for leaks.
It is just a short explaining!
Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.Dismiss Notice
DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.Dismiss Notice
The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.Dismiss Notice
The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.Dismiss Notice
The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.Dismiss Notice
The results are out! Check them out.Dismiss Notice
Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!Dismiss Notice
The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!Dismiss Notice
Check out the Staff job openings thread.Dismiss Notice