v23 Bugs and Crashes

Status
Not open for further replies.
Hello !
First of all, sorry for my english, I'm french.
We have someone working on Spanish translations right now... would be nice to get someone working on the French! ;)

Also... good work on catching that gamespeed fix Koshling! I wasn't sure what the math there was trying to accomplish so I didn't want to touch it yet.

Also... there was a mention earlier about the DP ai. I think I may start a thread for discussion on that subject, in part so I can defend the purpose of the ai holding onto a prophet. Look for that by the end of the night on the main C2C forum area.
 
I play with an SVN version maybe 3 or 4 days old. When I update to the current SVN and load the attached savegame then I get an "Joao wins a time victory". This is totally wrong because:
  • It is around 9000 BC.
  • Joao is by no means the strongest Civ.
  • Time victory is opted out.

Unfortunately I have to go back to the old SVN to continue playing :cry: ...
With the newest SVN this is not happening anymore :clap: !
 
I seem to find the hard to find bugs. This one is a promotion conflict. If you have a Lead By Noble, from a Warlord Vassel, on a mounted unit, the 2 promotions Tactician and Raider 2 are incompatable, if you have one you cannot have the other. This means you get Tactician but not Raider 2 or 3, they are no longer listed in the promotion list. And if you get Raider 2, Tactician dissapears from the promotion possibilities.
 
With the newest SVN this is not happening anymore :clap: !

Your welcome i took out a simple # 1, where i should have NOT of:blush:

Just goes to show you what even ONE letter/number can do in a game:mischief:
 
Greetings.

I've got a ctd when right clicking just after creating new game.

I'm using SVN C2C version up to date

I've attached save game and minidump in rar file

thanks for help
 

Attachments

Greetings.

I've got a ctd when right clicking just after creating new game.

I'm using SVN C2C version up to date

I've attached save game and minidump in rar file

thanks for help

Right clicking on what? To move a unit? If so does it happen with any unit and wherever you right click? Does it only happen on turn 1 of a new game, or all the time (try just endign turn to see if it still happens on turn 2 if necessary)?
 
Right clicking on what? To move a unit? If so does it happen with any unit and wherever you right click? Does it only happen on turn 1 of a new game, or all the time (try just endign turn to see if it still happens on turn 2 if necessary)?

It happens most of the time, and also later in game.

I've found out that this ctd is related to CvGameCoreDLL.dll, struct cvBattleDefinition (has something to do with battles), method: bool isAdvanceSquare() -> it want's to read from null pointer.

I guess when I start new game or load game, and when immediately unit is ready to move, when I right click it crashes. But when I move unit with keyboard it is ok, and later I can move units with mouse.
 
my game keeps crashing to desktop I think it might be due to the large map etc not sure tho, its not always on the one turn. But last 5 times i've tried its crashed after only a couple of turns or on the first turn. What the info you need again?
 
my game keeps crashing to desktop I think it might be due to the large map etc not sure tho, its not always on the one turn. But last 5 times i've tried its crashed after only a couple of turns or on the first turn. What the info you need again?

Minidump
 
I seem to find the hard to find bugs. This one is a promotion conflict. If you have a Lead By Noble, from a Warlord Vassel, on a mounted unit, the 2 promotions Tactician and Raider 2 are incompatable, if you have one you cannot have the other. This means you get Tactician but not Raider 2 or 3, they are no longer listed in the promotion list. And if you get Raider 2, Tactician dissapears from the promotion possibilities.

More info, dedication and flanking 1 also are one or the other.
 
Hope this is the one. Thanks, the performance in the game generally has become pretty bad the last, say, 100 turns. The Ai turns seem long, its a smaller map than GEM tho and I could handle that np.
The save file started to get pretty juicy tho at 7mb.
 

Attachments

I seem to find the hard to find bugs. This one is a promotion conflict. If you have a Lead By Noble, from a Warlord Vassel, on a mounted unit, the 2 promotions Tactician and Raider 2 are incompatable, if you have one you cannot have the other. This means you get Tactician but not Raider 2 or 3, they are no longer listed in the promotion list. And if you get Raider 2, Tactician dissapears from the promotion possibilities.

I think I can shed light on this. The dll has a section of code that checks through some 'validation' statements and sets some impossibilities based on previous choices on units so as to keep you from wasting promos when they wouldn't have an effect anyhow. If I'm reading this right from what you're saying, I believe that these are becoming (evaluated as) useless due to excessive withdrawal already on the unit. With both of these, it would cause the unit to exceed the maximum withdrawal value and thus disables the options when the other has been selected.

Happily, I can report this will soon no longer be an issue as a new solution to capping and controlling withdrawal is about to be implemented. Just got one more bug to work out of the programming (infernal python... grrr...) and some xml modding and I'll be ready to roll it out ;) Maybe just one week or two more to wait for that. (work is picking up and eating into my modding time :mad:!)
 
Hope this is the one. Thanks, the performance in the game generally has become pretty bad the last, say, 100 turns. The Ai turns seem long, its a smaller map than GEM tho and I could handle that np.
The save file started to get pretty juicy tho at 7mb.

Can you tell me what SVN version you were running (I can't read the minidump wuthout knowing and it dioesn't match either the currenty DLL or the one from June 4th). Also could you post the save game as well so I have more idea of context.
 
2790 i think i was

It's crashing in the property solver, which is AIAndy's area. It **might** be due to a memory issue, though I think that would show up differently in the minidump - this looks more like a data corruption, but I'm not sure.

@AIAndy - DLL/PDB version 2775 is the one you want to read the minidump posted a few posts earlier on this thread.
 
It's crashing in the property solver, which is AIAndy's area. It **might** be due to a memory issue, though I think that would show up differently in the minidump - this looks more like a data corruption, but I'm not sure.

@AIAndy - DLL/PDB version 2775 is the one you want to read the minidump posted a few posts earlier on this thread.
Definitely looks like data corruption. It is in an STL vector which only exists as part of a singleton class that is part of the CvGame class.
 
Definitely looks like data corruption. It is in an STL vector which only exists as part of a singleton class that is part of the CvGame class.

Id say your most likely running out of memory - check what the resource manager says you're using after loading and playing a turn or two.

Try turning dynamic entities on if you haven't and see if that helps. Also try setting the SHOW_BUILDINGS to show nothing at all (just temporarily to see if that increases the number of turns you seem to get, which would indicate a probably memory issue)
 
ok will do, I usually have Alt-Tab disabled in the .ini does this have much of an impact if I switch it on? Ie. to check resource manager etc.

<!-- Use the following to determine what building art
is displayed on cities. It is a bitmask of flags which may be
added together:
1 = Wonders
2 = city defences
128 = other
We default to Wonders and city defenses (1+2 = 3) -->
<DefineName>SHOW_BUILDINGS_LEVEL</DefineName>
<iDefineIntVal>0</iDefineIntVal>
This is what it was set to? What is show nothing? And should this value be 3? im confused
 
Status
Not open for further replies.
Back
Top Bottom