Announcement

Collapse
No announcement yet.

SRCDS.py update

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • SRCDS.py update

    I was going to write a nice post about my changes/updates to SRCDS.py, but I think posting my e-mail and a temporary link to my new code should suffice.

    http://sushi.st.usm.edu/~cmunn/SRCDS.py

    Originally posted by A recent e-mail to Sean Steegness
    Sean,
    Quite recently SRCDS was broken. (Thanks, Steam!) I believe this was
    because of their update to the A2S_INFO request to require "Source
    Engine Query\x00" in addition to 'T', and their change to the rules
    and players query, to require a challenge number in the query. While
    debugging the code, I spent some extra time to give it a partial
    rewrite and update.

    * Queries updated to use new request formats, and challenge numbers.
    * SRCDS._any_response(QUERY) now supports multi-packet responses.
    * SRCDS.__init__() now supports hostnames as well as ip.
    * SRCDS now fully supports HL1 servers (with automatic discovery of hl
    version), with HLDS subclassed from SRCDS for backwards compatibility
    HLDS.

    * RCON support has been removed temporarily, although I hope to finish
    rewritting that by the end of the day tomorrow.

    I am submitting this to you because I and the rest of TG really appreciate
    the work you've done, and I'm sure I'm not the only person who's had a
    headache thanks to Steam breaking your previous library, and your
    sourceforge project is the best place for an update to appear. Thanks for
    all your work, and expect a full 2.0 e-mailed tonight or tomorrow.

    Attached: SRCDS.py version 2.0b

    -Christopher Munn
    (Girlscoutcookie)
    (|TG| Jihad Joe)

  • #2
    Re: SRCDS.py update

    Many thanks to gsc as he helps Poker in his efforts to maintain and improve the page_admin solution.
    Steam Community? Add me. | Free Remote, Encrypted Backup

    Darkilla: In short, NS is pretty much really fast chess. With guns. Apophis: I haven't seen anyone say that SM's are better than non-SMs. Nordbomber: This is THE first server I've seen where either side can comeback from out of seemingly nowhere with the right teamwork. en4rcment: I have NEVER experienced the type of gameplay that I have found here. Nightly I am amazed at the personalities and gaming talent. Zephyr: Apophis is clearly a highly sophisticated self-aware AI construct that runs on a highly modified toaster oven in Wyzcrak's basement.

    Comment


    • #3
      Re: SRCDS.py update

      16hrs, 1 Dr. Pepper, 2 Mt. Dews, 5 tacos, and waaaay too many captured packets later: It is ready, SRCDS.py v2.0

      It's posted at the same URL as the previous post.

      Originally posted by Updated Change Log
      * Queries updated to use new request formats, and challenge numbers.
      * SRCDS._any_response(QUERY) now supports multi-packet responses.
      * SRCDS.__init__() now supports hostnames as well as ip.
      * SRCDS.__init__() also supports timeout=secs argument, to specify upd/tcp socket timeouts.
      * SRCDS now fully supports HL1 servers (with automatic discovery of hl
      version), with HLDS subclassed from SRCDS for backwards compatibility
      HLDS.
      * No longer attempts tcp connection unless required for HL2 RCON
      * RCON support almost completely rewritten:
      * More accurate RCON password checking for Source
      * Fixed multi-packet TCP recv bug from 1.01
      * HL1 RCON support added (with automatic discovery of hl version)
      * SRCDS.status() method rewritten without StringIO module
      * Better Exception raising
      * Some other minor bugfixes

      Comment


      • #4
        Re: SRCDS.py update

        Damn son. Nice work.

        I'll get this up on SourceForge today (hopefully).
        [volun2]
        NS Game Officer. TF2 Admin. BF2 Admin / Scripter. PM with issues.
        Tempus: Pokerface is nailing it right on the head. Everyone who is arguing against him is simply arguing against reality.
        <anmuzi> it is not permitted to have privacy or anonymity
        <LazyEye> yeah when I play on TG the server digs though my trash

        Arm yourself with knowledge: TG NS TF2 BF2

        Comment


        • #5
          Re: SRCDS.py update

          /me totally confused by the thread.
          BFCL TF2 league admin

          Comment


          • #6
            Re: SRCDS.py update

            Originally posted by Root
            /me totally confused by the thread.
            SRCDS.py is a Python library providing access to Source (Half-Life2) servers. It requires Python 2.3 or above and an internet connection to run. It includes support for common server queries and RCON commands, as well as open methods for uncommon ones.
            http://sourceforge.net/projects/srcdspy/
            Steam Community: | |

            Comment


            • #7
              Re: SRCDS.py update

              What's funny is that GSC didn't know that I was the one who wrote SRCDS.py in the first place. :)
              [volun2]
              NS Game Officer. TF2 Admin. BF2 Admin / Scripter. PM with issues.
              Tempus: Pokerface is nailing it right on the head. Everyone who is arguing against him is simply arguing against reality.
              <anmuzi> it is not permitted to have privacy or anonymity
              <LazyEye> yeah when I play on TG the server digs though my trash

              Arm yourself with knowledge: TG NS TF2 BF2

              Comment


              • #8
                Re: SRCDS.py update

                Originally posted by Pokerface
                What's funny is that GSC didn't know that I was the one who wrote SRCDS.py in the first place. :)
                Tis a small Internet.:madsmile:
                Steam Community: | |

                Comment

                Connect

                Collapse

                TeamSpeak 3 Server

                Collapse

                Advertisement

                Collapse

                Twitter Feed

                Collapse

                Working...
                X