Game crashing fairly frequently in TBC 7.4

The main problem isn't the bugs at all. I sorta got burned out from the flurry of updates in early June after classes let out. It was just bad timing to run into all these bizzare issues, plus the announcement of a major patch. :rotfl:

Take these things at your own pace. Making this MOD is supposed to be enjoyable for you. :)
 
Since 7.4 I have CTD´s too.

I think it often crashes because of moving OR the sightrange when you are moving.
My last crash occured when I´m moving a catapult through unseen friendly territory over roads.
The bad thing is, its not reproduceable.
 
I tried twice since yesterday with 7.3 and it crashed even faster than 7.5. Worse than that the second time it locked up the computer and I had to pull the plug. I was playing Ghandi on a large world with small continents. There was not a specific action I did that seemed to trigger it, it just happened randomly while I was moving units around. Wasnt moving onto a goody hut or battle or anything specific other than pushing back the fog of war. It was shortly after I discovered a natural wonder.

Agree with everyone above, I love the mod. In 7.5 I got all the way to the early modern age before it started crashing and it was a delight.
 
I tried twice since yesterday with 7.3 and it crashed even faster than 7.5. Worse than that the second time it locked up the computer and I had to pull the plug. I was playing Ghandi on a large world with small continents. There was not a specific action I did that seemed to trigger it, it just happened randomly while I was moving units around. Wasnt moving onto a goody hut or battle or anything specific other than pushing back the fog of war. It was shortly after I discovered a natural wonder.

Agree with everyone above, I love the mod. In 7.5 I got all the way to the early modern age before it started crashing and it was a delight.

Out of curiosity, did you play with 7.3 and 7.4 before trying 7.5, and did it crash then?
 
7.3 was only out for ~6 hours or so before 7.4's update was released, so not many people played 7.3. Hmm... so here are some changes introduced in 7.3 (also referred to as 7.2.9) that might cause the crash:

  • Size-3 strategic resource deposits now show the “heavy deposit” art.
  • With mutual open borders, 2% of the combined gold of both players adds to :c5gold: Gold Income every turn.
I don't see anything obvious in the open borders code, but it might be like the problem we had with reading trade agreements during AI turns... some bizzare bug in vanilla that's exposed by what's done in the mod.

I've reverted the downloads back to 7.2.8 now, the version in which I changed the name of Explorers to Militia. It's difficult to reproduce this bug, so having multiple people playing like this is really helpful. Re-download v7.2.8 from civmodding.wordpress.com and see if it works. :)
 
7.3 was only out for ~6 hours or so before I released the changes in 7.4, so not many people played 7.3.

Looking back through the version changes, then it looks like 7.2.8 is the last stable version, since 7.2.9 quickly became 7.3 (and then 7.4).

These are the total number of bugs (or seeming bugs) I've encountered playing 7.3-5:

* frequent game hanging
* occasionally unable to enter CS territory
* occasionally unable to trade with AI who have GPT
* unable to gift AI gold in standard increments (7.5 only)

This list may help you to see a root cause.

There was also the 7.5 tooltip bug, which you've already fixed.
 
Hello Thal,
I hope this may help:
I am running version 74 and also InfoAddict.
Usually when I've seen crashes it's been during the end of turn (when the other civs are doing stuff). But I had one crash occur during my own turn, the moment I tried to settle an Academy with a Great Scientist on a grassland with a farm on it.
 
Hello,
first of all thank you for your mod.
I think version 7.2.x was last stable for me (I finished few games on it) 7.3-5 is CTDing alot :/ Would a save with next-turn crashing help?
 
Hi Thal,

I have crashes/hangs with 7.4 too, often after some hours playing, this wasn't so much frequently with 7.2.x and earlier.

But it's no big problem for me, because if I reload the last autosave (autosave turn: 1), I lost only the last round and can play further without having a crash in the next 2 or 3 hours.

I noticed that CiV hangs most times at the end of the AI turn calculations.

I hope you can find the bug, but I hope you don't have to remove the open borders 2% gold income bonus, this is a real excellent feature!
 
If it's anything like the diplomacy bug we ran into before, all that's necessary is I avoided calculating the open border effect at times when it causes a crash. In the case of the diplomacy bug, I had to avoid figuring resource imports/exports during AI turns.
 
I have found the frozen game crash occurs often during mid to late game on Marathon, Standard Map, during the AI's turn. I am using 7.4. I thought it was just my computer until seeing this post.

I got around it by hitting F10 (Strategy View) before pressing "Next Turn", then pressing F10 again after the AI's turn. Yesterday afternoon, I was on for 3 hours (~ turn 500) without any problems.

Hope this helps
 
That's an interesting find Wiley. I also remember a crash report where someone moved a unit and it crashed. The problem might be in the flag promotions code somewhere. I'll compare this part of the code between 7.2.8 with 7.2.9 and see if I can spot anything.

Update
Between these two versions I removed a block of code in the flag promotion setup that also defined a variable, and forgot to redefine it elsewhere. This means the variable was incorrectly defined as 'global', which might have conflicted with another file somewhere.

I have attached an update of the mod with that bug corrected. Whoever would like to help beta test, please start a new game with the settings below and check if any crashes occur. There's always multiple unknown bugs in any major project so this might not be the source of the crash. :)
  • Quick game
  • Small map
  • Lower difficulty than you normally choose
  • Play until the Industrial era or so
 
I'll try this as soon as I have a chance.

I often play on strategic view, and the problem is definitely there. I've gotten in the habit of Quicksaving after every turn. It seems to lessen the problem, but that's probably an illusion. However, it does save having to replay the previous turn.
 
Tried it; Crashed to desktop between turns.

I commented on your site about these crashes earlier. So the promotion flags bug definitely occurred in 7.3 and we can roughly assume you just fixed it (continue testing of course).

But the crash after ending turn still persists. I got it in 7.4 the earliest, though I didn't play 7.3 very long so it might have existed there as well for all I know.

Also, there's a translation error in the map options pop-up menu. The bottom two checkboxes (promotion flags options?) say something in German (whereas I play English).
attachment.php


Also also, a small graphic error in the piety social policy tree:
attachment.php


This whole thing highlights one flaw: You can't download old versions of this mod from anywhere. I had to rescue 7.2.8 from my recycle bin.
 

Attachments

  • civ5-thal-error-translation.png
    civ5-thal-error-translation.png
    76.6 KB · Views: 290
  • civ5-thal-error-piety.png
    civ5-thal-error-piety.png
    82.5 KB · Views: 285
@Core Xii
Thanks. I'd added some German translation files recently but there were a few mistakes I've been correcting.

@Ahriman
Thanks. The problem is I'm not sure I can get any useful info from a savegame. Nothing appears in the tuner to indicate what went wrong. :undecide:

In the attachment a few posts up I also disabled the open borders gold, so we can rule out that as well.


========

Whoever's helping test, please try the following.

Do the quick game/etc settings I describe with the previous attachment. However, disable TBC with an _ in front of the folder name. See if the crash happens with only CiVUP enabled... we can start narrowing it down.
 
I was using your latest version (v75) and crashed about 50 turns in when I went to move with my scout. I play on Marathon and was using info addict version 15 along with your mod.
 
@Core Xii

Whoever's helping test, please try the following.

Do the quick game/etc settings I describe with the previous attachment. However, disable TBC with an _ in front of the folder name. See if the crash happens with only CiVUP enabled... we can start narrowing it down.

Crashed with this setup and TBC disabled (using the 7.5 patch from your earlier post).
 
Playing with the beta uploaded on this thread on a small map, quick speed, with TBC disabled, no other mods, and on strategic view, I had my first hang on turn 114. For what it's worth, I was clicking right after the game told me it was my turn again.

The game froze again on turn 143, under the same circumstances - trying to move a unit just as the game announced it was my turn.

Also, hovering over the "free tech" beaker reads TXT KEY MISSION DISCOVER ME (but works).

Given the other similar findings, does this mean the problem has been narrowed down to exclude TBC?
 
I played a lot of 7.2 and had no crashes, and now have frequent crashes on 7.4. Its a bit annoying, but not a big deal with auto-save. Anyway just wanted to say thanks for working on this MOD.

If you have time, hope you find time to update it after the latest Firaxis patch.
 
Back
Top Bottom