MantisBT - VCMI
View Issue Details
0000900VCMIMechanics - Objectspublic2012-03-04 19:532012-09-29 21:51
Zamolxis 
Ivan 
normalminoralways
closedfixed 
0.88 
0.89 
0000900: Wrong L5 Conflux Dwelling created (Conflux i/o Altar) + potentially placement issue
VCMI created Earth Elemental Conflux i/o Altar of Earth for a Random L5 Dwelling. As the conflux occupies 3 tiles i/o 2, this also made the dwelling unaccessible.

This was on the Deluge map. I edited however the original map and attached the result below, so you can easily reproduce at game start.

About accessing the location, it would have been still possible if VCMI would have placed it 1 tile more to the right (Map Editor allows the right tile of the Conflux be placed over the Dead Vegetation there). But this is just a side detail, for which I'm not sure there can be an easy solution (I'm thinking of an algorithm at map generation according to which, if the generated object has more tiles than the Random one from map editor, conditions are put in place so that the least amount of accessible tiles are occupied by it... but that may require a pretty complicated analysis/code, which may anyway lead to new bugs if put in place).

Checked and valid for all L2 to L5 Random Dwellings if a Conflux one (including the Random Dwelling of random level).
No tags attached.
? 2012-03-04_DelugeL5ElemDwellingTest.h3m (8,207) 2012-03-04 19:53
https://bugs.vcmi.eu/file_download.php?file_id=866&type=bug
jpg 2012-03-04_VCMIL5ElemDwelling.jpg (19,231) 2012-03-04 19:55
https://bugs.vcmi.eu/file_download.php?file_id=867&type=bug
jpg

jpg 2012-03-04_H3L5ElemDwelling.jpg (25,760) 2012-03-04 19:56
https://bugs.vcmi.eu/file_download.php?file_id=869&type=bug
jpg

jpg 2012-03-04_MapL5ElemDwelling.jpg (25,206) 2012-03-04 19:56
https://bugs.vcmi.eu/file_download.php?file_id=870&type=bug
jpg
Issue History
2012-03-04 19:53ZamolxisNew Issue
2012-03-04 19:53ZamolxisStatusnew => assigned
2012-03-04 19:53ZamolxisAssigned To => Warmonger
2012-03-04 19:53ZamolxisFile Added: 2012-03-04_DelugeL5ElemDwellingTest.h3m
2012-03-04 19:55ZamolxisFile Added: 2012-03-04_VCMIL5ElemDwelling.jpg
2012-03-04 19:55ZamolxisFile Added: 2012-03-04_MapL5ElemDwelling.jpg
2012-03-04 19:55ZamolxisFile Deleted: 2012-03-04_MapL5ElemDwelling.jpg
2012-03-04 19:56ZamolxisFile Added: 2012-03-04_H3L5ElemDwelling.jpg
2012-03-04 19:56ZamolxisFile Added: 2012-03-04_MapL5ElemDwelling.jpg
2012-03-04 20:29ZamolxisDescription Updatedbug_revision_view_page.php?rev_id=1523#r1523
2012-03-04 21:41ZamolxisReproducibilityhave not tried => always
2012-05-11 19:06IvanNote Added: 0002418
2012-05-11 19:06IvanStatusassigned => resolved
2012-05-11 19:06IvanFixed in Version => 0.89
2012-05-11 19:06IvanResolutionopen => fixed
2012-05-11 19:06IvanAssigned ToWarmonger => Ivan
2012-09-29 21:51ZamolxisNote Added: 0003123
2012-09-29 21:51ZamolxisStatusresolved => closed

Notes
(0002418)
Ivan   
2012-05-11 19:06   
fixed in rev 2674
(0003123)
Zamolxis   
2012-09-29 21:51   
Checked in 0.89 and confirmed as fixed.