Need testers for new editor

Steph: I've downloaded the version you posted in post #1020; I've upgraded to Microsoft Net Framework 4. I'm still getting an unhandled exception message when I try to click on Certain Units. In the latest circumstance, I'd successfully entered about 400 units when I came to the Spinosaur, a PTW unit that I'd moved into my game with the Conquests editor. When I try to click on it, I get the Unhandled Exception notice with these details:

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

************** Exception Text **************
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.__Error.EndOfFile()
at System.IO.BinaryReader.ReadByte()
at Steph_CivIII_ExpandedEditor.Functions.PCX.ReadPalette(BinaryReader reader, ColorPalette& palette)
at Steph_CivIII_ExpandedEditor.Functions.PCX.Read(String FilePath)
at Steph_CivIII_ExpandedEditor.Forms.FormPedia.UpdateText(TextBox textBox, String FileName, String Entry, PictureBox pictureBox)
at Steph_CivIII_ExpandedEditor.Forms.FormPedia.SetActive(Unit_PRTO unit)
at Steph_CivIII_ExpandedEditor.Forms.FormPRTO.UpdateUnit_PRTO()
at Steph_CivIII_ExpandedEditor.Forms.FormPRTO.listViewPRTO_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ListView.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.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: 2.0.0.0
Win32 Version: 2.0.50727.3623 (GDR.050727-3600)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Steph_CivIII_ExpandedEditor
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Atari/Civilization%20III%20Complete/Conquests/Scenarios/Steph's%20Expanded%20Editor/Steph_CivIII_ExpandedEditor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3623 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3620 (GDR.050727-3600)
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.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.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.


That it has only happened with certain units is a stumper. The Spinosaur is a fairly old Fireaxis unit; could that have anything to do with it? The only thing the lines in the unhandled exception message seem to have in common is that they all end with a parenthesis ().....
 
It was easy the erroe message says
Steph_CivIII_ExpandedEditor.Functions.PCX.ReadPalette(BinaryReader reader, ColorPalette& palette)
...
Steph_CivIII_ExpandedEditor.Forms.FormPedia.SetActive(Unit_PRTO unit)

I.e. when setting the Unit_PRTO for the pedia form, the palette cannot be read.



If you look at a dictionnary for "weird programming", the official definition is "what CA did for Civ 3



Some parts of the save and biq format are bordering the ridiculous
 
Loading a custom BIQ, I'm getting the following:

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

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at Steph_CivIII_ExpandedEditor.Objects.Race.BuildItem(Boolean CheckFile)
at Steph_CivIII_ExpandedEditor.Forms.FormRACE.UpdateRaces(Boolean IncludeMainList)
at Steph_CivIII_ExpandedEditor.Forms.FormRACE.UpdateForm()
at Steph_CivIII_ExpandedEditor.Forms.MainEditor.UpdateForm()
at Steph_CivIII_ExpandedEditor.Forms.MainEditor.OpenScenario(Boolean Expanded)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(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)
 
I'm rather sure it's the newest version, but I'll redownload and check again. I'll edit this post.

Same error again.
 
I opened the Warhammer 2.5 biq and there was no error. I'll email you the file now. The scenario reference folder only contains a terrain file.
 
I am using the latest version with .net installed and when I try and load a .biq (right when I click the button) I get this error:

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

************** Exception Text **************
System.MissingMethodException: Method not found: 'System.String System.Windows.Forms.OpenFileDialog.get_SafeFileName()'.
at Steph_CivIII_ExpandedEditor.Forms.MainEditor.toolStripMenuItemOpenSavedGame_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.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: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Steph_CivIII_ExpandedEditor
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Steph's%20Editor/Steph_CivIII_ExpandedEditor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.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.


I was thinking it might be becuase I have my .biqs on a different drive than my .net install? I have no idea.

From everything I have seen (but so far not experienced:sad:) this looks like an excellent tool for scenario editing, bravo!
 
I been busting my balls for the past three days at about 8 hours a day fixing errors and crap I made with the .ini files/creating custom sound files for the animations/wondering how I'm gonna get time to build a proper tech tree/ etc. THANK YOU SO MUCH FOR THIS AND I WILL TEST THE **** OUT OF THIS PROGRAM!!!! WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO1!1!!

^^
 
Hey, I have an idea. Is there any way to make it to where barbarians have more extended evolutions? I always found it kind of stupid to be in the 1960's or so and have aggro horsemen running around. Maybe even more advanced vehicles/aircraft for them too.
 
Back
Top Bottom