Player interaction with roads and flags during replays will crash the game

Bug #647583 reported by Hans Joachim Desserud
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Medium
Unassigned

Bug Description

Steps to reproduce:
1. Start a replay from the main menu.
2. Click on a road.
3. Select "Destroy road".

Expected result: I gather this should probably not be possible during replays.
Actual result the game will crash, printing this errormessage:
Game: Writing Interactive Player Data ... done
terminate called after throwing an instance of '_wexception'
  what(): [/home/username/widelands/src/wlapplication.cc:2127] Trying to send a player command during replay
Aborted

Another way is to click on a flag, select Configure economy and click on any of the buttons in the "configure economy"-window.

Widelands bzr rev 5539 on Ubuntu 10.04

Tags: crash replay
Revision history for this message
Timowi (timo-wingender) wrote :

The second part, clicking the economy options, is already fixed. But it is still possible to destroy roads. This is true for replays and if a Spectator is host.

The destroy road button must be disabled for spectator game controller.

Changed in widelands:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Nicolai Hähnle (nha) wrote :

Fixed in r5886.

Changed in widelands:
status: Confirmed → Fix Committed
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Nice. :) Added it to the milestone, as it was fixed before build16.

Changed in widelands:
milestone: none → build16-rc1
Revision history for this message
SirVer (sirver) wrote :

Released in build16-rc1

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.