Download
(4 Kb)
Download
Updated: 06/03/24 02:52 PM
Pictures
File Info
Compatibility:
Gold Road (10.0.0)
Scions of Ithelia (9.3.0)
Endless Archive (9.2.5)
base-game patch (9.1.5)
Necrom (9.0.0)
Scribes of Fate (8.3.5)
Updated:06/03/24 02:52 PM
Created:03/31/23 09:53 AM
Monthly downloads:1,858
Total downloads:11,913
Favorites:17
MD5:
10.0.0
IsJusta Gamepad Tamriel Trade Centre Plugin  Popular! (More than 5000 hits)
Version: 2.1.3
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.1.3
○ Applied, dynamic, Hotfix for GoldRoad. When they finally change the function, IsInUI, from being private, this will automatically stop applying the Hotfix.

-- 2.1.2
○ Added padding below the divider

-- 2.1.1
○ Added missing parameters to ClearLines

-- 2.1
○ The custom price tooltip will now reset whenever the left tooltip clears and when it hides.
- this will stop it from continuing to show when switching to other windows that show the left tooltip

-- 2
○ Added sub-toolltip 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 (11)
File Name
Version
Size
Uploader
Date
2.1.2
5kB
IsJustaGhost
04/24/24 09:59 PM
2.1
5kB
IsJustaGhost
04/24/24 08:03 PM
2
5kB
IsJustaGhost
01/14/24 08:04 PM
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 06/03/24, 02:55 PM  
IsJustaGhost
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 303
Uploads: 23
Re: Re: UI ERROR with GamePad

I applied hotfix that will only apply while the function remains private. When they finally change that in an update, it will no longer apply the change.
Since I do not have Gold Road, I cannot test tooltips with craftable skill items.
That was the cause f this.
Report comment to moderator  
Reply With Quote
Unread 06/03/24, 01:40 PM  
IsJustaGhost
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 303
Uploads: 23
Re: UI ERROR with GamePad

Originally Posted by sora0v0
If I use this addon with GamePad, below error happened.
when I have gremore items in my inventory or access to bendor.

/EsoUI/Libraries/Utility/ZO_PlatformUtils.lua:119: Attempt to access a private function 'IsInUI' from insecure code. The callstack became untrusted 5 stack frame(s) from the top.
stack traceback:
Thank you for letting me know. It appears to be caused by the new Crafted skills. Unfortunately, after looking into this, I have not yet found a way around it. The best I may be able to do is have ZOS change this check.

EDIT: I Asked ZOS about it. We'll see what happens.

They replied with:
"I've already made the change to make IsInUI a non-private function. It just didn't make it into 42"
Last edited by IsJustaGhost : 06/03/24 at 01:54 PM.
Report comment to moderator  
Reply With Quote
Unread 06/03/24, 11:37 AM  
sora0v0
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 80
Uploads: 3
UI ERROR with GamePad

If I use this addon with GamePad, below error happened.
when I have gremore items in my inventory or access to bendor.

/EsoUI/Libraries/Utility/ZO_PlatformUtils.lua:119: Attempt to access a private function 'IsInUI' from insecure code. The callstack became untrusted 5 stack frame(s) from the top.
stack traceback:
/EsoUI/Libraries/Utility/ZO_PlatformUtils.lua:119: in function 'ZO_IsIngameUI'
/EsoUI/PublicAllIngames/Tooltip/ItemTooltips.lua:1053: in function 'ZO_Tooltip:LayoutCraftedAbilityItem'
<Locals> self = ud, itemLink = "|H0:item:204488:124:0:0:0:0:0:...", itemName = "グリモア: 属性の爆発..." </Locals>
/EsoUI/PublicAllIngames/Tooltip/ItemTooltips.lua:1689: in function 'layoutFunction'
<Locals> self = ud, itemLink = "|H0:item:204488:124:0:0:0:0:0:...", creatorName = "", itemName = "グリモア: 属性の爆発...", extraData = [table:1]{slotIndex = 29, bagId = 1} </Locals>
/EsoUI/PublicAllIngames/Tooltip/ItemTooltips.lua:1721: in function 'ZO_Tooltip:LayoutItem'
<Locals> self = ud, itemLink = "|H0:item:204488:124:0:0:0:0:0:...", equipped = F, creatorName = "", forceFullDurability = F, itemName = "グリモア: 属性の爆発...", equipSlot = -1, showPlayerLocked = F, extraData = [table:1], isValidItemLink = T, itemType = 72, layoutFunction = /EsoUI/PublicAllIngames/Tooltip/ItemTooltips.lua:1689 </Locals>
(tail call): ?
(tail call): ?
/EsoUI/Common/ZO_Tooltip/Gamepad/ZO_Tooltip_Gamepad.lua:32: in function 'LayoutFunction'
<Locals> self = [table:2]{currentLayoutFunctionName = "LayoutBagItem"}, tooltipType = "GAMEPAD_LEFT_TOOLTIP", tooltipContainer = ud, tooltipContainerTip = ud, tooltipFunction = /EsoUI/PublicAllIngames/Tooltip/ItemTooltips.lua:1774, tooltipInfo = [table:3]{scrollIndicatorSide = 8, defaultAutoShowBg = T, resetScroll = T, autoShowBg = T, bgType = 1} </Locals>
user:/AddOns/IsJustaGamepadTTCPlugin/IsJustaGamepadTTCPlugin.lua:247: in function 'LayoutBagItem'
<Locals> object = [table:2], tooltipType = "GAMEPAD_LEFT_TOOLTIP" </Locals>
/EsoUI/Ingame/Inventory/Gamepad/GamepadInventory.lua:1140: in function 'ZO_GamepadInventory:UpdateItemLeftTooltip'
<Locals> self = [table:4]{activateOnShow = F, searchContext = "playerInventoryTextSearch", initialized = T, searchFilterType = 1, actionMode = 1, updateCooldownMS = 0, addListTriggerKeybinds = T, currentListType = "itemList", dirty = T, previousListType = "categoryList"}, selectedData = [table:5]{cooldownIcon = "/esoui/art/icons/item_grimoire...", numIcons = 1, enabled = T, isEquippedInCurrentCategory = F, showBarEvenWhenUnselected = T, ignoreTraitInformation = T, uniqueId = 201016960.05245, text = "グリモア: 属性の爆発...", slotType = 35, header = "グリモア", subLabelTemplate = "ZO_GamepadMenuEntrySubLabelTem...", fontScaleOnSelection = F, alphaChangeOnSelection = F} </Locals>
/EsoUI/Ingame/Inventory/Gamepad/GamepadInventory.lua:1169: in function 'OnSelectedDataChangedCallback'
<Locals> list = [table:6]{lastContinousTargetOffset = 1, defaultSelectedIndex = 1, universalPrePadding = 0, fixedCenterOffset = 0, additonalMaxBottomOffset = 0, headerSelectedPadding = -40, additonalMinBottomOffset = 0, soundEnabled = T, alignToScreenCenter = T, animationEnabled = T, h
Report comment to moderator  
Reply With Quote
Unread 04/24/24, 06:53 PM  
IsJustaGhost
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 303
Uploads: 23
Re: A Bug

Originally Posted by nelunel
If you look at an item with TTC data and then look at another UI dialogue without looking at an item without TTC data first, the bottom will be hidden even though there is nothing there.
Thank you for letting me know. I'll see what I can do about that. At least it's not something that causes errors.
Report comment to moderator  
Reply With Quote
Unread 04/24/24, 01:23 PM  
nelunel

Forum posts: 0
File comments: 4
Uploads: 0
A Bug

If you look at an item with TTC data and then look at another UI dialogue without looking at an item without TTC data first, the bottom will be hidden even though there is nothing there.
Last edited by nelunel : 04/24/24 at 01:24 PM.
Report comment to moderator  
Reply With Quote
Unread 03/23/24, 09:58 AM  
IsJustaGhost
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 303
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: 303
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: 303
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: 303
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: 164
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: 164
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
Post A Reply



Category Jump: