MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003057VCMIMechanics - Battlespublic2019-05-10 10:102022-03-27 18:38
ReporterSXX 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version1.next 
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.
TagsR1
Attached Files? file icon arena_srednia.h3m [^] (4,424 bytes) 2019-05-10 10:10

- Relationships

-  Notes
(0008209)
Povelitel (updater)
2022-03-27 18:38

Don't reproduce in current develop. Probably fixed long time ago

- 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
2022-03-22 17:53 Povelitel Tag Attached: R1
2022-03-27 18:38 Povelitel Note Added: 0008209
2022-03-27 18:38 Povelitel Status new => resolved
2022-03-27 18:38 Povelitel Fixed in Version => 1.next
2022-03-27 18:38 Povelitel Resolution open => fixed
2022-03-27 18:38 Povelitel Assigned To => Povelitel
2022-03-27 18:38 Povelitel Assigned To Povelitel =>

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2022 MantisBT Team
Hosting provided by DigitalOcean