MantisBT - VCMI
View Issue Details
0000762VCMIMechanics - Otherpublic2011-07-01 15:072014-05-30 17:40
Warmonger 
Ivan 
normalmajoralways
closedfixed 
 
0.860.86 
0000762: Crash at opening map with AI
The log:

Reading gamestate: 373
    Unpacking and handling defs: 31
    Preparing FoW, roads, rivers,borders: 60
    Making object rects: 17
Initing maphandler: 112
Establishing connection...
Found endpoints:
    0: 127.0.0.1:3030
Trying connection to 127.0.0.1:3030 (0)
Established connection with VCMI 0.85b (server)
Server opened savegame properly.
Sent info to server: 1126
Cannot open dynamic library (./AI/GeniusAI.dll.dll). Throwing...
The map & save in the attachment.
Actually I was trying to reproduce 0000761, but these do not seem related according to log.
No tags attached.
has duplicate 0000770closed Ivan loading a saved game failes 
rar Bug762.rar (85,006) 2011-07-01 15:07
https://bugs.vcmi.eu/file_download.php?file_id=744&type=bug
Issue History
2011-07-01 15:07WarmongerNew Issue
2011-07-01 15:07WarmongerFile Added: Bug762.rar
2011-07-01 16:49IvanNote Added: 0001826
2011-07-03 00:59TowNote Added: 0001831
2011-07-21 14:10WarmongerNote Added: 0001855
2011-07-22 23:24IvanRelationship addedhas duplicate 0000770
2011-07-22 23:37IvanNote Added: 0001860
2011-07-22 23:37IvanStatusnew => resolved
2011-07-22 23:37IvanFixed in Version => 0.89
2011-07-22 23:37IvanResolutionopen => fixed
2011-07-22 23:37IvanAssigned To => Ivan
2014-05-30 17:40beegeeStatusresolved => closed

Notes
(0001826)
Ivan   
2011-07-01 16:49   
>> GeniusAI.dll.dll
Can't find where this second extension comes from.
In CGameInterface.cpp, line 66:
#ifdef _WIN32
std::string getAIFileName(std::string input)
{
    return input + '.' + LIB_EXT;
}
#else
Replacing this with simple "return input" should fix it but I think that source of the problem is somewhere else.
(0001831)
Tow   
2011-07-03 00:59   
Is this still an issue? Trunk (as of r2226) works fine for me.
(0001855)
Warmonger   
2011-07-21 14:10   
Well, it is. I added some quick conditional check for this one, but further investigation is needed.
(0001860)
Ivan   
2011-07-22 23:37   
Found it. Should be fixed in rev 2265