User talk:DarkSir

From RPGnet
Revision as of 04:57, 30 July 2010 by DarkSir (talk | contribs) (Object reference error)
Jump to: navigation, search

Object reference error

Hey DarkSir:

Thank you for updating the CM. I just downloaded it and I'm getting a few errors when testing it out.

After copying a RTF of a monster, added to the encounter and closed library. I received an error:

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

                            • Exception Text **************

System.NullReferenceException: Object reference not set to an instance of an object.

  at DnD4e_Combat_Manager.Power.get_cForeColor()
  at DnD4e_Combat_Manager.frmTracker.PowerLoad()
  at DnD4e_Combat_Manager.frmTracker.StatDataLoad()
  at DnD4e_Combat_Manager.frmTracker.UpdateFromClass()
  at DnD4e_Combat_Manager.frmTracker.menuOpenStatLibraryOpenMenuItem_Click(Object sender, EventArgs e)
  at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
  at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
  at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
  at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
  at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
  at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
  at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
  at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
  at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  at System.Windows.Forms.ToolStrip.WndProc(Message& m)
  at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


                            • Loaded Assemblies **************

mscorlib

   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
   CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

DnD4e Combat Manager

   Assembly Version: 1.6.1.0
   Win32 Version: n/a
   CodeBase: file:///C:/Users/Dustin/AppData/Local/Temp/Temp1_DnD4e%20Combat%20Manager%20v1.6.1b%5B1%5D.zip/DnD4e%20Combat%20Manager.exe

Microsoft.VisualBasic

   Assembly Version: 8.0.0.0
   Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

System

   Assembly Version: 2.0.0.0


Also receiving error when clicking roll initiative, each time you add a monster/pc to the encounter, and when you click next turn and a monster is next.

Response

What monsters did this happen with, and are you using the most current updates of Adventure Tools and Character Builder? -- DarkSir

Re: Response

Current versions of all programs. I loaded the Rage Devil from MM3 (it was the monster I used to show how to retrofit the monsters into the CM).

Re: Re: Response

Was able to duplicate it and I think I have it fixed. Will post the update Friday Night/Saturday Morning. -- DarkSir

Source for v1.6.1b

Darksir - Can you post the code for this version. I wanted to take a crack at something that might help. thanks -Krieger

Response

I will be posting it soon, hopefully tomorrow. I need to clean up a few things, and fix a few small things that I've noticed since I posted 1.6.1b :)


No Problem. I wanted to see if I could shoe horn the recharge values as Dice images. I have to say after looking at the code again, he did a really good job of commenting all the code. BTW I've been testing the import function with a bunch of different monsters and it looks good so far. I'll keep you posted. - Krieger

Yeah, that's why I want to clean it up. I'm not nearly as organized, and I don't want to post a mess.