[PATCH] Add some player statistics to the basic simulation state
sharedAI.playersData[playerid].statistics used to have an array of useful information:
buildingsConstructed
buildingsLost
buildingsLostValue
civCentresBuilt
enemyBuildingsDestroyed
enemyBuildingsDestroyedValue
enemyCivCentresDestroyed
enemyUnitsKilled
enemyUnitsKilledValue
percentMapExplored
resourcesBought
resourcesGathered
resourcesSold
resourcesUsed
tradeIncome
treasuresCollected
tributesReceived
tributesSent
unitsLost
unitsLostValue
unitsTrained
Please make this data available again.
Change History
(8)
Component: |
AI → UI & Simulation
|
Keywords: |
review patch added
|
Summary: |
Regression: Player statistics missing in bot API (build 16214) → [PATCH] Add some player statistics to the basic simulation state
|
Owner: |
set to Itms
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Cc: |
agentx.cgn@… removed
|
Keywords: |
review patch removed
|
This was changed because some data in this array is expensive to compute (not much, but still).
All this data is available at the end of the game, do you need it before? If yes, in which situation?
Note: If you want to access it directly from the simulation, you can call
GuiInterface.GetExtendedSimulationState()
.