View Issue Details

IDProjectCategoryLast Update
0016463Stars Beyond ReachBug - OtherMay 3, 2015 6:24 pm
Reporterptarth Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version0.809-0.810 
Fixed in Version0.811 (First Orangeshirts Release) 
Summary0016463: Targeting a multihex building at the limit of range can trigger an out of range message
DescriptionThere is an overlooked special case with the range calculations of multihex buildings. When you have a multihex building (e.g., seaport), that has one of its hexes in range, but not the others, if you target the "far" hex, the building is considered out of range and an error messages shows up in the log.
TagsNo tags attached.

Activities

ptarth

May 1, 2015 10:43 am

reporter  

810 boarine 2.save (625,649 bytes)

ptarth

May 1, 2015 10:44 am

reporter  

multirange.jpg (329,222 bytes)

keith.lamothe

May 2, 2015 8:44 pm

administrator   ~0040433

For 0.811:

* Extended the range checking of attacking to allow targeting a multi-tile building's sub-tile if the main tile is in range. This may increase CPU costs but probably not very much since multi-tile buildings are relatively rare.

Thanks :)

ptarth

May 3, 2015 6:24 pm

reporter   ~0040458

It occurs to me that the Military Command (multi-hex building) might also have range errors (just in the opposite way). However, I can't build one to test it.

Issue History

Date Modified Username Field Change
May 1, 2015 10:43 am ptarth New Issue
May 1, 2015 10:43 am ptarth File Added: 810 boarine 2.save
May 1, 2015 10:44 am ptarth Description Updated
May 1, 2015 10:44 am ptarth File Added: multirange.jpg
May 1, 2015 11:59 am Chris_McElligottPark Assigned To => keith.lamothe
May 1, 2015 11:59 am Chris_McElligottPark Status new => assigned
May 2, 2015 8:44 pm keith.lamothe Note Added: 0040433
May 2, 2015 8:44 pm keith.lamothe Status assigned => resolved
May 2, 2015 8:44 pm keith.lamothe Fixed in Version => 0.811 (First Orangeshirts Release)
May 2, 2015 8:44 pm keith.lamothe Resolution open => fixed
May 3, 2015 6:24 pm ptarth Note Added: 0040458