Author Topic: 1.1 stats crash  (Read 2867 times)

Heretic

  • Moderator
  • Posts: 305
  • Castle Runner
    • View Profile
1.1 stats crash
« on: September 14, 2013, 07:01:22 PM »
On the survival map I try to see m.stats button but it crashes. Also, during survival there is a big pink box below the menu options. Or as the last menu button or something?

Code: [Select]
--- UNHANDLED EXCEPTION - 9/14/2013 12:59:13 PM - HMW 1.1 ---
System.NullReferenceException: Object reference not set to an instance of an object.
   at ARPGGame.Menus.StatisticsMenu.FillSlot(Int32 player, Func`2 getData, Widget widget, Func`2 getTotalStr) in c:\Arbete\Programmering\C#\ARPGProj\trunk\ARPG\ARPGGame\Menus\StatisticsMenu.cs:line 134
   at ARPGGame.Menus.StatisticsMenu.ShowStat(String stat) in c:\Arbete\Programmering\C#\ARPGProj\trunk\ARPG\ARPGGame\Menus\StatisticsMenu.cs:line 106
   at ARPGGame.Menus.StatisticsMenu.LoadGUI(GUILoader loader, ResourceBank resBank) in c:\Arbete\Programmering\C#\ARPGProj\trunk\ARPG\ARPGGame\Menus\StatisticsMenu.cs:line 47
   at ARPGGame.Menus.StatisticsMenu..ctor(GameBase gameBase, ResourceBank resBank, StatisticsTracker[] statsData) in c:\Arbete\Programmering\C#\ARPGProj\trunk\ARPG\ARPGGame\Menus\StatisticsMenu.cs:line 19
   at ARPGGame.GameBase.SetMenu(MenuType menu, Object[] parameters) in c:\Arbete\Programmering\C#\ARPGProj\trunk\ARPG\ARPGGame\GameBase.cs:line 738
   at ARPGGame.Menus.GameOverMenu.<GetFunction>b__0(Widget ) in c:\Arbete\Programmering\C#\ARPGProj\trunk\ARPG\ARPGGame\Menus\GameOverMenu.cs:line 55
   at ARPGGame.GUI.ButtonWidget.KeyboardTrigger(Int32 d) in c:\Arbete\Programmering\C#\ARPGProj\trunk\ARPG\ARPGGame\GUI\ButtonWidget.cs:line 74
   at ARPGGame.Menus.GameMenu.Update(Int32 ms, Boolean updateControls) in c:\Arbete\Programmering\C#\ARPGProj\trunk\ARPG\ARPGGame\Menus\GameMenu.cs:line 77
   at ARPGGame.Menus.GameOverMenu.Update(Int32 ms, Boolean updateControls) in c:\Arbete\Programmering\C#\ARPGProj\trunk\ARPG\ARPGGame\Menus\GameOverMenu.cs:line 37
   at ARPGGame.GameBase.Update(Int32 ms) in c:\Arbete\Programmering\C#\ARPGProj\trunk\ARPG\ARPGGame\GameBase.cs:line 885
   at ARPGGame.ARPGGame.OnUpdateFrame(FrameEventArgs e) in c:\Arbete\Programmering\C#\ARPGProj\trunk\ARPG\ARPGGame\Program.cs:line 689
   at OpenTK.GameWindow.RaiseUpdateFrame(Stopwatch update_watch, Double& next_update, FrameEventArgs update_args)
   at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
   at ARPGGame.Program.Main(String[] args) in c:\Arbete\Programmering\C#\ARPGProj\trunk\ARPG\ARPGGame\Program.cs:line 206

Myran

  • Developer
  • Posts: 183
    • View Profile
Re: 1.1 stats crash
« Reply #1 on: September 14, 2013, 07:14:14 PM »
Ah, um..  have you extracted the assets.bin file from an older version? Either move the assets folder out of the game folder or reextract it.

Heretic

  • Moderator
  • Posts: 305
  • Castle Runner
    • View Profile
Re: 1.1 stats crash
« Reply #2 on: September 14, 2013, 07:18:56 PM »
The only thing in the assets folder should be my custom stuff?

Heretic

  • Moderator
  • Posts: 305
  • Castle Runner
    • View Profile
Re: 1.1 stats crash
« Reply #3 on: September 14, 2013, 07:22:23 PM »
Did as you said and its w2orking now :P So strange, i moved mys tuff back in after and it still works.