Legends Beta error

Post bug reports and ask for support here.

Moderators: elliotg, Icemania

Post Reply
User avatar
lordmoore
Posts: 10
Joined: Sat Jun 23, 2012 7:43 pm

Legends Beta error

Post 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.


Bebop Cola
Posts: 250
Joined: Wed May 09, 2012 12:52 pm

RE: Legends Beta error

Post by Bebop Cola »

Did the custom theme include new races or anything?
User avatar
lordmoore
Posts: 10
Joined: Sat Jun 23, 2012 7:43 pm

RE: Legends Beta error

Post by lordmoore »

Actually, yes it does.
Dracus
Posts: 162
Joined: Mon Nov 28, 2011 10:39 pm

RE: Legends Beta error

Post by Dracus »

when you switch themes, you have to start a new game
User avatar
lordmoore
Posts: 10
Joined: Sat Jun 23, 2012 7:43 pm

RE: Legends Beta error

Post 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.
Bebop Cola
Posts: 250
Joined: Wed May 09, 2012 12:52 pm

RE: Legends Beta error

Post 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.
User avatar
elliotg
Posts: 3848
Joined: Mon Sep 10, 2007 9:32 am

RE: Legends Beta error

Post by elliotg »

Thanks for this report. This is fixed in the next update
Post Reply

Return to “Tech Support”