Game data error: unseen immovable: tribe "field_harvested" does not exist

Bug #1516214 reported by Nasenbaer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
High
Unassigned

Bug Description

I faced the problem when loading a saved game. I am pretty sure this has a similar cause than the other savegame problems we faced lately. I try to investigate.

Tags: savegame

Related branches

Revision history for this message
GunChleoc (gunchleoc) wrote :

We should try to get this branch here in first to check if it accidentally fixes it:

https://code.launchpad.net/~widelands-dev/widelands/map_compatibility/+merge/276088

Would you like doing the code review?

Revision history for this message
Nasenbaer (nasenbaer) wrote :

Hi GunChleoc,

unfortunally not.
I already found the problematic place in code - during saving Widelands simply writes other values in the savegame than it wants to read when loading the savegame. I guess the only reason this bug has not been seen before is that most players do not like unseen areas and thus try to keep their whole area in sight. It has been introduced in the one tribe merge, but maybe dates back even further.

I am currently on the bug, hope I find an easy way to fix it. :)

Revision history for this message
Nasenbaer (nasenbaer) wrote :

After all, this bug forced me to clean up the code of map_players_view_packet - should be more straight forward and better readabile now :)

Bug fixed in rev. 7622

Changed in widelands:
status: Confirmed → Fix Committed
assignee: Nasenbaer (nasenbaer) → nobody
GunChleoc (gunchleoc)
Changed in widelands:
status: Fix Committed → Fix Released
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build19-rc1.

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.