|
|
#11 |
|
Member
Join Date: Mar 2005
Location: Augusta, ME
Posts: 33
|
GUID is fixed. I had it hard coded into one of my addons for a debug mode for months without issue.
|
|
|
|
|
|
#12 | ||
|
Senior Member
Join Date: Oct 2006
Posts: 455
|
Quote:
There is NO bug in the inspect code from Blizzard!!! The problem is: different addons that try to inspect (use inspect events without check for the 10sec/6events restriction introduced with Patch 3.3.5) and not the inspect code from Blizz! Main culprit: libraries/addons that always try to get spec/shitlvl from everyone.(mouseover...haha...lag) Quote:
Last edited by kunda; 05-20-2011 at 03:50 AM. |
||
|
|
|
|
|
#13 | |
|
Member
Join Date: Mar 2005
Location: Augusta, ME
Posts: 33
|
Quote:
Thats kind of what I would like to see just in library form or atlest a open data structure that other addons can use. ie. those "rate, score or measure!" addons |
|
|
|
|
|
|
#14 | |
|
Full Member
Join Date: Dec 2008
Location: The Netherlands
Posts: 248
|
Quote:
Last edited by Ketho; 06-07-2011 at 03:20 PM. |
|
|
|
|
|
|
#15 |
|
Member
Join Date: Mar 2005
Location: Augusta, ME
Posts: 33
|
I have a basic inspect lib for items. I'm wondering if anyone else would be interested in it. I only has 4 real functions, I can't really think of any more.
Code:
INSPECT:AddHook(name, callback);
ex. INSPECT:AddHook('AddonName', function(guid, items) YourFunction(guid, items); end);
INSPECT:RemoveHook(name);
INSPECT:GetItems(target, force);
returns items, age, guid, refreshing
refreshing is true if a InspectNotify(target) was fired, look for a callback in 1sec
INSPECT:CacheAge(maxAge);
lowest wins
Note: cache is reset on UI reload, its not to replace your own caching mechanism
|
|
|
|
|
|
#16 |
|
Seal Cub Clubbing Club
Join Date: May 2005
Location: California, US
Posts: 7,760
|
OP has created a thread for this library. Further discussion should take place there:
http://forums.wowace.com/showthread.php?t=19804
__________________
& Author/maintainer of Grid, PhanxChat, and many more. | PM me on CurseForge Troubleshoot an addon | Turn any code into an addon | More addon resources Need help with your code? Attach or paste your whole, real files. Please don't PM me about addon bugs, requests, or code help. Post a comment, ticket, or thread instead! |
|
|
|
![]() |
| Tags |
| lib inspect idea bugs |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
All times are GMT. The time now is 06:53 AM.
WowAce Forums






