View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0013485 | AI War 1 / Classic | Bug - Gameplay | Mar 27, 2014 4:02 pm | Mar 27, 2014 4:59 pm | |
Reporter | ussdefiant | Assigned To | keith.lamothe | ||
Status | resolved | Resolution | fixed | ||
Product Version | 7.015 | ||||
Summary | 0013485: weird ally enclave behaviour | ||||
Description | okay, so i'm attacking an AI planet, with the two Enclave Can Attack behaviours enabled, and they seem to not want to do anything at all. Looking at their log file produces some rather...interesting numbers, like so: 3/27/2014 1:38:19 PM (7.015) ----------------------------------- Doing Fleet Logic regular check; Game Time: 2:03:49 Fleet power check: totalExistingFleetStrengthNotOnTarget:0 totalExistingFleetStrengthOnTarget:1343034 aiStrengthMustBeThisHighToCountAsBlockingPlanet:167879 aiStrengthMustBeThisLowToBeAttackable:1343034 while the planet i'm concerned with here is showing as this: Rejecting excessive enemy-strength planet Ashbarkrib, math breakdown: planet.AIMilitaryStrengthForPurposesOfHumanFriendlyMinorFactionSim:5205.44 aiStrengthMustBeThisHighToCountAsBlockingPlanet:40.99 ( planet.HumanMilitaryStrengthSim / 2 ):1884 aiStrengthMustBeThisLowToBeAttackable:327.89 Two major issues i'm seeing are this: 1)The Fleet Power Check is throwing some rather excessive numbers for Strength about, i'm not sure if 3 Enclaves + contents actually have a million strength. 2)aiStrengthMustBeThisLowToBeAttackable seems really low for the planet i'm attacking, given that my STR is something like 2k there. Its the same value as it is for the other AI planets i'm not attacking. A save is attached if you wish to verify that Enclave logic is working properly | ||||
Tags | No tags attached. | ||||
Internal Weight | New | ||||
|
|
|
Thanks for the report. The bug there is actually that the first set of numbers was outputting the raw value of those variables, which are actually 4096 times the "real" value (to allow for value after the decimal point without using floating-point math, since that would lead to desyncs in MP). I checked one of the numbers and it's exactly 4096 times the corresponding number in the other part of your report. I've put in fixes on the logging code for that function to get it to display those numbers properly. As for the must-be-this-low-to-be-attackable, I think that means the net strength (so AI stuff minus your stuff), though I could be wrong. In this case it looks like the AI has your stuff out-strengthed by more than 2 to 1, and the enclaves could only make up maybe a tenth of the difference, so they don't want none of that ;) |
Date Modified | Username | Field | Change |
---|---|---|---|
Mar 27, 2014 4:02 pm | ussdefiant | New Issue | |
Mar 27, 2014 4:02 pm | ussdefiant | File Added: Enclaves.sav | |
Mar 27, 2014 4:59 pm | keith.lamothe | Internal Weight | => New |
Mar 27, 2014 4:59 pm | keith.lamothe | Note Added: 0035348 | |
Mar 27, 2014 4:59 pm | keith.lamothe | Status | new => resolved |
Mar 27, 2014 4:59 pm | keith.lamothe | Resolution | open => fixed |
Mar 27, 2014 4:59 pm | keith.lamothe | Assigned To | => keith.lamothe |