Opened 3 years ago

Last modified 2 years ago

#6007 new defect

Guarding entities can cause enormous lag.

Reported by: Freagarach Owned by:
Priority: Must Have Milestone: Backlog
Component: Simulation Keywords:
Cc: Patch:

Description

When e.g. attacking a CC with ~50 archers (outranging the CC) in sync and having the CC guarded by the four starting female citizens (i.e. repairing). The game lags every time the arrows land. Probably due to 50 arrows landing at the same turn and a lot of messages being sent (i.e. 200). One can also see that when distributing the attacks the female citizens won't be able to repair at all.

Attachments (1)

commands.txt (21.2 KB ) - added by Freagarach 3 years ago.
r24876

Download all attachments as: .zip

Change History (4)

by Freagarach, 3 years ago

Attachment: commands.txt added

comment:1 by Freagarach, 3 years ago

Can be fixed by e.g. comparing the current time to when the previous message was sent and checking for a certain threshold. (When a new entity is added to the guard list, the timer should obviously be reset.)

comment:2 by wraitii, 3 years ago

Milestone: Alpha 25Alpha 26

comment:3 by Freagarach, 2 years ago

Milestone: Alpha 26Backlog
Priority: Should HaveMust Have
Type: enhancementdefect

#6125 was a duplicate.

Note: See TracTickets for help on using tickets.