Download
(44 Kb)
Download
Updated: 05-24-09 02:03 PM
Pictures
File Info
Updated:05-24-09 02:03 PM
Created:unknown
Downloads:6,284
Favorites:55
MD5:
TradeLinks  Popular! (More than 5000 hits)
Version: 3.1.2 - 9901a
by: Maldivia [More]
Simple addon, that can create custom trade-hyperlinks.

For instance can be used to create a small list of recipees you want to make, instead of linking all of them.

How to use:
Type /tradelinks or /tl to open the window.
Select the profession from the drop down menu
Check the recipees you want to include
Click Link, and a link will be written to your primary chat frame, and the profession window will pop up as if you clicked it.
To send the link to others, shift-click the link written to the chat frame.

To decode a trade-link, and dump a list of the spells in it:
/tldecode [trade link]

To see a list of trade-skills that's not in a link (ie, which skills you're missing):
/tlmissing [trade link]

If holding down shift while finding the recipees in the TradeLinks frame, information about the recipe will show in a tooltip. Shift-click on a recipe in the TradeLinks frame with the chat edit box open, will link that spell.

Known issues:
* Skills that do not create/enchant items, such as the new abilities you gain with professions (Milling, Decipher, Glyph Mastery for Inscription etc) will not show in the profession window that pops up.
* If no skills are selected that create/enchant items, the link generated will not work
* First Aid is weird...
* Mining is not included
* Creating links with recipees noone has, can disconnect you, since the items for those recipees are not loaded on the server. The same thing can happen if you use shift to view tooltips for such recipees.
9901a:
* Fixed bug with Purge in the library
9901:
* Added data files for build 9901 (3.1.2)
* Added function LibTradeLinks:GetSkillId(professionSpell)
* Added function LibTradeLinks:GetSpecializationSpells(skillId)
* Added function LibTradeLinks:GetSpecializationSpells(tradeLink, buildnumber)
9835:
* Added data files for build 9835 (3.1.1a)
9806:
* Added data files for build 9806 (3.1.1)
9767:
* Added data files for build 9767 (3.1.0)
* Added /tlmissing command
9551/9614:
* Fixed bug in decoder that for certain links could add spell not included in the link
* Added data files for build 9614 (0.1.0 PTR)
9551:
* Added data files for build 9551 (3.0.9)
9506:
* Added data files for build 9506 (3.0.8a)
9464:
* Added data files for build 9464 (3.0.8)
9183/9438:
* Added data files for build 9438 (0.0.8 PTR)
9183/9355:
* Added data files for build 9355 (0.0.8 PTR)
9183/9155:
* Added data files for build 9183 (3.0.3)
9056/9155:
* Added data files for build 9155
9056/9061 v2:
* Fixed support for decoding specialized professions
9056/9061:
* Added data files for build 9056 - release version of 3.0.2
* Supports dual data files, so it works on both live and beta
9061:
* Updated data files for build 9061
9038:
* Updated data files for build 9038
* Fixed typo in an assert
9014:
* Updated data files for build 9014
8982:
* Updated data files for build 8982
8970:
* Updated data files for build 8970
* Some initial code for turning the functionality into a library with BoP and black list support.
8905:
* Updated data files for build 8905
8885:
* Updated data files for build 8885
8820:
* Updated data files for build 8820
* Updated to the new encoding scheme of build 8820
8788:
* Updated data files for build 8788
8770-2:
* Added decode option: /tldecode [tradeLink]
Optional Files (0)


Archived Files (10)
File Name
Version
Size
Author
Date
3.1.2 - 9901
44kB
Maldivia
05-19-09 04:48 PM
3.1.1a - 9835
27kB
Maldivia
04-28-09 04:04 PM
3.1.1 - 9806
27kB
Maldivia
04-21-09 12:53 PM
3.1.0 - 9767
27kB
Maldivia
04-14-09 11:07 AM
9551/9614
26kB
Maldivia
02-25-09 03:27 PM
9551
26kB
Maldivia
02-10-09 12:35 PM
9506
26kB
Maldivia
01-27-09 11:02 AM
9464
26kB
Maldivia
01-20-09 10:16 AM
9183/9438
26kB
Maldivia
01-12-09 11:29 AM
9183/9355
26kB
Maldivia
12-13-08 08:37 AM


Post A Reply Comment Options
Unread 12-11-09, 01:15 PM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2373
Uploads: 6
Originally posted by Nightspirit
Update request
Yarp! :I
Nice addon, but in current state is unusable even with updated libraries...
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 11-05-09, 08:57 AM  
Nightspirit
A Cyclonian
 
Nightspirit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 44
File comments: 139
Uploads: 5
Update request
Nightspirit is offline Report comment to moderator  
Reply With Quote
Unread 07-16-09, 04:31 AM  
bnot
Banned

Forum posts: 0
File comments: 2
Uploads: 0
So any new eta on the update? Ive tried fiddling around with the addon myself but to no success. However I do not know much of the workings of these addons so I don't even really know what the problem is.
bnot is offline Report comment to moderator  
Reply With Quote
Unread 07-08-09, 09:18 AM  
Maldivia
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 31
Uploads: 8
Hi

Sorry, been out of the country since end of May with limited Internet access, so haven't really had a chance to update. I'll see about fixing the bug mentioned and getting a new version out, hopefully today or tomorrow.

/Maldivia
Maldivia is offline Report comment to moderator  
Reply With Quote
Unread 07-07-09, 09:00 AM  
bnot
Banned

Forum posts: 0
File comments: 2
Uploads: 0
So does this addon not work at all now? When I tested it there is just an empty list and nothing to select same thing happens when I disable all other addons. Seems like a really nice addon so I would be glad to get it working.
bnot is offline Report comment to moderator  
Reply With Quote
Unread 06-09-09, 06:22 PM  
orionshock
A Wyrmkin Dreamwalker
 
orionshock's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 68
Uploads: 6
Originally posted by galmok
As it is now, the new data is not available and trying to decode with build 9947 will cause the same bug again (the bug last reported here). [/b]
Seems to work fine for GuildCraft.. I'll see about switching that around.
__________________
Author of GuildCraft, SickOfClickingDailies, CursorCooldown, Broken_LFD
WoWAce Addon List WoWInterface Addon List

"I was there in the beginning... and things were very different back then" --An Echo from a time before.
orionshock is offline Report comment to moderator  
Reply With Quote
Unread 06-08-09, 12:00 PM  
galmok
A Defias Bandit

Forum posts: 2
File comments: 55
Uploads: 0
Originally posted by orionshock
To report on this, I'd like thank lilsparky for the code

I have managed to pull out the tradeskill scanning code from GnomishYelloPages and "import" it into the data format for LibTradeLinks-1.0. (Import meaning 'hacked togeather'). You can find this particular file in the latest release of GuildCraft in the LibTradelinks' folder.

-Ta.

<3 Maldiva and lilsparky for the addons.
Thanks for your effort, but you have a bug in your code:

Code:
		SKILL_TAILORING = { 3908,3909,3910,12180,26801,26798,26797,26790,51309 },
should be:

Code:
		[trade.SKILL_TAILORING] = { 3908,3909,3910,12180,26801,26798,26797,26790,51309 },
Same with the rest of the lines.

As it is now, the new data is not available and trying to decode with build 9947 will cause the same bug again (the bug last reported here).
galmok is offline Report comment to moderator  
Reply With Quote
Unread 06-05-09, 02:18 AM  
orionshock
A Wyrmkin Dreamwalker
 
orionshock's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 68
Uploads: 6
Originally posted by orionshock
sadly..

however i've had success transposing data from GnomishYellowPages into this lib
To report on this, I'd like thank lilsparky for the code

I have managed to pull out the tradeskill scanning code from GnomishYelloPages and "import" it into the data format for LibTradeLinks-1.0. (Import meaning 'hacked togeather'). You can find this particular file in the latest release of GuildCraft in the LibTradelinks' folder.

-Ta.

<3 Maldiva and lilsparky for the addons.
__________________
Author of GuildCraft, SickOfClickingDailies, CursorCooldown, Broken_LFD
WoWAce Addon List WoWInterface Addon List

"I was there in the beginning... and things were very different back then" --An Echo from a time before.
orionshock is offline Report comment to moderator  
Reply With Quote
Unread 06-04-09, 04:56 PM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2373
Uploads: 6
BTW, it seems, the link constructor offers the full list of possible spells.
Any chance it could be reworked to build a list from known spells only?
Preferable, with original grouping... (Essential for Inscription, when you don't want to have your clients stare on your shoulder enchants and scrolls you can craft)
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 06-04-09, 03:58 PM  
orionshock
A Wyrmkin Dreamwalker
 
orionshock's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 68
Uploads: 6
Originally posted by AnrDaemon
Which means, this mods is unworkable now...
sadly..

however i've had success transposing data from GnomishYellowPages into this lib
__________________
Author of GuildCraft, SickOfClickingDailies, CursorCooldown, Broken_LFD
WoWAce Addon List WoWInterface Addon List

"I was there in the beginning... and things were very different back then" --An Echo from a time before.
orionshock is offline Report comment to moderator  
Reply With Quote
Unread 06-04-09, 02:46 PM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2373
Uploads: 6
Originally posted by galmok
Passing nil as build number to ecode results in:

attempt to index upvalue 't' (a nil value)

in line 236. But only if the library doesn't have the data for the current build (as it is now).
Which means, this mods is unworkable now...
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 06-03-09, 02:53 PM  
galmok
A Defias Bandit

Forum posts: 2
File comments: 55
Uploads: 0
I am using this piece of code to get the newest version of the data in LibTradeLinks:

Code:
		-- find newest data in LibTradeLinks
		local LTLDataVersion = tonumber((select(2,GetBuildInfo())))
		local ltl = LibStub("LibTradeLinks-1.0");
		while LTLDataVersion > 1 do
			local data = ltl:GetData(ltl.SKILL_ALCHEMY, LTLDataVersion)
			if data then
				break
			end
			LTLDataVersion = LTLDataVersion - 1
		end
		-- LTLDataVersion holds newest version
It may not be elegant, but running it shortly after login gives no noticable delay.
galmok is offline Report comment to moderator  
Reply With Quote
Unread 06-03-09, 11:07 AM  
galmok
A Defias Bandit

Forum posts: 2
File comments: 55
Uploads: 0
Passing nil as build number to ecode results in:

attempt to index upvalue 't' (a nil value)

in line 236. But only if the library doesn't have the data for the current build (as it is now).
galmok is offline Report comment to moderator  
Reply With Quote
Unread 05-27-09, 04:43 PM  
orionshock
A Wyrmkin Dreamwalker
 
orionshock's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 68
Uploads: 6
ah didn't notice the new version... i was wondering why some recipies where showing up in guildcraft that previously where blacklisted (the bop stuff)
__________________
Author of GuildCraft, SickOfClickingDailies, CursorCooldown, Broken_LFD
WoWAce Addon List WoWInterface Addon List

"I was there in the beginning... and things were very different back then" --An Echo from a time before.
orionshock is offline Report comment to moderator  
Reply With Quote
Unread 05-24-09, 02:19 PM  
Maldivia
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 31
Uploads: 8
Hmm is the professionSpell the value embedded in the tradeLink?
Yes it is, but I've changed the GetSkillId function so it accepts a trade-link and returns the skill id.

The :Purge function doesn't work as intended.
Should be fixed now.

the blacklist seems to hold both spell-id's and enchant-id's, right?
The blacklist (and bop list) only contains spell ids.

If what you're referring to as enchant-ids are the numbers used in enchant:#### links, then those are actually spell-ids.

If you're refering to the actual enchant-ids (those added to item-links when the item is enchanted), then those are not to be found in any list.

Example of enchant:
Enchant Weapon - Mighty Spellpower
Spell id: 60714
/run SetItemRef("spell:60714")
/run SetItemRef("enchant:60714")
both will show the tooltip for it

Enchant id: 3834
/run SetItemRef("item:19019:3834")
Above will show Thunderfury with +63 spell power
Maldivia is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: