Nexuiz Server Help

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

Moderators: Nexuiz Moderators, Moderators

Sat Nov 07, 2009 1:39 am

  • Hello all. I have recently set up a dedicated Nexuiz server to play with some friends (version 2.5.2). The trouble is, I only know how to run the server from terminal (on my mac), which means that if I want to change any settings or change the map I must exit the game, make the changes in terminal, and then re-enter the game. Is there any way to run the server in-game, so that I can use the Nexuiz console to change the map or other settings for my server? I have searched around online and through forums for hours and have found close to nothing. The only lead I have is the "exec" cvar command; but I'm not sure how to use it/if it will work for my intended purposes. And ideas/suggestions? Thanks!
    btdk34
    Newbie
     
    Posts: 8
    Joined: Sat Oct 24, 2009 9:28 pm

Sat Nov 07, 2009 2:38 am

Sat Nov 07, 2009 3:19 am

  • Yeah I suppose that would work too! I was just wondering if you could somehow have the actual server running in the console or something similar so I could change any setting I'd like to, anytime, without having to quit the game.
    btdk34
    Newbie
     
    Posts: 8
    Joined: Sat Oct 24, 2009 9:28 pm

Sat Nov 07, 2009 4:28 am

  • Use the in-game 'Create' tab for listen servers, but you'll need to set 'sv_public' to '1' if you wish to broadcast on the server listings.
    TVR
    Alien trapper
     
    Posts: 404
    Joined: Fri Jun 01, 2007 12:56 am

Sat Nov 07, 2009 5:21 am

  • OHH!!! Thanks so much :D :D
    btdk34
    Newbie
     
    Posts: 8
    Joined: Sat Oct 24, 2009 9:28 pm

Sat Nov 07, 2009 9:40 am

  • Creating a server in-game might do the trick for you, but the server will quit when you stop playing. If you already know how to run a dedicated server, it's probably best to set some rcon_password in your server.cfg.

    When you've done this, in your client you can set the same rcon_password - and invoke commands on the server like this: rcon <command>, for example: rcon gotomap eggandbacon

    You may even make your settings permanent by editing the server.cfg directly, and use rcon to do this: rcon exec server.cfg
    Before posting a reply, please read about the bikeshed
    User avatar
    merlijn
    Advanced member
     
    Posts: 84
    Joined: Tue Oct 21, 2008 10:18 am

Mon Nov 09, 2009 12:33 am

  • Well... I added the rcon_password PASSWORDHERE into my server.cfg file and then typed the same rcon_password PASSWORDHERE into the nexuiz console while playing, but then when I type rcon gotomap eggandbacon, it does nothing, only goes to the next line waiting for more input. Am I missing something here?
    btdk34
    Newbie
     
    Posts: 8
    Joined: Sat Oct 24, 2009 9:28 pm

Mon Nov 09, 2009 12:47 am

  • Oh! Sorry for the double post, but I just read my server log and it said that it denied rcon access to me when I tried to enter my password. I am positive that I am typing it in correctly, so what could be the problem?
    btdk34
    Newbie
     
    Posts: 8
    Joined: Sat Oct 24, 2009 9:28 pm

Mon Nov 09, 2009 8:18 am

  • It might have something to do with a too big difference between the system clocks on your server and your client. To test this, do 'rcon_secure 0' on both the client and the server and try again. If this is working then, sync your clocks and do 'rcon_secure 1' again.
    Now with new shiny avatar.
    User avatar
    PinkRobot
    Alien trapper
     
    Posts: 443
    Joined: Fri Jul 21, 2006 7:06 pm
    Location: #brlogetc

Mon Nov 09, 2009 9:50 am

  • There will soon be a "rcon_secure 2" mode which no longer has this problem.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Mon Nov 09, 2009 10:50 pm

  • Hmmmm well I tried that too and found no success. I am always going to be running the server from the same computer that I am playing on, so I don't think the clock thing will be an issue. Perhaps I am doing something else wrong? I think it might be how I am defining my password in my server.cfg file and how I am entering it into the Nexuiz console...
    btdk34
    Newbie
     
    Posts: 8
    Joined: Sat Oct 24, 2009 9:28 pm

Tue Nov 10, 2009 10:33 pm

  • Then show us what your line in the server.cfg looks like and how you enter it on the console (using a bogus password of course).
    Now with new shiny avatar.
    User avatar
    PinkRobot
    Alien trapper
     
    Posts: 443
    Joined: Fri Jul 21, 2006 7:06 pm
    Location: #brlogetc

Wed Nov 11, 2009 12:14 am

  • Here is part of my server.cfg file:

    ..................................................................................
    maxplayers 6 // number of players allowed on the server
    port 26000 // the port used by the server
    rcon_password Password
    ..................................................................................

    and then in the console I enter:

    ..................................................................................
    ]rcon_password Password
    ]rcon gotomap basement
    ]
    ]
    ]
    ..................................................................................


    When I hit enter after the gotomap command, I just get blank lines, as you can see. I looked at my server, and it said:

    ..................................................................................
    server denied rcon access to Bryan Wallin
    ..................................................................................

    So I am not quite sure what is happening.
    btdk34
    Newbie
     
    Posts: 8
    Joined: Sat Oct 24, 2009 9:28 pm

Wed Nov 11, 2009 9:20 am

  • Try double quotes in server.cfg and on the console like so:

    rcon_password "password"
    Now with new shiny avatar.
    User avatar
    PinkRobot
    Alien trapper
     
    Posts: 443
    Joined: Fri Jul 21, 2006 7:06 pm
    Location: #brlogetc

Mon Nov 16, 2009 10:57 pm

  • Sorry for the long wait, but yes you were correct! It is working perfectly now. Thank you :D :D
    btdk34
    Newbie
     
    Posts: 8
    Joined: Sat Oct 24, 2009 9:28 pm



Return to Nexuiz - Support / Bugs




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