Version 0.78 Discussion Thread

yeah you have to change "AI_seperate" in "CvPlayerAI.cpp" to "AI_separate"
 
I didn't play BtS since 8-9 months so I'm sorry if the issue i will point out is a known one.
Anyway i have noticed with 0.78 that AI keep sending units to city ruins like it sees that the city is undefended and not acknowledging that it has been already destroyed.If a save is needed i'll post it.
 
well. no? your sourcecode is still the same in svn/download file. there is still the error in CvPlayerAI.cpp. any other files affected?

Don't know how that one source file didn't get updated in the source code zip. Fixed in the CFC download.

If you're not a modder, no need to redownload. If you are, the single source file is attached. Contains more than just the spelling change I believe.

View attachment CvPlayerAI.zip
 
I play my first game ever with BBAI (and 3.19) and jdog just leaves, meaning I might not get an answer for weeks. :(

I'm playing a game on a standard-sized map using the Tectonics mapscript. I'm at turn 250 or so now and I occassionaly run into Memory Allocation Failures when trying to load a saved game while already in the game. Never before in these four Civ4 years have I experienced a MAF. I thought MAFs were caused by playing with heavy graphics or huge sized maps. :confused: But BBAI doesn't have that. My laptop has 1.3 GHz processor and 2 GB RAM for the record.

Also I'm wondering if the following are normal:
The AI spends more time than in unmodded Civ in between turns. I guess that's to be expected for a better AI mod.
But also it takes much longer to load a game, more particularly the first phase 'Initializing'. Save file size at turn 250 is 750kb. This also seems much larger than usual, but I could be wrong: I don't usually pay that much attention to save file size.

I'd love to include BBAI in Planetfall, but not if it's gonna cause frequent MAFs. :(

I've never run in to MAFs in BTS, with or without BBAI, debug or regular DLL. No idea why you would be seeing them. Firaxis did change a few little things with save loading in 3.19, but that shouldn't be causing any problems.

As for turn times and loading times, I haven't done any kind of analysis yet to see if/how much has changed there. I haven't introduced any dramatic reworkings of how core pieces are computed so there shouldn't be a serious change in time. Will keep my eye out though, I certainly don't want to slow the game down much unless it's really important.

There really shouldn't be any change in save sizes, nothing there has been changed.
 
I didn't play BtS since 8-9 months so I'm sorry if the issue i will point out is a known one.
Anyway i have noticed with 0.78 that AI keep sending units to city ruins like it sees that the city is undefended and not acknowledging that it has been already destroyed.If a save is needed i'll post it.

That is quite odd, I haven't heard of anything like that. A save would be very much appreciated, a save from an earlier version of BTS should work if that's what you have.
 
I have posted a version of my mod "New sentry actions for units" merged with BBAI 0.78:
http://forums.civfanatics.com/showthread.php?p=7432537#post7432537

Merge is very fast using Total Commander and the option to Synchronize directories to see the source code differences.

BTW, do you know when I can download BULL source code to merge it too?
 
Pep, are there .ini settings that change the defaults?

In particular these:
# Added a new game option: "City governors build workboats". Now, city governors build workboats ONLY if this option is active. (Default: deactivated)
# Added a new game option: "City governors train workers". Now, city governors trains workers ONLY if this option is active. (Default: deactivated)
# Added a new game option: "City Governors Prioritize Goods Over Non Essential Buildings" If this option is NOT active (Default: deactivated), city governors try first to construct "non essential" buildings (like bunkers when not at war) over goods (gold, culture, etc.). Check this option if you like Civ 4 "standard" building order.
While advanced players will probably agree with your defaults, a new player would probably want city governors to build workboats/workers/etc.
 
Pep, are there .ini settings that change the defaults?

In particular these:
While advanced players will probably agree with your defaults, a new player would probably want city governors to build workboats/workers/etc.

These defaults can be changed using the menu options (they are the last three options). Once you change an option, it retains its state and the next time you launch the game it has the same value. I don't know where the program store this information, though.
 
Peter, what's listed as .77 was .78B when I downloaded it a few days ago.
 
A while after posting here, I realized that while playing my game with BBAI, my hard drive only had 1.5GB free space, while my RAM is 2 GB. I seem to remember reading once that you should at least have as much free hard disk space as you have RAM. Could this have caused the MAFs?

Anyway, I have a little question. I noticed from a WinMerge comparison that there doesn't seem to be any difference between the unmodded CvInfos.h and CvUnit.h, and the ones included in the BBAI download. Is this correct, or am I missing something?
 
1.5 GB free is very little, windows creates virtual memory on the HD to simulate more memory, how much windows needs to dip in to this depends on how much free, real ram you have, but by having such little space free you are severly constraining how much virtual ram windows can make

It could well be not being able to create enough virtual ram is causing your issue's, i would certainlt try and free up some space, as it will benefit overall system speed too, there's a option in windows control panel on XP to free up hardisk space, i'm sure earlier windows versions have programs to do this too
 
A while after posting here, I realized that while playing my game with BBAI, my hard drive only had 1.5GB free space, while my RAM is 2 GB. I seem to remember reading once that you should at least have as much free hard disk space as you have RAM. Could this have caused the MAFs?

That could certainly cause a variety of subtle issues as peter450 pointed out.

Anyway, I have a little question. I noticed from a WinMerge comparison that there doesn't seem to be any difference between the unmodded CvInfos.h and CvUnit.h, and the ones included in the BBAI download. Is this correct, or am I missing something?

You're correct, there aren't any changes in those two files. The way I've been keeping track of changed files is by save date, so at some point I probably had a change in those and then pulled it back. I'll try switching to something based on actual changes to avoid this in the future.
 
Back
Top Bottom