View Single Post
  #8  
Old November 2nd, 2006, 06:35 PM

Devnullicus Devnullicus is offline
Sergeant
 
Join Date: Feb 2001
Location: Belmont, CA USA
Posts: 285
Thanks: 0
Thanked 0 Times in 0 Posts
Devnullicus is on a distinguished road
Default Re: Space Empires V Editor 1.1 Released

Quote:
Elsemeravin said:
Ok I tried while selecting my on progress mod and while SEV accept the mod without errors I get the following disturbing message. Below is teh component.txt component description:


Name := CG_Brain
Description := Bioengineered brain to use for space monsters, providing control for the whole struture.
..
Maximum Level := 150
..


Then the following error:

1] I click on the CG_Brain in the left list and get:

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

************** Exception Text **************
System.ArgumentException: '150' is not a valid value for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
at System.Windows.Forms.NumericUpDown.set_Value(Decim al value)
at Se5Editor.ComponentsForm.SetFormValuesGeneralTab()
at Se5Editor.ComponentsForm.SetFormValues(String selectedItemName)
at Se5Editor.ComponentsForm.ComponentList_SelectedInd exChanged(Object sender, EventArgs e)
at System.Windows.Forms.ListView.OnSelectedIndexChang ed(EventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Mess age& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


I start to feel like the black crow telling you only bad comments.

The image on the main program is a very nice touch.
The value of 150 in Maximum Level is pretty high. The problem is that the form component is set with a min and max value of 0 and 100 for that field. I suppose I could change that to allow higher values (and I should definitely change the validation code to be in sync with the form components), but I'm not sure why you'd want such a high value for Maximum Level?

As for only telling me bad things - no problem! I want to find the bugs in the program and the faster you guys tell me about them, the faster I can fix them. Fixing them is usually easy - it's just that I don't find them like you guys do because I'm only testing with a limited set of data (i.e. base and balance mod).

So, keep on finding problems
__________________
How's my Programming? Call 1-800-DEV-NULL
Get the Space Empires V Editor and DevnullMod at http://www.devnullsoftware.com/se5
Reply With Quote