When "status" returns "0 active (13 max)", then a line after split() is called trying to int() the "0 active" string and throws ValueError due to invalid literal for int().
Workaround was to replace("active","") prior to split().
Patch attached.
2008-08-10 15:29:53 UTC in SRCDS.py