MantisBT - VCMI
View Issue Details
0002072VCMIMechanics - Adventure Mappublic2015-02-14 03:012022-04-12 10:47
SXX 
Warmonger 
normalminoralways
closedfixed 
0.97b 
0.98e 
0002072: After loading save of last 7 day without town you lose
It's happen even if your heroes still have movement points and it's one day before deadline.
  - Start on any map without a castle.
  - Just end the turn 6 times.
  - Now it's last day when you may capture town.
  - Save game.
  - Exit and try to load this save.
No tags attached.
related to 0002311closed Warmonger Heroes just closed when turn AI 
has duplicate 0002247closed SXX Incorrect calculation of days left to capture castle that prevents from losing game after game load 
related to 0001583closed Warmonger Player warning 'you only have x days left to capture a town' doesn't popup the first time + further tweaks for player warnings 
related to 0002462closed SXX PlayerState::daysWithoutCastle desync due to CGameHandler code 
? testy Capture Town.h3m (2,433) 2015-10-24 16:32
https://bugs.vcmi.eu/file_download.php?file_id=2371&type=bug
Issue History
2015-02-14 03:01SXXNew Issue
2015-02-22 02:45SXXSummaryAfter loading save of last day 7 town you lose => After loading save of last 7 day without town you lose
2015-10-24 15:38WarmongerRelationship addedrelated to 0002311
2015-10-24 15:58WarmongerRelationship addedrelated to 0001583
2015-10-24 16:05WarmongerStatusnew => confirmed
2015-10-24 16:05WarmongerNote Added: 0005974
2015-10-24 16:08WarmongerNote Added: 0005975
2015-10-24 16:22WarmongerNote Added: 0005977
2015-10-24 16:22WarmongerStatusconfirmed => resolved
2015-10-24 16:22WarmongerFixed in Version => 0.98e
2015-10-24 16:22WarmongerResolutionopen => fixed
2015-10-24 16:22WarmongerAssigned To => Warmonger
2015-10-24 16:32WarmongerFile Added: testy Capture Town.h3m
2015-10-24 16:53SXXNote Added: 0005983
2015-11-25 06:47SXXRelationship addedhas duplicate 0002247
2016-08-23 05:00SXXRelationship addedrelated to 0002459
2016-08-23 05:00SXXRelationship deletedrelated to 0002459
2016-08-23 05:00SXXRelationship addedrelated to 0002462
2022-04-12 10:47PovelitelStatusresolved => closed

Notes
(0005974)
Warmonger   
2015-10-24 16:05   
Confirmed, attaching test map.
(0005975)
Warmonger   
2015-10-24 16:08   
Indeed, counter is incremented every time player gets turn - even if that's still the same turn.
(0005977)
Warmonger   
2015-10-24 16:22   
Fixed in https://github.com/vcmi/vcmi/commit/eb0af0096e1c54459a1c825687cf3ddba25635f5 [^]
(0005983)
SXX   
2015-10-24 16:53   
Tested and confirm it's fixed.