Linux/0.7.2 possible regression - Exception in custom quest during GetGuildQuest() call [RESOLVED]

Locked
User avatar
pango
Posts: 3358
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Linux/0.7.2 possible regression - Exception in custom quest during GetGuildQuest() call [RESOLVED]

Post by pango »

HNY Jay_H,
I completed JHMG015 successfully (killed two barbarians of the fighters guild to protect a shapeshifted mage), so my rep with the fighters guild took a hit, got demoted, but more annoyingly I cannot get another quest from the fighters guild:

Code: Select all

NullReferenceException: Object reference not set to an instance of an object
  at DaggerfallWorkshop.Game.Questing.QuestListsManager.GetGuildQuest (GuildGroups guildGroup, MembershipStatus status, Int32 factionId, Int32 rep, Int32 rank) [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallGuildServicePopupWindow.GetQuest () [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallGuildServicePopupWindow.ServiceButton_OnMouseClick (DaggerfallWorkshop.Game.UserInterface.BaseScreenComponent sender, Vector2 position) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) DaggerfallWorkshop.Game.UserInterface.BaseScreenComponent/OnMouseClickHandler:invoke_void__this___BaseScreenComponent_Vector2 (DaggerfallWorkshop.Game.UserInterface.BaseScreenComponent,UnityEngine.Vector2)
  at DaggerfallWorkshop.Game.UserInterface.BaseScreenComponent.MouseClick (Vector2 clickPosition) [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterface.BaseScreenComponent.Update () [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterface.Panel.Update () [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterface.Button.Update () [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterface.Panel.Update () [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterface.Panel.Update () [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterface.Panel.Update () [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterface.UserInterfaceWindow.Update () [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallBaseWindow.Update () [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallPopupWindow.Update () [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.DaggerfallUI.Update () [0x00000] in <filename unknown>:0 
I'm not sure whether it's because demotion is seldom triggered and I uncovered a bug, or some bad interaction with recent guild changes...
Attachments
SAVE1_after.zip
(346.89 KiB) Downloaded 73 times
SAVE46_before.zip
(355.93 KiB) Downloaded 78 times
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

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

Re: Linux/0.7.2 possible regression - Exception in custom quest during GetGuildQuest() call

Post by Interkarma »

Pango, I'll split this one into bug reports for now to make sure it gets looked at soon. Even though exception happens after a custom quest, it's possible this might be related to recent guild changes. Thank you for providing saves.

User avatar
Hazelnut
Posts: 3016
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Linux/0.7.2 possible regression - Exception in custom quest during GetGuildQuest() call

Post by Hazelnut »

Will take a look when I can.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

User avatar
Hazelnut
Posts: 3016
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Linux/0.7.2 possible regression - Exception in custom quest during GetGuildQuest() call

Post by Hazelnut »

Had to run to the FG since terrain sampler changes but I can get quests just fine. So either this is something with the custom quests, or more likely this has been fixed. Could you check again please Pango?
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

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

Re: Linux/0.7.2 possible regression - Exception in custom quest during GetGuildQuest() call

Post by Interkarma »

I'd say it's related to the one-time quest exception I patched recently. Will wait for Pango to confirm working for him also before marking resolved.

User avatar
pango
Posts: 3358
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Linux/0.7.2 possible regression - Exception in custom quest during GetGuildQuest() call

Post by pango »

I replayed the quest to protect the shape-shifted mage, went to the fighters guild, got demoted, but I could get a quest normally.
So it seems fixed to me too.
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

Locked