Error when loading savegame saved in replay

Bug #1206563 reported by wl-zocker on 2013-07-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
High
Unassigned

Bug Description

Steps to reproduce:
- Two computer players play, I am the spectator.
- Watch a replay of the game.
- Save during the replay.
- Try to load the replay (in single or multiplayer mode).

After a short loading time, the game crashes with a error message. The stderr is empty, the last few lines of the stdout are:
Game: Reading Player Economies Info ... done
Game: Reading Command Queue Data ... Fata exception: Kommandoschlange: [c:/data/bzr/widelands/trunk/src/logic/queue_cmd_factory.cc:103] Unknown Queue_Cmd_Id in file: 26
Object_Manager: ouch! remaining objects
lastserial: 2444

Spieldatenfehler
Kommandoschlange: [c:/data/bzr/widelands/trunk/src/logic/queue_cmd_factory.cc:103] Unknown Queue_Cmd_Id in file: 26

I attach the savegame.

Related branches

wl-zocker (wl-zocker) wrote :
cghislai (charlyghislain) wrote :

Cmd Id 26 is QUEUE_CMD_MILITARYSITESETSOLDIERPREFERENCE, which is indeed not handled in Queue_Cmd_Factory::create_correct_queue_command

Changed in widelands:
status: New → Confirmed
milestone: none → build18-rc1
importance: Undecided → High
tags: added: crash replay savegame
Changed in widelands:
status: Confirmed → In Progress
SirVer (sirver) on 2013-07-31
Changed in widelands:
status: In Progress → Fix Committed
SirVer (sirver) wrote :

Released in build-18 rc1.

Changed in widelands:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments