[quake3-bugzilla] [Bug 4243] kick allbots doesn't free player slots
bugzilla-daemon at icculus.org
bugzilla-daemon at icculus.org
Tue Sep 1 15:29:45 EDT 2009
http://bugzilla.icculus.org/show_bug.cgi?id=4243
--- Comment #1 from misantropia <bnoordhuis at gmail.com> 2009-09-01 15:29:40 EDT ---
Created an attachment (id=2109)
--> (http://bugzilla.icculus.org/attachment.cgi?id=2109)
Release bot slots immediately
Confirmed, also happens in stock Q3. The cause? A timing issue.
After a kick, the player slot is marked as CS_ZOMBIE and let to linger for
sv_zombietime seconds before it is reused. This makes sense for real players
because, thanks to latency, they won't immediately stop sending packets after a
disconnect. All this doesn't apply to bots however: they're gone immediately
after a kick and the server may safely reuse their slots.
And that is precisely what this patch does. =)
--
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the quake3-bugzilla
mailing list