Thread Tools
Old January 18, 2003, 09:44   #1
TorEalis
Settler
 
Local Time: 14:40
Local Date: November 1, 2010
Join Date: Jan 2003
Posts: 4
error in Civ2.exe
when i start up my scenario, especially as the principal civ, it performs an error in civ2.exe and shuts down. some civs have no problem until the first turn, i cant figure out whats going on...
TorEalis is offline  
Old January 18, 2003, 10:51   #2
Mercator
Scenario League / Civ2-Creation
Emperor
 
Mercator's Avatar
 
Local Time: 16:40
Local Date: November 1, 2010
Join Date: Dec 1969
Posts: 3,079
I bet there's some error in one of the text files. Most likely the rules.txt or events.txt. Add a @DEBUG line at the very start of the events.txt to trace events errors.

Do you get some standard Windows error dialog box with generic Windows babble in it? Or something that looks as if Civ2 itself is giving the info, talking about errors and modules?
__________________
Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)
Mercator is offline  
Old January 18, 2003, 11:17   #3
St Leo
Scenario League / Civ2-CreationApolytoners Hall of Fame
 
St Leo's Avatar
 
Local Time: 10:40
Local Date: November 1, 2010
Join Date: Jul 2005
Location: In search of pants
Posts: 5,085
Do you have any immobile units that the AI needs to move its own units around? That can cause crashes.
__________________
Blog | Civ2 Scenario League | leo.petr at gmail.com
St Leo is offline  
Old January 18, 2003, 12:02   #4
DarthVeda
Emperor
 
DarthVeda's Avatar
 
Local Time: 10:40
Local Date: November 1, 2010
Join Date: Dec 1969
Location: Baltimore, MD
Posts: 4,325
@DEBUG doesn't work in MGE
DarthVeda is offline  
Old January 18, 2003, 16:08   #5
Palaiologos
Civilization II PBEM
King
 
Palaiologos's Avatar
 
Local Time: 14:40
Local Date: November 1, 2010
Join Date: Aug 2002
Location: Constantinople, Queen of Cities
Posts: 1,563
If there was a problem in the events.txt or rules.txt it would start as normal but without events.

Since it shuts down i bet the problem lies in the tech tree.
Check if you have a tech requiring a tech it leads to.
Palaiologos is offline  
Old January 18, 2003, 17:07   #6
TorEalis
Settler
 
Local Time: 14:40
Local Date: November 1, 2010
Join Date: Jan 2003
Posts: 4
its a generic windows box, not a civ2 thing

and i checked up, all civs do the error after i skip to the next turn (press enter to end turn)
but one does it straight away.

ill try looking at everything you said, thanks
TorEalis is offline  
Old January 18, 2003, 17:09   #7
DarthVeda
Emperor
 
DarthVeda's Avatar
 
Local Time: 10:40
Local Date: November 1, 2010
Join Date: Dec 1969
Location: Baltimore, MD
Posts: 4,325
It's probably in the rules.txt.

You probably have a loop in the tech tree, make sure all advances lead someplace and don't loop back on themselves.

ALSO, make sure "Future technology" is researchable from the start. Sometimes if it is not, errors happen.

or

Look for a missing comma someplace.
DarthVeda is offline  
Old January 18, 2003, 17:12   #8
TorEalis
Settler
 
Local Time: 14:40
Local Date: November 1, 2010
Join Date: Jan 2003
Posts: 4
ahhh

it was teh tech thing.

thanks guys, its working fine.

its based on Raymond E Feists Midkemia, if anyone is interested. anyone know how to make unique Techs or units?
TorEalis is offline  
Old January 18, 2003, 23:23   #9
Boco
Scenario League / Civ2-Creation
King
 
Boco's Avatar
 
Local Time: 09:40
Local Date: November 1, 2010
Join Date: Jan 2001
Location: of underdogs
Posts: 1,774
One trick that helps to find missing commas fast is to import Rules.txt into Excel. Set it for delimited files and use commas and semicolons as delimiters. When you look at the major sections, the line with a missing comma stands out like a sore thumb.

This is all theoretical, of course, I've never made this mistake (at least for a week).
Boco is offline  
Old January 19, 2003, 13:52   #10
Palaiologos
Civilization II PBEM
King
 
Palaiologos's Avatar
 
Local Time: 14:40
Local Date: November 1, 2010
Join Date: Aug 2002
Location: Constantinople, Queen of Cities
Posts: 1,563
I knew it was in the tech tree .

For unique units there are two ways: 1)Create a tech with both requirments No and make a unit available only with it. Note: You must give the tech to a civ first before you make it have No requirements.
2)Have a normally researchable tech give multiple units.
Then have multiple techs with No as requirments given at various civs. Each tech will make obsolete the particular unit you do not want the civ to have.

Example: "Conscription" tech will make available German Infantry, British infantry, and Russian infantry.
Create three techs: a "No German", a "No Russian" and a "No British" tech.

German infantry will be made obsolete by the "No German" tech the British and Russians will have, the British infantry will be made obsolete by the "No British" tech the Germans and Russians will have and finally the Russian inf. will be made obs. by the "No Russian" tech the Brits and Germans will have.

Hope i was understood.

For unique techs it depends if you want them to be researchable by the civ or already owned.
If you want them already owned by the civ then just give the tech to the civ and place No at its requirements.

If you want it to be researchable then have as one of its requirements be a unique tech using the above method.
Palaiologos is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:40.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team