Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#963 closed defect (fixed)

AI bot scripts - civic center trainingQueue

Reported by: lexa Owned by:
Priority: Nice to Have Milestone: Alpha 8
Component: UI & Simulation Keywords:
Cc: Patch:

Description

Between the alpha 7 and the svn versions, issues appeared with my AI bot, but it is not visible when you are a human.

Test case :

  • The game starts
  • The civic center trainingQueue starts empty, and make it build a woman
  • The trainingQueue has 1 entity and it builds it correctly
  • At the end, the entity is released but the trainingQueue still has 1 element

I have traced the element 0 in the queue and it has a progress property which is always 0 during the training of the unit, and it goes straight to a number close to 1 when the unit is released.

Attachments (1)

training_queue.diff (1.2 KB ) - added by fcxSanya 13 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by historic_bruno, 13 years ago

Priority: Release BlockerNice to Have

Please don't set a ticket to release blocker, that's only for very serious issues and at the team's discretion (if in doubt, just ask :)).

comment:2 by lexa, 13 years ago

Ok sorry for the "release blocker" priority

But nice to have is a bit extreme don't you think?

This prevents any bot from building a correcta mount of units I think...

by fcxSanya, 13 years ago

Attachment: training_queue.diff added

comment:3 by fcxSanya, 13 years ago

Attached patch should solve problem.

comment:4 by fcxSanya, 13 years ago

Resolution: fixed
Status: newclosed

(In [10302]) In TrainingQueue changed place of PostMessage in case when all entities of current batch was spawned. Fixes #963.

comment:5 by lexa, 13 years ago

Great, it works Thank you

Note: See TracTickets for help on using tickets.