Thread Tools Display Modes
06/28/14, 11:11 AM   #1
choekstr
 
choekstr's Avatar
Join Date: Mar 2014
Posts: 14
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.
  Reply With Quote
06/28/14, 11:48 AM   #2
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by choekstr View Post
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()
  Reply With Quote
06/28/14, 12:30 PM   #3
SkOODaT
 
SkOODaT's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 58
nuts you beat me lol i was just fixing it lol .....:P

local action, _, _, _, additionalInfo, _ = GetGameCameraInteractableActionInfo()
  Reply With Quote
06/30/14, 08:36 AM   #4
choekstr
 
choekstr's Avatar
Join Date: Mar 2014
Posts: 14
You guys rock. I appreciate the help in determining what needed to be changed!
  Reply With Quote
06/30/14, 11:17 AM   #5
SkOODaT
 
SkOODaT's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 58
Originally Posted by choekstr View Post
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
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » Ak0's Reticle Tweaks stopped working

Thread Tools
Display Modes

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