Opened 19 months ago

Closed 17 months ago

Last modified 5 weeks ago

#6629 closed defect (fixed)

Fails to open single player matches after enabling RegicideGarrison for a random map

Reported by: elconde Owned by: wraitii
Priority: Release Blocker Milestone: Alpha 27
Component: Core engine Keywords:
Cc: elconde Patch:

Description (last modified by Vladislav Belov)

Enabling RegicideGarrison for a random triggers the following error after re-entering single player match:

ERROR: JavaScript error: gamesettings/GameSettings.js line 97
Infinite loop initializing attributes detected, components: ["biome", "campaignData", "ceasefire", "cheats", "circularMap", "daytime", "disableSpies", "disableTreasures", "gameSpeed", "landscape", "lastManStanding", "lockedTeams", "map", "mapExploration", "mapName", "mapPreview", "mapSize", "matchID", "nomad", "playerAI", "playerCiv", "playerColor", "playerCount", "playerName", "playerTeam", "population", "rating", "regicideGarrison", "relic", "seaLevelRise", "seeds", "startingCamera", "startingResources", "teamPlacement", "triggerDifficulty", "triggerScripts", "victoryConditions", "wonder"]
  fromInitAttributes@gamesettings/GameSettings.js:97:9
  parseSettings@gui/gamesetup/Controllers/GameSettingsController.js:191:18
  onLoad@gui/gamesetup/Controllers/GameSettingsController.js:89:10
  SetupWindow@gui/gamesetup/SetupWindow.js:61:11
  init@gui/gamesetup/gamesetup.js:47:18
  onPress@gui/pregame/MainMenuItems.js:99:13
  performButtonAction@gui/pregame/MainMenuItemHandler.js:77:9
  pressButton@gui/pregame/MainMenuItemHandler.js:63:10
ERROR: GUI page 'page_gamesetup.xml': Failed to call init() function

Refs: https://wildfiregames.com/forum/topic/95151-i-dont-know-what-to-do-can-someone-help-me-and-explain/

https://lh3.googleusercontent.com/fife/AAbDypCqTm5n7O6YJ1_kqalr5EM-uBWjmlRT8cuskRRL9Jk6bUJKi8fyQOonOJpw5ROa1SqmgXY157qWX2xlNxKDkhdRJs5v9pxA2O9foowWYfQlQ22zEHvrGM6X2Qs-PSwY4wXrAoWu8kTWmPgZ-6CzpIG06flRcEAJ6K55HxBgL2WiUfZ7TykiIzoX-1mP3Ke9inVtpvoWGOA2gY3DSP-VQ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jRuJpWRjmtVqTCQG7MOdGfB2wQBHa9_0zt4vHJIz16t_vsuUQCdgtuALMcXk95bAVuica3PQ9sJa2t1QJkGhyJ_OSCI4UGDNM6T-9o55yyasHo8HXiXN6unoxSA9XZ2g29w1h3lUybnJfyTLwczF3-OUvHH_uX8h_pyInBo9Be_fNXbwqBNZ4ysU8CSSfxyw05E420XPAbihrGv=w1366-h625

Attachments (1)

error.png (695.5 KB ) - added by elconde 19 months ago.

Download all attachments as: .zip

Change History (8)

by elconde, 19 months ago

Attachment: error.png added

comment:1 by Vladislav Belov, 19 months ago

Description: modified (diff)
Milestone: Alpha 27
Summary: no me deja crear partidas, cada vez que lo intento me salta un error, se queda cargando eternamenteFails to open single player matches after enabling RegicideGarrison for a random map

comment:2 by Vladislav Belov, 19 months ago

Description: modified (diff)

in reply to:  description comment:3 by Norse_Harold, 19 months ago

Steps to reproduce

  1. Start 0 A.D.
  2. Click Settings, Options, Game Setup.
  3. Ensure that "Persist match settings" is enabled.
  4. Click Save, Close.
  5. Open 0 A.D., click Single Player, Matches.
  6. Click Map, change Map Type to "Random", click Browse Maps, then choose "Mainland". It's probably on page 19 of the map list. After clicking on "Mainland", click Select.
  7. Click Game Type, then enable "Regicide" and "Hero Garrison".
  8. Click Start Game!
  9. Click Menu, Exit, Quit.
  10. Click Exit, Yes.
  11. Open 0 A.D. again.
  12. Click Single Player, Matches.

The symptoms in the screenshot should then occur. In this case, you can terminate 0 A.D. by pressing Alt+F4.

Workaround

  1. Ensure that 0 A.D. is shut down.
  2. Delete matchsettings.json and matchsettings.mp.json from the Game Data User Config directory.
  3. Start 0 A.D. again.
  4. Do NOT enable both of "Hero Garrison" and "Persist match settings" at the same time.

0 A.D. should work correctly again.

Also see Video instructions on how to disable "Persist match settings"

Last edited 5 weeks ago by Norse_Harold (previous) (diff)

comment:4 by Vladislav Belov, 18 months ago

Priority: Should HaveRelease Blocker

Another report: #6645

comment:5 by Stan, 17 months ago

Owner: set to wraitii

comment:6 by Stan, 17 months ago

Resolution: fixed
Status: newclosed

fixed in r27135

comment:7 by Norse_Harold, 10 months ago

Another report: #6828. It's the multiplayer gamesetup variant.

Note: See TracTickets for help on using tickets.