Correction of the bug that crashed the editor when using graphical mod for the modern era in the tech tree builder
According to the Civ Help file, the 'may trigger peaceful golden age' under Improvements and Wonders tab can be selected under the 'Other Characteristics' portion for the Civ type (scientific, etc). It says that this is the flag that causes peaceful golden ages for the regular editor.
Tom
Yes, but it's not limited to military. In my editor, it is in the "type" section of the BLDG page.
Steph's Expanded Editor for Civilization III - version 0.7.1 - C:\... said:Unhanbled exception has occured in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quite, the application will close immediately.
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index.
Details said: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(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at Steph_CivIII_ExpandedEditor.Forms.MainEditor.UpdateBuilding()
at Steph_CivIII_ExpandedEditor.Forms.MainEditor.UpdateForm()
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.3082 (QFE.050727-3000)
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:/DOCUME~1/Andrew/LOCALS~1/Temp/Temporary%20Directory%201%20for%20Steph_CivIII_ExpandedEditor_v0-7-1.zip/Steph_CivIII_ExpandedEditor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
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.3053 (netfxsp.050727-3000)
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
----------------------------------------
************** 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's a bug
The bug has been fixed 5 minutes after I read your post.
But I'll include the correction next time I add something to the editor, it's relatively minor.
You don't have to recompress them. Both the regular editor and the game can read uncompress files.Unfortunately I have two more questions.
The first is bad, I admit...
How do I recompress the file so I can see it again in the old editor? Or will the game play it uncompressed anyway?
I made CEC, an civpedia editor. You can download it from my website. But in fact, I think simply using the notepad is faster.Secondly, I had thought this would allow me to edit civolopedia entries as for now, I'm only ambitious enough to be replacing certain units and resources. However, I'm not finding that ability to edit civo. entries. Does the editor do that?
If not, is there a mod tool out there that does? I found all the text files in game, but none of them actually seem to contain the entries themselves, and so far the editors I've found only let you change pictures or things like that, no direct text editing.
Again, thanks in advance for any help offered, and thanks for the hard work in making this tool. It really does help! (and sorry if any of this is considered OT).