fire-eggs / CivOne

An open source implementation of Sid Meier's Civilization 1 using C# and .NET.
Creative Commons Zero v1.0 Universal
21 stars 4 forks source link

Destroyed the greeks twice??? #95

Open fire-eggs opened 5 years ago

fire-eggs commented 5 years ago

image

[rseed=7595; 7 civs; earth; chinese]

fire-eggs commented 5 years ago

Need to check 'civilization destroyed' replay data

fire-eggs commented 5 years ago

Note: two babylonians image

I did note that the Babylonians got an "advanced tribe" from a hut in this game. Perhaps that is where the 2d civilization is coming from.

axx0 commented 5 years ago

Could the second civ come out if the 1st is destroyed and a similar color civ is automatically spawned (in this case instead of Greeks there should be English and Zulus instead of Bablyonians)??

fire-eggs commented 5 years ago

Sure, if SWY had implemented respawn. There is no code in CivOne for respawn, which is why this is a problem.

fire-eggs commented 5 years ago

Getting worse: image

Note: there is a TODO in Message.cs / Run() which suggests that AdvisorMessage runs twice. As the "civilization conquered" replay data is established as a side-effect of a message, this could be a contributing factor?

axx0 commented 5 years ago

Did some playtests and the leaders' screens seem to always be off when loading the game. This was never an issue when starting and finishing the game without saving/loading (you can easily test that with cheats).

ReplayData stores info on destroyed civs.

iegik commented 2 years ago
Screenshot 2021-10-24 at 02 00 45

Also, the leader will be overwritten