[center]How to Crash WoW
Difficulty: 2/5 (Novice Programmer)[/center]
First of all, I apologize for not having an article these last two weeks. I was sick, then my computer wiped :-/
Yes, this is a rather strange article. You will, however, find it surprisingly useful. I am going to go through the most common ways to crash WoW along with the uses (if there are any) and how to avoid it.
Quote:
/script while 1 do end
What it does: Freezes WoW to the point that you need to Ctrl+Alt+Delte the game.
Uses: None
How to avoid: Simply do not create a while loop that does not have a definite end (for example, using a while loop to count to 100 is perfectly safe)
Quote:
Have you heard about the \nice command?
What it does: Disconnects you for having ‘\n’ in a chat message. This is because you are trying to send a line break through chat which is a ‘no-no’.
Uses: This one is one of the most useful. It is rather easy to do, and just disconnects you from the server. If you need to install addons, but don’t want to wait in the que or leave your group, this is the one to use. Just type something with \n, then quit WoW. Then log back in, and you don’t have to wait.
How to Avoid: Just don’t send ‘\n’ through chat. Note that what follows it does not matter at all.
Quote:
/script UIParent:Hide();
What it does: Hides all of the UI. It cannot be brought back.
Uses: None. This one is rather bad.
How to Avoid: Don’t hide UIParent maybe?
Quote:
/script WorldFrame:Hide();
What it does: Hides everything but the WorldFrame
Uses: None
How to Avoid: I’ll let you figure this one out yourself ;)
Quote:
|cff1eff00|Hitem:1465:803:0:0|h[Crash Me]|h|r
What it does: Sends an invalid item link through chat. This causes you to disconnect (the link is not sent)
Uses: Same as the \nice command.
How to Avoid: Do not ever send any item links through chat unless you have already received them through chat (this verifies that they are usable)