View Single Post
06-19-12, 11:00 AM   #12
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
Originally Posted by Foxlit View Post
The demo code for your function prints 1 for me on live realms, rather than the 8 you advertise. ...
It's worked reliably on my system through several tests and retests across several sessions using the most current version of WoW. Since this is the second time this code has been questioned, I'll have to see if I can get it to glitch on another system.



Originally Posted by Foxlit View Post
... Perhaps trying to build functions around unspecified behavior is a bad idea after all?
Discovering undocumented effects is a way to open a path to new features and ideas. For example, the fact that the metatables for UI objects are all shared among objects of the same type. Blizzard hasn't released any info that states this behavior, yet it has opened up the possibility to hook a single function to be triggered for all frames of that specific type.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote