Game data error: inputqueue: workersqueue: not found
Bug #1795871 reported by
Benedikt Straub
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I get this error with a savegame I created while testing the 3rd frisian scenario:
GameLoader::load() took 28642ms
Game not loaded: Game data error: buildingdata: building 6052: productionsite (Kasern): inputqueue: workersqueue: not found
This appears immediately after the loading is complete, then the game crashes.
Related branches
lp:~widelands-dev/widelands/bug-1795871-lua-set_workers
- GunChleoc: Approve
-
Diff: 193 lines (+105/-7)3 files modifiedsrc/scripting/lua_map.cc (+47/-7)
src/scripting/lua_map.h (+2/-0)
test/maps/plain.wmf/scripting/test_inputqueues.lua (+56/-0)
Changed in widelands: | |
milestone: | none → build20-rc1 |
Changed in widelands: | |
assignee: | nobody → GunChleoc (gunchleoc) |
status: | New → In Progress |
Changed in widelands: | |
status: | In Progress → Fix Committed |
assignee: | Notabilis (notabilis27) → nobody |
To post a comment you must log in.
Some log output from a testing branch I created.
NOCOM productionsite frisians_barracks has 2 ware queue(s) :GameDataError'
NOCOM Add InputQueue for ware sword_short index 16
NOCOM Add InputQueue for ware fur_garment index 11
NOCOM productionsite frisians_barracks has 1 worker queue(s)
NOCOM Add InputQueue for worker frisians_carrier index 95
NOCOM loading worker with serial 6588 name frisians_blacksmith
NOCOM loading worker with serial 20098 terminate called after throwing an instance of 'Widelands:
what(): not found
The worker serials loaded into the barracks are utter nonsense. It's the first worker queue being loaded with this savegame.
Now the question is whether we just have a corrupt savegame or if there is an actual bug.