Download
(110Kb)
Download
Updated: 01-12-08 03:55 PM
Patch for:
Saeris's LootLink.
Pictures
File Info
Updated:01-12-08 03:55 PM
Created:unknown
Downloads:15,645
Favorites:60
MD5:

Saeris's LootLink 8.2.9 Fixed  Popular! (More than 5000 hits)

Version: 8.2.9 Fixed 5
by: Siz [More]

This is a modified version of Saeris's LootLink 8.2.9, which is currently the last released version. I'm uploading this since no official update has been posted for so long. I want to emphasize that this amazing addon is all Saeris' work, I just found a band-aid for it. This is not a forked version. I will delete this once an official version takes its place. *Update* Saeris has recently posted a successor to his LootLink addon called LinksList, I suggest you check it out.

Here are changes that I remember making from Saeris' last released 8.2.9a version:
- Enforces a 2 second interval between !item query responses to prevent you from being disconnected if someone spams you with requests.
- Tooltip showing 20 most recent items only shows as many lines as there were items instead of always showing 20 lines even if they were blank.
- Added support for Gem type and corresponding subtypes which were added in wow 2.1. This fixes errors that appear any time you see a gem link.
- Fixed the error when trying to use the premade database.
- Extracts scaled suffix from the uniqueID to save memory.

You should Reparse your database occasionally so that your database can be updated with the new Subtypes added in 2.3.

Changes:
Second Version:
-Improved Fake Tooltip appearance. Simply displays all lines from the fulltext cache. Also shows empty socket icons and colors socket bonus lines gray.
-Fixes color of extra tooltip information added by lootlink to either be all white or all teal instead of always having teal values.
-Added hint for moving minimap button to tooltip.
-Other stuff?
Third Version: [TOC: 20300]
-Added support for new item subtypes in 2.3 (enUS and deDE only)
-Implemented the GetSellValue API and uses the API to get sell values from other addons.
Fourth Version:
-Now parses items in the inbox
-Add support for Leatherworking Bags (enUS and deDE only)
-Support changed subtypes (enUS and deDE only)
-Fix hooks for tooltip functions
-Support SetGuildBankItem
Fifth Version:
-Fix GameTooltipMoneyFrame errors. Thanks to Xinhuan for the guidance.


Useful Scripts:
- Remove items from your database which do not meet the minimum stored rarity setting:

Code:
/script for baseID, itemTable in pairs(LootLink.Database) do if (itemTable[2] < LootLink.Config.MinStoredRarity) then LootLink:ItemTables_RemoveBaseItem(baseID,false) end end

Post A Reply Comment Options
Unread 12-16-07, 12:08 PM  
Siz
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 228
Uploads: 5
Originally posted by DanoPDX
I am trying to convert from LootLink to linkslist or ItemSync to see which I like best since both are nice evolutions of LootLink.
Recent upate to the ItemDB_Links module:
"Now tries to add to its own database at login by searching through data from Telo's LootLink and Saeris's LootLink if either of those are loaded."
Report comment to moderator  
Reply With Quote
Unread 12-16-07, 05:16 AM  
DanoPDX
A Deviate Faerie Dragon

Forum posts: 10
File comments: 8
Uploads: 1
I am trying to convert from LootLink to linkslist or ItemSync to see which I like best since both are nice evolutions of LootLink. However there are no programs to convert the LL DB to either atm and I don't want to slowly link myself 43803 items to myself while flying or such and nothing better to do while I wait for something.

If there is a way that lootlink can send the information to the hidden guild channel or whatever to a channel normally watched by mods like LinksList, LL, Itemsync then I’ll take any suggestion you have.

Maybe just a script or something anything to automate the process.
Last edited by DanoPDX : 12-16-07 at 05:50 AM.
Report comment to moderator  
Reply With Quote
Unread 12-15-07, 12:11 PM  
Siz
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 228
Uploads: 5
Originally posted by DanoPDX
Siz could you help me with something, hopefully it's easy.

I am looking for a way to whisper the database to myself. Can a line be added to the reparse section so that while it's checking all the items it whispers each one to my char.

Like

For I = 1 to ItemsSeen do; Whisper char "Sharlikran" itemindb.(I); next; end;

Nope I don't know lua, but hopefully you understand and hopefully it's easy enough to do.

Thanks.
You would be disconnected. Why would such a feature be useful?
Report comment to moderator  
Reply With Quote
Unread 12-15-07, 10:35 AM  
DanoPDX
A Deviate Faerie Dragon

Forum posts: 10
File comments: 8
Uploads: 1
Siz could you help me with something, hopefully it's easy.

I am looking for a way to whisper the database to myself. Can a line be added to the reparse section so that while it's checking all the items it whispers each one to my char.

Like

For I = 1 to ItemsSeen do; Whisper char "Sharlikran" itemindb.(I); next; end;

Nope I don't know lua, but hopefully you understand and hopefully it's easy enough to do.

Thanks.
Report comment to moderator  
Reply With Quote
Unread 12-11-07, 05:25 PM  
Siz
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 228
Uploads: 5
Originally posted by romracer
Last I heard, that whole one-time scan of the AH was disabled server-side recently. Only temproarily though. Was it re-enabled then? I didn't think I ever saw mention that it was.
I haven't really heard much of anything about this. I just can't get it to work right.
Report comment to moderator  
Reply With Quote
Unread 12-09-07, 12:09 AM  
romracer
A Murloc Raider
 
romracer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 49
Uploads: 1
Originally posted by Siz
I guess I'll go ahead and post an update sometime within the next few hours. It won't have the working one-time-scan feature for scanning the AH though
Last I heard, that whole one-time scan of the AH was disabled server-side recently. Only temproarily though. Was it re-enabled then? I didn't think I ever saw mention that it was.
Report comment to moderator  
Reply With Quote
Unread 12-08-07, 07:38 PM  
Siz
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 228
Uploads: 5
Originally posted by Hevanus
Siz: Any chance you might be convinced to add a feature to query the server to validate invalid item links now that the server no longer disconnects you for doing this?

ItemSync had a feature to do it even before the change, and I'm currently using TooltipExchange which also has the feature (plus some others that will keep me hooked for a while, like the ability to show what loot an individual boss drops).
Sure, I'll add a slash command for that. They actually reinstated the disconnect, but it is some sort of a rate limit now. You can request up to 10 bad links in an hour or something. Unless you have 10 items that no one else on the server has then such a feature should be safe.
Report comment to moderator  
Reply With Quote
Unread 12-08-07, 03:50 PM  
Hevanus
A Deviate Faerie Dragon
 
Hevanus's Avatar

Forum posts: 15
File comments: 199
Uploads: 0
Siz: Any chance you might be convinced to add a feature to query the server to validate invalid item links now that the server no longer disconnects you for doing this?

ItemSync had a feature to do it even before the change, and I'm currently using TooltipExchange which also has the feature (plus some others that will keep me hooked for a while, like the ability to show what loot an individual boss drops).
Report comment to moderator  
Reply With Quote
Unread 12-08-07, 01:17 PM  
Siz
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 228
Uploads: 5
Originally posted by dwex
I'm pretty sure you're doing those hooks wrong, and they'll taint stuff. You should be using securehookfunc(), since these are post-hooks.
Not necessarily. hooksecurefunc() is much more expensive than this simple hooking method, and I have not encountered any tainting issues yet.
Report comment to moderator  
Reply With Quote
Unread 12-08-07, 09:04 AM  
dwex
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 91
Uploads: 2
I'm pretty sure you're doing those hooks wrong, and they'll taint stuff. You should be using securehookfunc(), since these are post-hooks.
Report comment to moderator  
Reply With Quote
Unread 12-07-07, 09:02 PM  
Siz
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 228
Uploads: 5
I guess I'll go ahead and post an update sometime within the next few hours. It won't have the working one-time-scan feature for scanning the AH though
Report comment to moderator  
Reply With Quote
Unread 12-07-07, 08:43 PM  
Nathanyel
A Deviate Faerie Dragon
 
Nathanyel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 213
Uploads: 17
Code:
GameTooltip.SetSendMailItem = function(self, ...)
	self.LootLink_Original_SetSendMailItem(self, ...);

	local _, link = self:GetItem();
	if (link ~= nil) then
		local _, _, quantity = GetSendMailItem( select(1, ...), select(2, ...) );
		LootLink:Tooltips_AddAllApplicableInfo(link, self, quantity);
	end
end
Stubborn copy of the edits on SetInboxItem also fixed it for tooltips in the send window.
Last edited by Nathanyel : 12-07-07 at 08:46 PM.
Report comment to moderator  
Reply With Quote
Unread 12-07-07, 05:29 AM  
Nathanyel
A Deviate Faerie Dragon
 
Nathanyel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 213
Uploads: 17
You know, if I were female, I'd want to have your children now
Report comment to moderator  
Reply With Quote
Unread 12-07-07, 12:43 AM  
Siz
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 228
Uploads: 5
In LootLink_Tooltips.lua, replace the SetInboxItem function with the one below.
Code:
GameTooltip.SetInboxItem = function(self, ...)
	self.LootLink_Original_SetInboxItem(self, ...);
	
	local _, link = self:GetItem();
	if (link ~= nil) then
		local _, _, quantity = GetInboxItem( select(1, ...), select(2, ...) );
		LootLink:Tooltips_AddAllApplicableInfo(link, self, quantity);
	end
end
The "..." hold any arguments after self, selecting out the first argument from ... gives us the newly added index for mails that have multiple attachments.

This fix (and more) will be in the next update that I post.
Last edited by Siz : 12-07-07 at 12:43 AM.
Report comment to moderator  
Reply With Quote
Unread 12-06-07, 05:04 AM  
Nathanyel
A Deviate Faerie Dragon
 
Nathanyel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 213
Uploads: 17
Originally posted by Siz
That's fixed for the upcoming update. The tooltip hooks are more futureproof, though I still need to update them to use the single OnTooltipSetItem script.
Thanks very much I rummaged through the source codes of both LL and Possessions to find some hint for a quick fix, but though I learned a bit more about the UI that way, I'm still not really familiar with it
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: