• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

C2C SVN Changelog

Can't load your save as you use a different folder name for the mod (Caveman2Cosmos SVN instead of just Caveman2Cosmos).

If no minidump is created the reason might be that the program has no writing rights in the BtS folder.

Use mkjoin to make a directory link so you can alias the one folder under multiple names ;)
 
Can't load your save as you use a different folder name for the mod (Caveman2Cosmos SVN instead of just Caveman2Cosmos).

If no minidump is created the reason might be that the program has no writing rights in the BtS folder.

Ok, so please tell me how I can create such a dump file. I have tried to google this, but I don't understand. You mention "the program". Which program? Do I need a special program, like Visual Studio, to do it, or is it a program that comes with Windows? What is the "debug menu"? Something I need "the program" to access?

I can't play the game, since it crashes all the time.
 
Ok, so please tell me how I can create such a dump file. I have tried to google this, but I don't understand. You mention "the program". Which program? Do I need a special program, like Visual Studio, to do it, or is it a program that comes with Windows? What is the "debug menu"? Something I need "the program" to access?

I can't play the game, since it crashes all the time.
As long as Civ4 has writing rights to the folder where the BeyondTheSword Exe is, C2C will create a minidump when you crash and write it to that directory.
Nothing else needed.
 
Latest SVN has some bad XML, which will onl show up clearl when running the DEBUG version, but will manifest as occassional crashes in the regular version. This is down to some buildings have more pre-req OR bobnuses than the max allowed as defined in the GlobalDefines (5). The fix is just to increase the max allowed number in the global defines, which I'm doing and verifying, so leave it with me...

Make sure if you define somegthing (this was BUILDING_FISHERMANS_HUT) with a lot of pre-reqs you aren't going over the max allowed (in this case the valeu of NUM_BUILDING_PREREQ_OR_BONUSES in GlobalDefines.xml which ws 5, but which I will be chnagign to 6 when I have verified there are no other cases).
 
As long as Civ4 has writing rights to the folder where the BeyondTheSword Exe is, C2C will create a minidump when you crash and write it to that directory. Nothing else needed.

If I cannot find the dump files in the folder that contains dump files (I have found other such dump files in it), obviously Civ IV does not have these "writing rights". I am no programmer. I have almost no idea of what all this means. I just wanna play this awesome game. How can I change the "writing rights" of Civ IV?

@Koshling: I hope the magic you perform will fix my crashes? I tried to follow your instructions, to no avail.

Spoiler :
<Define>
<DefineName>NUM_BUILDING_PREREQ_OR_BONUSES</DefineName>
<iDefineIntVal>X</iDefineIntVal>
</Define>

X was 5, as you said it would be, but X=6 or X=10 still crashes the game.
 
If I cannot find the dump files in the folder that contains dump files (I have found other such dump files in it), obviously Civ IV does not have these "writing rights". I am no programmer. I have almost no idea of what all this means. I just wanna play this awesome game. How can I change the "writing rights" of Civ IV?

@Koshling: I hope the magic you perform will fix my crashes? I tried to follow your instructions, to no avail.

Spoiler :
<Define>
<DefineName>NUM_BUILDING_PREREQ_OR_BONUSES</DefineName>
<iDefineIntVal>X</iDefineIntVal>
</Define>

X was 5, as you said it would be, but X=6 or X=10 still crashes the game.

Yeh, your problem sounds different, and anyway that XML fix needs a supporting DLL fix also. Your best bet is to figure out how to get the minidumps created (AiAndy is the man you need to work with on this), which should tell us a lot more.
 
If I cannot find the dump files in the folder that contains dump files (I have found other such dump files in it), obviously Civ IV does not have these "writing rights". I am no programmer. I have almost no idea of what all this means. I just wanna play this awesome game. How can I change the "writing rights" of Civ IV?
The minidumps for C2C are created in the folder that contains your Civ4BeyondSword.exe as MiniDump.dmp.
If that file has not been created in there it means that the Windows user that you start the game with does not have writing rights in there.
That is actually the default in the newer Windows versions as Windows does not expect that you write anything in subfolders of your programs folder except in installation situations. Check this: http://technet.microsoft.com/en-us/library/bb727008.aspx
 
AIAndy, here is a minidump file, that I hope will contain what you need. I cannot open it, since it says I need to reinstall Virtual Studio, which I have no great desire to do. I tried to PM you this file, but for some reason you cannot attach files to PMs (?), so I had to do it "in the open channel".

Wrong thread for this. Pls move the conversation to v21 crashes/bugs, thx.


Also:

changed the 9 civ one i had to the DRJ one with 38 civs with new resources and bonuses
 
Updates
- My new FPK
- rearranged Alt_Timelines folder. Dangers_of_the_Deep folder now called Fantasy. SabreTooth and Zebra folders are now in the megafauna folder.
 
The SVN the other day was fine. Today when I updated again I cant load the mod. Get lots of XML errors. I think its build 1897 that completely fails.

see below all fixed now.
 
Yeppers someone did it again, its all messed up, someone used OLD files, rather than updating the SVN???
Someone accidently copied a modular loading control file from a subfolder over the main one which resulted in no modular XML being loaded.
I reverted that change from revision 1897 now.
 
Someone accidently copied a modular loading control file from a subfolder over the main one which resulted in no modular XML being loaded.
I reverted that change from revision 1897 now.

Nice fix AIAndy!
 
Update
Major update introducing the first version of the extended property system.
Properties can have sources, interactions and propagators.
New wrapper classes for game objects that have properties derived from a common class: CvGameObject.
Property manipulators can be given to a lot of different things (buildings, unit types, promotions, terrain, civics, ...). They are not yet displayed in the mouseover though.
The system is not fully tested yet but ready for experiments.
Fix to a crash caused by a CityAI function that does not check that a capital actually exists (but running methods on the pointer returned).
 
Update
Major update introducing the first version of the extended property system.
Properties can have sources, interactions and propagators.
New wrapper classes for game objects that have properties derived from a common class: CvGameObject.
Property manipulators can be given to a lot of different things (buildings, unit types, promotions, terrain, civics, ...). They are not yet displayed in the mouseover though.
The system is not fully tested yet but ready for experiments.
Fix to a crash caused by a CityAI function that does not check that a capital actually exists (but running methods on the pointer returned).

Existing uses of (crime and flamability) properties should continue to work as before I assume?
 
Existing uses of (crime and flamability) properties should continue to work as before I assume?
Yes, that should still work and it is the standard behavior. If bSourceDrain is set to 1 on a property, then it will not be cleared by a modifier recalculation and you can work with the sources, interactions and propagators.
 
Back
Top Bottom