Download
(5 Kb)
Download
Updated: 01/14/24 08:04 PM
Pictures
File Info
Compatibility:
Endless Archive (9.2.5)
base-game patch (9.1.5)
Necrom (9.0.0)
Scribes of Fate (8.3.5)
Updated:01/14/24 08:04 PM
Created:03/31/23 09:53 AM
Monthly downloads:1,160
Total downloads:8,846
Favorites:15
MD5:
IsJusta Gamepad Tamriel Trade Centre Plugin  Popular! (More than 5000 hits)
Version: 2
by: IsJustaGhost [More]
Requires Tamriel Trade Centre
Works in Gamepad Mode

This is just a plugin to show TTC prices in the gamepad tooltips.
-- 2
○ Added sub-tootip so that price tooltip is always shown at the bottom of the standard tooltip, if available.

-- 1.5.1
○ fixed error caused by having TTC setting Sell Avg off.

-- 1.5
○ Added missing tooltip info for the current version of the TTC addon. Now has Price Avg.

-- 1.4.1
○ reverted from using hooks to replacing the original layout functions

-- 1.4
○ simplified hooking the gamepad tooltips

-- 1.3.1
○ fixed error caused by first time running ttc and it's settings have not been established.

-- 1.3
○ updated tooltip entry style to better fit the gamepad tooltips
○ removed the unused language folder
○ fixed error: Checking type on argument linkStyle failed in GetItemLink_lua, on opening decon assistant.

-- 1.2
○ removed LayoutFunction since the original is still being fired.

-- 1.1
○ added guild trader tooltip support.

-- 1
○ initial upload
Optional Files (0)


Archived Files (8)
File Name
Version
Size
Uploader
Date
1.5.1
3kB
IsJustaGhost
09/28/23 05:19 AM
1.5
3kB
IsJustaGhost
09/25/23 08:31 AM
1.4.1
3kB
IsJustaGhost
05/17/23 02:44 PM
1.4
3kB
IsJustaGhost
05/17/23 08:43 AM
1.3
3kB
IsJustaGhost
04/02/23 07:31 PM
1.2
6kB
IsJustaGhost
03/31/23 10:42 AM
1.1
6kB
IsJustaGhost
03/31/23 10:40 AM
1
6kB
03/31/23 09:53 AM


Post A Reply Comment Options
Unread 03/23/24, 09:58 AM  
IsJustaGhost
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 278
Uploads: 23
Originally Posted by Sampyche
Originally Posted by IsJustaGhost
Originally Posted by Sampyche
Can you please update? it gives error with the new TTC update yesterday.
Thanks in advance.
What error are you talking about? Where, when, what? The only "error" I saw was the price table missing.
That just means you need to run the client.

EDIT:
I saw the private message.
Copy the text of the error message and poste it here.
It was a TTC bug, not yours, solved wirth last update. Sorry
That's great to know. Thank you for the update.
Report comment to moderator  
Reply With Quote
Unread 03/23/24, 03:23 AM  
Sampyche

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by IsJustaGhost
Originally Posted by Sampyche
Can you please update? it gives error with the new TTC update yesterday.
Thanks in advance.
What error are you talking about? Where, when, what? The only "error" I saw was the price table missing.
That just means you need to run the client.

EDIT:
I saw the private message.
Copy the text of the error message and poste it here.
It was a TTC bug, not yours, solved wirth last update. Sorry
Report comment to moderator  
Reply With Quote
Unread 03/14/24, 03:54 PM  
IsJustaGhost
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 278
Uploads: 23
Originally Posted by Sampyche
Can you please update? it gives error with the new TTC update yesterday.
Thanks in advance.
What error are you talking about? Where, when, what? The only "error" I saw was the price table missing.
That just means you need to run the client.

EDIT:
I saw the private message.
Copy the text of the error message and poste it here.
Last edited by IsJustaGhost : 03/14/24 at 04:00 PM.
Report comment to moderator  
Reply With Quote
Unread 03/14/24, 11:17 AM  
Sampyche

Forum posts: 0
File comments: 2
Uploads: 0
Can you please update? it gives error with the new TTC update yesterday.
Thanks in advance.
Report comment to moderator  
Reply With Quote
Unread 01/17/24, 09:25 AM  
deljason
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 82
Uploads: 4
Originally Posted by IsJustaGhost
I will not move the primary info down. The counts and name should always be in the same place. Instead, I thought of another idea. I'm not to keen on updating it yet. I had just implemented this and started testing.
The reason for the hesitation is, it overwrites default control anchoring of the scroll list inside the base tooltip and attaches it to a new tooltip below it. As you can see in the screenshot, the scroll list text is faded just above the custom tooltip. And, of course, the text can be completely visible when scrolled above the custom tooltip.
The custom tooltip is dynamically sized. The fewer the lines, the shorter it is. I've currently only set the line adjustments based on a rough estimate.
I'll look into testing this and figuring out the actual line height adjustments so I can update this.



EDIT: Done in version 2.
Thanks! I got the update today and it looks great.
Report comment to moderator  
Reply With Quote
Unread 01/14/24, 06:53 AM  
IsJustaGhost
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 278
Uploads: 23
I will not move the primary info down. The counts and name should always be in the same place. Instead, I thought of another idea. I'm not to keen on updating it yet. I had just implemented this and started testing.
The reason for the hesitation is, it overwrites default control anchoring of the scroll list inside the base tooltip and attaches it to a new tooltip below it. As you can see in the screenshot, the scroll list text is faded just above the custom tooltip. And, of course, the text can be completely visible when scrolled above the custom tooltip.
The custom tooltip is dynamically sized. The fewer the lines, the shorter it is. I've currently only set the line adjustments based on a rough estimate.
I'll look into testing this and figuring out the actual line height adjustments so I can update this.



EDIT: Done in version 2.
Last edited by IsJustaGhost : 01/14/24 at 08:19 PM.
Report comment to moderator  
Reply With Quote
Unread 01/09/24, 08:12 AM  
deljason
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 82
Uploads: 4
Any way to put the TTC info at the top of the tooltip instead of the bottom? It'd be nice to not have to scroll down to see the value on every item when deconstructing a bunch.
Report comment to moderator  
Reply With Quote
Unread 09/28/23, 04:59 AM  
IsJustaGhost
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 278
Uploads: 23
I had a typo on the line that shows number of items sold when Sell average is not enabled.
If you go into the settings for TTC and turn on Sell Avg, the error will stop.
I'll work on getting a update to fix this soon.

And please, don't take screenshots of error messages. At least this one was actually readable.
Also, having the error show "More info" provides a lot of help.
If it's not available on the error box, you must enable "Advanced UI Errors" in the addon menu. [Escape] > Add-ons
Last edited by IsJustaGhost : 09/28/23 at 05:01 AM.
Report comment to moderator  
Reply With Quote
Unread 09/28/23, 12:50 AM  
MarcusUK

Forum posts: 15
File comments: 162
Uploads: 0
Had to rollback again to 1.3 after rolling back to 1.4 I had a weird double-overlay bug. When visiting a merchant their "Buy" items were appearing over the top if my "Sell" items. /reloadui did not help. Got a BugCatcher report from this too.

Code:
/EsoUI/PublicAllIngames/Tooltip/ItemTooltips.lua:1415: attempt to index a number value
stack traceback:
/EsoUI/PublicAllIngames/Tooltip/ItemTooltips.lua:1415: in function 'ZO_Tooltip:LayoutStoreWindowItem'
<Locals> self = ud, itemData = 17 </Locals>
/EsoUI/Common/ZO_Tooltip/Gamepad/ZO_Tooltip_Gamepad.lua:32: in function 'LayoutFunction'
<Locals> self = [table:1]{currentLayoutFunctionName = "LayoutStoreWindowItem"}, tooltipType = "GAMEPAD_RIGHT_TOOLTIP", tooltipContainer = ud, tooltipContainerTip = ud, tooltipFunction = /EsoUI/PublicAllIngames/Tooltip/ItemTooltips.lua:1414, tooltipInfo = [table:2]{autoShowBg = T, scrollIndicatorSide = 2, bgType = 1, resetScroll = T, defaultAutoShowBg = T} </Locals>
[C]: in function 'PostHookFunction'
/EsoUI/PublicAllIngames/Tooltip/ItemTooltips.lua:1699: in function 'ZO_LayoutItemLinkEquippedComparison'
<Locals> tooltipType = "GAMEPAD_RIGHT_TOOLTIP", itemLink = "|H0:item:175516:0:0:0:0:0:0:0:...", equipSlot1 = 4, equipSlot2 = 5, showEquipSlot = 4, actorCategory = 1, wornBag = 17 </Locals>
/EsoUI/Ingame/StoreWindow/Gamepad/StoreWindow_Gamepad.lua:601: in function 'ZO_GamepadStoreManager:UpdateRightTooltip'
<Locals> self = [table:3]{updateCooldownMS = 0, searchContext = "storeTextSearch", sceneName = "gamepad_store", activateOnShow = F, dirty = F, addListTriggerKeybinds = F}, list = [table:4]{template = "ZO_GamepadPricedVendorItemEntr...", mode = T, fixedCenterOffset = 0, jumping = F, animationEnabled = T, targetSelectedIndex = 1, alignToScreenCenterExpectedEntryHalfHeight = 25, additonalMaxBottomOffset = 0, universalPrePadding = 0, minOffset = 0, soundEnabled = T, isMoving = F, lastContinousTargetOffset = 1, alignToScreenCenter = T, active = T, directionalInputEnabled = F, storeMode = 1, headerDefaultPadding = 80, fireCallbackDepth = 0, selectedIndex = 1, universalPostPadding = 16, maxOffset = 40, centerDampingFactor = 0, reselectBehavior = 3, enabled = T, additonalMinBottomOffset = 0, handleDynamicViewProperties = F, searchContext = "storeTextSearch", anchorOppositeSide = F, defaultSelectedIndex = 1, validGradientDirty = T, headerSelectedPadding = -40}, mode = 1, selectedData = [table:5]{alphaChangeOnSelection = F, cooldownIcon = "/esoui/art/icons/companions_u3...", meetsUsageRequirement = T, subLabelTemplate = "ZO_GamepadMenuEntrySubLabelTem...", enabled = T, currencyType1 = 0, numIcons = 1, showBarEvenWhenUnselected = T, narrationCurrencyType = 1, narrationPrice = 500, text = "Companion's Bow", header = "Bow", fontScaleOnSelection = F, ignoreTraitInformation = F}, itemLink = "|H0:item:175516:0:0:0:0:0:0:0:..." </Locals>
/EsoUI/Ingame/StoreWindow/Gamepad/StoreWindowBuy_Gamepad.lua:238: in function 'ZO_GamepadStoreBuy:UpdatePreview'
<Locals> self = [table:6]{storeMode = 1, searchContext = "storeTextSearch", tabText = "Buy"}, selectedData = [table:5] </Locals>
/EsoUI/Ingame/StoreWindow/Gamepad/StoreWindowBuy_Gamepad.lua:210: in function 'ZO_GamepadStoreBuy:OnSelectedItemChanged'
<Locals> self = [table:6], buyData
Report comment to moderator  
Reply With Quote
Unread 09/28/23, 12:04 AM  
MarcusUK

Forum posts: 15
File comments: 162
Uploads: 0
After last update all my coffers appear empty. Disabling plugin fixes issue. Bug reported by BugCatcher is:

Code:
user:/AddOns/IsJustaGamepadTTCPlugin/IsJustaGamepadTTCPlugin.lua:159: attempt to index a nil value
stack traceback:
user:/AddOns/IsJustaGamepadTTCPlugin/IsJustaGamepadTTCPlugin.lua:159: in function 'addon:AppendPriceInfo'
<Locals> self = [table:1]{name = "IsJustaGamepadTTCPlugin", prefix = "IJA_GPTTCP", displayName = "|cFF00FFIsJusta|r |cffffffGame...", version = "1.2"}, tooltipType = "GAMEPAD_LEFT_TOOLTIP", itemLink = "|H0:item:139663:5:1:0:0:0:0:0:...", itemInfo = [table:2]{TraitID = 21, ItemType = 2, Name = "Exemplary Bloodthirsty Necklac...", Level = 1, ID = 18051, ItemLink = "|H0:item:139663:5:1:0:0:0:0:0:...", QualityID = 3}, priceInfo = [table:3]{Avg = 13808.85, Max = 320000, SaleEntryCount = 251, SaleAmountCount = 251, SaleAvg = 5447.44, Min = 2300, AmountCount = 337, SuggestedPrice = 4528.74, EntryCount = 337}, tooltip = ud, ttcPrices = ud </Locals>
user:/AddOns/IsJustaGamepadTTCPlugin/IsJustaGamepadTTCPlugin.lua:103: in function 'LayoutBagItem'
<Locals> object = [table:4]{currentLayoutFunctionName = "LayoutBagItem"}, tooltipType = "GAMEPAD_LEFT_TOOLTIP", isValidItemLink = T </Locals>
/EsoUI/Ingame/Banking/Gamepad/BankingCommon_Gamepad.lua:774: in function 'ZO_BankingCommon_Gamepad:LayoutBankingEntryTooltip'
<Locals> self = [table:5]{activateOnShow = F, mode = 1, updateCooldownMS = 0, initialized = T, searchContext = "houseBankTextSearch", addListTriggerKeybinds = F, isInitialized = F, carriedBag = 1, dirty = F}, inventoryData = [table:6]{showBarEvenWhenUnselected = T, alphaChangeOnSelection = F, slotType = 9, fontScaleOnSelection = F, header = "Amulet", uniqueId = 1.7655553993173e+16, bagId = 14, subLabelTemplate = "ZO_GamepadMenuEntrySubLabelTem...", text = "Exemplary Bloodthirsty Necklac...", slotIndex = 5, enabled = T, numIcons = 1, cooldownIcon = "/esoui/art/icons/gear_breton_n..."} </Locals>
/EsoUI/Ingame/Banking/Gamepad/Banking_Gamepad.lua:411: in function 'ZO_GamepadBanking:LayoutBankingEntryTooltip'
<Locals> self = [table:5], inventoryData = [table:6] </Locals>
/EsoUI/Ingame/Banking/Gamepad/BankingCommon_Gamepad.lua:764: in function 'ZO_BankingCommon_Gamepad:OnTargetChanged'
<Locals> self = [table:5], list = [table:7]{additonalMaxBottomOffset = 0, universalPrePadding = 0, additonalMinBottomOffset = 0, soundEnabled = T, mode = T, fixedCenterOffset = 0, noItemsText = "You have nothing stored in you...", maxOffset = 40, animationEnabled = T, fireCallbackDepth = 1, targetSelectedIndex = 1, jumping = F, anchorOppositeSide = F, centerDampingFactor = 0, minOffset = 0, alignToScreenCenter = T, defaultSelectedIndex = 1, headerSelectedPadding = -40, active = T, headerDefaultPadding = 80, isMoving = F, handleDynamicViewProperties = F, validGradientDirty = T, reselectBehavior = 3, universalPostPadding = 16, alignToScreenCenterExpectedEntryHalfHeight = 25, enabled = T, directionalInputEnabled = F}, targetData = [table:6] </Locals>
/EsoUI/Common/Gamepad/ZO_GamepadParametricScrollListScreen.lua:706: in function 'OnTargetChanged'
/EsoUI/Li
Have rolled my installed version back to 1.4.0 while you assess and fix this issue. Thanks.
Last edited by MarcusUK : 09/28/23 at 12:08 AM.
Report comment to moderator  
Reply With Quote
Unread 09/27/23, 08:36 PM  
MikMikMouse

Forum posts: 0
File comments: 1
Uploads: 0
Re: Running into an error in gamepad mode

Originally Posted by NyghtRayven
https://imgur.com/a/pC85nVo
I am also getting this error, just after updating the addon. And it's a fantastic addon so I miss it already!
Report comment to moderator  
Reply With Quote
Unread 09/27/23, 10:31 AM  
NyghtRayven

Forum posts: 0
File comments: 1
Uploads: 0
Running into an error in gamepad mode

https://imgur.com/a/pC85nVo
Last edited by NyghtRayven : 09/27/23 at 10:32 AM.
Report comment to moderator  
Reply With Quote
Unread 09/25/23, 08:33 AM  
IsJustaGhost
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 278
Uploads: 23
Re: Re: Sale Average

Sorry all. Going by the version of TTC I had. I had all the available tooltlp lines used by TTC. It now has "Sale Avg." added to this addon.
Last edited by IsJustaGhost : 09/25/23 at 09:01 PM.
Report comment to moderator  
Reply With Quote
Unread 09/09/23, 05:53 PM  
IsJustaGhost
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 278
Uploads: 23
Re: Sale Average

Originally Posted by Ryolith
Hi there, great addon! appreciate the gamepad support. Is it possible we could see average sale price in a future update? Thank you!
I'll look into it. I thought it was.

Check that ttc settings has it enabled.

It only adds lines based on ttc settings.

Lua Code:
  1. if (getTTC_Settings().EnableToolTipAggregate) then
  2.                 ttcPrices:AddLine(string.format("[Avg %s]\n[Min %s/Max %s]", TamrielTradeCentre:FormatNumber(priceInfo.Avg),
  3.                     TamrielTradeCentre:FormatNumber(priceInfo.Min), TamrielTradeCentre:FormatNumber(priceInfo.Max)),
  4.                     tooltip:GetStyle("bodyHeader"))
  5.             end
It's based on the code used in the ttc addon to show tooltips in keyboard mode.
Last edited by IsJustaGhost : 09/09/23 at 06:36 PM.
Report comment to moderator  
Reply With Quote
Unread 09/09/23, 10:47 AM  
Ryolith

Forum posts: 0
File comments: 1
Uploads: 0
Thumbs up Sale Average

Hi there, great addon! appreciate the gamepad support. Is it possible we could see average sale price in a future update? Thank you!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: