LoadedCamel / MidsReborn

Mids' Reborn : Hero Designer
GNU General Public License v3.0
24 stars 8 forks source link

Crash on mouse-over of Shadow Field (Controller- Dark) Primary #159

Closed jmoral4 closed 1 year ago

jmoral4 commented 1 year ago

Describe the bug Application crash (pop-up) when selecting or mousing over Shadow Field ability (Controller dark primary).

To Reproduce Steps to reproduce the behavior:

  1. New Character
  2. Select Controller
  3. Select Darkness Control Primary
  4. Mouse over "Shadow Field"
  5. See error dialog
  6. Pressing Continue allows everything to still work but cannot select the ability and mousing over it accidentally will crash.

Expected behavior Normally shows a description of the ability and allows you to click to select it

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Error Log:

** Exception Text ** System.IndexOutOfRangeException: Index was outside the bounds of the array. at Mids_Reborn.Core.Base.Data_Classes.Power.<>c.b__447_3(KeyValuePair2 e) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer`1 comparer) at Mids_Reborn.Core.Base.Data_Classes.Power.GetEffectsInSummons() at Mids_Reborn.Core.Base.Data_Classes.Power.GetDifferentAttributesSubPower(Int32 fxIndex) at Mids_Reborn.Core.Base.Data_Classes.Power.BuildTooltipStringAllVectorsEffects(eEffectType effectType, eEffectType etModifies, eDamage damageType, eMez mezType, String groupName, Boolean includeEnhEffects) at Mids_Reborn.Forms.Controls.DataView.GetRankedEffect(Int32[] Index, Int32 ID) at Mids_Reborn.Forms.Controls.DataView.DisplayInfo(Boolean noLevel, Int32 iEnhLvl) at Mids_Reborn.Forms.Controls.DataView.DisplayData(Boolean noLevel, Int32 iEnhLevel) at Mids_Reborn.Forms.Controls.DataView.SetData(IPower basePower, IPower enhancedPower, Boolean noLevel, Boolean locked, Int32 iHistoryIdx) at Mids_Reborn.Forms.frmMain.Info_Power(Int32 powerIdx, Int32 iEnhLvl, Boolean NoLevel, Boolean Lock) at Mids_Reborn.Forms.frmMain.llPrimary_ItemHover(ListLabelItemV3 Item) at Mids_Reborn.Controls.ListLabelV3.ListLabelV3_MouseMove(Object sender, MouseEventArgs e) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)

zethriller commented 1 year ago

Application Version: 3.4.6 Database Version: 2022.9.201 (Home coming Issue 27 Page 4)

This is far from being the latest, and has been fixed in between. Check the website, or the discord in #announcements for details.

jmoral4 commented 1 year ago

Thanks, this seemed to be the latest available on Github. I'll check around. Also the Update within the app has a similar crash with a missing path.

zethriller commented 1 year ago

Known issue, you have to rely on zip updates for now.