MantisBT - VCMI
View Issue Details
0001624VCMIGUI - Adventure Mappublic2013-12-20 14:012014-06-02 08:58
beegee 
Ivan 
normalcrashalways
closedfixed 
 
0.94b 
0001624: Second scenario of campaign Long Live the Queen can't be started
The second scenario of campaign Long Live the Queen can't be started. First, it loads the map and inits the gamestate normally, but then it crashes when drawing the adventure map.
Stacktrace:
0 PseudoV<TerrainTile2>::operator[] mapHandler.h 56 0xd72884
1 CMapHandler::terrainRect mapHandler.cpp 685 0xd6f78b
2 CTerrainRect::show CAdvmapInterface.cpp 260 0xc81d35
3 CAdvMapInt::show CAdvmapInterface.cpp 750 0xc874e8
4 CAdvMapInt::showAll CAdvmapInterface.cpp 678 0xc8705b
5 CGuiHandler::totalRedraw CGuiHandler.cpp 150 0x9b0d1f
6 CGuiHandler::pushInt CGuiHandler.cpp 115 0x9b0ff7
7 CPlayerInterface::playerStartsTurn CPlayerInterface.cpp 2563 0xb7d3a0
8 non-virtual thunk to CPlayerInterface::playerStartsTurn(PlayerColor) CPlayerInterface.cpp 2581 0xb7d53c
9 YourTurn::applyCl NetPacksClient.cpp 799 0xd8c817
10 CApplyOnCL<YourTurn>::applyOnClAfter Client.cpp 73 0xb50db9
11 CClient::handlePack Client.cpp 516 0xb23a93
12 CClient::run Client.cpp 150 0xb23896
13 boost::_mfi::mf0<void, CClient>::operator() mem_fn_template.hpp 49 0xbc8a92
14 boost::_bi::list1<boost::_bi::value<CClient*> >::operator()<boost::_mfi::mf0<void, CClient>, boost::_bi::list0> bind.hpp 253 0xbc89f5
15 boost::_bi::bind_t<void, boost::_mfi::mf0<void, CClient>, boost::_bi::list1<boost::_bi::value<CClient*> > >::operator() bind_template.hpp 20 0xbc898f
16 boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void, CClient>, boost::_bi::list1<boost::_bi::value<CClient*> > > >::run thread.hpp 117 0xbc893c
17 thread_proxy /lib64/libboost_thread-mt.so.1.53.0 0x342840c0da
18 start_thread /lib64/libpthread.so.0 0x340a007c53
19 clone /lib64/libc.so.6 0x34098f5dbd
... <Mehr>
No tags attached.
Issue History
2013-12-20 14:01beegeeNew Issue
2013-12-20 14:42IvanAssigned To => Ivan
2013-12-20 14:42IvanStatusnew => assigned
2013-12-20 14:42IvanNote Added: 0004186
2013-12-20 15:02IvanNote Added: 0004187
2013-12-20 15:02IvanStatusassigned => resolved
2013-12-20 15:02IvanFixed in Version => 0.94b
2013-12-20 15:02IvanResolutionopen => fixed
2013-12-20 15:03IvanNote Edited: 0004187bug_revision_view_page.php?bugnote_id=4187#r2468
2014-06-01 19:46KantorNote Added: 0004689
2014-06-02 08:58KantorStatusresolved => closed

Notes
(0004186)
Ivan   
2013-12-20 14:42   
Adventure map is centered outside of allowed borders - map is 36x36 tiles in size while center of terrain rect is at 51x46.

Probably garbage left from previous scenario.
(0004187)
Ivan   
2013-12-20 15:02   
(edited on: 2013-12-20 15:03)
Got it, should be fixed now, rev 3664

And yay - we've got working campaigns :)

(0004689)
Kantor   
2014-06-01 19:46   
This one may be closed.