Wikia

WoWWiki

Patch 2.4.2/API changes

Talk2
100,542pages on
this wiki

< Patch 2.4.2

Revision as of 19:25, September 14, 2013 by Celess22 (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)

This article covers the cumulative AddOn UI Customization and Macro API changes for Patch 2.4.2. See API change summaries for a list of API change summaries for all patches.
API change summaries

As of the writing of this article (15:00, 14 May 2008 (UTC)), no information about API changes has been posted. This is a list of observed changes from scanning the in-game environment and examining FrameXML.

New APIs Edit

Changed APIs Edit

 :SetText() Edit

SetText() now has a text selector for plural forms: I have %d |4apple:apples;.. The "|4singular:plural;" operator looks at the last seen number in the string and selects the appropriate form based on it, e.g. "I have 1 apple." / "I have 2 apples.".

Name resolution queue Edit

Internally, the WoW client is usually fed a bunch of player GUIDs rather than names, which it then has to resolve and keep a cache of. The rate at which these queries are sent out is now artificially throttled to 128 queries every 30 seconds (queued).

This affects for instance AH "getall" scans (see API QueryAuctionItems and API GetAuctionItemInfo). Such a query followed by looping all records in the AH (15000+ for a medium pop server) results in the name resolver queue being tied up for 5-10 minutes. I.e. if you hearth to Shattrath immediately after doing such a scan, everyone you see (that you have not previously seen that session), will be named "Unknown" for the next 5-10 minutes.

I for one REALLY hope that Blizzard backs this change out pronto. --Mikk (T) 03:58, 15 May 2008 (UTC)

Advertisement | Your ad here

Around Wikia's network

Random Wiki