2025-07-21 03:09 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002541Spring engineGeneralpublic2011-09-14 23:28
Reporterhoijui 
Assigned Tozerver 
PrioritynormalSeverityblockReproducibilityrandom
StatusresolvedResolutionfixed 
Product Version0.82.7+git 
Target Version83.0Fixed in Version0.82.7+git 
Summary0002541: Skirmish AIs saturate command/sec limit of players
Descriptionsee "Steps To Reproduce"

i guess there are multiple solutions to this. probably the best one i see right now would be:
* make the package limit per player+team, instead of per player only
Steps To Reproduce1. host a singleplayer game (BA) with many Skirmish AIs, preferably at least one of each AAI, KAIK, RAI, E323AI.
2. wait till the game advances some

after some time, you start to see:
[f=0037047] Warning: Waiting packet limit was reached for UserX [packets dropped]
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
has duplicate 0002287resolvedabma AI Packet gets dropped while playing against ai in singleplayer (0.82.3-1234-g3410513) 
+Relationships

-Notes

~0007360

abma (administrator)

Last edited: 2011-09-13 00:56

in my words: when a local ai gives to many orders (droped packets), player commands are dropped, too. (->release blocker)

to reproduce, lower Link* limits in .springrc.

~0007361

zerver (reporter)

I honestly don't know much about AI's but right now I'm working under the assumption that AI commands are issued only through NETMSG_AIXXX.

LuaUnsyncedCtrl::GiveOrderXXX seems to translate into AI commands as well, but I suppose this traffic should be on the actual player's bandwidth tab... or should we distinguish between "LuaAI" and the actual player as well?

To treat "AI gadgets" independently is out of the question I think, since they don't use NETMSG_AIXXX.

~0007372

zerver (reporter)

https://github.com/spring/spring/commit/725d9125c8ade6173ddb419ac4fc75349ce72e3e
+Notes

-Issue History
Date Modified Username Field Change
2011-07-08 11:56 hoijui New Issue
2011-07-08 11:56 hoijui Graphics Card => unknown
2011-08-25 03:05 abma Relationship added has duplicate 0002287
2011-09-13 00:48 abma Severity major => block
2011-09-13 00:51 abma Note Added: 0007360
2011-09-13 00:53 abma Note Edited: 0007360
2011-09-13 00:56 abma Note Edited: 0007360
2011-09-13 00:56 abma Note Edited: 0007360
2011-09-13 02:08 zerver Status new => assigned
2011-09-13 02:08 zerver Assigned To => zerver
2011-09-13 14:47 zerver Note Added: 0007361
2011-09-14 23:28 zerver Note Added: 0007372
2011-09-14 23:28 zerver Status assigned => resolved
2011-09-14 23:28 zerver Fixed in Version => 0.82.7+git
2011-09-14 23:28 zerver Resolution open => fixed
+Issue History