Database Updates
Database Updates - Oct 8th
New UI Mods: (1)aaa 3
There were a total 0 Quest(s), 0 Item(s), 0 and Mob(s) added and updated in the database.
Hot Topics
新闻
Welcome the New WarGuru.com Site
We'd like to welcome WarGuru.com to the collection of Guru sites. If you are interested in Warhammer Online or are currently playing it, stop by their site and visit them in their forums. They also have a collection of Articles and Galleries for you to browse through as well if you are interested in checking out more about the game.
WoW Guru Looking for Webmaster
WoWGuru.com is looking for a new webmaster to bring the site up to speed and back to its former glory. If you've got mad skillz and are up to the job, send an e-mail over to andre [ a t ] mmoguru.com .
GUI with GUIllotine - How to Crash WoW
Submitted on February 07 2006 by Guillotine [ No Comments ]
[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 dont 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 dont have to wait.
How to Avoid: Just dont 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: Dont hide UIParent maybe?
Quote:
/script WorldFrame:Hide();
What it does: Hides everything but the WorldFrame
Uses: None
How to Avoid: Ill 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)
GUI with GUIllotine - Inside an Item Link
Submitted on January 15 2006 by Guillotine [ Last comment by Guillotine ]
[center]Inside an Item Link
Difficulty: 2/5 (Novice Programmer)[/center]
Welcome to the world of the item link. As Im sure you all know, an item link is a method in WoW used to send stats of an item to someone else. You can do it by opening a chat input box, and shift-clicking on an item or another item link. This week, GUI with GUIllotine will tell you about the underlying workings of the item link.
First, we should probably go through what is required to get the most out of this article:
1. A copy of WoW (obviously)
2. An item (you better have this)
3. The add-on Iriels Devtools (obtainable at http://www.wowguru.com/ui/74/devtools/ )
4. Basic knowledge of scripting in WoW
Now some of you may be asking yourselves what the point is of knowing this. Ya, its neat, but why would I want to spend the time to use this? The answer is rather simple. Many add-ons, including some extremely popular ones, use a very inefficient method of getting info about items called tool tip-scanning. While in some instances, this is needed, in others, simply analyzing the item link will be sufficient.
[center]Item Links[/center]
Here is an example of an item link (I will be explaining it later):
Quote:
|cff1eff00|Hitem:1465:803:0:0|h[Tigerbane]|h|r
How exactly is this put together?
Quote:
|(hex code for item color)|Hitem:(item ID code):(enchant code):(added stats code):0|h[(item name)]|h|r
Hex code for item color: This is rather self-explanatory. It is the hex code for either grey, white, green, blue, purple, or orange (until something more than legendary comes along).
Item ID code: Each item has a unique Item ID code. The one for [Tigerbane] happens to be 1465. All items of so-and-so have the same code. For example, [Buccaneers Tunic of the Eagle] has the same item code as [Buccaneers Tunic of the Owl]. These are different, however, from [Buccaneers Bracers of the Bear] (as they are totally different items).
Enchant code: This is the code for a permanent enchant. Different enchantments have different codes. 803 is the code for Fiery Enchantment (ok, call me a twinker. Its what you have to do now to survive in BGs. Not as bad as dual lifestealing on a level 19 though ) It seems that enchantments on different items, but with the same modifier have the same code. For example, +1 agility to cloak will have the same code as +1 agility to bracers.
Added stats code: This is the code for added stats (also known as of the modifiers). For example, of the Gorilla for +17 strength and intellect is code 1002. Because Tigerbane has no modifier, this part is left at 0.
Item name: This is (you guessed it .) the item name. It is a localized string, and the name of the item as we all know it.
[center]Enchantment Links[/center]
A new type of link has appeared with the release of patch 1.9. Lets talk about the inner workings of this as well.
Here is an example of an enchant link:
Quote:
|cffffffff|Henchant:20034|h[Enchant Weapon Crusader]|h|r
The template is this:
Quote:
|cffffffff|Henchant:(enchant id)|h[(enchant name)]|h|r
This one is pretty self-explanatory:
cfffffffff: the enchant link is always white
Enchant id: a unique id for each enchantment. 20034 is Crusader. Please note that this is not the same id as the one once it is put on an item.
Enchant name: If you cant figure this out, you shouldnt be reading this column.
So how do I use this?
There are many ways to use this. One example is Lootlink. Rather than indexing each individual link, it only indexes it by the name. This prevents different enchant ids from being stored as totally separate items. But how do YOU use this? Enter Iriels devtools. Simply open up a chat box and type in:
to get the full item/enchant link. From there, you can do whatever you need to do.Quote:
/dump [ItemLink]
Once you understand the inner-workings of an item-link, the possibilities are endless. You are limited only by your ingenuity.
Thank you for reading the first edition of GUI with GUIllotine and please check back next week for more.
帮助需要
Submitted on April 25 2005 by zeeg [ Last comment by yuyang4cn ]
我们不讲中文。你讲英语吗?
zeeg@wowguru.com




Language