Announcement

Collapse
No announcement yet.

Need help with python scripting...

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

  • Need help with python scripting...

    Actually, just general game administration.

    How do I get my NON ranked server (One with which I have full FTP access too, as well as SSH) create a log file that contains information such as player connects/disconnects, IPs, team, and other misc. logging information the server can generate?

  • #2
    Re: Need help with python scripting...

    I see this is available.

    host.log(message)

    So I assume I can put something like this in the script:


    host.rcon_invoke('host.log "Connected: %s"' % (player.getName()))

    or

    host.log(host.rcon_invoke('echo "Connected: %s"' % (player.getName())))


    I think that's the correct way, but how do I define the log location?

    Comment


    • #3
      Re: Need help with python scripting...

      You'll prolly have better luck on bfeditor.org.

      Comment


      • #4
        Re: Need help with python scripting...

        Thanks I just registered there.

        Comment

        Working...
        X