Bug 3301 - admin levels >= 100 crash !listplayers
Status: RESOLVED FIXED
Alias: None
Product: Tremulous
Classification: Unclassified
Component: Misc
Version: unspecified
Hardware: Macintosh All
: P3 normal
Assignee: Tremulous Bugs
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2007-08-08 12:53 EDT by Ben Millwood
Modified: 2007-08-09 09:54:31 EDT
0 users

See Also:



Description Ben Millwood 2007-08-08 12:53:54 EDT
[level]
level   = 0
name    = ^4Player
flags   = *

[level]
level   = 100
name    = breaktheserver
flags   = *

[admin]
name    = b^4en^7machine^1}MGR{
guid    = [my guid]
level   = 100
flags   = 

When I did !listplayers with the above setup, the server hung (Connection Interrupted, no response at the console). I suspect this is because the format for !listplayers prints it as a %-2i and for some reason this cannot handle three digit numbers. Changing this to a %-3i solves the problem but is not, I think, an adequate solution.
Comment 1 M. Kristall 2007-08-09 09:54:31 EDT
This was apparently fixed back in November in ioq3 http://svn.icculus.org/quake3/trunk/code/game/bg_lib.c?r1=506&r2=980&p1=trunk/code/game/bg_lib.c&p2=trunk/code/game/bg_lib.c

Committed that fix at revision 965.