Register or Log In to remove the ads!

Page 1 of 14 1 2 3 4 11 ... Last
  1. #1
    Solver's Avatar
    Join Date
    24 Sep 2000
    Location
    Latvia, Riga
    Posts
    18,391
    Thanks
    0
    Thanked 5 Times in 2 Posts
    Local Date
    August 25, 2016
    Local Time
    15:08

    BtS AI - minor update

    Here's a minor update to the BtS AI, and some minorish fixes.

    Changes:

    * Fixing a possible infinite loop problem with unit movement.
    * Poison Water and Foment Unhappiness missions now have the same effect, duration and cost on all game speeds, to mirror the official patch.
    * AI now more likely to promote siege units with Accuracy to better handle the changes to bombardment in BtS
    * AI understanding of what is an "early Wonder" now correct for non-Normal game speeds.
    * AI civs that are close to reaching a Domination victory recognize that and are more likely to declare war, in particular with Aggressive AI.
    * "Dead unitgroup walking" crash fix as per Dale
    * No-conscript colony crash fix as per Gyathaar
    * Another colony crash fix as per myself
    * Fixed the bug allowing Forts in foreign territory, which would result in Forts overrunning useful rival improvements.
    * AIs close to domination population will have a high priority for health buildings in cities that are unhealthy.
    * AIs close to domination population will put a high priority on researching Genetics and will like other health techs better.
    * The AI will be less reluctant to raze cities that have its state religion if it doesn't have the shrine for that religion.
    * Corporation maintenance is now exempt from inflation, so the costs don't blow up so much.
    * Added possible workaround for a crash bug.
    * Fixed an infinite loop problem with city attackers (thanks Gyathaar)
    * Blockade code rewritten so that blockading is now much faster, as per Gyathaar
    * Fixed Quick-speed crash (whoops)
    * Auto-explore change per Bhruic.
    * Auto-explorers will heal when wounded.
    * Advanced start population selling fixed per Gyathaar
    * Fixed the AP-conversion hammer bug
    * AI will use espionage to destroy non-resource terrain improvements - such as Towns.
    * AI may destroy improvements through espionage just because it hates you, with no war plan
    * Increased likelihood of the AI stealing techs - hopefully it will do so now
    * Fixed AI airstrike bug
    * AI now only capitulates to the team which has done them a majority of the damage.
    * On non-aggressive AI, the AI's are more aggressive early in the game.
    * AI trains more units early in the game.
    * AI SHOULD do a better job of bribing other AI's (this may or may not work)
    * The cost to Bribe AI's into war now uses a new algorithm, it better reflects the impact of the bribe (ie a large AI charges a lot more to be ordered around). Generally bribing will be more expensive, especially cases where it used to be excessively cheap.
    * AI's tell you to sod off if you try to bribe them onto a victim with an intact nuclear arsenal.
    * AI brags about it's nukes more.
    * Always Peace now suppresses AI militarism (with some barb awareness).
    * AI spends less on Espionage.
    * AI trains spies with lower priority.
    * AI better aware of Free Market / Environmentalism corporation impact.
    * Exploring units should now heal.
    * Possibly fixed exploring "YoYo" issue.
    * Fixed a puppet strings exploit related to naval invasions.
    * Fixed some issues which hampered or stalled AI early game expansion.
    * Tweaks to Governor, particularly "Emphasize Food"
    * Fixed an undefended cities issues.
    * Destroying Towns through espionage will turn them into Villages, etc.
    * Slight tweak to the AI selection of HQ city when founding a corp
    * Splitting off a colony no longer tends to create the same civilization
    * Governor fills the food bar better.
    * Governor should work hamlets over cottages.
    * AI offers larger bribes to other AI's, and doesn't care how much it "overpays" to bring another party into war.
    * The vassalizing thing should work now.
    * Fixed bug where defensive units idle.
    * Hamlets WILL be preferred over cottages.
    * Fixed independence-loving colonies
    * AI will prefer to run Foment Unhappiness in cities that have been hit with Poison Water and vice-versa
    * Fixed possible negative inflation situation (thanks Esper23)
    * AI prefers to poison water supply of cities with a low food bar to ensure population loss.
    * Fixed bug causing the new capitulation behavior to malfunction.
    * Fixed bug causing units to sit around outside cities.
    * AI now knows how to use Steal Tech and Incite Revolt
    * AI's may choose to not be espionage "petty terrorist" and instead only use large espionage missions (like steal tech and sabotage project).
    * AI uses spies more smartly (camps them in cities to get the discount)
    * AI values espionage buildings more
    * Another couple of minor changes to governors

    Last update: Aug 29

    Download

    To install, just put the DLL file from the zip file into the Assets folder of your BtS installation (by default something like c:\program files\firaxis games\civilization iv\beyond the sword\assets). Putting the file into CustomAssets will not work!

    You do not need to put the .cpp files anywhere unless you're a programmer! If you don't know what those files are and what they do, you don't need them.

    If you want a fix to the Military Academy bug, download the next file and place it into Assets\XML\Units (again, preferably back up the original).

    Download Mil. Academy Fix
    Last edited by Solver; August 29, 2007 at 11:37.
    Solver, WePlayCiv Co-Administrator
    Contact: solver-at-weplayciv-dot-com
    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

  2. #2
    =DrJambo='s Avatar
    Join Date
    23 Jan 2002
    Location
    Athens of the North (Edinburgh)
    Posts
    377
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    August 25, 2016
    Local Time
    13:08

    Re: BtS AI - minor update

    Originally posted by Solver
    Here's a minor update to the BtS AI, just download the DLL file and put it where appropriate.

    Changes:

    * Fixing a possible infinite loop problem with unit movement.
    * AI now more likely to promote siege units with Accuracy to better handle the changes to bombardment in BtS
    * AI understanding of what is an "early Wonder" now correct for non-Normal game speeds.
    * AI civs that are close to reaching a Domination victory recognize that and are more likely to declare war, in particular with Aggressive AI.

    Download
    Interesting.
    What does 'AI understanding of what an early Wonder' actually mean? Also, you say 'in particular with Aggressive AI' for the last point. Will it still happen to a certain extent when Aggressive AI isn't selected?

  3. #3
    guermantes's Avatar
    Join Date
    31 Oct 2005
    Location
    Sweden
    Posts
    286
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    August 25, 2016
    Local Time
    15:08
    Please excuse my ignorance but is this a 'custom' update or is it official in some way? If the former, could it possibly interfere with future patchings?
    "Can we get a patch that puts Palin under Quayle?" - Theben

  4. #4
    Solver's Avatar
    Join Date
    24 Sep 2000
    Location
    Latvia, Riga
    Posts
    18,391
    Thanks
    0
    Thanked 5 Times in 2 Posts
    Local Date
    August 25, 2016
    Local Time
    15:08
    Well, sometimes the AI decides to build an early wonder, actually setting it as a priority to get one early. Its understanding of when that "early" period is was quite good for Normal speed, but inadequate for slower speeds, for example.

    And yes, being close to Domination will make the AI more aggressive on the default AI as well. It's just that Aggressive AI will increase the effect even further.
    Solver, WePlayCiv Co-Administrator
    Contact: solver-at-weplayciv-dot-com
    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

  5. #5
    Solver's Avatar
    Join Date
    24 Sep 2000
    Location
    Latvia, Riga
    Posts
    18,391
    Thanks
    0
    Thanked 5 Times in 2 Posts
    Local Date
    August 25, 2016
    Local Time
    15:08
    Originally posted by guermantes
    Please excuse my ignorance but is this a 'custom' update or is it official in some way? If the former, could it possibly interfere with future patchings?
    It's created by me, not "official" in that sense. Any future patches will just overwrite the DLL and thus essentially eliminate this.
    Solver, WePlayCiv Co-Administrator
    Contact: solver-at-weplayciv-dot-com
    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

  6. #6
    Dale's Avatar
    Join Date
    27 Dec 2000
    Posts
    3,972
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    August 25, 2016
    Local Time
    23:08
    Does this include the fix to AI_update(..) where sometimes a NULL selectionGroup is passed?

  7. #7
    Solver's Avatar
    Join Date
    24 Sep 2000
    Location
    Latvia, Riga
    Posts
    18,391
    Thanks
    0
    Thanked 5 Times in 2 Posts
    Local Date
    August 25, 2016
    Local Time
    15:08
    Nope, I'm not aware of that bug.
    Solver, WePlayCiv Co-Administrator
    Contact: solver-at-weplayciv-dot-com
    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

  8. #8
    MoonWolf's Avatar
    Join Date
    12 Oct 2002
    Posts
    771
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    August 25, 2016
    Local Time
    15:08
    Thanks, maybe I'll add this one

    Is the loop movement the one that someone has complained about when it comes to exploring?

  9. #9
    Solver's Avatar
    Join Date
    24 Sep 2000
    Location
    Latvia, Riga
    Posts
    18,391
    Thanks
    0
    Thanked 5 Times in 2 Posts
    Local Date
    August 25, 2016
    Local Time
    15:08
    It's the issue where the game would get completely stuck in certain, though rare, circumstances.
    Solver, WePlayCiv Co-Administrator
    Contact: solver-at-weplayciv-dot-com
    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

  10. #10
    MoonWolf's Avatar
    Join Date
    12 Oct 2002
    Posts
    771
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    August 25, 2016
    Local Time
    15:08
    Ok, haven't had time to play that much yet so haven't expirenced any problems either.

    Btw, as it's a dll-update, I assume it will affect current savegames as well?

  11. #11
    Solver's Avatar
    Join Date
    24 Sep 2000
    Location
    Latvia, Riga
    Posts
    18,391
    Thanks
    0
    Thanked 5 Times in 2 Posts
    Local Date
    August 25, 2016
    Local Time
    15:08
    Yes, but you'll still be able to load them.
    Solver, WePlayCiv Co-Administrator
    Contact: solver-at-weplayciv-dot-com
    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

  12. #12
    MoonWolf's Avatar
    Join Date
    12 Oct 2002
    Posts
    771
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    August 25, 2016
    Local Time
    15:08
    That's what I also meant by affect, was a bit short there Thanks

  13. #13
    Dale's Avatar
    Join Date
    27 Dec 2000
    Posts
    3,972
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    August 25, 2016
    Local Time
    23:08
    Sorry, not AI_update, but AI_unitUpdate.

    Code:
    void CvPlayerAI::AI_unitUpdate()
    {
    ..
    ..
    
    			pCurrUnitNode = finalGroupCycle.head();
    
    			while (pCurrUnitNode != NULL)
    			{
    				// Dale - RtW: START
    				if (this->isAlive() && getSelectionGroup(pCurrUnitNode->m_data) != NULL)
    				{
    					if (getSelectionGroup(pCurrUnitNode->m_data)->AI_update())
    					{
    						break; // pointers could become invalid...
    					}
    
    					pCurrUnitNode = finalGroupCycle.next(pCurrUnitNode);
    				} else {
    					break;
    				}
    				// Dale - RtW: END
    			}
    		}
    	}
    }

  14. #14
    Jvstin's Avatar
    Join Date
    03 Nov 2001
    Location
    Circle Pines, MN
    Posts
    186
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    August 25, 2016
    Local Time
    07:08
    Thanks, Solver, I'll have to try this when I get home from work.

  15. #15
    LordGek's Avatar
    Join Date
    12 Nov 2002
    Posts
    120
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    August 25, 2016
    Local Time
    05:08
    Originally posted by Dale
    Sorry, not AI_update, but AI_unitUpdate.

    Code:
    void CvPlayerAI::AI_unitUpdate()
    {
    ..
    ..
    
    			pCurrUnitNode = finalGroupCycle.head();
    
    			while (pCurrUnitNode != NULL)
    			{
    				// Dale - RtW: START
    				if (this->isAlive() && getSelectionGroup(pCurrUnitNode->m_data) != NULL)
    				{
    					if (getSelectionGroup(pCurrUnitNode->m_data)->AI_update())
    					{
    						break; // pointers could become invalid...
    					}
    
    					pCurrUnitNode = finalGroupCycle.next(pCurrUnitNode);
    				} else {
    					break;
    				}
    				// Dale - RtW: END
    			}
    		}
    	}
    }
    Color me confused, Dale, is this the problem or the fix you've made to a problem? Furthermore is this just something in RtW or the main game as well?

  16. #16
    LordGek's Avatar
    Join Date
    12 Nov 2002
    Posts
    120
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    August 25, 2016
    Local Time
    05:08

    Re: BtS AI - minor update

    Originally posted by Solver
    Here's a minor update to the BtS AI, just download the DLL file and put it where appropriate.

    Changes:

    * Fixing a possible infinite loop problem with unit movement.
    * AI now more likely to promote siege units with Accuracy to better handle the changes to bombardment in BtS
    * AI understanding of what is an "early Wonder" now correct for non-Normal game speeds.
    * AI civs that are close to reaching a Domination victory recognize that and are more likely to declare war, in particular with Aggressive AI.

    Download
    You tricky bastage, Solver! I always knew you as a tester of the game and a reviewer, but a modder as well? Had you made any previous mods in Civ 4 before the few you've whipped out in BtS (not that I'm even doubting these latest one's viability, I'm now curious what other clever tweaks you may have made that I missed before).

    How goes work on more of them Solver Events?

  17. #17
    Solver's Avatar
    Join Date
    24 Sep 2000
    Location
    Latvia, Riga
    Posts
    18,391
    Thanks
    0
    Thanked 5 Times in 2 Posts
    Local Date
    August 25, 2016
    Local Time
    15:08
    Well, I'm also a programmer as an occupational hazard Just posted a small (3 more events) update to the event mod over there. I'm pretty much putting stuff out that didn't make it to the core game. The air combat in BtS also started as a mod of mine, for example.
    Solver, WePlayCiv Co-Administrator
    Contact: solver-at-weplayciv-dot-com
    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

  18. #18
    LordGek's Avatar
    Join Date
    12 Nov 2002
    Posts
    120
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    August 25, 2016
    Local Time
    05:08
    Originally posted by Solver
    Well, I'm also a programmer as an occupational hazard Just posted a small (3 more events) update to the event mod over there. I'm pretty much putting stuff out that didn't make it to the core game. The air combat in BtS also started as a mod of mine, for example.
    Well the work by you, Blake, Dale, and the many other members of the modder community involved in BtS shows what can happen if they're let loose on a retail product!

  19. #19
    Solver's Avatar
    Join Date
    24 Sep 2000
    Location
    Latvia, Riga
    Posts
    18,391
    Thanks
    0
    Thanked 5 Times in 2 Posts
    Local Date
    August 25, 2016
    Local Time
    15:08
    Yeah, we're the real reason why Jon and Alex needed a lengthy vacation after completing the game
    Solver, WePlayCiv Co-Administrator
    Contact: solver-at-weplayciv-dot-com
    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

  20. #20

    Join Date
    03 May 2006
    Posts
    135
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    August 25, 2016
    Local Time
    13:08
    The game is completed? Why do AI stacks constantly STOP AND DO NOTHING in various places? They just set up and camp and goto sleep. It's ruined several games for me now - anyone else getting this?

  21. #21
    Solver's Avatar
    Join Date
    24 Sep 2000
    Location
    Latvia, Riga
    Posts
    18,391
    Thanks
    0
    Thanked 5 Times in 2 Posts
    Local Date
    August 25, 2016
    Local Time
    15:08
    Well, I should say its gold/retail version.
    Solver, WePlayCiv Co-Administrator
    Contact: solver-at-weplayciv-dot-com
    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

  22. #22
    LordGek's Avatar
    Join Date
    12 Nov 2002
    Posts
    120
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    August 25, 2016
    Local Time
    05:08
    Originally posted by vilemerchant
    The game is completed? Why do AI stacks constantly STOP AND DO NOTHING in various places? They just set up and camp and goto sleep. It's ruined several games for me now - anyone else getting this?
    Perhaps Solver has addressed this?

    * Fixing a possible infinite loop problem with unit movement.

  23. #23
    Solver's Avatar
    Join Date
    24 Sep 2000
    Location
    Latvia, Riga
    Posts
    18,391
    Thanks
    0
    Thanked 5 Times in 2 Posts
    Local Date
    August 25, 2016
    Local Time
    15:08
    I'm not sure why that particular problem arises, Blake is the ultimate authority here.
    Solver, WePlayCiv Co-Administrator
    Contact: solver-at-weplayciv-dot-com
    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

  24. #24
    LordGek's Avatar
    Join Date
    12 Nov 2002
    Posts
    120
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    August 25, 2016
    Local Time
    05:08
    Originally posted by Solver
    I'm not sure why that particular problem arises, Blake is the ultimate authority here.
    Any clues what is behind the AI's reported inability to use Privateers? I have to admit this is all second hand here, but from what I've read the AI can make Privateers but then will just leave them docked.

  25. #25
    MrWhereItsAt's Avatar
    Join Date
    15 Nov 2001
    Location
    That's DR WhereItsAt...
    Posts
    10,159
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    August 26, 2016
    Local Time
    01:08

    Re: BtS AI - minor update

    Originally posted by Solver
    Here's a minor update to the BtS AI, just download the DLL file and put it where appropriate.
    Hmm...to trust Solver...?

  26. #26
    LordGek's Avatar
    Join Date
    12 Nov 2002
    Posts
    120
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    August 25, 2016
    Local Time
    05:08

    Re: Re: BtS AI - minor update

    Originally posted by MrWhereItsAt


    Hmm...to trust Solver...?
    Could just be some Trojan Horse deal that activates once he's playing you online and suddenly all of your units disappear!


  27. #27
    Solver's Avatar
    Join Date
    24 Sep 2000
    Location
    Latvia, Riga
    Posts
    18,391
    Thanks
    0
    Thanked 5 Times in 2 Posts
    Local Date
    August 25, 2016
    Local Time
    15:08
    If it activated when I play online, that'd be roughly once a year
    Solver, WePlayCiv Co-Administrator
    Contact: solver-at-weplayciv-dot-com
    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

  28. #28
    LordGek's Avatar
    Join Date
    12 Nov 2002
    Posts
    120
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    August 25, 2016
    Local Time
    05:08
    Originally posted by Solver
    If it activated when I play online, that'd be roughly once a year
    See! The perfect trigger for your DEADLY Civ virus!!

  29. #29
    Wiglaf's Avatar
    Join Date
    04 Dec 2000
    Location
    Washington, DC
    Posts
    9,195
    Thanks
    135
    Thanked 235 Times in 120 Posts
    Local Date
    August 25, 2016
    Local Time
    08:08

    Angry

    Originally posted by LordGek


    Any clues what is behind the AI's reported inability to use Privateers?
    The game wasn't tested worth a damn. You'll also notice espionage is broken on marathon, as well as the AIs many other glaring faults (does not defend coastal cities enough, parks stacks in your territory without pillaging, spams corporations mindlessly, etc). Also, the scenario AI is lacking in final frontier and there are several bugs in at least two other scenarios I played.

    The blame goes to Firaxis, obviously, for relying on fans to make the whole game and test it for them. Blake codes the AI, fans make 4 scenarios, Solver reinvents the air combat, fans make the ethnic units...Firaxis is just lazy. Maybe a patch will come sometime soon.
    Last edited by Wiglaf; July 31, 2007 at 15:57.

  30. #30
    LordGek's Avatar
    Join Date
    12 Nov 2002
    Posts
    120
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    August 25, 2016
    Local Time
    05:08
    Originally posted by Wiglaf


    The game wasn't tested worth a damn. You'll also notice espionage is broken on marathon, as well as the AIs many other glaring faults (does not defend coastal cities enough, parks stacks in your territory without pillaging, spams corporations mindlessly, etc). Also, the scenario AI is lacking in final frontier and there are several bugs in at least two other scenarios I played.

    The blame goes to Firaxis, obviously, for relying on fans to make the whole game and test it for them.
    This is a much more solid release than the original Civ 4 and Warlords, I think. But, yeah, obviously **** snuck in there. The key is what they do about addressing the issues once they've been pointed out. The only time I'm willing to get all pissy about it is when, several months out, these issues haven't been addressed or they try to pull some, "Its not a bug but a feature" nonsense.

Similar Threads

  1. Unofficial BtS 3.17 patch
    By Solver in forum Civilization IV General
    Replies: 70
    Last Post: June 7, 2009, 09:14
  2. Civ4 Col: Unofficial bug-fix patch
    By Dale in forum Civilization IV: Colonization
    Replies: 10
    Last Post: March 12, 2009, 06:28
  3. A few questions about the unofficial 3.17 BTS patch
    By snafuc4 in forum Civilization IV General
    Replies: 9
    Last Post: November 13, 2008, 12:03
  4. Unofficial BTS 3.13 patch
    By Bhruic in forum Civilization IV General
    Replies: 112
    Last Post: June 15, 2008, 16:00
  5. Solver's Unofficial Patch and AU
    By Blake in forum Civ4 Apolyton University
    Replies: 21
    Last Post: June 11, 2008, 15:07

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Log in

Log in