Need testers for new editor

Hmm, hang on a moment. I was poking around in the expanded editor and noticed that if I refreshed the lists for a particular tab, the correct information for a given mod would be displayed. I'm going to see if it'll let me edit and save changes properly after doing that...


No, it displays the various entities in each category, but their data is all out of whack. Every building has all the checkboxes selected, and requires 50 armies, etc. It displays an error message about an unhandled exception whenever I refresh the lists.
 
There must be a limitation on size or whatever for the scenario files this editor is able to load. If I open the conquest.biq after re-saving and enabling rules editing in the scenario folder, it opens fine. If i make a few changes and use the 1.3 editor, it opens that file fine (curious, if I use 1.0 editor, I got unhandled exception errors, but if I resaved with 1.3 Stephs editor opened it, but my tests are no means complete).

If I try to open something like Civinator's CCM1.7biq re-saving 1.0 /1.3 , no resaving, (ie whatever I seem to do,) it gets an unhandled exception error:
length cannot be less than zero

Details

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

************** Exception Text **************
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at Steph_CivIII_ExpandedEditor.Functions.FilesAndFolders.SetScenarioFolders(String String)
at Steph_CivIII_ExpandedEditor.Objects.Scenario.Read(BinaryReader reader, Stream myStream, Boolean SavedGame)
at Steph_CivIII_ExpandedEditor.Objects.Scenario.Read(String FilePath, String FileName)
at Steph_CivIII_ExpandedEditor.Forms.MainEditor.OpenScenario(String FilePath, String FileName)
at Steph_CivIII_ExpandedEditor.Forms.MainEditor.OpenScenario(Boolean Expanded)
at Steph_CivIII_ExpandedEditor.Forms.MainEditor.openToolStripMenuItem_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.3634 (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/Civilization%20III/Conquests/Steph_CivIII_ExpandedEditor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3637 (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.3634 (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.3639 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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.
 
There is no limitation in size for scenarios. My own scenario has thousands of units in it, much bigger than standard one.

Email me the file you can't open at stephane.f.david@free.fr so I can tell you where the problem is.
 
Found a bug when I was updating my submarines:

When you add targets for stealth attack using the "add from filter" option, everything seems to work. When you try to "remove from filter" afterwards, the resources list is gone and replaced by the era list. Some other options are messed up as well.
 
Steph, I recently upgraded to Win7 and have since not been able to use your editor. I have verified that the 3.5 .NET Framework is installed correctly and have tried using compressed and uncompressed files (though I know the current version is supposed to support both). I can't seem to figure out why but every time I try and open any file this happens:
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.Forms.FormGAME_ALLY.UpdateAlliances()
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)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Steph_CivIII_ExpandedEditor
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Civ%203%20Files/Stephs%20CivIII%20ExpandedEditor/Steph_CivIII_ExpandedEditor.exe
----------------------------------------
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
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5466 (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
----------------------------------------

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

If I choose to continue it will just happen again when I try to edit something. Any thoughts?
 
Found a bug when I was updating my submarines:

When you add targets for stealth attack using the "add from filter" option, everything seems to work. When you try to "remove from filter" afterwards, the resources list is gone and replaced by the era list. Some other options are messed up as well.

Some other options ??? Scares the heck out of me.
Whatever has been done without one knowing.

Please clarify that stealth issue, since I use this much.
Is the problem only if one uses filters, or what ?
 
Steph, I recently upgraded to Win7 and have since not been able to use your editor. I have verified that the 3.5 .NET Framework is installed correctly and have tried using compressed and uncompressed files (though I know the current version is supposed to support both). I can't seem to figure out why but every time I try and open any file this happens:
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.Forms.FormGAME_ALLY.UpdateAlliances()
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)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Steph_CivIII_ExpandedEditor
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Civ%203%20Files/Stephs%20CivIII%20ExpandedEditor/Steph_CivIII_ExpandedEditor.exe
----------------------------------------
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
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5466 (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
----------------------------------------

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

If I choose to continue it will just happen again when I try to edit something. Any thoughts?

Are you using Windows 7 64-bit? I receive a similar error when trying to load a BIQ in version 0.82 on 64-bit Windows, but with the version Steph links to in this post, it works great on 64-bit.

Steph, is there any chance of putting a link to that version in the first post or on your web page? Even if it isn't polished enough to be 0.83, I think it solves enough problems that it deserves to be more visible than it is now.
 
A weird idea: does your editor allow for setting upgrade paths for land units to change into sea units or viceversa?
 
A weird idea: does your editor allow for setting upgrade paths for land units to change into sea units or viceversa?

Nothing weird at all -- on a parallel note, I'd love to be able to upgrade cavalry to helos.

-:)z
 
I was thinking of getting stacks of 'materials' down to a coast (or spaceport) and then 'launching' -i.e. upgrading- them on site.
 
@Oz: isn't that what happens for DyP and RaR mods? Perhaps you mean naval helos?

I haven't played those in a very long time -- land units upgrade to air units??

Thanks,

Oz
 
Oh yes they do, the epic game's air units all have the Immobile flag checked, and the only AI strategy ever developed was for them to be used as based bombers, but if you uncheck the flag you can use them to move across both land and water.
 
Oh yes they do, the epic game's air units all have the Immobile flag checked, and the only AI strategy ever developed was for them to be used as based bombers, but if you uncheck the flag you can use them to move across both land and water.

:worship:
 
Thanks, I should explicitly add that the AI never uses them. Even when it'd be über-cool to use them as, say, dragons.
 
Top Bottom