Jump to content

Impossible to change number of players in Atlas?


sanderd17
 Share

Recommended Posts

In Atlas, you can't change the number of players after you've set it.

Steps to reproduce:

Create a new map, and set the number of players to 2.

Give both players a CC

Start a simulation game

Reset the game

Add a third player, you get the following error:


WARNING: JavaScript warning: simulation/components/TechnologyManager.js line 245
reference to undefined property "structures/athen_civil_centre"
WARNING: JavaScript warning: simulation/components/TechnologyManager.js line 258
reference to undefined property "Structure"
WARNING: JavaScript warning: simulation/components/TechnologyManager.js line 262
reference to undefined property this.typeCountsByClass[classes[i]]
ERROR: Script message handler OnGlobalOwnershipChanged failed
ERROR: Script message handler OnGlobalOwnershipChanged failed
ERROR: Script message handler OnGlobalOwnershipChanged failed
ERROR: Script message handler OnPlayerDefeated failed
ERROR: Error in timer on entity 1, IID 48, function ProgressTimeout: TypeError: this.typeCountsByClass[classes[i]] is undefined
([object Object])@simulation/components/TechnologyManager.js:262
([object Object])@simulation/components/Player.js:537
()@simulation/components/EndGameManager.js:86
([object Object],0)@simulation/components/EndGameManager.js:58
([object Object])@simulation/components/Timer.js:93

If you now start a simulation game again, Player 1 gets a negative population of max population, and is defeated immediately. Until now, I haven't found a way to add a new player.

Edited by sanderd17
Link to comment
Share on other sites

It would probably be nice to add somewhere early on (maybe even in the title) that this is in Atlas and not in-game :)

It definitely sounds like something that should be solved though, but for now I suggest you add the number of players you want before running the simulation the first time :)

Link to comment
Share on other sites

It would probably be nice to add somewhere early on (maybe even in the title) that this is in Atlas and not in-game :)

Right, I added that.

It definitely sounds like something that should be solved though, but for now I suggest you add the number of players you want before running the simulation the first time :)

It's also the case when you load an existing map without playing the simulation a first time.

Alternative steps to reproduce:

  • open atlas
  • load a scenario map
  • change the number of players (add one)
  • run a simulation

It gives about the same problems when running, although no error when changing the number of players.

Edited by sanderd17
Link to comment
Share on other sites

Oh, ok. Well, presumably it's mostly been tested just to set up the number of players as the map is first created, so hopefully it's something that's easy to fix and just hasn't been caught as no one has tested it earlier :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...