Title: Server online but not in master list Post by: RMF on August 11, 2009, 08:40:30 AM Hey,
I've got a problem with my server for some time, and whatever I try it won't be in the master list. My ports are forwarded, everyone can connect (/connect 83.161.210.237), even http://dpmaster.deathmask.net/?game=openarena&server=83.161.210.237 works... But it won't get in the list. This is my server config: Code: set dedicated 2 And to start the server I use this command: oa_ded.exe +exec server.cfg +set dedicated 2 +set net_port "27960" (the script is located in the openarena folder) I also tried without set net_port, without set dedicated, without setting sv_master, setting different port, opening wider range of ports, setting UDP only forwarded, setting TCP only forwarded, setting BOTH types forwarded... I really don't know what I can do more. I already played matches with it, players can just connect (local+internet i mean) when they use multiplayer>specify or /connect... Anyone any idea how I can solve this? The server isn't 24/7 but I'll leave it on a few hours after this post so you can look on the dpmaster. PS it has once been in the list for one time, but I didn't change anything (really litterally nothing) and the next time I started the server up it wasn't in the list anymore... Thanks for any help :) edit: and btw, does anyone know the difference between 'sets' 'set' and 'seta' or do they all the same? Title: Re: Server online but not in master list Post by: Falkland on August 11, 2009, 09:01:56 AM If I understand , your server is on the dpmaster list but it's not shown in your list when u browse available servers : am I right ?
If so , well I had the same problem when I've set up a little server in my local net , behind my router and with port forwarded : as I understand , the dpmaster sends a list of available servers , but single servers availability is verified by the client by querying the servers. So u cannot query your server installed in your local network using your exported public IP and your server apparenlty doesn't appear to be up. But can u can connect to it using your local IP. ( At least it was so for me ). Title: Re: Server online but not in master list Post by: Cacatoes on August 11, 2009, 09:55:26 AM IIRC, your server must be able to join dpmaster by outgoing port 27950 UDP
Check the end of the log when you start the server, and see if it sends heartbeats. Title: Re: Server online but not in master list Post by: Falkland on August 11, 2009, 10:17:38 AM edit: and btw, does anyone know the difference between 'sets' 'set' and 'seta' or do they all the same? Set -> set a cvar without storing it Sets -> set a cvar and store it as a SERVER_INFO ( or SYSTEM_INFO ??? ) cvar Seta -> set a cvar and store it as CVAR_ARCHIVE Title: Re: Server online but not in master list Post by: RMF on August 11, 2009, 10:35:43 AM Quote f I understand , your server is on the dpmaster list but it's not shown in your list when u browse available servers : am I right ? No, it isn't on the list in the 'browser list' too, but when I add &server=MYIP to the url it shows my server. hmm still sounds confusing..-dpmaster.deathmask.net/?game=openarena doesn't show my server (browser list) -the server list in openarena doesn't show (in-game list) -but you can connect (/connect or ingame multiplayer>specify) -dpmaster.deathmask.net/?game=openarena&server=83.161.210.237 works. So the master knows it's online when I enter the IP, but then in the list it just doesn't show.. edit: and btw, does anyone know the difference between 'sets' 'set' and 'seta' or do they all the same? Set -> set a cvar without storing it Sets -> set a cvar and store it as a SERVER_INFO ( or SYSTEM_INFO ??? ) cvar Seta -> set a cvar and store it as CVAR_ARCHIVE IIRC, your server must be able to join dpmaster by outgoing port 27950 UDP It sends heartbeats and the ports 27940-27970 are forwarded both udp and tcp.Check the end of the log when you start the server, and see if it sends heartbeats. Title: Re: Server online but not in master list Post by: sago007 on August 11, 2009, 10:57:15 AM You might have an intelligent PAT router that modifies the heartbeat in an unfortunate way. The problem has been discussed before but unless it has a Quake III server hack you are likely out of luck.
Title: Re: Server online but not in master list Post by: RMF on August 11, 2009, 11:15:30 AM how do you check if you got such hack?
Title: Re: Server online but not in master list Post by: RMF on August 12, 2009, 05:20:43 AM Quote You might have an intelligent PAT router that modifies the heartbeat in an unfortunate way. So a different router might solve the problem?Title: Re: Server online but not in master list Post by: Falkland on August 19, 2009, 07:22:24 PM Ok ... I've made a search on ioquake3 bugzilla and this case is reported since a year ago ( more or less ) : https://bugzilla.icculus.org/show_bug.cgi?id=3741
Quote The master server uses the source-port and source-ip of a heartbeat-packet for connecting to a game server. It only adds a game-server to its list if the game-server replies to the query on that IP/port combination. Many NAT routers however change the source-port for packets sent to the internet. So instead of 27960, the source-port for the heartbeat packet will be 45713 for example. This will cause the game-server not being added to the master server list. Over at Urban Terror forums, we're getting pretty much support requests for this. People whose server won't show up in the master list for this exact reason. A solution would be to send the net_port in the heartbeat packet and to let the master server use this port instead of the heartbeat-packet-source-port. So this would require changing both dpmaster and ioq3. I wonder if it can be done in a way that won't break compatability with the 'old' IDSoftware master server. But this "bug" does not occur with every router. Title: Re: Server online but not in master list Post by: Falkland on August 24, 2009, 12:28:18 PM I found confirmation about this "issue" on ioquake3 forum : http://ioquake.org/forums/viewtopic.php?f=12&t=574&start=0
It's not treated as an engine bug , but as a problem that regurarly occurs with some kinds of routers/NAT. Quote You might have an intelligent PAT router that modifies the heartbeat in an unfortunate way. So a different router might solve the problem?I guess yes , but it should be a Full cone NAT, aka one-to-one NAT -> http://en.wikipedia.org/wiki/Network_address_translation#Types_of_NAT Title: Re: Server online but not in master list Post by: RMF on September 06, 2009, 08:59:08 AM okay, everyone thanks for replies.
I know now that I can't solve it with a simple solution, and that shutting down msn and other network programs sometimes works (got that from another topic). So it's not 100% solved but I know enough. Thanks again :) |