[bfprog] Client rcon
Forrest Thiessen
thiessen at cyberscapearena.com
Sun Jul 10 19:56:21 PDT 2005
Forrest Thiessen wrote:
>ScratchMonkey wrote:
>
>
>
>>Can the client use any Python to implement its own rcon? It would be
>>nice if one could leave the client running when consulting an external
>>browser, and have the browser send the join command via the rcon port.
>>I was just looking at the online ASE manual
>>(<http://us.games2.yimg.com/download.games.yahoo.com/games/ase/manual/aseusr25.pdf>)
>>and section 2.5 shows that it can communicate with other programs via
>>DDE, which suggests that one might be able to inject the join command
>>into a running client if it's got the right listening code.
>>
>>
>>
>Interesting thought; I believe the Battlefield 2 Server/admin/default.py
>file actually implements the *full* RCon functionality--opens a socket
>on port 4711 and listens there for commands, which it sends to the game
>engine with a host.rcon_invoke method. It does password checking and
>the works. Anything you want RCon to do differently, I think you can
>accomplish by changing this module.
>
>
Actually, I just realized that there's a full description of how this
works on the wiki:
http://bf2.fun-o-matic.org/index.php/Scripts:Modified_admin_script
--Forrest
More information about the BFProg
mailing list