server.cfg doesn't get loaded

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

Wed Oct 31, 2007 5:36 pm

  • I've got a linux-server, now i wanted to run a nexuiz-server.
    i've got the nexuiz-server.deb installed, the server itself runs quite well, except that it ignores the server.cfg

    I've put it into /usr/share/games/nexuiz/data, where the data-{date}.pkg is.
    it simply ignores the file when started with the normal startscript that debian provides (it simply calls the server itself and adds possible params.

    if i say "nexuiz-server +exec /usr/share/games/nexuiz/data/server.cfg", it starts and says
    Code: Select all
    couldn't exec config.cfg
    couldn't exec data/campaign.cfg
    couldn't exec autoexec.cfg
    FS_Open("/usr/share/games/nexuiz/data/server.cfg", "rb", false): nasty filename rejected
    couldn't exec /usr/share/games/nexuiz/data/server.cfg

    what can I do? have i forgotten something?
    C167
    Member
     
    Posts: 29
    Joined: Wed Oct 31, 2007 5:24 pm

Wed Oct 31, 2007 5:46 pm

  • Don't use the full path, just use "+exec server.cfg"
    All filenames the server uses are relative to the data/ directory and the server won't open any files that are not in /usr/share/games/nexuiz/data/ or ~/.nexuiz/data for security reasons.
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Wed Oct 31, 2007 6:33 pm

  • oh, thank you very much :)
    now it starts with the given commands...
    C167
    Member
     
    Posts: 29
    Joined: Wed Oct 31, 2007 5:24 pm



Return to Nexuiz - General Discussion




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest