Server log?

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

    #1

    Server log?

    Does this game have a server log that saves all the conversations, tks, deaths, etc?
  • bbrain

    #2
    Re: Server log?

    No, but you can modify the pytho scripts to get the info:

    in the file Battlefield 2 Server/python/__init__.py locate this:
    sys.stdout = fake_stream('stdout')
    sys.stderr = fake_stream('stderr')

    and replace with:
    logFile = open('mylogfile.log', 'a')
    sys.stdout = logFile
    sys.stderr = logFile

    it will write to mylogfile.log.

    Comment

    • Furious-AGE-

      #3
      Re: Server log?

      if you are an admin and have the admin tool open to the chat log, just copy and paste it into a text file.

      This is what we do with situations where someone is banned, as once the server log is posted it's pretty much finished.

      Comment

      • Pennybags

        #4
        Re: Server log?

        Excellent! Thanks guys!

        Comment

        Working...