MantisBT - VCMI
View Issue Details
0001052VCMIMechanics - Town structurespublic2012-08-25 12:132014-05-30 17:41
Warmonger 
Ivan 
normalblockhave not tried
closedfixed 
PCWindows 7SP1
 
0.90.9 
0001052: Crash at new week after r2840.
After changes in parser, game crashes on new week. Debugger point at
const std::string & CBuilding::Name() const
function
Check attached autosave, pass turn.
No tags attached.
rar r2841crash.rar (260,806) 2012-08-25 12:13
https://bugs.vcmi.eu/file_download.php?file_id=1042&type=bug
Issue History
2012-08-25 12:13WarmongerNew Issue
2012-08-25 12:13WarmongerFile Added: r2841crash.rar
2012-08-25 13:22IvanNote Added: 0002921
2012-08-25 13:32IvanNote Added: 0002922
2012-08-25 13:32IvanAssigned To => Ivan
2012-08-25 13:32IvanStatusnew => feedback
2012-08-25 14:54WarmongerNote Added: 0002923
2012-08-25 14:54WarmongerStatusfeedback => assigned
2012-08-25 14:54WarmongerStatusassigned => resolved
2012-08-25 14:54WarmongerFixed in Version => 0.9
2012-08-25 14:54WarmongerResolutionopen => fixed
2014-05-30 17:41beegeeStatusresolved => closed

Notes
(0002921)
Ivan   
2012-08-25 13:22   
With your save there is also crash on opening town. In Building::Name() as well.

Looks like building with ID = 26 (Grail) is missing. All other buildings are OK as far as I can see.

Found it. Will upload fix soon.
(0002922)
Ivan   
2012-08-25 13:32   
Done. Rev 2842.
Building are part of save game so this save is still broken.
(0002923)
Warmonger   
2012-08-25 14:54   
Ok, works now.