Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1398 closed defect (fixed)

Atlas doesn't set the civs properly by default

Reported by: FeXoR Owned by: ben
Priority: Must Have Milestone: Alpha 10
Component: Atlas editor Keywords: atlas, civs, default settings
Cc: Patch:

Description

To reproduce:

  • Edit a rms script to raise an error (remove a closing bracket for example)
  • Open Atlas (in this order because rms scripts are not reloaded when generated previously, another "bug" btw)
  • Load that "wrong" map to enforce an error

-> The player settings will now be reset (which is bad on it's own)

  • Generate a working map (without changing the player settings)

-> All players civs will be undefined (and fall back to Athenians ATM) though the GUI says something else

This is not an rmgen issue but an Atlas issue so I don't know how to fix that.

Change History (6)

comment:1 by FeXoR, 12 years ago

Keywords: atlas civs default settings added
Summary: Atlas doesn't set the civs properly after en errorAtlas doesn't set the civs properly after an error

comment:2 by FeXoR, 12 years ago

It also happens when just starting Atlas and then generate a random map without changing the player settings. Everything works fine after changing one civ though.

May have something to do with: http://trac.wildfiregames.com/changeset/11809

Last edited 12 years ago by FeXoR (previous) (diff)

comment:3 by FeXoR, 12 years ago

Summary: Atlas doesn't set the civs properly after an errorAtlas doesn't set the civs properly by default

comment:4 by ben, 12 years ago

Owner: set to ben
Resolution: fixed
Status: newclosed

In 11834:

Fixes Atlas bug where default player data wasn't sent to engine after being displayed in the UI (introduced by r11809). Fixes #1398.

comment:5 by ben, 12 years ago

In 11835:

Fixes Atlas losing map settings if random map generation failed. Refs #1398.

comment:6 by FeXoR, 12 years ago

As far as I can see it is solved.

Note: See TracTickets for help on using tickets.