Need testers for new editor

Tool looks great, but when I try to load a file (and I did double check to make sure I had saved it uncompressed), I get the following error:

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


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4200 (NetFxQFE.050727-4200)
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:///D:/Documents/CivMod/Steph_CivIII_ExpandedEditor_v0-8-2/Steph_CivIII_ExpandedEditor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
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.4016 (NetFxQFE.050727-4000)
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.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------

Doesn't show any units, terrains, or techs. Get a similar error when trying view those items that do appear.
 
Hi, Steph.

After re-install the game, I can open the scenarios file and edit it with your editor successfully. But I still got error when I try to open the saved file again. :(

For example:
1. Open the official scenarios file "1 MP Mesopotamia.biq" using your editor.
2. Change nothing, save it as "2222.biq".
3. When I open "2222.biq" with your editor, I got this error : "CTZN section not found."

Thanks for your time. :)

Detailed error info:
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.FillBuffer(Int32 numBytes)
at System.IO.BinaryReader.ReadInt32()
at Steph_CivIII_ExpandedEditor.Objects.Citizen.Read(BinaryReader reader, Stream myStream)
at Steph_CivIII_ExpandedEditor.Objects.CitizenSection.Read(BinaryReader reader, Stream stream)
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.3603 (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:/Documents%20and%20Settings/Administrator/桌面/Steph_CivIII_ExpandedEditor_v0-8-2/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.
 
Custom mod w. very few changes that otherwise operates fine. Tried again by saving Rise of Rome and Age of Discovery uncompressed, and it did the same thing.

System is Vista (unfortunately) it that matters.
 
I have barely used it, but Vista is crap for videogames made for Windows XP.
 
For some reason, when I click "Scenario Editor", the program freezes for a while, then exits. What is going on?
 
Screenshots and details, please. :confused:
 
No, the culture groups are not stored anywhere in the file format :(

The eras are, but I'm afraid it cannot be expanded, because in the race section, you cannot specify how many eras are there for the leaderhead: it seems to be hardcoded to 4.

I'll try to confirm it

------------------------

Hi Steph! I am an intermidiate modder and there are 2 features that I really miss from CIV2.

1) Atleast 1 more Era "Futuristic"
2) Is there any chance of at the end of a scenario connect it and all info with a "next" episode, for example 1 mod that contains:
PART 1) scenario1 on earthmap that ends with space colonisation
and continues over to
PART 2) scenario2 with a map of mars and 4 new eras to play with but all civ info is moved over to part 2 (who won yhe race, number of units, size of spaceship, cash and resources etc)
Also the possibility to travel between the 2 maps?

I remember playing a midgard scenario in CIV2 long time ago which contained multilevel maps (underworld) normal world and a cloud world I think, even portals to the evil civs homemap.

BASICALY what I am looking for is making a Mod that covers 5000 BC to 3050 / 4000 AD With world war 3 space colonisation, galactical wars etc etc.

I want it all and I want it now!

Alex
 
Doing something with the map is too difficult, because it's very clear how the format handles that.

However, I'm working on an "expanded" version of the game, where the rules embedded inside a save file are modified when you reach a new era.

Basically, it allows 2 main things:
- When you change an era, the settings can change. Rome, militaristic in the ancient era, can become Italy, commercial, in the medieval era. The roads can reduce movement cost by 2 in the medieval era, by 3 in industrial, and by 4 in modern times, etc.

- You can have more than 4 eras. When you reach era 4, era 1 "disappear", and era 5 is added.

I'm changing my personnal mod to this format, testing the system at the same time.
 
Hi Steph!

Era 5, Good Nrews! I will definetly keep an eye out for youre mod.
At the moment I am concentrating on making Every era longer by adding tech.
Changing CIV specs in mid game is something Ive been missing..

a few more questions:

1) Any way of making (preset) "Random events"

2) Do you know of a way of keeping a civ dormant (sleaping) until later in the game?
At the moment I am just keeping "Native" Civs back by denying them starting techs and giving other civs small advantages like a few more preplaced unit.

3) Any way of create a feature that keeps 2 (or more) civs in peace until its time for WAR? I'd like to keep the european civs in peace so they get chance to colonize America, Africa and Australia...

4) I am trying to find out a way to influence the AI to go exploring then colonizing in diffrent directions, like England, France and spain to America and Germany France to Africa etc. So far my only idea is to put a scout or a warior for that civ in the continent I'd like it to colonize.

Youre editor looks cool by the way!

Alex
CIV3 far from fnished
 
Oh yeah, The Teleportation feature I think is what they used in CIV 2 to jump between maps in the same game... What do you think?


Alex
 
1) Event would theoretically be possible in my expanded editor, but they may be tricky, because we have not completlty decoded the saved game.

So there are large part that I just copy and paste without any change. But if there is some meaningfull information inside, it could create problems.

That's why I don't modify the map, or units on the map. I just give more units available in the rules to build more units when you advance toward new eras, and to delete units from the rules if they can no longer be built and there is currently none in the map, but I don't touch the existing one.

2) You cannot really, but you can give them useless techs, few units, and no trait at first. Then later they can get bonuses, and they can start to have techs and interesting units.

3) That's not really possible. At the best I could cancel the war status. Or perhaps force a peace treaty and extend the length. I need to check if it is at least possible.

4) Perhaps you could add a new resource, named "French colony", "English colony", to place in the correct place, give it a significant bonus, and give it only to France / England and see if it has any effect.

5) Teleportation in CivIII is very different, and it"s very unlikely you will ever see multimap support in my editor. I would need the source code to feel confident enougn to have it.
But in my game it is possible.
 
4) Perhaps you could add a new resource, named "French colony", "English colony", to place in the correct place, give it a significant bonus, and give it only to France / England and see if it has any effect

- Wow thats a great idea! I have allready been thinking in thoose directions by having resource icons for diffrent legends like "fountain of youth" and 7 for "Cordoba 7 cities of gold"

But youre suggestions is perfect, thanks!

Alex
 
Back
Top Bottom