A little bit of nitpicking

There a two entries "fortkiller" in the file traitslist.txt
Moderators: Slitherine Core, Panzer Corps Moderators, Panzer Corps Design
Code: Select all
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at PzCEdit.MainForm.ReadTraitsList(String sTraitList)
at PzCEdit.MainForm.coOpenButton_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.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.0.30319.269 (RTMGDR.030319-2600)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
PzCEdit
Assembly Version: 0.2.5.0
Win32 Version: 0.2.5.0
CodeBase: file:///F:/Spiele/Panzer%20Corps/PzCEdit/PzCEdit.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.278 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.282 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.269 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
DevExpress.XtraEditors.v10.2
Assembly Version: 10.2.6.0
Win32 Version: 10.2.6.0
CodeBase: file:///F:/Spiele/Panzer%20Corps/PzCEdit/DevExpress.XtraEditors.v10.2.DLL
----------------------------------------
DevExpress.Utils.v10.2
Assembly Version: 10.2.6.0
Win32 Version: 10.2.6.0
CodeBase: file:///F:/Spiele/Panzer%20Corps/PzCEdit/DevExpress.Utils.v10.2.DLL
----------------------------------------
DevExpress.Data.v10.2
Assembly Version: 10.2.6.0
Win32 Version: 10.2.6.0
CodeBase: file:///F:/Spiele/Panzer%20Corps/PzCEdit/DevExpress.Data.v10.2.DLL
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.237 (RTMGDR.030319-2300)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.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.
naughtybalrog wrote:I am experiencing this "exception error" too Mark.
I'm adding a feature to the editor now enabling a user to select any unit ID they want. With the change you can manually type in a unit ID of your choice and the editor will validate whether or not that ID already exists or not in the database. If the unit ID slot is free, the texbox will be coloured green, if the ID slot is already filled with another unit then the texbox will be coloured red.airbornemongo101 wrote:Ok,,got something to work
I went and phyiscally add in the Sdkz.222 to a "new" spot I made (#2000).
I then went in thru the editor and made another "new" unit (the Sdkz.231).
The "new" Sdkz.231 was placed in the correct spot of #2001.
Thanks for the kind words.airbornemongo101 wrote:Thank you so much Mark.
Your work is defenitely appreciated