Talk:GUID

From Warcraft Wiki
Jump to navigation Jump to search

There is a new format for GUID. Is goes like this:

   <type>-<unknown, allways 0 for now>-<server_id>-<instance_id>-<zone_uid>-<npc_id>-<spawn_uid>
   eg. Creature-0-51-974-11-14845-000055E4B8

The example code in UnitGUID shows how to use it:

   local type, zero, server_id, instance_id, zone_uid, npc_id, spawn_uid = strsplit("-",guid);

That's a lot of changes to the main article and I'm not sure or to organize it. Do we want to keep a reference to the old format?

--LaoTseu (talk) 12:23, 2 November 2014 (UTC)

If we really need a reference to the old format, we can pull it out of the article history (wikis are great for that). I've yanked out the old stuff and did an early pass at what the new format looks like. Feel free to expand it if you see anything that should be improved. --k_d3 16:44, 2 November 2014 (UTC)