Share

SRCDS.py

Code

Programming Languages: Python

License: GNU Library or Lesser General Public License (LGPL)

Repositories

browse code, statistics, last commit on 2008-06-25 svn co https://srcdspy.svn.sourceforge.net/svnroot/srcdspy srcdspy

browse code, statistics cvs -d:pserver:anonymous@srcdspy.cvs.sourceforge.net:/cvsroot/srcdspy login

cvs -z3 -d:pserver:anonymous@srcdspy.cvs.sourceforge.net:/cvsroot/srcdspy co -P modulename

Show:

What's happening?

  • Comment: Doesn't receive first packet of rules

    Can you provide any other information? What lines did you comment out?.

    2009-09-12 18:11:17 UTC by drgamez

  • Fixed some stuff

    I noticed a lot of commands that called self.status() messing up. status() returns 2 values, but you were only unpacking one. 268: d = self.status() 275: d = self.status() 282: d = self.status() These didn't work until I changed them to d,players = self.status() Hope this helps, hate to see this module fall to the wayside!

    2009-09-10 02:28:53 UTC by drgamez

  • Doesn't receive first packet of rules

    I try to get rules from server, but i get "Rules Query Error". When i commented some lines, i got result, but it seems that it doesn't receive first packet of rules. Server where this was tested is a TF2 server.

    2009-05-05 15:35:07 UTC by janluu

  • L4D Compatibility

    I'd like to see this update for use in a L4D server. I'm fiddling with it now but I'm having problems getting the player dictionary sent from the server.status() command.

    2009-04-23 04:36:20 UTC by drgamez

  • status fix for tfc/hlds

    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 by jraven

  • rcon_command() can't handle large ammount of data

    When I try to use srcds.py to list all the cvars or list the bans on my server, (around 163). I get an index out of range error. Probably easiest to see by listing all your cvars >>> sf.rcon_command("cvarlist") Traceback (most recent call last): File "", line 1, in sf.rcon_command("listid") File "C:\Documents and Settings\Adam\Desktop\SRCDS.py", line 226, in...

    2008-06-28 23:20:08 UTC by asmith1

  • SRCDS.py

    dhyams committed revision 11 to the SRCDS.py SVN repository, changing 2 files.

    2008-06-25 17:03:50 UTC by dhyams

  • SRCDS.py

    dhyams committed revision 10 to the SRCDS.py SVN repository, changing 2 files.

    2008-06-25 16:50:37 UTC by dhyams

  • SRCDS.py

    dhyams committed revision 9 to the SRCDS.py SVN repository, changing 1 files.

    2008-06-25 16:32:08 UTC by dhyams

  • SRCDS.py

    dhyams committed revision 8 to the SRCDS.py SVN repository, changing 2 files.

    2008-06-25 16:30:49 UTC by dhyams

Our Numbers