Setting up dedicated server

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

Moderators: Nexuiz Moderators, Moderators

Fri Jun 27, 2008 8:09 pm

  • Hello, I'm trying to setup a dedicated server but I am having problems. I read the readme and I moved the server.cfg and the server_windows.bat file in the data directory. I also un-commented a few settings in the server.cfg for settings. Then, I ran the servers_windows.bat file and nothing happens except a quick CMD box open and close. So I went to the root of the folder and double clicked on "nexuiz-dedicated" and the CMD windows opens but I'm getting all these, "...could not be loaded...". Did I not set it up properly?

    Oh, and what's the difference between server_windows and server_pro_windows?

    What I want to accomplish is to setup a dedicated server in my LAN without displaying it as a public server. When I launch the client, how will it detect the dedicated server to join?

    Thanks for your help.
    cchang
    Newbie
     
    Posts: 8
    Joined: Fri Jun 27, 2008 8:03 pm

Sat Jun 28, 2008 4:02 pm

  • you won't see it on your list of servers. You'll have to connect to it using..

    connect 192.168.1.17

    which will default to port 26000, otherwise put the port number like

    connect 192.168.1.17:26020

    As for the errors, Nexuiz often gets errors (like loading textures) when it loads maps, but the maps still play anyway. That's probably what you're seeing.
    Dokujisan
    Forum addon
     
    Posts: 1199
    Joined: Sat Oct 07, 2006 4:31 pm
    Location: Louisville, Kentucky

Sat Jun 28, 2008 4:11 pm

  • So does this mean on the server, it will just be a CMD prompt screen? How do I know when the server actually started? and then from another machine in the LAN, I go to the console (i'm assuming the ~ key), and type the connect command?

    Did I do all the other setup ok for the Windows server? what's the difference between the server and server pro for Windows?

    Thanks!
    cchang
    Newbie
     
    Posts: 8
    Joined: Fri Jun 27, 2008 8:03 pm

Sat Jun 28, 2008 4:42 pm

  • Hmm, first let me say that I've never run the dedicated server on Windows, only on linux. But I would think they would work essentially the same.

    The dedicated server shouldn't display a command prompt (like C:\) when you run it. It should display a server console that shows activity on the server (like if someone scores/dies or if there is any chatting going on). You should be able to type commands into the server console, like

    status
    say hello
    g_maplist
    timelimit -1

    If you get the C prompt, then look for any errors that may have occurred and post them here.

    Yes, you open your Nexuiz client console (to connect to the server) by pressing shift+esc or by pressing ~.

    Server-pro (I'm pretty sure) runs the Nexuiz "pro" version. I don't remember the differences but it plays differently than regular nexuiz. You'll have to search the forum for more info on that.

    On a side note: If you use IRC (chat), you can get more immediate help by connecting to irc://irc.quakenet.org/nexuiz
    Dokujisan
    Forum addon
     
    Posts: 1199
    Joined: Sat Oct 07, 2006 4:31 pm
    Location: Louisville, Kentucky

Sat Jun 28, 2008 4:45 pm

  • wait, I just saw something in your original post.

    I don't think the server_windows.bat is supposed to be in the data directory. I believe it should be in the main "Nexuiz" directory (one level above /data/)
    Dokujisan
    Forum addon
     
    Posts: 1199
    Joined: Sat Oct 07, 2006 4:31 pm
    Location: Louisville, Kentucky

Wed Jul 02, 2008 2:14 pm

  • Thanks. I put the server_windows in the main directory now and ran it. But I'm still getting the same thing. I'm getting a Windows CMD prompt with:

    ----------------------------
    models/gibs/arm.md3: could not load texture "textures/meat.tga"
    models/gibs/leg1.md3: could not load texture "textures/meat.tga"
    models/gibs/leg2.md3: could not load texture "textures/meat.tga"
    models/gibs/leg2.md3: could not load texture "textures/meat.tga"
    models/hook.md3: could not load texture "textures/hook"
    models/weapons/g_crylink.md3: could not load texture "crylink.tga"
    models/plasmatrail.mdl: could not load texture "models/pcore.tga" (frame 0) for
    shader "models/plascore"
    models/plasmatrail.mdl: could not load texture "models/ptrail.tga" (frame 0) for
    shader "models/plastrail"
    models/weapons/v_crylink.md3: could not load texture "crylink.tga"
    models/weapons/w_crylink.zym: could not load texture "crylink"
    models/items/g_strength.md3: could not load texture "strength.tga"

    ------------------------------------------------

    Then it just stays there. So from another machine that's connected to the LAN, I launch the game, open the console and type in "connect IP:2600" and I get connection failed.

    Both machines have their software firewall off and are both pingable to each other.

    Is there something that I didn't setup correctly?
    cchang
    Newbie
     
    Posts: 8
    Joined: Fri Jun 27, 2008 8:03 pm

Wed Jul 02, 2008 4:00 pm

  • Hmm, Nexuiz often gives missing texture errors from running certain maps, but they don't stop the game from running.

    The errors you're getting look like you're missing some textures and/or models from within the game.

    Personally, I would try downloading Nexuiz again just to be sure.

    Use this link (if you're in the US).
    http://mkzelda.net/nexuiz-242.zip

    Extract that to a different directory and copy your server.cfg and server_windows.bat over to it and try running it.
    Dokujisan
    Forum addon
     
    Posts: 1199
    Joined: Sat Oct 07, 2006 4:31 pm
    Location: Louisville, Kentucky

Sun Jul 06, 2008 4:46 pm

  • I'm having the same problem as cchang. I'm also having trouble finding a solution to this problem on the forums. Is there something that I am missing? I'm trying to create a dedicated Windows server, by the way. Thanks.
    Yoda_Glenn
    Newbie
     
    Posts: 1
    Joined: Sun Jul 06, 2008 3:04 pm

Tue Jul 29, 2008 8:44 pm

Thu Jul 31, 2008 4:29 pm

  • No, I have already done that. For now I was able to setup a server launching the game itself but I need to setup a dedicated server without launching the game.

    After I follow the instructions including the bat and cgf file, a CMD prompt window opens but I can't join the game. Has anybody else succssfully setup a dedicated Windows server?
    cchang
    Newbie
     
    Posts: 8
    Joined: Fri Jun 27, 2008 8:03 pm

Thu Jul 31, 2008 5:46 pm

Thu Jul 31, 2008 7:56 pm

  • That's the thing, I am trying to setup a dedicated server without launching the game itself. To my understanding, you put the .bat file in the main directory and the cfg file in the data directory. Then after making changes to the cfg file, you launch the .bat file. When I launch that, I just see a CMD proimpt with loading items.

    From another desktop, I launch the game and it doesn't show up in the server browse list. I try to go to the console by typing in "connect IP:2600" and it can't connect. There are no firewalls between the 2 machines.

    So am I doing something wrong? I want to do this because we don't want to have to buy a dedicated graphics card. We want to run the game as a dedicated server.

    Thanks for your help!
    cchang
    Newbie
     
    Posts: 8
    Joined: Fri Jun 27, 2008 8:03 pm

Fri Aug 01, 2008 10:13 pm

  • Well the "cmd prompt" is your running nexuiz dedicated server. If you can't find it in the server browser it might be because the server can't connect to the master server or that the ip address it sends to the master server is not right.
    However if both your computers are running on the same network it should automatically be found if running on port 26000 which is the default. Are you sure that the IP in your "connect IP:PORT" is correct?
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Fri Aug 01, 2008 10:19 pm

  • Ok so that's good to know that the cmd prompt is a normal thing to be running. But yes I am connection properling with "connect IP:PORT" with the default port of 26000. I even changed the port number and tried to connect but it wouldn't connect and just say disconncted.

    I can def. ping the servers to each other because they are in the same network. The funny thing is, I can launch the server through the game itself and the other clients can connect fine. It's only when I try to run the dedicated one where I can't connect.

    Any other ideas?
    cchang
    Newbie
     
    Posts: 8
    Joined: Fri Jun 27, 2008 8:03 pm

Sat Aug 02, 2008 12:36 am



Return to Nexuiz - Support / Bugs




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