UT2004 server batch file

Home › Forums › Miscellaneous › Archives › Unreal Tournament 2004 Discussion › UT2004 server batch file

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1848
    Falcon
    Participant

    Alright, I’m working on a batch file to get the server running, that’ll autoconfig it as necessary. I’ll post the source here in versions as it gets better, any comments are welcome

     

    Quote:

    version 02152007.1

    Quote:

    @echo off

    :10

    ucc server CTF-Colossus.ut2?game=XGame.xDeathMatch?bAllowRemoteAdmin=True?AdminName=<blur>?AdminPassword=<blur> %1 %2 ….%3 %4 %5 %6 %7 %8 %9 -log=server.log

    copy server.log servercrash.log

    #goto 10

     

    this one fires up a server playing the CTF-Colossus map as a deathmatch game (actually works)

     

    I haven’t tested the admin status of it.

     

    the % <#> part is for the extra commands passed to the batch file to be forwarded to ucc

     

    should it crash, this script copies the server log to servercrash.log and restarts the server

     

    the dots are there because it should be on one continuous line but the posting mechanism breaks it down

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.