|Anonymous | Login||2020-01-18 09:18 UTC|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003057||VCMI||Mechanics - Battles||public||2019-05-10 10:10||2019-05-10 10:10|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Target Version||Fixed in Version|
|Summary||0003057: Race condition with BattleAI and SetStackEffect::applyBattle|
- Run attached map.
- Using hero with harpies attack enemy hero with harpies.
- Let BattleAI take control over your army too.
- Now AI will cast Haste on both harpies.
Problem occur when SetStackEffect::applyBattle is received by client and gamestate is patched. For whatever reason both BattleAI and user UI still use old data about stack bonuses by the time Haste effect must already disappear.
So AI see on client that speed bonus still here and attempt to move Harpy further than it's actual speed allow. Server obviously don't have race condition here and it's refuse.
|Tags||No tags attached.|
|Attached Files||arena_srednia.h3m [^] (4,424 bytes) 2019-05-10 10:10|
|2019-05-10 10:10||SXX||New Issue|
|2019-05-10 10:10||SXX||File Added: arena_srednia.h3m|
|Copyright © 2000 - 2020 MantisBT Team|