Recurrent error in player log

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.
Xium
Posts: 16
Joined: Fri Jun 17, 2022 1:12 pm

Re: Recurrent error in player log

Post by Xium »

Code: Select all

DivideByZeroException: Attempted to divide by zero.
  at DaggerfallWorkshop.Game.Formulas.FormulaHelper.GetEffectComponentCosts (DaggerfallWorkshop.Game.MagicAndEffects.EffectCosts costs, System.Int32 starting, System.Int32 increase, System.Int32 perLevel, System.Int32 skillValue) [0x00000] in <d0275bf2c7274c16b0f9895a02995993>:0 
  at DaggerfallWorkshop.Game.Formulas.FormulaHelper.CalculateEffectCosts (DaggerfallWorkshop.Game.MagicAndEffects.IEntityEffect effect, DaggerfallWorkshop.Game.MagicAndEffects.EffectSettings settings, DaggerfallWorkshop.Game.Entity.DaggerfallEntity casterEntity) [0x000fe] in <d0275bf2c7274c16b0f9895a02995993>:0 
  at DaggerfallWorkshop.Game.Formulas.FormulaHelper.CalculateEffectCosts (DaggerfallWorkshop.Game.MagicAndEffects.EffectEntry effectEntry, DaggerfallWorkshop.Game.Entity.DaggerfallEntity casterEntity) [0x00033] in <d0275bf2c7274c16b0f9895a02995993>:0 
  at DaggerfallWorkshop.Game.Formulas.FormulaHelper.CalculateTotalEffectCosts (DaggerfallWorkshop.Game.MagicAndEffects.EffectEntry[] effectEntries, DaggerfallWorkshop.Game.MagicAndEffects.TargetTypes targetType, DaggerfallWorkshop.Game.Entity.DaggerfallEntity casterEntity, System.Boolean minimumCastingCost) [0x00049] in <d0275bf2c7274c16b0f9895a02995993>:0 
  at DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallSpellBookWindow.PopulateSpellsList (System.Collections.Generic.List`1[T] spells, System.Nullable`1[T] availableSpellPoints) [0x00014] in <d0275bf2c7274c16b0f9895a02995993>:0 
  at DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallSpellBookWindow.RefreshSpellsList (System.Boolean preservePosition) [0x00076] in <d0275bf2c7274c16b0f9895a02995993>:0 
  at DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallSpellBookWindow.Setup () [0x00059] in <d0275bf2c7274c16b0f9895a02995993>:0 
  at DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallBaseWindow.Update () [0x00069] in <d0275bf2c7274c16b0f9895a02995993>:0 
  at DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallPopupWindow.Update () [0x00000] in <d0275bf2c7274c16b0f9895a02995993>:0 
  at DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallSpellBookWindow.Update () [0x00000] in <d0275bf2c7274c16b0f9895a02995993>:0 
  at DaggerfallWorkshop.Game.DaggerfallUI.Update () [0x000d8] in <d0275bf2c7274c16b0f9895a02995993>:0 
 
(Filename: <d0275bf2c7274c16b0f9895a02995993> Line: 0)
This is killing me; when I open spellbook, doesn't happen to all players. aghaghaghagha

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

Re: Recurrent error in player log

Post by Jay_H »

Hello! Does it happen without mods?

Xium
Posts: 16
Joined: Fri Jun 17, 2022 1:12 pm

Re: Recurrent error in player log

Post by Xium »

Nah

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

Re: Recurrent error in player log

Post by Jay_H »

Good, that narrows down the problem a little. Now what remains is finding out which mod causes it, and contacting the creator.

Xium
Posts: 16
Joined: Fri Jun 17, 2022 1:12 pm

Re: Recurrent error in player log

Post by Xium »

It was levitation redone mod; not sure why.

Have this error occurring in the log now though....

Code: Select all

NullReferenceException: Object reference not set to an instance of an object
  at SpellcastStudios.TODBackgrounds.TODBackgrounds+BackgroundScreen.Update () [0x0001c] in <73e3768dc62c4853b83859d975aac530>:0 
  at SpellcastStudios.TODBackgrounds.TODBackgrounds.LateUpdate () [0x0000b] in <73e3768dc62c4853b83859d975aac530>:0 

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

Re: Recurrent error in player log

Post by Jay_H »

SpellcastStudios is joshcamas, I believe: https://www.nexusmods.com/daggerfalluni ... s/15000669

Post Reply