User talk:DarkSir

From RPGnet
Jump to: navigation, search

Object reference error[edit]

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 **************


   Assembly Version:
   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:
   Win32 Version: n/a
   CodeBase: file:///C:/Users/Dustin/AppData/Local/Temp/


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


   Assembly Version:

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.


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

Re: Response[edit]

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[edit]

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[edit]

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


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.


I've got a bit of spare time I could devote to helping build this project up some... :-) If you could get it cleaned up and get the source code into github or something, I'd be able to help you out some. :-) - canuckotter

1.6.1c Bug Reports[edit]

By and large, the latest version works flawlessly!

I've noticed just one thing: the RTF import does not appear to catch aura details. Create a creature that has e.g. an Aura 3 with "while bloodied" in the Aura Details field. When you import it, that bit gets lost. --SabreCat

Correction: it looks like it comes in with the import, it just doesn't show anywhere in the monster summary at the right during combat. --SabreCat

Ongoing Damage Feature Request[edit]

I just started using CM and I love it. Great work! One feature I'd love, that doesn't seem to be there (though as I said I just started using it so maybe I'm missing something) for ongoing damage. That is to automatically take that damage out of a PC or Monsters HP total at the start of their turn (or at least to pop up a reminder at the start of the turn. I know one pops up to remind you that they need to make a save, but it's easy to forget the damage at the start of the turn). -DrOct

Hi, I wrote the same exact request on a different forum. Would make for a very well rounded tool. Also, do want to say Thanks so much for taking this on! As is, this is a most awesome tool! (I've also read that this other item cam't be done, but would be nice: that being if importing character from CB would also bring across their power descriptions... ) Thanks again! With this tool, 4e Rules!

Source code for 1.7[edit]

I saw the other requests for source code and I was wondering if you had it ready? I have done some changes to the original 1.6 code and would like to incorporate the changes you have done. My main change was to add a player view window to put up on a second monitor. I have no problem sending you the code I have done if you are willing to take other code. --Morris

I'm not quite ready, but if you would like to mail me what you've got, I'll see if I can integrate it with credit. My email is the same as my username at dragonpro dot com. -- DarkSir

As this was .Net code I was wondering how hard it would be to convert the UI over to Silverlight, and hence the Windows Phone 7. If you released the source I could have a look -- SamJudson

Eager for source code as well! I saw mention somewhere here about people having problems using the program on netbooks... this is one of the main things I modified using the source code. Just putting the control buttons (OK, Cancel, RTF Paste, etc) at the top of the statblock viewer window made all the difference! I add my thanks to those already sent, this program is pretty great. -- cryptonimus

As a user of a netbook I would love to see the interface become more user friendly for a small screen. Also we need to look into what we can do to import the new monsters from the online compendium as I think at this point we have to manually enter anything after MM3. -- Krieger

Krieger: Not much more that I can compact the display, unfortunately. I've got the default screen sizes set to fit in most standard netbook displays. As far as the import from the compendium, that's coming, though not FULLY featured. Check our facebook group at for updates on what's coming soon. I still update the wiki here when things are released, but I post my thoughts and field questions and suggestions there more frequently.