Games keep crashing after about 100 turns

PPRyan

Chieftain
Joined
Dec 14, 2010
Messages
50
I was finally able to get everything in working order with the mods that I've added, but now I have a new problem.

In every game, after about 100 turns, the screen goes black and the game immediately crashes to the desktop. I get this error message:

Error Info

AppName: civ4beyondsword.exe AppVer: 3.1.9.0 ModName: cvgamecoredll.dll
ModVer: 3.1.7.0 Offset: 000ef090

Does anyone have any idea what this could be? Is there any way to diagnose the problem?

I've saved the file and tried going back, and the same error happens on the same turn each time.
 
Apparently you're having trouble with the .dll. Not all mods are compatable. Have you attempted to include more than one mod together in one where two or more of them have adjusted the .dll? This CvGameCore.dll file... there must be only one (in your mod assets folder). If you have more than one, there's going to be trouble. And if you're trying to combine more than one... whew... that's doable with a lot of work and persistence and learning and headaches and...
 
Apparently you're having trouble with the .dll. Not all mods are compatable. Have you attempted to include more than one mod together in one where two or more of them have adjusted the .dll? This CvGameCore.dll file... there must be only one (in your mod assets folder). If you have more than one, there's going to be trouble. And if you're trying to combine more than one... whew... that's doable with a lot of work and persistence and learning and headaches and...

Honestly, I'm not sure what the .dll file is. I've combined three mods of sorts: four leaderheads, a new unit set, and a custom civ that I made myself (just adding a 2d leaderhead, flag, and a couple of buttons).

As far as I know, I haven't done anything to a .dll file. Do you know where I would find one?
 
hmm... sounds like nothing that would need any .dll modding. I'm a little stumped but I noticed that the mod its saying crashed was the cvgamecore.dll mod? I'm thinking your files might not be arranged properly...
 
hmm... sounds like nothing that would need any .dll modding. I'm a little stumped but I noticed that the mod its saying crashed was the cvgamecore.dll mod? I'm thinking your files might not be arranged properly...

Is there any way to check?
 
Looks like missing or wrong graphics. Check all added *.dds files and their paths in the modified xml files. Probably, after a number of turns you or AI create a new unit with defected graphics. As result - CTD.
 
Looks like missing or wrong graphics. Check all added *.dds files and their paths in the modified xml files. Probably, after a number of turns you or AI create a new unit with defected graphics. As result - CTD.

Ill second this. It one of the most horrible crashes to track down, and could be as small as a comma in an art define file.

Anyone knows how to track it down?
 
hmm... sounds like nothing that would need any .dll modding. I'm a little stumped but I noticed that the mod its saying crashed was the cvgamecore.dll mod? I'm thinking your files might not be arranged properly...

The 'Mod' here (ModName, ModVer) stands for 'Module' and not 'Modification'.
A DLL file is a module.
 
Looks like missing or wrong graphics. Check all added *.dds files and their paths in the modified xml files. Probably, after a number of turns you or AI create a new unit with defected graphics. As result - CTD.

That's what I was afraid of. The unit set is Siam's African Set, and there are a LOT of files to sort through. This could take some time.

Outside of opening each file one-by-one, is there any sort of mod or crash diagnosis program for civ to determine where a problem could be?
 
Well, it looks like I have a new problem now. It crashes to the desktop every time I try to enter the world builder.
 
mmm. I used the african set as well, and did run into some crashes. I only used the ancient, classical and medieval units though, and no ships or great persons. That should narrow it down a bit, though I cannot be 100% sure its the african sets fault I'm not using any .dll and the python is quite limited and 99% of the other units I use are within the original vanilla pak files. Try remove them and please report back :D
 
I'm not sure I follow. Are you saying the crashes stopped when you removed the ships and great people?
 
nope, I never installed those. I just wanted to install all ethnic medieval units first, so I used some of the ones in the african set. But I only used from the 3 first era and not any GP or ships.
Much later into a long game, where I frequently used ctlz+z to check how ai was doing, I started to get crashes every time. So I disabled the african set by setting the 3 civs that I used the newly created ethnicstyle back to middle_east, and the crashed went away.

However, since I have a rather low spec computer (1.5GB ram and 128mb graphics) I suspected that was the reason.

edit BTW, I'm still playing that game, and is in 1644 with no crashes with these units except african.
(see in screenshots)
 
Gotcha. Well, I guess I'll just remove the unit set so I won't have to worry about the crashes at all. The units look great, but it's not worth sorting through all of those files just to get them to work properly.

Thank you for your help, Vincentz!
 
Well, now I'm completely lost. I removed the unit set, and the game is still crashing on the same exact turn. When I go into world builder, it crashes, too. Any other ideas why the game would continue to crash?

At this point, I only have a couple of changes made. My own custom civ (which is a 2D leaderhead and a couple of custom buttons), the Hitler Leaderhead, and the three Leaderheads from CivIV:Colonization.
 
Well, it looks like I have a new problem now. It crashes to the desktop every time I try to enter the world builder.

Proves, that it's a graphical problem.

If there's no CvGameCoreDll in the assets folder of your mod, then put the attached debug dll into there (it's not mine, phungus compiled it, but i can't find the thread) Edit: Removed attachement, a debug dll can be found here. If you then play in windowed mode, you should get some more exceptions on startup, which should tell you where the problem is (but you can't play the savegame with that .dll, you'll have to take it out again before further playing).
 
Proves, that it's a graphical problem.

If there's no CvGameCoreDll in the assets folder of your mod, then put the attached debug dll into there (it's not mine, phungus compiled it, but i can't find the thread). If you then play in windowed mode, you should get some more exceptions on startup, which should tell you where the problem is (but you can't play the savegame with that .dll, you'll have to take it out again before further playing).

Thanks! I'll give this a shot right now.
 
Proves, that it's a graphical problem.

If there's no CvGameCoreDll in the assets folder of your mod, then put the attached debug dll into there (it's not mine, phungus compiled it, but i can't find the thread). If you then play in windowed mode, you should get some more exceptions on startup, which should tell you where the problem is (but you can't play the savegame with that .dll, you'll have to take it out again before further playing).


Do I just put the .dll file in the mod's main menu, or do I need to put it in a separate folder somewhere?
 
The dll goes into ModFolder\Assets.

Okay, so I put the .dll in the modfolder/assets folder. It starts up without any problems.

When I try to load the saved game file with the issue, it crashes immediately now, saying:

"This application has requested the Runtime terminate it in an unusual way."
 
Back
Top Bottom