okay, so i just created a project for my little trade link chat monitor.
basically, it records any trade links it sees in the chat frame and then lets you call up a table to examine them later.
you can click the trade link to open whatever tradeskill ui you use.
you can click a player's name to whisper them (or right-click to ignore/invite/etc)
click their location to get an update (it uses /who so it might not respond if you flood it). it also runs a simple /who updating process in the background to try to keep ontop of where everybody is, so let me know if /who seems goofy with this guy running.
the links in the "chat message" portion are NOT linkable, btw. if you click them and nothing happens, that's why. i debated stripping their color and brackets, but it looked odd to me, so i left it as is. the only clickable link is the one in the trade skill column.
yeah, it'd be great to have the two work together. my data format is pretty straight forward. i break the link(s) out of the chat message and store them in a table that's indexed by [Realm-Faction][Trade Name][Player Name].
the trade names might be specializations, which kind of confuses things. like "spellcloth tailor" and the like.
Now that you mentioned it, I got this error when I clicked a nick in the chat frame to send the person a tell:
[2008/12/17 19:03:21-416-x1]: gnomishyellowpages-0.10\GnomishYellowPages.lua:1259: attempt to index global 'YPData' (a nil value)
gnomishyellowpages-0.10\GnomishYellowPages.lua:1434: in function <...ace\AddOns\gnomishyellowpages\GnomishYellowPages.lua:1426>
Btw, I'm using WIM, so I don't know if it can be an addon conflict.
try running it by itself. maybe it's a conflict somewhere...
i just tried it after deleting my sv file and it worked fine.
hmm... i see that i might have messed up the "short name" field in the project creation. it should be caps like the lua file "GnomishYellowPages" -- didn't realize that would be the name used for the AddOn folder. wonder if there's any way to change this. also wonder if that's what's causing the problem.
Oh, a bug. The addon is doing countless of /who. When I hover a name in its window, the loop seems to start and only ends when I close the window. I don't need to click the name for it, only hovering does that.
EDIT: nevermind, it's not working anymore. I think it did that when there was only one entry. Now there're 3 and the addon seems to be normal.
yeah, it runs a /who loop in the background to keep tabs of who's online and where they're at. should only be doing it once every... er... 30 seconds? i can't remember what i settled on. i want to rework that code a bit, tho. i'll look for the case of a single record.
oh, and it colors people based on some other info, too. like cyan is for people in your zone, yellow is for people on your friends list, i need to add guild members (they'll be green)...