MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003057VCMIMechanics - Battlespublic2019-05-10 10:102019-05-10 10:10
ReporterSXX 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003057: Race condition with BattleAI and SetStackEffect::applyBattle
DescriptionRepro:
 - 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.
TagsNo tags attached.
Attached Files? file icon arena_srednia.h3m [^] (4,424 bytes) 2019-05-10 10:10

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2019-05-10 10:10 SXX New Issue
2019-05-10 10:10 SXX File Added: arena_srednia.h3m

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2019 MantisBT Team
Hosting provided by DigitalOcean