Dialogue does not function during custom quest

Post here if you need help getting started with Daggerfall Unity or just want to clarify a potential bug. Questions about playing or modding classic Daggerfall should be posted to Community.
Post Reply
ifkopifko
Posts: 195
Joined: Thu Apr 02, 2015 9:03 am

Dialogue does not function during custom quest

Post by ifkopifko »

[Moderator note: originally posted in Daggerfall Unity Quest Pack 1 topic]

Oh, mighty Quest-Giver! I have a little bug to report... It manifests because of a quest in this quest pack, but the problem might be lying somewhere else.

During a quest called "Plague Knight" I went to the incriminated city with a infested palace. However, if I am inside a building (a tavern or other) and try to talk to people "Tell me about the palace" the dialog functionality breaks, I am not able to ask anyone about anything, the interface itself becomes unresponsive. Quitting the dialog and starting it again does not solve it. Reloading a save does not solve it. The only thing I was able to do was to restart DFU.

Talking with people out-doors on "Tell me about the palace" works as intended... I guess... they don't like me so they wont tell me anything useful, but the dialog interface works.

I put my save in the attachment.
Attachments
SAVE55.ZIP
(253.5 KiB) Downloaded 48 times

User avatar
Jay_H
Posts: 4072
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Daggerfall Unity Quest Pack #1

Post by Jay_H »

Indeed, the problem lies further in the quest system. I'm running your save file on 0.13.1 with no mods, and get the same broken functionality. I see this in the player log:

Code: Select all

InvalidCastException: Specified cast is not valid.
  at DaggerfallWorkshop.Game.TalkManager.CheckNPCisInSameBuildingAsTopic (DaggerfallWorkshop.Game.TalkManager+ListItem item) [0x0007f] in <137da0d09ba34683a2f7e617c5ec363c>:0 
  at DaggerfallWorkshop.Game.TalkManager.GetNPCKnowledgeAboutItem (DaggerfallWorkshop.Game.TalkManager+ListItem listItem) [0x0000b] in <137da0d09ba34683a2f7e617c5ec363c>:0 
  at DaggerfallWorkshop.Game.TalkManager.GetAnswerTellMeAboutTopic (DaggerfallWorkshop.Game.TalkManager+ListItem listItem) [0x00008] in <137da0d09ba34683a2f7e617c5ec363c>:0 
  at DaggerfallWorkshop.Game.TalkManager.GetAnswerText (DaggerfallWorkshop.Game.TalkManager+ListItem listItem) [0x000a6] in <137da0d09ba34683a2f7e617c5ec363c>:0 
  at DaggerfallWorkshop.Game.UserInterface.DaggerfallTalkWindow.SelectTopicFromTopicList (System.Int32 index, System.Boolean forceExecution) [0x000cc] in <137da0d09ba34683a2f7e617c5ec363c>:0 
  at DaggerfallWorkshop.Game.UserInterface.DaggerfallTalkWindow.ButtonOkay_OnMouseClick (DaggerfallWorkshop.Game.UserInterface.BaseScreenComponent sender, UnityEngine.Vector2 position) [0x00045] in <137da0d09ba34683a2f7e617c5ec363c>:0 
  at (wrapper delegate-invoke) <Module>.invoke_void_BaseScreenComponent_Vector2(DaggerfallWorkshop.Game.UserInterface.BaseScreenComponent,UnityEngine.Vector2)
  at DaggerfallWorkshop.Game.UserInterface.BaseScreenComponent.MouseClick (UnityEngine.Vector2 clickPosition) [0x00008] in <137da0d09ba34683a2f7e617c5ec363c>:0 
  at DaggerfallWorkshop.Game.UserInterface.BaseScreenComponent.Update () [0x00347] in <137da0d09ba34683a2f7e617c5ec363c>:0 
  at DaggerfallWorkshop.Game.UserInterface.Panel.Update () [0x00009] in <137da0d09ba34683a2f7e617c5ec363c>:0 
  at DaggerfallWorkshop.Game.UserInterface.Button.Update () [0x00000] in <137da0d09ba34683a2f7e617c5ec363c>:0 
  at DaggerfallWorkshop.Game.UserInterface.Panel.Update () [0x00049] in <137da0d09ba34683a2f7e617c5ec363c>:0 
  at DaggerfallWorkshop.Game.UserInterface.Panel.Update () [0x00049] in <137da0d09ba34683a2f7e617c5ec363c>:0 
  at DaggerfallWorkshop.Game.UserInterface.Panel.Update () [0x00049] in <137da0d09ba34683a2f7e617c5ec363c>:0 
  at DaggerfallWorkshop.Game.UserInterface.UserInterfaceWindow.Update () [0x00008] in <137da0d09ba34683a2f7e617c5ec363c>:0 
  at DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallBaseWindow.Update () [0x0003d] in <137da0d09ba34683a2f7e617c5ec363c>:0 
  at DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallPopupWindow.Update () [0x00000] in <137da0d09ba34683a2f7e617c5ec363c>:0 
  at DaggerfallWorkshop.Game.UserInterface.DaggerfallTalkWindow.Update () [0x00000] in <137da0d09ba34683a2f7e617c5ec363c>:0 
  at DaggerfallWorkshop.Game.DaggerfallUI.Update () [0x000d8] in <137da0d09ba34683a2f7e617c5ec363c>:0 
I'll break this off and move it to the Help subforum, since the game engine is having problems here ;)

User avatar
Interkarma
Posts: 7247
Joined: Sun Mar 22, 2015 1:51 am

Re: Dialogue does not function during custom quest

Post by Interkarma »

Thanks Jay. Same issue as below (notes in my edit).

viewtopic.php?p=58580#p58580

It's an easy fix, I just want to check a few things first. I'll add it to release that will be 0.13.4.

ifkopifko
Posts: 195
Joined: Thu Apr 02, 2015 9:03 am

Re: Dialogue does not function during custom quest

Post by ifkopifko »

Yeah, that's the same issue, didn't see that topic, sorry about that... Maybe that's because I was lost in DFU for a day or two... :D A very good experience indeed, the dungeon mazes still have most of their magic.

Post Reply