Frustrating Civ IV problem

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
RedImperator
Roosevelt Republican
Posts: 16465
Joined: 2002-07-11 07:59pm
Location: Delaware
Contact:

Frustrating Civ IV problem

Post by RedImperator »

Has anyone else encountered this?

In the early game, the wonder movies play fine. Towards the middle, I began to notice they got choppy, with big chunks of animation missing entirely. Now as I'm approaching the endgame, the window pops up, but it remains blank, and only a single loop of the music track plays. Eventually the OK button appears and I can close the window, but as soon as I try to save the game or advance a turn, I get a fatal memory allocation error and the game crashes to the desktop.

This has happened with two separate wonders in two separate games (both huge maps, with the maximum number of starting players, though in both games several AI players are gone by the time I encounter the problem). My Windows box handily exceedes the minimum requirements for the game. What's going on here? Is this a common bug, or one unique to me? And is there a known fix? I'd be happy just to turn the damn wonder movies off, but there doesn't seem to be an option for that (thanks Firaxis!).
Image
Any city gets what it admires, will pay for, and, ultimately, deserves…We want and deserve tin-can architecture in a tinhorn culture. And we will probably be judged not by the monuments we build but by those we have destroyed.--Ada Louise Huxtable, "Farewell to Penn Station", New York Times editorial, 30 October 1963
X-Ray Blues
User avatar
Mr Bean
Lord of Irony
Posts: 22464
Joined: 2002-07-04 08:36am

Post by Mr Bean »

Pure and simple CIV has a memory leak. What your seeing is computer resources going down the drain and not being able to play the game as well.

"A cult is a religion with no political power." -Tom Wolfe
Pardon me for sounding like a dick, but I'm playing the tiniest violin in the world right now-Dalton
User avatar
RedImperator
Roosevelt Republican
Posts: 16465
Joined: 2002-07-11 07:59pm
Location: Delaware
Contact:

Post by RedImperator »

Mr Bean wrote:Pure and simple CIV has a memory leak. What your seeing is computer resources going down the drain and not being able to play the game as well.
I suspected that, but the problem is occuring even after a fresh re-boot of the computer in a savegame that's one turn away from the wonder in question from being completed. If the game is leaking memory THAT fast, how can the game run at all? If I cancel the wonder the game runs fine for a long time.
Image
Any city gets what it admires, will pay for, and, ultimately, deserves…We want and deserve tin-can architecture in a tinhorn culture. And we will probably be judged not by the monuments we build but by those we have destroyed.--Ada Louise Huxtable, "Farewell to Penn Station", New York Times editorial, 30 October 1963
X-Ray Blues
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

I'm not actually sure if Civ4 has a memory leak in it, or if it simply tracks so many things as to eat up enormous abouts of RAM.
User avatar
Ubiquitous
Sith Devotee
Posts: 2825
Joined: 2002-07-03 06:07pm

Post by Ubiquitous »

Easy solution mate, although sadly I can't help you with the specifics as I am not on my civ 4 machine at the moment. However, if you go to the civ directory and open the .ini file, look through it and find the option that deals with movies on/off and change that setting to '0' from '1', the ingame movies will be disabled and your problem will be gone. This is the trick I used when I was having problems pre-patch.

Sorry I couldn't help with the specifics. You might want to look at www.civfanatics.com forums for the full walkthrough, which is where I found it.
"I'm personally against seeing my pictures and statues in the streets - but it's what the people want." - Saparmurat Niyazov
"I'm not good in groups. It's difficult to work in a group when you're omnipotent." - Q
HAB Military Intelligence: Providing sexed-up dodgy dossiers for illegal invasions since 2003.
User avatar
Xon
Sith Acolyte
Posts: 6206
Joined: 2002-07-16 06:12am
Location: Western Australia

Re: Frustrating Civ IV problem

Post by Xon »

RedImperator wrote:And is there a known fix?
Buy more ram(1gb minimum!), and get the latest patch(v1.52).

Civ4 simply keeps track of too many things and thus eats memory like there is no tomorrow
"Okay, I'll have the truth with a side order of clarity." ~ Dr. Daniel Jackson.
"Reality has a well-known liberal bias." ~ Stephen Colbert
"One Drive, One Partition, the One True Path" ~ ars technica forums - warrens - on hhd partitioning schemes.
User avatar
RedImperator
Roosevelt Republican
Posts: 16465
Joined: 2002-07-11 07:59pm
Location: Delaware
Contact:

Post by RedImperator »

I used Ali G's solution and it worked out, though now of course I don't get any Wonder Movies. ggs, I've already got more than a gig of ram and the latest patch. I also tried increasing Winblows's virtual memory, to no avail (though since then, the rest of the game has run smoother).
Image
Any city gets what it admires, will pay for, and, ultimately, deserves…We want and deserve tin-can architecture in a tinhorn culture. And we will probably be judged not by the monuments we build but by those we have destroyed.--Ada Louise Huxtable, "Farewell to Penn Station", New York Times editorial, 30 October 1963
X-Ray Blues
User avatar
Ubiquitous
Sith Devotee
Posts: 2825
Joined: 2002-07-03 06:07pm

Post by Ubiquitous »

So you are still finding the game fun then? To be honest now that I am stuck between difficulty settings [Prince being too easy, Monarch too hard] I have grown a bit bored with the game. Hoping some expansion packs will be released soon.
"I'm personally against seeing my pictures and statues in the streets - but it's what the people want." - Saparmurat Niyazov
"I'm not good in groups. It's difficult to work in a group when you're omnipotent." - Q
HAB Military Intelligence: Providing sexed-up dodgy dossiers for illegal invasions since 2003.
User avatar
The Yosemite Bear
Mostly Harmless Nutcase (Requiescat in Pace)
Posts: 35211
Joined: 2002-07-21 02:38am
Location: Dave's Not Here Man

Post by The Yosemite Bear »

I am having the hardest time getting the download to work...
Image

The scariest folk song lyrics are "My Boy Grew up to be just like me" from cats in the cradle by Harry Chapin
User avatar
RedImperator
Roosevelt Republican
Posts: 16465
Joined: 2002-07-11 07:59pm
Location: Delaware
Contact:

Post by RedImperator »

ALI_G wrote:So you are still finding the game fun then? To be honest now that I am stuck between difficulty settings [Prince being too easy, Monarch too hard] I have grown a bit bored with the game. Hoping some expansion packs will be released soon.
Right now I'm having fun, but I can tell I'll get bored with it after I beat it a few times. I wish it had a better diplomacy system--the best part of the game for me has been those few times when I've really gotten a chance to play international statesman (hmm, do I break my deals with the enemy of my only longtime ally on this continent, or do I keep open borders with my biggest trading partner?). I do wish the AI would recognize when you're trying to be a neutral power, especially if you really are making an effort to stay neutral.

I'd also like the ability to mark certain technologies as untradeable, just like the AI can. It's irritating to discover a critical military technology, like, say, gunpowder, have the entire world beat down your door asking for you to GIVE IT AWAY, and then they all get pissed off when you refuse.
Image
Any city gets what it admires, will pay for, and, ultimately, deserves…We want and deserve tin-can architecture in a tinhorn culture. And we will probably be judged not by the monuments we build but by those we have destroyed.--Ada Louise Huxtable, "Farewell to Penn Station", New York Times editorial, 30 October 1963
X-Ray Blues
User avatar
Flagg
CUNTS FOR EYES!
Posts: 12797
Joined: 2005-06-09 09:56pm
Location: Hell. In The Room Right Next to Reagan. He's Fucking Bonzo. No, wait... Bonzo's fucking HIM.

Post by Flagg »

RedImperator wrote: I'd also like the ability to mark certain technologies as untradeable, just like the AI can. It's irritating to discover a critical military technology, like, say, gunpowder, have the entire world beat down your door asking for you to GIVE IT AWAY, and then they all get pissed off when you refuse.
Seriousely. I keep having that problem with fission, as if I'm going to give anyone the tech required to build nukes. I'm also getting sick and tired of fucking archers taking out my tanks. I specifically remember several dev interviews where they said that would no longer be a problem, yet low and behold, archers are consistantly taking out tanks.
We pissing our pants yet?
-Negan

You got your shittin' pants on? Because you’re about to
Shit. Your. Pants!
-Negan

He who can,
does; he who cannot, teaches.
-George Bernard Shaw
User avatar
Ubiquitous
Sith Devotee
Posts: 2825
Joined: 2002-07-03 06:07pm

Post by Ubiquitous »

Seriously, archers? As in the 3 power archer?

What strength was your tank down to? What was the battlefield terrain?
"I'm personally against seeing my pictures and statues in the streets - but it's what the people want." - Saparmurat Niyazov
"I'm not good in groups. It's difficult to work in a group when you're omnipotent." - Q
HAB Military Intelligence: Providing sexed-up dodgy dossiers for illegal invasions since 2003.
User avatar
Flagg
CUNTS FOR EYES!
Posts: 12797
Joined: 2005-06-09 09:56pm
Location: Hell. In The Room Right Next to Reagan. He's Fucking Bonzo. No, wait... Bonzo's fucking HIM.

Post by Flagg »

ALI_G wrote:Seriously, archers? As in the 3 power archer?

What strength was your tank down to? What was the battlefield terrain?
Longbowmen actually, to be completely fair. The tank was down to about 30% I would say, and was attacking a 24% fortified city from the highground. I wasn't crossing any rivers to attack, of course, because I'm not tactically retarded. And I was playing as the Germans so they were in fact the Panzer unit.
We pissing our pants yet?
-Negan

You got your shittin' pants on? Because you’re about to
Shit. Your. Pants!
-Negan

He who can,
does; he who cannot, teaches.
-George Bernard Shaw
User avatar
Ubiquitous
Sith Devotee
Posts: 2825
Joined: 2002-07-03 06:07pm

Post by Ubiquitous »

I agree that a Longbowman should never, ever beat a tank. However, the combat system just doesn't work that way, and I can see exactly what has happened here:

6 base strength of Longbowman + 25% foritfy + 24% city defence + 25% unit ability [assumed City defender bonus] = 11.625

Panzer is what, 28? Down to 30% that is 8.4 strength.

Whilst it may be unrealistic, you should have checked the odds before the attack because they would never have been in your favour. Th SDK is being released soon - I am sure 'bugs' like this will be removed by the fans.
"I'm personally against seeing my pictures and statues in the streets - but it's what the people want." - Saparmurat Niyazov
"I'm not good in groups. It's difficult to work in a group when you're omnipotent." - Q
HAB Military Intelligence: Providing sexed-up dodgy dossiers for illegal invasions since 2003.
User avatar
Flagg
CUNTS FOR EYES!
Posts: 12797
Joined: 2005-06-09 09:56pm
Location: Hell. In The Room Right Next to Reagan. He's Fucking Bonzo. No, wait... Bonzo's fucking HIM.

Post by Flagg »

I hope so. And it's not like I lost the battle or anything.
I had 5 panzers right behind it and I crushed the barbarian defenders and took the city. I'm just kind of pissed that the devs made a claim that turned out to be pure bullshit. Granted that's not exactly rare, and I'm not in the least bit surprised.
We pissing our pants yet?
-Negan

You got your shittin' pants on? Because you’re about to
Shit. Your. Pants!
-Negan

He who can,
does; he who cannot, teaches.
-George Bernard Shaw
User avatar
Ubiquitous
Sith Devotee
Posts: 2825
Joined: 2002-07-03 06:07pm

Post by Ubiquitous »

Do you check the decimal odds before you go into battle? This can help to avoid those infuriating loses against pathetic units.
"I'm personally against seeing my pictures and statues in the streets - but it's what the people want." - Saparmurat Niyazov
"I'm not good in groups. It's difficult to work in a group when you're omnipotent." - Q
HAB Military Intelligence: Providing sexed-up dodgy dossiers for illegal invasions since 2003.
User avatar
Captain tycho
Has Elected to Receive
Posts: 5039
Joined: 2002-12-04 06:35pm
Location: Jewy McJew Land

Post by Captain tycho »

The game is pretty fun except for the FUCKING SPEARMEN VERSUS TANK scenarios and asshole AI, but I'm already seeing lots of nice looking mods beginning to pop up.
Edit: Goddamn typodaemons.
Captain Tycho!
The worst fucker ever!
The Best reciever ever!
User avatar
Hawkwings
Sith Devotee
Posts: 3372
Joined: 2005-01-28 09:30pm
Location: USC, LA, CA

Post by Hawkwings »

to be fair, I guess a tank at, like, 0.8 power could have it's treads falling apart and the hatch blown off, so the longbowman just jumps on top, takes out his knife, and starts slashing.
User avatar
InnocentBystander
The Russian Circus
Posts: 3466
Joined: 2004-04-10 06:05am
Location: Just across the mighty Hudson

Post by InnocentBystander »

Captain tycho wrote:The game is pretty fun except for the FUCKING SPEARMEN VERSUS TANK scenarios and asshole AI, but I'm already seeing lots of nice looking mods beginning to pop up.
Edit: Goddamn typodaemons.
I seem to recall Shaka Zulu pulling some pretty crazy shit with spearmen, so you never know...
User avatar
Stark
Emperor's Hand
Posts: 36169
Joined: 2002-07-03 09:56pm
Location: Brisbane, Australia

Post by Stark »

Yeah, it *might* happen once in a blue moon, so lets have a primitive combat system that allows it to happen several times a game! Civ apologists disgust me.

The memory problems interest me: even with the latest patch Civ sucks retarded amounts of memory. It *does* seem to be linked to entity number, since smaller maps don't have the problem as bad... but it makes me think that their database engine thingy is terribly inefficient.
AniThyng
Sith Devotee
Posts: 2777
Joined: 2003-09-08 12:47pm
Location: Took an arrow in the knee.
Contact:

Post by AniThyng »

The latest patch and it's modification to the combat seems to have lessened the spearman vs tank problem, or at least, the usage of the base strength not modified by HP seems to have a net effect that my armour/mech offensives have much less downtime.

In any case, I always always bomb the unholy hell out of any city with bombers before even begining the assault so I usually only lose units to counterattacks. Spearman vs tank is still there, but it's less problomatic then in civ III, for all its worth.
I do know how to spell
AniThyng is merely the name I gave to what became my favourite Baldur's Gate II mage character :P
User avatar
Ubiquitous
Sith Devotee
Posts: 2825
Joined: 2002-07-03 06:07pm

Post by Ubiquitous »

AniThyng wrote:In any case, I always always bomb the unholy hell out of any city with bombers before even begining the assault so I usually only lose units to counterattacks. Spearman vs tank is still there, but it's less problomatic then in civ III, for all its worth.
Try fighting against an ememy withs lots of SAM infantry and Jet Fighters and see if that strategy works. Even B2's struggle to get through to strike the enemy.

The lack of an option to attack enemy aircraft is a real pain. You can't destroy an enemy airforce, you just have to subject yourself to attack after attack and hope that the enemy is silly enough to use their interceptors as strike aircraft in range of your interceptors who in turn will shoot them down.
"I'm personally against seeing my pictures and statues in the streets - but it's what the people want." - Saparmurat Niyazov
"I'm not good in groups. It's difficult to work in a group when you're omnipotent." - Q
HAB Military Intelligence: Providing sexed-up dodgy dossiers for illegal invasions since 2003.
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

Stark wrote:Yeah, it *might* happen once in a blue moon, so lets have a primitive combat system that allows it to happen several times a game! Civ apologists disgust me.
I'm wondering how good their PRNG is if those events keep occuring. Alas, the strength system is susceptable to such weirdness (why, why did they abandon Firepower?)
The memory problems interest me: even with the latest patch Civ sucks retarded amounts of memory. It *does* seem to be linked to entity number, since smaller maps don't have the problem as bad... but it makes me think that their database engine thingy is terribly inefficient.
It's possible, or another reason is the sheer amount of data the simulation engine is tracking at any given time.
User avatar
Karza
Jedi Knight
Posts: 562
Joined: 2004-07-07 09:02am
Location: Turku, Finland

Post by Karza »

ALI_G wrote:The lack of an option to attack enemy aircraft is a real pain. You can't destroy an enemy airforce, you just have to subject yourself to attack after attack and hope that the enemy is silly enough to use their interceptors as strike aircraft in range of your interceptors who in turn will shoot them down.
Hold on. A fighter tasked to intercept bombers never ever gets shot down in air combat, even when the "bomber" is actually another fighter? (asking this because I haven't played far enough to get air forces yet)
"Death before dishonour" they say, but how much dishonour are we talking about exactly? I mean, I can handle a lot. I could fellate a smurf if the alternative was death.
- Dylan Moran
User avatar
Ubiquitous
Sith Devotee
Posts: 2825
Joined: 2002-07-03 06:07pm

Post by Ubiquitous »

Karza wrote:
ALI_G wrote:The lack of an option to attack enemy aircraft is a real pain. You can't destroy an enemy airforce, you just have to subject yourself to attack after attack and hope that the enemy is silly enough to use their interceptors as strike aircraft in range of your interceptors who in turn will shoot them down.
Hold on. A fighter tasked to intercept bombers never ever gets shot down in air combat, even when the "bomber" is actually another fighter? (asking this because I haven't played far enough to get air forces yet)
I can't remember shooting down an enemy fighter. EVER.
"I'm personally against seeing my pictures and statues in the streets - but it's what the people want." - Saparmurat Niyazov
"I'm not good in groups. It's difficult to work in a group when you're omnipotent." - Q
HAB Military Intelligence: Providing sexed-up dodgy dossiers for illegal invasions since 2003.
Post Reply