ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   AddOn Help/Support (https://www.esoui.com/forums/forumdisplay.php?f=164)
-   -   Ak0's Reticle Tweaks stopped working (https://www.esoui.com/forums/showthread.php?t=1870)

choekstr 06/28/14 11:11 AM

Ak0's Reticle Tweaks stopped working
 
It seems something with the 1.2.3 api and perhaps resulting function changes has made Ak0's Reticle Tweaks stop working.

I was hoping someone else has either determined what lua code changes are necessary to get the dynamic title recoloring to work again. This is a really big part of looting every container for a provisioner as a bright color helps scan quickly for lootable containers.

Or perhaps someone could take a quick look at the code?
In my testing I have deduced that ZO_ReticleContainerInteractContext:SetColor(r,g,b) doesn't seem to set the color of the "E Search" prompt anymore and both ADDITIONAL_INTERACT_INFO_NONE and ADDITIONAL_INTERACT_INFO_EMPTY are nil values always during a hover over a container.

Garkin 06/28/14 11:48 AM

Quote:

Originally Posted by choekstr (Post 9925)
It seems something with the 1.2.3 api and perhaps resulting function changes has made Ak0's Reticle Tweaks stop working.

I was hoping someone else has either determined what lua code changes are necessary to get the dynamic title recoloring to work again. This is a really big part of looting every container for a provisioner as a bright color helps scan quickly for lootable containers.

Or perhaps someone could take a quick look at the code?
In my testing I have deduced that ZO_ReticleContainerInteractContext:SetColor(r,g,b) doesn't seem to set the color of the "E Search" prompt anymore and both ADDITIONAL_INTERACT_INFO_NONE and ADDITIONAL_INTERACT_INFO_EMPTY are nil values always during a hover over a container.

Add one underscore to the line 101:
Lua Code:
  1. local action, _, _, additionalInfo, _ = GetGameCameraInteractableActionInfo()
to:
Lua Code:
  1. local action, _, _, _, additionalInfo, _ = GetGameCameraInteractableActionInfo()

It is because there is a new return value "isOwned" from GetGameCameraInteractableActionInfo()
Before patch: action, interactableName, interactionBlocked, additionalInfo, context = GetGameCameraInteractableActionInfo()
After patch: action, interactableName, interactionBlocked, isOwned, additionalInfo, context = GetGameCameraInteractableActionInfo()

SkOODaT 06/28/14 12:30 PM

nuts you beat me lol i was just fixing it lol .....:P

local action, _, _, _, additionalInfo, _ = GetGameCameraInteractableActionInfo() :)

choekstr 06/30/14 08:36 AM

You guys rock. I appreciate the help in determining what needed to be changed!

SkOODaT 06/30/14 11:17 AM

Quote:

Originally Posted by choekstr (Post 10016)
You guys rock. I appreciate the help in determining what needed to be changed!

Seems it's getting colored green on doors lol when I get a chance I'm going to try to fix it and I'll post here


All times are GMT -6. The time now is 08:23 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI