Thread Tools Display Modes
11/19/16, 01:45 AM   #1
scootter
 
scootter's Avatar
Join Date: Apr 2014
Posts: 11
Get item quality from chat link

I have been slowly learning as I go but for some reason I am having a roadblock on this particular one and can't even get started. I am having issues with all items that people post in chat but the main thing I am trying to get is the items' quality from the chat link. I am at a loss on how to do this. If someone could give me a gentle nudge in the correct direction I would very much appreciate it.

Thank you!
  Reply With Quote
11/19/16, 05:33 AM   #2
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Hi.

I think you need more information.

Look at:
http://www.esoui.com/forums/showpost...1&postcount=11
http://www.esoui.com/downloads/info1...ourcecode.html

Search for "GetItemLink" and you will find everything you can get out of an itemLink.
  Reply With Quote
11/19/16, 10:31 AM   #3
scootter
 
scootter's Avatar
Join Date: Apr 2014
Posts: 11
Originally Posted by votan View Post
Hi.

I think you need more information.

Look at:
http://www.esoui.com/forums/showpost...1&postcount=11
http://www.esoui.com/downloads/info1...ourcecode.html

Search for "GetItemLink" and you will find everything you can get out of an itemLink.
That document is amazing, thank you! I have my weekend cut out for me.
  Reply With Quote
12/04/16, 03:38 AM   #4
scootter
 
scootter's Avatar
Join Date: Apr 2014
Posts: 11
Question

I am learning a little every time I work on this. So far the worst part has been finding and figuring out the functions, globals, etc.. It took me awhile to find things like ZO_QuickSlotListContents". With the help of some other addons and what I could find in the esoui forums, esoui wiki and http://esodata.uesp.net/current/globals.txt I have found and learned a lot so far but have a lot to go.

I have a good start on what I am working on which to begin with is adding to the tooltip the items quality as text.

I have all these in one section of code: Store, Store Buyback, Craft Bag, Player Inventory, Quickslot List, Repair Window, Trading House Search, Trading House List

Warning: Spoiler


I have the worn items in this other section of code: Worn Items - credit to circonian (http://www.esoui.com/forums/showthre...ght=SetBagItem)

Warning: Spoiler


The next two items I am working on are Quest rewards and chat items. For the quest rewards I am looking to add to the tooltip of just the reward when handing in a quest. I did find GetQuestRewardItemLink and ShowQuestRewards which I think is going towards the correct direction. I am finding it very difficult to figure out the correct way to add to the tooltip on any item I click in chat.

Any ideas or information would be greatly appreciated. Thank you!

Last edited by scootter : 12/04/16 at 03:39 AM. Reason: Still figuring out formatting
  Reply With Quote
12/04/16, 03:46 PM   #5
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Originally Posted by broscottcho View Post
Any ideas or information would be greatly appreciated. Thank you!
The tooltips have methods, which are called than settings up the tooltip: e.g. SetLink or SetBagItem, etc.
You can look at Votan's Rune Info how to hook those functions to add info to the toolltip.

But I think the QuestReward Info functions do just work while in the quest giver chatter dialog.
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » Get item quality from chat link


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off