|Anonymous | Login||2019-05-24 14:55 UTC|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002345||VCMI||Mechanics - Adventure Map||public||2015-12-08 03:36||2016-09-14 02:59|
|Target Version||Fixed in Version||0.98f|
|Summary||0002345: Fog of War changing objects may completely cover heroes/towns|
|Description||I was investigating crashes during AI movement and find out about the problem: it's looks like at least neutral Necropolis towns may completely cover objects of player like towns and heroes when player isn't being Red.|
|Steps To Reproduce||1 - Get my "SXX_TEST_MAP_v4.h3m" map:|
2 - Start game as pink player.
|Tags||No tags attached.|
|Attached Files|| fow_bug.jpg [^] (123,062 bytes) 2015-12-08 03:36
Some details on why it's was tricky to find and reproduce:
* When all 8 tiles around AI hero covered by FoW it can't move so it's can't trigger assertion/crash within moveHeroToTile.
* Still that hero may visit object under it (e.g visit town) and that "movement" clear FoW around.
* If any of tiles around hero aren't in FoW hero can attempt to move there because pathfinder don't check visibility of initial tile.
* Movement from invisible tile cause assertion/crash.
BTW for quite some time I think that weird problem has come due to my movement code changes, but looks like it's was there for a while and my changes just make it appear.
Though all FoW-related code need massive refactoring.
|2015-12-08 03:36||SXX||New Issue|
|2015-12-08 03:36||SXX||File Added: fow_bug.jpg|
|2015-12-08 04:02||SXX||Note Added: 0006148|
|2015-12-09 07:16||SXX||Note Added: 0006154|
|2015-12-09 07:16||SXX||Status||new => resolved|
|2015-12-09 07:16||SXX||Fixed in Version||=> 0.98f|
|2015-12-09 07:16||SXX||Resolution||open => fixed|
|2015-12-09 07:16||SXX||Assigned To||=> SXX|
|2015-12-09 07:28||SXX||Relationship added||has duplicate 0002175|
|2015-12-09 07:41||SXX||Relationship added||has duplicate 0002153|
|2015-12-09 08:14||SXX||Relationship added||has duplicate 0002134|
|2015-12-09 08:15||SXX||Relationship added||has duplicate 0002274|
|2015-12-09 08:31||SXX||Relationship added||has duplicate 0002287|
|2015-12-24 13:07||SXX||Relationship added||related to 0002168|
|2015-12-24 19:48||SXX||Relationship added||has duplicate 0002108|
|2016-02-10 05:05||SXX||Relationship added||has duplicate 0002411|
|2016-09-14 02:59||SXX||Relationship added||related to 0001750|
|2016-09-14 02:59||SXX||Relationship added||related to 0002251|
|Copyright © 2000 - 2019 MantisBT Team|