olety / ghostplusplus

Preserving the wc3 hostbot
http://code.google.com/p/ghostplusplus
Other
0 stars 0 forks source link

Queue Stuck #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
[BNET: USEast] attempted to queue chat command [Game [XXX : XXX : XXX :
XXX] is in the lobby and there are 0/25 other games in progress.] but there
are too many (11) packets queued, discarding

Can you add a !cq or !scq

clear queue

silently clear queue

queue system got stuck and well, only way to fix was to close the ghost bot
and start it back up

Original issue reported on code.google.com by Absolute...@gmail.com on 2 Nov 2009 at 5:14

GoogleCodeExporter commented 8 years ago
Thanks for the bug report. I believe the cause is that GHost++ does not properly
handle timer overflows which can cause problems like a "stuck queue" when the 
bot
runs for extended periods (several weeks) without restarting. As a result I do 
not
believe clearing the queue would solve the problem since future packets would 
not be
removed from the queue anyway. I believe the issue should be fixed with SVN 
revision
336 which I've just uploaded. I'm going to mark this issue as fixed but I have 
not
tested it personally.

Original comment by hogantp on 9 Nov 2009 at 4:41