Server help?

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Thu Feb 26, 2009 4:42 am

  • Hey all
    I'm getting about 70% cpu usage running a server, non dedicated, low settings, with no clients. This is not, of course, going to do for the lan party thats happening on friday that, hopefully, we will be lplaying nexuiz at. I have a second PC i can play on, but I have no idea how to set up a dedicated server.

    I am hoping that there is some sort of way I can change maps/game modes on the fly like the GUI server lets you, but so far all I have been able to find is a guide on create a server.cfg file. Is there a way to do this, similar to the quake3 engine's capacity, or do the settings for the dedicated server have to be all set in stone before the server can run? Is there perhaps a way to allow the game to be changed through voting?

    Just need some help!
    Thanks in advance!
    ~lag
    lag
    Newbie
     
    Posts: 2
    Joined: Thu Feb 26, 2009 4:34 am

Thu Feb 26, 2009 9:57 am

  • First of all if you had simply tried running the dedicated server you would have noticed that you can enter commands into the 'console' window much like in the console in the 'GUI' when you press ` or shift-escape. I like to think of this as the main way to control the server. If its running on a linux/unix machine using the program 'screen' it also great and helpful.

    Then there are several other methods, like voting. The variables sv_vote_commands is a list of allowed vote commands, you can start them via 'vcall COMMAND [ARGUMENTS]' on the client. F1 or vyes to accept it.
    Then there is also login in as master (vdo login pwd or in the next version vlogin pwd) or calling a vote to become master (vmaster). Masters can run all the allowed votes with 'vdo COMMAND [ARGS]'
    Then there is also rcon. set rcon_password on both the client and the server and you can RUN any command on the server via rcon (rcon COMMAND [ARGS]). Even if you are not connected, just set rcon_address IP:PORT of the server..
    Then there is also rcon_restricted with its own password and list of commands..

    There should be a method that fits you. BTW the server.cfg file in Nexuiz/Docs/server (Will be in Nexuiz/server in the next version though) at least HINTS at each of those methods..
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Fri Feb 27, 2009 12:28 am

  • hmm, I tried going into the console and using the map command to change the map, and it said it would restart the server to execute this. Of course, after re-reading the documentation I found the changelevel command, and after looking through the sample server.cfg file you mentioned I got the rest of it figured out.

    Tyty!
    ~Lag
    lag
    Newbie
     
    Posts: 2
    Joined: Thu Feb 26, 2009 4:34 am

Fri Feb 27, 2009 11:21 am



Return to Nexuiz - Support / Bugs




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