Download
(8 Kb)
Download
Updated: 08/24/21 01:39 PM
Pictures
File Info
Compatibility:
Waking Flame (7.1.5)
Updated:08/24/21 01:39 PM
Created:03/17/21 02:46 AM
Monthly downloads:117
Total downloads:10,556
Favorites:30
MD5:
Categories:Beta-version AddOns, Homestead
Furniture Preview modified by Teva  Popular! (More than 5000 hits)
Version: 2.60
by: Teva [More]
This is a port of Shinni's discontinued ItemPreview after disabling some features that no longer work and modifying some function calls to work with Flames of Ambition.

It does allow you to preview furnishing plans and furnishings in the inventory, bank, guild bank, guild stores, and when sending in the mail. The inbox preview and trade previews did not function due to newer in-game limitations and so have been disabled.

After reports of right-clicking an item causing other addons to duplicate menu entries while this addon is active I've also disabled the right-click Preview and you'll need to mouse-click (single left-click) in order to preview items through this addon.

This addon depends upon the following libraries:
LibAddonMenu-2.0>=31
LibCustomMenu
LibTevaPreview (included)

Known "Issues":
NOTE: It is apparently against ZOS policy to preview items linked in the chat window; please do not request such a feature. Items linked in chat may be of types you would be able to preview from within your inventory space so right-clicking the link may show a Preview option, but actually previewing a linked item is not supported. (The resulting error if you do attempt Preview is not generated by this addon but by the game engine because ZOS blocks previewing things when they are linked in chat.)

Ensure that the subfolders LibPreview and ItemPreview are removed from your Addons folder prior to installing this addon since this is basically an update to both the old non-functional library and Shinni's discontinued addon.

Addons such as "No, thank you!" which alter the behavior of cameras may interfere with this addon's ability to function. If cameras do not perform in a standard manner they cannot be used by this addon to show a preview.
2.60 Waking Flame API version.

2.5.8 Correct internal addon name.

2.5.7 Re-zipped 2.5.6 into proper zip structure, sorry for the messup on that last one!

2.5.6 Further improvements to guild store listing conflict resolution. Streamlined by removing more outdated code.

2.5.5 Fixed versioning number for Waking Flame and updated versioning for dependencies.

2.5.4 Tested on PTS for Waking Flame without error.

2.5.3 Fixed a few issues while listing an item in the guild stores and corrected the disable preview function.

2.5.2 Further code cleanup and update versioning to show support for the Blackwood Chapter release.

2.5.1 A little more code cleanup and a fix to the version number in the manifest file.

2.5.0 Some significant code cleanup which will make the addon much smaller, remove some old work-arounds that are no longer necessary, and should fix the "unsafe code" error when previewing in the housing interface's item purchase preview.

2.4.8 Reverted to disabling the right-click Preview option, forcing use of mouse-click (single left-click) as the Preview method. My tests and my beta-tester said the issue was fixed in 2.4.7 but another respondent said it was still broken for them so can see no other solution.

2.4.7 Re-enabled right-click Preview option after hopefully finding a more nuanced solution to the issue it caused

2.4.6 Disabled right-click Preview option, forcing use of mouse-click (single left-click) as the Preview method

2.4.5 Removed: dependency on LibChatMessage

2.4.4 Fixed: error when hovering over a provisioning recipe
Optional Files (0)


Archived Files (12)
File Name
Version
Size
Uploader
Date
2.5.8
8kB
Teva
08/17/21 01:24 AM
2.5.5
8kB
Teva
08/14/21 02:56 PM
2.5.4
8kB
Teva
08/14/21 01:57 PM
2.5.2
8kB
Teva
05/28/21 09:32 PM
2.5.1
8kB
Teva
03/23/21 12:49 PM
2.5.0
8kB
Teva
03/20/21 09:41 AM
2.4.8
117kB
Teva
03/18/21 04:08 PM
2.4.7
117kB
Teva
03/18/21 02:31 PM
2.4.6
117kB
Teva
03/17/21 09:01 PM
2.4.5
117kB
Teva
03/17/21 02:00 PM
2.4.4
117kB
Teva
03/17/21 01:18 PM
2.4.2
117kB
Teva
03/17/21 02:46 AM


Post A Reply Comment Options
Unread 03/17/21, 08:00 AM  
kad
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 50
Uploads: 1
I'm getting the following error when mousing over an item (not even clicking) in the guild trader.

user:/AddOns/TevaFurniturePreview/FurniturePreview.lua:127: attempt to index a nil value
stack traceback:
user:/AddOns/TevaFurniturePreview/FurniturePreview.lua:127: in function 'ZO_TradingHouse_OnSearchResultMouseEnter'
ZO_TradingHouseBrowseItemsRightPaneSearchResults1Row1_MouseEnter:3: in function '(main chunk)'

-K
Report comment to moderator  
Reply With Quote
Unread 03/17/21, 09:26 AM  
jolamath

Forum posts: 0
File comments: 10
Uploads: 0
Originally Posted by kad
I'm getting the following error when mousing over an item (not even clicking) in the guild trader.

user:/AddOns/TevaFurniturePreview/FurniturePreview.lua:127: attempt to index a nil value
stack traceback:
user:/AddOns/TevaFurniturePreview/FurniturePreview.lua:127: in function 'ZO_TradingHouse_OnSearchResultMouseEnter'
ZO_TradingHouseBrowseItemsRightPaneSearchResults1Row1_MouseEnter:3: in function '(main chunk)'

-K
I'm getting the same error message as well. The message is being triggered by cooking recipes, which you can't even preview.
Report comment to moderator  
Reply With Quote
Unread 03/17/21, 01:13 PM  
Teva
 
Teva's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 162
Uploads: 1
RESOLVED: error at line 127

The error when hovering over a provisioning recipe should be fixed when the pending update goes live.

edit: It is now live.
Last edited by Teva : 03/17/21 at 01:34 PM.
Report comment to moderator  
Reply With Quote
Unread 03/17/21, 04:15 PM  
Neverlands
 
Neverlands's Avatar

Forum posts: 7
File comments: 570
Uploads: 0
CraftStore & AwesomeGuildStore

Hello Teva,
thank you so much for porting Shinni's ItemPreview, very appreciated !

Just 2 questions:
Could you make it compatible with AwesomeGuildStore ? When trying to preview something, there is no error but the item is not displayed.
Could you make it compatible with CraftStore FoA? It still asks for Shinni's ItemPreview.
Report comment to moderator  
Reply With Quote
Unread 03/17/21, 05:19 PM  
Teva
 
Teva's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 162
Uploads: 1
Originally Posted by baldylox
does viewing items take time? At a few guild vendors and when I preview, it does switch to "preview" mode, but nothing ever shows up....not everytime. i get an image 3/10 tries at the moment. I did hit 'T' to exit each preview to retry.

NO BUGS during preview which i guess is good.
It shouldn't take much time to show a preview. I'm wondering if you have something else causing a conflict or if it's just the lagginess the servers have experienced since Flames of Ambition...


P.S. After reading the other comments, are you by chance using Awesome Guild Store? Is that apparent compatibility issue possibly the root of only getting some stuff to preview?
Last edited by Teva : 03/17/21 at 05:29 PM.
Report comment to moderator  
Reply With Quote
Unread 03/17/21, 05:27 PM  
Teva
 
Teva's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 162
Uploads: 1
Re: CraftStore & AwesomeGuildStore

Originally Posted by Neverlands
Hello Teva,
thank you so much for porting Shinni's ItemPreview, very appreciated !

Just 2 questions:
Could you make it compatible with AwesomeGuildStore ? When trying to preview something, there is no error but the item is not displayed.
Could you make it compatible with CraftStore FoA? It still asks for Shinni's ItemPreview.
I'm afraid making it compatible with other addons is probably beyond what I can promise quickly. I am not a programmer per se, just have been using this for my own benefit and decided to finally share it as a beta-addon offering to the public.

I will however attempt to see if I can trace what compatability issues there may be and work on it.

However, regarding CraftStore I think I had read that the author of CraftStore was putting his own references to Shinni's ItemPreview in CraftStore's code which means it's not per se a conflict just that it's not the addon he is making his addon reference. Do you get actual errors as in an incompatibility? Or it just doesn't function together quite as you'd like?

CraftStore's ChangeLog states:
"Version 1.78 (CS 1.1.0.9)
*Changed error messages referring to FurniturePreview to ItemPreview.
...
Version 1.36.2 (CS 1.1.0.9) - Added chat message error for trying to preview furniture without having FurniturePreview.
Version 1.36.1 (CS 1.1.0.9) - Added chat message error for items FurniturePreview lacks data on.
Version 1.36 (CS 1.1.0.9)
*FurniturePreview support added"

Which suggests to me that issues with not functioning well together may be baked into CraftStore's code calling for Shinni's version. I can't change CraftStore's code; if the feature is important enough to you then you may have to reach out to that author and ask them to change stuff. If I'm misunderstanding and you mean actual errors while using that together with this Furniture Preview then please share those and I'll do my best to track down the issues.

Also, I was unable to make it work with Awesome Guild Store in a quick try. I will see if I can dive deeper into the issue over the next few weeks and see if I can determine what's going wrong. But I should warn you that doing what's been done so far and keeping that much error-free may be as much as I can handle as a non-programmer by trade (working from my own growing familiarity with LUA from modding mods for personal use and Pascal programming class taken in college over 30 years ago as to the basics of programming) so I can't promise I'll be able to make them work together.
Last edited by Teva : 03/17/21 at 05:47 PM.
Report comment to moderator  
Reply With Quote
Unread 03/17/21, 08:03 PM  
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member

Forum posts: 211
File comments: 868
Uploads: 0
Exclamation Bug

Since installing this addon, when right-clicking an item in chat, I get "MM Price to Chat" and "Popup Item Data" listed twice in the menu.
Checked by disabling this addon and looking at the menu, and re-enabling brought back the issue. Please fix.
Report comment to moderator  
Reply With Quote
Unread 03/17/21, 09:03 PM  
Teva
 
Teva's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 162
Uploads: 1
Re: Bug

Originally Posted by LoneStar2911
Since installing this addon, when right-clicking an item in chat, I get "MM Price to Chat" and "Popup Item Data" listed twice in the menu.
Checked by disabling this addon and looking at the menu, and re-enabling brought back the issue. Please fix.
I can disable the right-click Preview option and force previewing only by mouse-click and see if that eliminates the issue, but with no actual errors and the info they provide and no line reference as to what's exactly wrong or knowledge of what other addons might even be in conflict, I cannot do more.

Please report either way on whether version 2.4.6 eliminates this issue for you.
Report comment to moderator  
Reply With Quote
Unread 03/17/21, 09:09 PM  
Teva
 
Teva's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 162
Uploads: 1
Re: interactions with CraftStore

With version 2.4.6 my addon's folder structure changed to try to be supported by the calls from CraftStore that Neverlands was requesting.

Neverlands, please let me know if that does what you were hoping and if not know that you may need to seek CraftStore modifications instead of anything that I can do on my end.
Report comment to moderator  
Reply With Quote
Unread 03/18/21, 11:18 AM  
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member

Forum posts: 211
File comments: 868
Uploads: 0
Re: Re: Bug

Originally Posted by Teva
Originally Posted by LoneStar2911
Since installing this addon, when right-clicking an item in chat, I get "MM Price to Chat" and "Popup Item Data" listed twice in the menu.
Checked by disabling this addon and looking at the menu, and re-enabling brought back the issue. Please fix.
I can disable the right-click Preview option and force previewing only by mouse-click and see if that eliminates the issue, but with no actual errors and the info they provide and no line reference as to what's exactly wrong or knowledge of what other addons might even be in conflict, I cannot do more.

Please report either way on whether version 2.4.6 eliminates this issue for you.
It did indeed eliminate the issue for me. Thank you.
Other addons have had this issue before, and they've somehow fixed it. Wish I had a better memory.
I hope I won't miss the right-click to Preview option. I can just see myself accidentally buying something from a trader when I was just trying to preview it. Hahaha. I guess we'll see! Thanks again.
Report comment to moderator  
Reply With Quote
Unread 03/18/21, 02:31 PM  
Teva
 
Teva's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 162
Uploads: 1
Re: Re: Re: Bug

Originally Posted by LoneStar2911
Originally Posted by Teva
Originally Posted by LoneStar2911
Since installing this addon, when right-clicking an item in chat, I get "MM Price to Chat" and "Popup Item Data" listed twice in the menu.
Checked by disabling this addon and looking at the menu, and re-enabling brought back the issue. Please fix.
I can disable the right-click Preview option and force previewing only by mouse-click and see if that eliminates the issue, but with no actual errors and the info they provide and no line reference as to what's exactly wrong or knowledge of what other addons might even be in conflict, I cannot do more.

Please report either way on whether version 2.4.6 eliminates this issue for you.
It did indeed eliminate the issue for me. Thank you.
Other addons have had this issue before, and they've somehow fixed it. Wish I had a better memory.
I hope I won't miss the right-click to Preview option. I can just see myself accidentally buying something from a trader when I was just trying to preview it. Hahaha. I guess we'll see! Thanks again.
I think I've found a more nuanced solution that retains the ability to right-click. Going to try publishing it and please let me know your issue returns or remains fixed.

edit: my beta tester said it was fixed, but reports here suggest it is not... will be reverting this to not support the right-click option at all in the next update
Last edited by Teva : 03/18/21 at 03:49 PM.
Report comment to moderator  
Reply With Quote
Unread 03/18/21, 03:52 PM  
Neverlands
 
Neverlands's Avatar

Forum posts: 7
File comments: 570
Uploads: 0
Re: Re: interactions with CraftStore

Originally Posted by Teva
With version 2.4.6 my addon's folder structure changed to try to be supported by the calls from CraftStore that Neverlands was requesting.

Neverlands, please let me know if that does what you were hoping and if not know that you may need to seek CraftStore modifications instead of anything that I can do on my end.

Hello Teva,


thanks for your efforts
I am now on version 2.4.7 of your addon. I still receive the chat notice that ItemPreview is required when trying to preview an item from CraftStore, but no error in the log. I will try to contact Rhyono, if you agree.
Report comment to moderator  
Reply With Quote
Unread 03/18/21, 04:49 PM  
Teva
 
Teva's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 162
Uploads: 1
Re: Re: Re: interactions with CraftStore

Originally Posted by Neverlands
Originally Posted by Teva
With version 2.4.6 my addon's folder structure changed to try to be supported by the calls from CraftStore that Neverlands was requesting.

Neverlands, please let me know if that does what you were hoping and if not know that you may need to seek CraftStore modifications instead of anything that I can do on my end.

Hello Teva,


thanks for your efforts
I am now on version 2.4.7 of your addon. I still receive the chat notice that ItemPreview is required when trying to preview an item from CraftStore, but no error in the log. I will try to contact Rhyono, if you agree.
I'm not quite clear on what you mean by "preview an item from CraftStore" so my best suggestion would be to contact Rhyono and see if he/she can help you.

If you refer to trying to preview an item through its furnishing plan listed within the CraftStore interface and not an item or furnishing plan that actually exists in inventory/bank/etc then your issue may be a game-based limitation showing itself rather than an addon issue since the ability to preview "linked items" was removed by ZOS many months ago.
Last edited by Teva : 03/18/21 at 04:50 PM.
Report comment to moderator  
Reply With Quote
Unread 03/18/21, 05:19 PM  
Neverlands
 
Neverlands's Avatar

Forum posts: 7
File comments: 570
Uploads: 0
Re: Re: Re: Re: interactions with CraftStore

Originally Posted by Teva
Originally Posted by Neverlands
Originally Posted by Teva
With version 2.4.6 my addon's folder structure changed to try to be supported by the calls from CraftStore that Neverlands was requesting.

Neverlands, please let me know if that does what you were hoping and if not know that you may need to seek CraftStore modifications instead of anything that I can do on my end.

Hello Teva,


thanks for your efforts
I am now on version 2.4.7 of your addon. I still receive the chat notice that ItemPreview is required when trying to preview an item from CraftStore, but no error in the log. I will try to contact Rhyono, if you agree.
I'm not quite clear on what you mean by "preview an item from CraftStore" so my best suggestion would be to contact Rhyono and see if he/she can help you.

If you refer to trying to preview an item through its furnishing plan listed within the CraftStore interface and not an item or furnishing plan that actually exists in inventory/bank/etc then your issue may be a game-based limitation showing itself rather than an addon issue since the ability to preview "linked items" was removed by ZOS many months ago.

Indeed I was trying to preview an item through its furnishing plan listed within the CraftStore interface. Maybe it's not possible at all anmyore, however, I asked Rhyono and will see .
Report comment to moderator  
Reply With Quote
Unread 03/20/21, 07:59 AM  
KLISK
 
KLISK's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 271
Uploads: 7
Re: Re: House Editor - Purchase Tab

@Teva
you are calling the 'PreviewFurnitureMarketProduct' function from unsafe code. Anything related to the Crown Store is a Safe Zone.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: