Page 1 of 1

Legends Beta error

Posted: Sat Jun 23, 2012 7:55 pm
by lordmoore
Played a game using a mod. Now I switched to the default theme and tried to start a new game. Getting error message. Tried a few more times and same error. Tried to play with current theme....same error.

Unhandled exception has occurred in your application.

Value of "26" is not valid for 'Value'. 'Value' should be between 'Minimum' and 'aximim.

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

************** Exception Text **************
System.ArgumentOutOfRangeException: Value of '26' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value
at System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
at DistantWorlds.Start.ChQZnLVwNZoqNUjyLtx(Object , Decimal )
at DistantWorlds.Start.O5yI5wCa2u(StartGameOptions )
at DistantWorlds.Start.O3bUigBs7(String )
at DistantWorlds.Start.p0VFvF82S(Object , LinkLabelLinkClickedEventArgs )
at System.Windows.Forms.LinkLabel.OnLinkClicked(LinkLabelLinkClickedEventArgs e)
at System.Windows.Forms.LinkLabel.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at System.Windows.Forms.LinkLabel.WndProc(Message& msg)
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.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
DistantWorlds
Assembly Version: 1.7.0.15
Win32 Version: 1.7.0.15
CodeBase: file:///C:/Matrix%20Games/Distant%20Worlds/DistantWorlds.exe
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5462 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5460 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
DistantWorlds.Controls
Assembly Version: 1.7.0.15
Win32 Version: 1.7.0.15
CodeBase: file:///C:/Matrix%20Games/Distant%20Worlds/DistantWorlds.exe

----------------------------------------
DistantWorlds.Types
Assembly Version: 1.7.0.15
Win32 Version: 1.7.0.15
CodeBase: file:///C:/Matrix%20Games/Distant%20Worlds/DistantWorlds.exe
----------------------------------------
WindowsBase
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.5448 built by: Win7SP1GDR
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
Microsoft.DirectX.DirectSound
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.DirectSound/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectSound.dll
----------------------------------------
AxInterop.WMPLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Matrix%20Games/Distant%20Worlds/AxInterop.WMPLib.DLL
----------------------------------------
Interop.WMPLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Matrix%20Games/Distant%20Worlds/Interop.WMPLib.DLL
----------------------------------------
System.Deployment
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
PresentationCore
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.5448 built by: Win7SP1GDR
CodeBase: file:///C:/Windows/assembly/GAC_32/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



RE: Legends Beta error

Posted: Sat Jun 23, 2012 8:49 pm
by Bebop Cola
Did the custom theme include new races or anything?

RE: Legends Beta error

Posted: Sat Jun 23, 2012 10:03 pm
by lordmoore
Actually, yes it does.

RE: Legends Beta error

Posted: Sun Jun 24, 2012 1:03 am
by Dracus
when you switch themes, you have to start a new game

RE: Legends Beta error

Posted: Sun Jun 24, 2012 3:16 am
by lordmoore
Thats what I have been trying to do. New theme...new game. Error message. Restart and the old theme is still active even though it switched before. Start new game with old theme...error. So, new theme or old theme gives same results.

RE: Legends Beta error

Posted: Sun Jun 24, 2012 4:15 pm
by Bebop Cola
ORIGINAL: lordmoore

Actually, yes it does.
I seem to recall getting something similar at one point when I was trying to create a new race. I wasn't really sure what I was doing so I was working through errors as they cropped up. If I recall correctly, adding a new race adds some additional files such as troop icons, race policies, characters, etc. It could be that one or more of these files might be lingering wherever they get put when you load a custom theme. When a new game attempts to load it sees these files and freaks out because it thinks it should have 26 races but shouldn't.

That's my guess, anyway.

RE: Legends Beta error

Posted: Thu Jul 12, 2012 11:56 pm
by elliotg
Thanks for this report. This is fixed in the next update