dedicated server help!

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

Moderators: Nexuiz Moderators, Moderators

Postby Jiggs224u » Tue Apr 28, 2009 7:06 pm

Ok i understand now about the 0.0.0.0 is listening on all nics. I was wondering what nic it was associated with :)

Outgoing:
udp/26000 - game server
udp/27950 - master server

I found this in another thread here. Does this mean I have to forward the port 27950 for it to be viewable in-game on the server list? Is there any other ports I have to forward besides the 2600 is what i'm wondering i guess :lol:

For Nexuiz? try cmdlist and cvarlist.. both print all the available commands/variables also i think in the ouns wiki (ouns.nexuizninjaz.com) have some lists. and the ninjaz also host some variable/command search tool..

^^^ yes for Nexuiz. commands like map <map name> that might not be a bad idea to throw in the readme.txt for other users. Maybe a link to a site that shows all commands that you can do in the terminal? Also many servers have multiple nics and wouldn't be a bad idea to put the //net_address into the server.cfg?

maybe something like:
//net_address 127.0.0.1 //If using multiple network cards you can specify which IP to associate the game server to

Just a suggestion
Thanks,

Jiggs
Jiggs224u
Member
 
Posts: 11
Joined: Tue Apr 28, 2009 4:24 am

Postby esteel » Wed Apr 29, 2009 9:18 am

Well in the case of Nexuiz it would be 'chmap NAME' .. the command 'map NAME' will drop all the connected players :P But i can't remember i ever did that on a running server. Usually when you have players on the server you use a vote.
Now that Nexuiz/server is somewhat usable i'm trying to find time to change my old server guide into one that will give such tips and tricks for server admins..

I'll think about adding net_address.. can't hurt for sure.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby Jiggs224u » Fri May 01, 2009 3:03 am

hello,

I am still having some difficulty finding my server in the server list. I can connect using my local ip (using the console with connect ....... But what's weird is that when i'm in game on the server i type: hostname in the console. It says PlayerJiggs Nexuiz server [Nexuiz Server]. That isn't what it is even in the cfg. Is there any reason that would be doing that? The server name should be Jiggs Nexuiz Server. I thought that might have something to do with it not showing up. I also got rid of ipcop for now to see if it was that. Now I have set the "virtual server" in my router config for the port 26000. Does it take some time to get on the list or should it show up right away?

I think also the hostname changes to just Nexuiz server when I remove the net_address command. If it was windows i think I would get it faster but i'm newer with linux. Do I have to set a rule like an exception in the firewall on the OS itself too? Thanks

Jiggs

Edit : heartbeat
net_refresh
Sending new requests to master servers
Unable to query master servers, no suitable network sockets active.
No network
Listening for replies...

I think i'm getting further.... But does anyone know what this means and why?
Jiggs224u
Member
 
Posts: 11
Joined: Tue Apr 28, 2009 4:24 am

Postby esteel » Fri May 01, 2009 11:01 am

Actually if you take a close look it does say: "PlayerJiggs Nexuiz Server" ["Nexuiz Server"]
The part in [ ] is the default value for hostname. Its displayed for convenience and to see changes..

Well i'm not familiar with ipcop.. and if its disabled i'd guess no firewall rules are active anymore. But what have you done for that 'virtual server'? Normally you would have to enter at least three infos.. the sourceport on the router (26000) and the destination ip and port on the 'real' server (192.168.0.38 and 26000 ) oh and please make sure that ip does not change :)

"I think also the hostname changes to just Nexuiz server when I remove the net_address command." basicly that impossible :P

"heartbeat
net_refresh"
I wonder why net_refresh is actually working on the server.. as far as i know its only a client command to RETRIEVE the serverlist from the master server. And heartbeat is right, that will send an info to the masterserver that your server is up and running (like it does automatically if started as sv_public 1)

An other thing.. have you tried to have someone connect to your server? connect YOUR_EXTERNAL_IP:26000
If that works your router is bad and changes the port when the server tries to conntact the master server.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby Jiggs224u » Sat May 02, 2009 1:25 am

esteel wrote:"I think also the hostname changes to just Nexuiz server when I remove the net_address command." basicly that impossible :P


:twisted: hahaha. I really appreciate taking the time and effort to help me out. To be honest I don't know what actually made it work. I was trying to connect to the server from the server machine. I think that was the problem, or either that or the heartbeat command did the trick.... I'm running fedora 10 and it has a firewall as well, so i enabled the 26000 port and 27950. As previously stated I disabled ipcop, then setup the "virtual server" in my router. Basically it just forwards ports but it's easier, because you can pick both tcp, and udp or just one. After I did the heartbeat command, and the query on the dpmaster server, it still wasn't showing up, (connecting from the server computer) I fired up my laptop and then it was in the server list. I left the net_address command in there too. I also know it's working because on the dpmaster "real time" server listing it is there and some other people have connected. It's called {DeV} Nexuiz Server. I also understand why you left out more commands when I looked into the server.txt (your help file) it was much more understanding after jumping through hoops :P . I found the commands to show what commands are available. I now have setup my first dedicated server on a Linux box :) Thanks to your guy's help
8)
Jiggs: Solved!
Jiggs224u
Member
 
Posts: 11
Joined: Tue Apr 28, 2009 4:24 am

Postby esteel » Sat May 02, 2009 9:41 am

You're welcome! Hope people can enjoy your server. But you do not need to open the port 27950. Thats the port the serverserver is running on.. and you nexuiz client only tries to contact it to say 'hello, here i am' :-) Usually outgoing stuff is not blocked by firewalls. When you open ports you do that for ports on YOUR server and only 26000 (or what ever you configured) is needed there.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Previous

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron