PDA

View Full Version : Where is the bug ??


charmanta
07/20/03, 12:03 pm
My MOH-SP server runs fine but it is not visible in the ingame browser...
My server.conf says:
seta sv_hostname "UPK ClanServer 2.15 Public"
// add up to 4 additional master servers to report to
seta sv_master1 "mohmaster.2015.com"
seta sv_master2 "master0.gamespy.com"
seta sv_master3 "master1.gamespy.com"
seta sv_master4 "clanservers.net"
seta sv_gamespy "1" // Show your server in gamespy

Any idea ?

DeFain
07/20/03, 04:02 pm
Do you really mean the in-game browser or do you mean a game browser like Gamespy or All Seeing Eye?
These:

seta sv_master1 "mohmaster.2015.com"
seta sv_master2 "master0.gamespy.com"
seta sv_master3 "master1.gamespy.com"
seta sv_master4 "clanservers.net"
seta sv_gamespy "1" // Show your server in gamespy

are for external server browsers like I just mentioned. If you really mean in-game browser then your client should be on a different port than your server. Use the +set net_port "aportnumber" command to change it in your start-up line. If you mean external browser forward the server's game port number to the correct lan ip of the server in your router.

Good luck!:p

charmanta
07/20/03, 04:19 pm
Thanks for this quick answer.
But:
The (dedicated) server is directly connected to a 100 MBit Internet Line with a real IP Adress. My client is at my home office. So far, the server is called with +set net_port "27950", but it is still not visible from the browser in the game MOH-SP itself e.g. from my client.( thats what i mean with ingame browser ). So client and server are in different networks anyway...
Is it possible that some variable is missing to let this server be visible in the game ? Or do i need to set a fixed port or a port out of a fixed range of possibilities for the server ?
My client can connect to the server when i enter the ip:<port> manually.

DeFain
07/20/03, 05:08 pm
So you are saying the server is in a different location (network) than the client? And that it has it's own internet connection (seperate from the client) with a static ip?

Can you see the server in an external server browser? You should be able to. If you can't it is a port forwarding problem.

The server sends a heartbeat to the master servers. The master servers then send a heartbeat back to the game server. If they are able to talk, blammo, the server is listed in the browsers.

Also, you should be able to look at the server's console window and see where it tries to resolve the master server addresses.

I am a Q3 guy so I'm not really familiar that much with MOH but what I have said should be correct.