AI Bandwidth Limit
Posted: 03 Dec 2015, 01:13
Yet another stumbling block on the road to making a great AI, I've recently been running into this error:
which I know to be coming from the AI I'm working on. What's odd is, the AI I was testing against uses pathfinding much more extensively (pushing out about 4 waypoints per unit constantly) and that AI did not have the same problem.
My springsettings.cfg already includes:
so I assume either I was misinformed about something, or more likely something in the AI is using up pathological amounts of bandwidth.
So I guess the question is what kind of things use bandwidth and what kinds of things don't? Ex if I call unit.getHealth() does that use bandwidth? (In java, although I doubt it's particularly language dependent) I assume that giving orders does, but I've already done quite a bit to minimize redundant order spam.
Code: Select all
[f=0049805] Warning: Bandwidth limit was reached for aeonios AI #1 [packets delayed]
My springsettings.cfg already includes:
Code: Select all
LinkBandwidth = 0
LinkIncomingMaxWaitingPackets = 0
LinkIncomingPeakBandwidth = 0
So I guess the question is what kind of things use bandwidth and what kinds of things don't? Ex if I call unit.getHealth() does that use bandwidth? (In java, although I doubt it's particularly language dependent) I assume that giving orders does, but I've already done quite a bit to minimize redundant order spam.