If you have an upgraded ship with range of 18-20, and
then acquire the Fuel Compactor, when you next enter
a shipyard you will recieve an error dialogue.
====
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentException: '23' is not a valid value
for 'Value'. 'Value' should be between 'Minimum'
and 'Maximum'.
at
System.Windows.Forms.NumericUpDown.set_Value
(Decimal value)
at
Fryz.Apps.SpaceTrader.Form_Shipyard.LoadSelectedTe
mplate()
at Fryz.Apps.SpaceTrader.Form_Shipyard..ctor()
at
Fryz.Apps.SpaceTrader.SpaceTrader.btnDesign_Click
(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick
(EventArgs e)
at System.Windows.Forms.Button.OnClick
(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp
(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp
(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc
(Message& m)
at System.Windows.Forms.ButtonBase.WndProc
(Message& m)
at System.Windows.Forms.Button.WndProc
(Message& m)
at
System.Windows.Forms.ControlNativeWindow.OnMess
age(Message& m)
at
System.Windows.Forms.ControlNativeWindow.WndProc
(Message& m)
at System.Windows.Forms.NativeWindow.Callback
(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/microsoft.net/framework/v1.1.4322/msc
orlib.dll
----------------------------------------
SpaceTrader
Assembly Version: 2.0.1908.20644
Win32 Version: 2.0.1908.20644
CodeBase: file:///C:/Program%
20Files/FrenchFryz/Space%20Trader%20for%
20Windows/SpaceTrader.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.windows.forms/1
.0.5000.0__b77a5c561934e089/system.windows.forms.d
ll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77
a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.drawing/1.0.500
0.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for
this
application or machine (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
machine
rather than being handled by this dialog.
====
Logged In: YES
user_id=1369952
Looking at the error message:
System.ArgumentException: '23' is not a valid value
for 'Value'. 'Value' should be between 'Minimum'
and 'Maximum'.
at
System.Windows.Forms.NumericUpDown.set_Value
(Decimal value)
======
I'd say it's most probable, that at the place where the problem
is is where you initialize the shipyard form and where you put
ship's current values in the form.
You need to check that you have the fuel compactor (+3
range) which is an extra - not something that the ship has -
ship should have range 20(max).
What happens now is you're trying to put ship's current
range - 23 - in the box for desired range for your next ship -
which is limited to 20.
Should be fairly easy to fix.
Logged In: YES
user_id=1747826
Originator: NO
I have this problem too