Thread Tools Display Modes
11/04/14, 09:48 AM   #1
Scharesoft
 
Scharesoft's Avatar
Join Date: Apr 2014
Posts: 11
Log Addon - No lip animations since Improved Facial Animations

With the new update 5 and the improved facial animations there is a really annoying bug with one of the most important addons for me, the UespLog AddOn. With this addon almost everything is logged in the game. I need these data for a German knowledgebase, the Tamriel-Almanach.

After the update to 1.5.2 of eso a bug with the improved facial animations appears. The spoken dialogues begin a few seconds after the text appears and the lips do not move. If I disable the addon, it works again.

I tried to find the error, but I'm not come up with the solution. I checked all changes from api 100009 to 100010, but nothing helps.

A version with my fixes for the last update you can find here. The original UespLog AddOn you can find here.

I hope someone is able to help me with this problem! Thanks in advance!

(I asked the same question here)

Last edited by Scharesoft : 11/04/14 at 09:53 AM.
  Reply With Quote
11/05/14, 01:39 AM   #2
Scharesoft
 
Scharesoft's Avatar
Join Date: Apr 2014
Posts: 11
It seems this issue is caused if I use the GetChatterGreeting() or GetChatterData() functions within the EVENT_CHATTER_BEGIN event. I can easily not call these functions but then I can't get the current dialogue string.

If I want to get facial animations working again I need to comment out this line like:

-- logData.bodyText = GetChatterGreeting()

in the function uespLog.OnChatterBegin (eventCode, optionCount) in uespLog.lua file.

I thing this could be also a bug in the game.
  Reply With Quote
11/05/14, 06:08 AM   #3
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by Scharesoft View Post
It seems this issue is caused if I use the GetChatterGreeting() or GetChatterData() functions within the EVENT_CHATTER_BEGIN event. I can easily not call these functions but then I can't get the current dialogue string.

If I want to get facial animations working again I need to comment out this line like:

-- logData.bodyText = GetChatterGreeting()

in the function uespLog.OnChatterBegin (eventCode, optionCount) in uespLog.lua file.

I thing this could be also a bug in the game.
Both those functions plays dialog from the start, so it can probably cause some issues. My guess how to make it work would be unregistering event EVENT_CHATTER_BEGIN from ZO_InteractWindow and handle it from your function. This way GetChatterGreeting() won't be called twice.

Untested:

To the function uespLog.Initialize( self, addOnName ) add this line:
Lua Code:
  1. ZO_InteractWindow:UnregisterForEvent(EVENT_CHATTER_BEGIN)

To the function uespLog.OnChatterBegin (eventCode, optionCount) add the following (after the line where is called function GetChatterGreeting()):
Lua Code:
  1. INTERACT_WINDOW:InitializeInteractWindow(logData.bodyText)
  2. INTERACT_WINDOW:PopulateChatterOptions(optionCount, false)

Last edited by Garkin : 11/05/14 at 10:44 AM. Reason: Corrected code
  Reply With Quote
11/05/14, 09:03 AM   #4
Scharesoft
 
Scharesoft's Avatar
Join Date: Apr 2014
Posts: 11
Thanks for your help, but unfortunately the following error message is now displayed when the game is started.



This is the position of INTERACT_WINDOW:UnregisterForEvent(EVENT_CHATTER_BEGIN)

The animation of the lips are now working, but the log addon stores nothing more into the saved variables file.
  Reply With Quote
11/05/14, 09:43 AM   #5
ZOS_ChipHilseberg
ZOS Staff!
Premium Member
Yes this person is from ZeniMax!
Join Date: Oct 2014
Posts: 551
It's an unfortunate reality that those query functions also trigger VO and animations. It's something we'd like to fix for sure.
  Reply With Quote
11/05/14, 09:43 AM   #6
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by Scharesoft View Post
Thanks for your help, but unfortunately the following error message is now displayed when the game is started.



This is the position of INTERACT_WINDOW:UnregisterForEvent(EVENT_CHATTER_BEGIN)

The animation of the lips are now working, but the log addon stores nothing more into the saved variables file.
Oops, my bad. You should be unregistering event from top level window, so the correct line is:
Lua Code:
  1. ZO_InteractWindow:UnregisterForEvent(EVENT_CHATTER_BEGIN)
  Reply With Quote
11/05/14, 10:26 AM   #7
Scharesoft
 
Scharesoft's Avatar
Join Date: Apr 2014
Posts: 11
With this change the error message is gone, but an other one appears when starting a dialogue:



The Goodbye is missing and the log addon is still not working correctly.

Originally Posted by ZOS_ChipHilseberg View Post
It's an unfortunate reality that those query functions also trigger VO and animations. It's something we'd like to fix for sure.
A fix for this in a future version of ESO would be great
  Reply With Quote
11/05/14, 10:38 AM   #8
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by Scharesoft View Post
With this change the error message is gone, but an other one appears when starting a dialogue:



The Goodbye is missing and the log addon is still not working correctly.



A fix for this in a future version of ESO would be great
It says that logData.optionCount is not a number, move added code one more line down or change it to:
Lua Code:
  1. INTERACT_WINDOW:PopulateChatterOptions(optionCount, false)

Last edited by Garkin : 11/05/14 at 10:40 AM.
  Reply With Quote
11/05/14, 10:48 AM   #9
Scharesoft
 
Scharesoft's Avatar
Join Date: Apr 2014
Posts: 11
Great, thank you very much Garkin It's working now!
  Reply With Quote
11/05/14, 12:06 PM   #10
dominoid
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 34
I solved a similar problem as well in Harven's Quest Journal for GetOfferedQuestInfo() by placing the function on a different thread (I think that's what it's doing) using zo_callLater. See my post here:

http://www.esoui.com/downloads/filei...d=580#comments

Last edited by dominoid : 11/05/14 at 12:08 PM.
  Reply With Quote
11/10/14, 03:36 AM   #11
Scharesoft
 
Scharesoft's Avatar
Join Date: Apr 2014
Posts: 11
Originally Posted by dominoid View Post
I solved a similar problem as well in Harven's Quest Journal for GetOfferedQuestInfo() by placing the function on a different thread (I think that's what it's doing) using zo_callLater. See my post here:

http://www.esoui.com/downloads/filei...d=580#comments
This seems to be buggy. Did you find an other solution for the lip animation?
  Reply With Quote
03/04/15, 07:37 AM   #12
Scharesoft
 
Scharesoft's Avatar
Join Date: Apr 2014
Posts: 11
With the new update 6 I've got a problem again.

If I change nothing, this error message apears and the dialog window stays empty:

user:/AddOns/uespLog/uespLog.lua:1645: function expected instead of nil
stack traceback:
user:/AddOns/uespLog/uespLog.lua:1645: in function 'uespLog.OnChatterBegin'


This is the part why the error apears:

INTERACT_WINDOW:InitializeInteractWindow(ChatterGreeting)
INTERACT_WINDOW:PopulateChatterOptions(optionCount, false)


I need this to show the dialog because of this line:

ZO_InteractWindow:UnregisterForEvent(EVENT_CHATTER_BEGIN)


What do I have to change here to make it work again? Thanks in advance!
  Reply With Quote
03/04/15, 10:45 AM   #13
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by Scharesoft View Post
With the new update 6 I've got a problem again.

If I change nothing, this error message apears and the dialog window stays empty:

user:/AddOns/uespLog/uespLog.lua:1645: function expected instead of nil
stack traceback:
user:/AddOns/uespLog/uespLog.lua:1645: in function 'uespLog.OnChatterBegin'


This is the part why the error apears:

INTERACT_WINDOW:InitializeInteractWindow(ChatterGreeting)
INTERACT_WINDOW:PopulateChatterOptions(optionCount, false)


I need this to show the dialog because of this line:

ZO_InteractWindow:UnregisterForEvent(EVENT_CHATTER_BEGIN)


What do I have to change here to make it work again? Thanks in advance!
I think it should be now INTERACTION instead of INTERACT_WINDOW.

INTERACTION:InitializeInteractWindow(ChatterGreeting)
INTERACTION:PopulateChatterOptions(optionCount, false)
  Reply With Quote
03/04/15, 10:57 AM   #14
Scharesoft
 
Scharesoft's Avatar
Join Date: Apr 2014
Posts: 11
Originally Posted by Garkin View Post
I think it should be now INTERACTION instead of INTERACT_WINDOW.

INTERACTION:InitializeInteractWindow(ChatterGreeting)
INTERACTION:PopulateChatterOptions(optionCount, false)
Great, this seems to work Thanks!
  Reply With Quote
11/26/17, 07:03 AM   #15
Scharesoft
 
Scharesoft's Avatar
Join Date: Apr 2014
Posts: 11
Unfortunately, the error with the limp animations occurs again. The latest version of the uespLog you can find here or here.

Maybe someone is able to help me here Thanks in advance!
  Reply With Quote
02/11/18, 04:34 AM   #16
Scharesoft
 
Scharesoft's Avatar
Join Date: Apr 2014
Posts: 11
This problem still occurs. Does somebody has any idea?
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » Log Addon - No lip animations since Improved Facial Animations

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