Setting up dedicated server

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

Moderators: Nexuiz Moderators, Moderators

Setting up dedicated server

Postby cchang » 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

Postby Dokujisan » 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

Postby cchang » 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

Postby Dokujisan » 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

Postby Dokujisan » 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

Postby cchang » 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

Postby Dokujisan » 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

Having the same problem

Postby Yoda_Glenn » 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

Postby esteel » Tue Jul 29, 2008 8:44 pm

Umm.. the .bat file should go into Nexuiz.. and just the .cfg file into Nexuiz/data. Could that be the cause of your problems?
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby cchang » 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

Next

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron