View Issue Details

IDProjectCategoryLast Update
0011890AI War 1 / ClassicBug - GameplayJun 29, 2013 12:03 pm
ReporterToranth Assigned To 
Status newResolutionopen 
Product Version7.001 
Summary0011890: Strategic Reserves exceed 100%
DescriptionIn the attached save, the AI is deploying reserves to the Slovnudur system, where my Champions are. However, despite having already deployed a batch of ships, the reserves are listed as being at 112% percent, and the AI can continue to deploy batches of ships.

Also attached is the Log File.
TagsNo tags attached.
Internal Weight

Activities

Toranth

Jun 22, 2013 8:02 pm

reporter  

Toranth

Jun 22, 2013 8:03 pm

reporter  

LogicLog_AIMechanic_StrategicReserve.txt (3,075 bytes)   
6/22/2013 7:41:42 PM (7.001)
-----------------------------------
Strategic Reserve Logic check; Game Time: 23:06:44
*Computing MaxStrategicReserve for player 8
baseStrengthFactor = 19.8
specialDifficultyFactor = Game.Instance.Options.TotalSpecialDifficultyModifier (based on difficulty, homeworld count, handicap) = 9
aiTypeFactor = 3
effectiveAIP = (since Lazy-AI is not on, this is always 200; if you don't like that take it up with chemical_art) = 200
maxStrategicReserve = baseStrengthFactor * difficultyFactor * aiTypeFactor * effectiveAIP = 106918.95
*Computing MaxStrategicReserve for player 9
baseStrengthFactor = 19.8
specialDifficultyFactor = Game.Instance.Options.TotalSpecialDifficultyModifier (based on difficulty, homeworld count, handicap) = 9
aiTypeFactor = 1
effectiveAIP = (since Lazy-AI is not on, this is always 200; if you don't like that take it up with chemical_art) = 200
maxStrategicReserve = baseStrengthFactor * difficultyFactor * aiTypeFactor * effectiveAIP = 35639.65
**Doing Strategic Reserve Deployment to Slovnudur
maxAllowedReserveDeploymentPercent = 0.1
playerMaxStrategicReserve = 106918.95
playerCurrentStoredReserve = 119406.39 (111.68%)
existingStrategicReservesStrengthOnPlanet = 7737.98
strengthToSpawn = Min(playerCurrentStoredReserve,( playerMaxStrategicReserve * maxAllowedReserveDeploymentPercent ) - existingStrategicReservesStrengthOnPlanet) = 2938.26
maxTargetPopulation = 4000
currentPopulation = 469
allocating 0.24 out of 1 (710.17 strength) for role: None , eligible types:CoreBattleCruiser, CoreMunitionsBooster, CoreGrenadeLauncher
allocating 0.51 out of 1 (1504.99 strength) for role: AntiBomber , eligible types:CoreFighter
allocating 0.14 out of 1 (406.02 strength) for role: LongRange , eligible types:AntiStarshipArachnid, CoreSniper, CoreZenithBombardment, CoreSentinelFrigate
allocating 0 out of 1 (0 strength) for role: CopperPlatedBastard , eligible types:
allocating 0 out of 1 (0 strength) for role: Tractor , eligible types:
allocating 0 out of 1 (0 strength) for role: Gravity , eligible types:
allocating 0 out of 1 (0 strength) for role: Reclamator , eligible types:
allocating 0.11 out of 1 (315.63 strength) for role: DefenseCracker , eligible types:CoreBomber, CoreZenithElectricBomber, CoreZenithSiegeEngine
actually bought: 
14 CoreBattleCruiser @ 10 each, so total for line = 140
12 CoreGrenadeLauncher @ 10 each, so total for line = 120
9 CoreMunitionsBooster @ 50.53 each, so total for line = 454.74
151 CoreFighter @ 10 each, so total for line = 1510
3 CoreSniper @ 48 each, so total for line = 143.99
4 CoreSentinelFrigate @ 50.53 each, so total for line = 202.1
2 AntiStarshipArachnid @ 10 each, so total for line = 20
1 CoreZenithBombardment @ 60 each, so total for line = 60
1 CoreZenithElectricBomber @ 50.53 each, so total for line = 50.53
4 CoreZenithSiegeEngine @ 60 each, so total for line = 240
3 CoreBomber @ 10 each, so total for line = 30
Grand total: 204 ships, 2971.36 strength 
Remaining reserve: 116435.03 out of 106918.95 (108.9%)


Chthonic One

Jun 23, 2013 5:27 am

reporter   ~0033004

Not sure if the above 100% is a bug, but they will be able to deploy reserves till 0%. Usually though, unless it's a homeworld they won't drop below 40%

Toranth

Jun 23, 2013 9:49 pm

reporter   ~0033005

The AI in question is a Reservist, and is deploying to a non-Core non-ST non-HW system (CSG or Fab in system, IIRC). That AI can deploy down to 90% for those systems, and did in this case. Normally it just does it in one 10% chunk, but in this case it deployed several times until it eventually dropped to 90%.
The bigger problem is how is exceeded 100% in the first place.

TechSY730

Jun 29, 2013 12:03 pm

reporter   ~0033031

Last edited: Jun 29, 2013 12:28 pm

Ah, Reservist AI, that may be why. They get a boost in max reverse size.

This would mean the >100% bug is just a bug in how it is displayed.


I guess it is computing against the "base" reserve cap, rather than the current AIs reserve cap. Really no impact to gameplay, just confusing to see. ;)

Issue History

Date Modified Username Field Change
Jun 22, 2013 8:02 pm Toranth New Issue
Jun 22, 2013 8:02 pm Toranth File Added: Bug Report - 112 percent reserves.sav
Jun 22, 2013 8:03 pm Toranth File Added: LogicLog_AIMechanic_StrategicReserve.txt
Jun 23, 2013 5:27 am Chthonic One Note Added: 0033004
Jun 23, 2013 9:49 pm Toranth Note Added: 0033005
Jun 29, 2013 12:03 pm TechSY730 Note Added: 0033031
Jun 29, 2013 12:28 pm TechSY730 Note Edited: 0033031