raic-2020 icon indicating copy to clipboard operation
raic-2020 copied to clipboard

Bug attacking same resource

Open wala8963 opened this issue 4 years ago • 4 comments

I don't know if this has already been reported. It seems there is sometimes a bug when multiple builderUnits attack the same ressource. When you look at the two builderUnits at the right of the pictures : On the second picture i tell both of them to attack the same resource but the bottom one stop attacking.

BEFORE : before AFTER : after

I send :

  1. Entity [id=2674, pId=2, BUILDER_UNIT, (0, 4), health=10, active=true] => EntityAction [moveAction=null, buildAction=null, attackAction=AttackAction [target=2657, autoAttack=null], repairAction=null]
  2. Entity [id=11, pId=2, BUILDER_UNIT, (1, 3), health=10, active=true] => EntityAction [moveAction=null, buildAction=null, attackAction=AttackAction [target=2657, autoAttack=null], repairAction=null]

wala8963 avatar Dec 03 '20 15:12 wala8963

I have another problem. When I repeat a game it acts as a replay (is it expected ?) My local app is called but the results are ignored. I don't have the original logs of what i send, for the bug reported above but i don't think that this part of my AI has changed since i saved the game.

wala8963 avatar Dec 03 '20 17:12 wala8963

I have another problem. When I repeat a game it acts as a replay (is it expected ?)

repeat mode is used for checking what data server sends to your strategy. All actions sent are ignored

kuviman avatar Dec 04 '20 05:12 kuviman

Seems as duplicate of https://github.com/MailRuChamps/raic-2020/issues/56 It's the orders drawing delay on one frame issue

recar avatar Dec 04 '20 07:12 recar

repeat mode is used for checking what data server sends to your strategy. All actions sent are ignored

Thanks for your reply. So it's not possible to play on the same map twice ?

wala8963 avatar Dec 04 '20 11:12 wala8963