Dynamic Campaign Generator (DCG) is a mod for the game "Men of War" and some of its successors that randomly generates skirmish missions and lets you keep your surviving forces from one battle to another. Some people find this mod tricky to install the first time - please read the readme.txt carefully and ask for help (if you need it) on our forums here on this site, or at the game developer's site.

Forum Thread
  Posts  
Map errors (Games : Men of War : Mods : Dynamic Campaign Generator (DCG) : Forum : Bugs, problems, troubleshooting : Map errors) Locked
Thread Options
smsf
smsf moron
Nov 16 2022 Anchor

So when trying to load some campaigns or make my own, when some certain maps are used, the window crashes. For many maps it's completely fine but for a select few, the game freaks out and crashes.

Here's the error message I get:

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at CampaignGenerator.frmOperationEditor.ResetForm()
at CampaignGenerator.frmOperationEditor.cboSelectOperation_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ComboBox.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: 4.0.0.0
Win32 Version: 4.8.4515.0 built by: NET48REL1LAST_C
CodeBase: C:
----------------------------------------
Campaign
Assembly Version: 5.0.0.0
Win32 Version: 1.0.0.0
CodeBase: F: of War Assault Squad 2/mods/Campaign/Campaign.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4550.0 built by: NET48REL1LAST_C
CodeBase: C:
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4536.0 built by: NET48REL1LAST_C
CodeBase: C:
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: C:
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: C:
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: C:
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4579.0 built by: NET48REL1LAST_C
CodeBase: C:
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: C:
----------------------------------------

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.