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,678
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 11-13-07, 07:48 PM  
Lombra
A Molten Giant
 
Lombra's Avatar
AddOn Author - Click to view AddOns

Forum posts: 554
File comments: 271
Uploads: 24
Originally posted by Siz
Sell values are still stored. They don't add very much size to the database and I think it's a good feature to have in a LootLink addon.

Whenever you view a tooltip which you have configured LootLink to display sell values on, it will check for a sell value using the GetSellValue API. If it finds a sell value from another addon that LootLink doesn't already have, then it stores that value.

I just added this feature 2 days ago, so I may change it around.
Ok, fair enough.

A few more things.

Some new mail API was added that I reckon needs to be implemented here
* UPDATED - ClickSendMailItemButton(attachSlot) -- Added a numeric “attachSlot” argument to this existing function specifying which slot was clicked on.
* UPDATED - GetSendMailItem(attachSlot) -- Added the new attachSlot argument
* UPDATED - GetSendMailItemLink(attachSlot) -- Added th new attachSlot argument
* NOTE - GetSendMailPrice() -- The price of mail depends on how many items are attached
* UPDATED - GetInboxItem(messageIndex, attachIndex) -- Added the new attachSlot argument
* UPDATED - GetInboxItemLink(messageIndex, attachIndex) -- Added the new attachSlot argument
* UPDATED - TakeInboxItem(messageIndex, attachIndex) -- Added the new attachSlot argument
And lastly, I may have asked this before, but have you looked into the possibilities of an option not to store quest items? Shouldn't it be possible with the itemType return of GetItemInfo? I do realise that the item in question needs to be cached for GetItemInfo to supply this info.

Thanks
__________________
Grab your sword and fight the Horde!
Last edited by Lombra : 11-13-07 at 08:02 PM.
Report comment to moderator  
Reply With Quote
Unread 11-13-07, 06:05 PM  
Siz
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 228
Uploads: 5
I'll admit that I haven't done my homework on these patch notes as much as I usually do.

That's a good idea and I will definitely look into it.
Report comment to moderator  
Reply With Quote
Unread 11-13-07, 05:29 PM  
Ssateneth
A Defias Bandit

Forum posts: 2
File comments: 33
Uploads: 0
Auction House Scanning

in 2.3, a new API was implemented that lets you retrieve the entire contents of the AH in one shot, but can only be done every 15 minutes. Take into consideration to adding this into Lootlink so I can bother msyelf to scan more often. Sitting and waiting 25-30 minutes to scan the AH was sucky, and now it can be done instantly.
Report comment to moderator  
Reply With Quote
Unread 11-13-07, 12:21 PM  
Siz
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 228
Uploads: 5
Sell values are still stored. They don't add very much size to the database and I think it's a good feature to have in a LootLink addon.

Whenever you view a tooltip which you have configured LootLink to display sell values on, it will check for a sell value using the GetSellValue API. If it finds a sell value from another addon that LootLink doesn't already have, then it stores that value.

I just added this feature 2 days ago, so I may change it around.
Report comment to moderator  
Reply With Quote
Unread 11-13-07, 12:10 PM  
Lombra
A Molten Giant
 
Lombra's Avatar
AddOn Author - Click to view AddOns

Forum posts: 554
File comments: 271
Uploads: 24
Thanks! I have one request (not sure if it has been mentioned before). Can you add an option not to store sell values now, or have I misunderstood the change? Does it use GetSellValue to just display the value or to store it in the LootLink databse?
__________________
Grab your sword and fight the Horde!
Report comment to moderator  
Reply With Quote
Unread 11-12-07, 11:03 PM  
Siz
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 228
Uploads: 5
I've posted a new version with some small changes.

It supports the new item categories added in the 2.3 patch (enUS and deDE only, thanks for the translation Nathanyel) and it should retrieve sell values from other addons that you may have which implement the GetSellValue API.
Last edited by Siz : 11-12-07 at 11:04 PM.
Report comment to moderator  
Reply With Quote
Unread 11-02-07, 03:33 AM  
Nathanyel
A Deviate Faerie Dragon
 
Nathanyel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 213
Uploads: 19
Ok it is "Sonstige" for both , found Consumables' "Sonstige" on Medicinal Drake Essence (dunno why I still have one of those in the inventory), but there also is a "Verbrauchbar" subcat called "Verbrauchbar", I found them on Mark of Thrallmar/Honor Hold, so it looked like the "Other" subcat.
Report comment to moderator  
Reply With Quote
Unread 11-01-07, 09:18 PM  
Siz
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 228
Uploads: 5
Thanks for those! I found some items which should have type="Miscellaneous" and subtype="Other" (for enUS)

Dented Crate
Curious Crate
Waterlogged Crate
Sealed Crate
Heavy Crate
Heavy Supply Crate
Bloated Smallfish
Bloated Mud Snapper
Bloated Trout
Bloated Redgill

Also, are you sure that this one is correct? The english text is "Other", shouldn't it be "Sonstige" like the others?
Code:
DISPLAY_CONSUMABLES_OTHER = ("Verbrauchbar");
Report comment to moderator  
Reply With Quote
Unread 11-01-07, 08:24 PM  
Nathanyel
A Deviate Faerie Dragon
 
Nathanyel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 213
Uploads: 19
Aaah... I only checked the normal pets, and not special ones.
Well, _PET is "Begleiter" (which is actually the term for hunter/warlock pets, while small pets recently got named "Gefährte" after being "Diener")
This term describes both sg and pl. A more suitable display value, however, might be "Haustiere", the literal translation of "pets" and the more common term used for them by players
_HOLIDAY is "Festtag" - I did check a small pet, the valentine one, along other presumed holiday stuff, but it was Junk
_OTHER probably is "Sonstige", too, like TRADE_GOODS_OTHER.
Report comment to moderator  
Reply With Quote
Unread 11-01-07, 02:51 PM  
Siz
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 228
Uploads: 5
Thanks for the deDE localization Nathanyel.

I believe that Mechanical Squirrel Box will give you DISPLAY_MISCELLANEOUS_PET on the test realm, otherwise, simply translating "Pet" into German should be correct.

Red Helper Box or any similar items such as Jingling Bell, Snowman Kit, or Green Helper Box should give you DISPLAY_MISCELLANEOUS_HOLIDAY.

I don't know where I saw an item with a type="Miscellaneous" and subtype="Other"

Hevanus, thanks for looking into that problem, I'll check also when I get some time.
Report comment to moderator  
Reply With Quote
Unread 10-31-07, 08:15 PM  
Hevanus
A Deviate Faerie Dragon
 
Hevanus's Avatar

Forum posts: 15
File comments: 199
Uploads: 0
Possible hack, line 488-500ish of LootLink_Parsing.lua:

Code:
							for instanceID, instanceData in pairs(suffixData) do
								oldInstanceID = instanceID
								numItems = (numItems + 1);
								suffixHash = instanceData;

								instanceID = bit.band(instanceID, 65535)  --Siz

								populate(self, itemTable, suffixID, instanceID);
								
								if (suffixData[oldInstanceID] ~= instanceData) then
									numChanges = (numChanges + 1);
								end
							end
Report comment to moderator  
Reply With Quote
Unread 10-31-07, 07:46 PM  
Nathanyel
A Deviate Faerie Dragon
 
Nathanyel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 213
Uploads: 19
deDE subtypes so far:
Code:
DISPLAY_TRADE_GOODS_OTHER = ("Sonstige");
DISPLAY_TRADE_GOODS_ELEMENTAL = ("Elementar");
DISPLAY_TRADE_GOODS_JEWELCRAFTING = ("Juwelenschleifen");
DISPLAY_TRADE_GOODS_LEATHER = ("Leder");
DISPLAY_TRADE_GOODS_ENCHANTING = ("Verzauberkunst");
DISPLAY_TRADE_GOODS_METALSTONE = ("Metalle & Steine");
PARSE_TRADE_GOODS_METALSTONE = ("Metall & Stein");
DISPLAY_TRADE_GOODS_CLOTH = ("Stoffe");
PARSE_TRADE_GOODS_CLOTH = ("Stoff");
DISPLAY_TRADE_GOODS_MEAT = ("Fleisch");
DISPLAY_TRADE_GOODS_HERB = ("Kr\195\164uter");
PARSE_TRADE_GOODS_HERB = ("Kr\195\164uter");

DISPLAY_CONSUMABLES_OTHER = ("Verbrauchbar");
DISPLAY_CONSUMABLES_BANDAGE = ("Verb\195\164nde");
PARSE_CONSUMABLES_BANDAGE = ("Verband");
DISPLAY_CONSUMABLES_SCROLL = ("Rollen");
PARSE_CONSUMABLES_SCROLL = ("Rolle");
DISPLAY_CONSUMABLES_FLASK = ("Fl\195\164schchen");
PARSE_CONSUMABLES_FLASK = ("Fl\195\164schchen");
DISPLAY_CONSUMABLES_ELIXIR = ("Elixiere");
PARSE_CONSUMABLES_ELIXIR = ("Elixier");
DISPLAY_CONSUMABLES_POTION = ("Tr\195\164nke");
PARSE_CONSUMABLES_POTION = ("Trank");
DISPLAY_CONSUMABLES_FOODDRINK = ("Essen & Trinken");
DISPLAY_CONSUMABLES_ITEMENHANCEMENT = ("Gegenstandsverbesserungen");
PARSE_CONSUMABLES_ITEMENHANCEMENT = ("Gegenstandsverbesserung");

DISPLAY_MISCELLANEOUS_OTHER = ("Other");
DISPLAY_MISCELLANEOUS_HOLIDAY = ("Holiday");
DISPLAY_MISCELLANEOUS_REAGENT = ("Reagenzien");
PARSE_MISCELLANEOUS_REAGENT = ("Reagenz");
DISPLAY_MISCELLANEOUS_JUNK = ("Plunder");
DISPLAY_MISCELLANEOUS_PET = ("Pet");
Couldn't find any examples of MISC..._OTHER/HOLIDAY/PET, every item that I thought could belong in these was just _JUNK.
Report comment to moderator  
Reply With Quote
Unread 10-31-07, 07:12 PM  
Hevanus
A Deviate Faerie Dragon
 
Hevanus's Avatar

Forum posts: 15
File comments: 199
Uploads: 0
BTW, there's still something wrong with /ll fullreparse. It's reporting that 9990 items are being changed every time I reparse.

I seem to remember something about "instanceID = bit.band(instanceID, 65535) --Siz" causing "if (suffixData[instanceID] ~= instanceData) then" to evaluate to true when it shouldn't or something. I guess that means it's safe to ignore the count though.
Report comment to moderator  
Reply With Quote
Unread 10-31-07, 03:46 AM  
Nathanyel
A Deviate Faerie Dragon
 
Nathanyel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 213
Uploads: 19
Originally posted by Siz
The upcoming patch 2.3 has added more item types and subtypes. I'll need some help from any German or French users who can help translate the following strings.
Will pick up deDE later today when I'm back home.
Last edited by Nathanyel : 10-31-07 at 04:00 AM.
Report comment to moderator  
Reply With Quote
Unread 10-28-07, 07:56 PM  
Crevox
A Defias Bandit
 
Crevox's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 28
Uploads: 1
Originally posted by Siz
I guess not I don't update too often, perhaps you can just check back with each new WoW patch.
You should update more often! *nod*
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: