View Full Version : Need Secret code to run a Dedicated Server
PaperCut
12-01-2002, 01:37 AM
Hi
I hope some one out ther nows whats the big secret on how to run a dedicated server becuase it use does not want to work for me no matter what i do. I am running Windows XP with a P3 450 and 256 Ram. I start up the game and place the check in the dedicated box and nothing!...just its in hitch warning mode. You can not see it you can not join it you can not join even if you know the ip. The TCP/IP is set to obtain ip address automatically. Because if i put and ip in for my local networking i can only see a LAN game...ONLY... it does not broadcast out to the net and again you can not join through ip. I have NO fire wall ....it a hit or miss deal here. Why is it sooo hard to setup a server? I never had troubles like to to run HL or any other game Just this one. Single player works fine ...multi player works fine....but NOT the dedicated server.
So please can some one tell how to run a dedciated server please?
PaperCut
So I assume your running this server from as a dedicated box.
The hitch warnings are normal.
When you say your getting your IP address dynamically. Do you mean your cable provider assigns you one every time you connect to the Internet? or are you running a router and the router assigns you an IP address when you turn your computer on?
Give us some more info
How is your computer connected to the Internet?
How many network cards are installed in your computer?
What type of connection are you using to connect to the Internet?
Are you trying to run a dedicated game or a listing server ( you play and run the game on the same PC )
PaperCut
12-02-2002, 12:16 AM
Running 3MAG DSL through a hub
Windows XP P3-450 256 RAM
One net card Realtek
Running the game on other computer as a server
When i place the check to run dedicated server it seems it does not broadcast out to the net and you type in ip join game it says timed out.
I run a home net work and assign ip's to my computers.With this i can see a LAN game ONLY.
If you need more info let me know....i have a chum who is having the same trouble as i am to make a dedicated server.
PaperCut
Is this MOHAA or MOHSP
If it's spearhead
after you start your game.
Pull down the console and type
seta ui_dedicated 1
This will write the ui_dedicated 1 to your cfg file. This way you will not have to type this in again. If for some reason you wish to type this in every time you host, use
set ui_dedicated 1
let me know if it works.
PaperCut
12-02-2002, 10:40 AM
Hi I done what you sudjusted and still not working right. Heres a interesting point....when i remove my assigned ip to the computer that is assigned on my home net work ...you know 192.168.112.xxx and set it up to obtain address automatically then it broadcasts out to the net.
NOW with MOHAA it still doe not work in dedicated server mode.Heres what i see after the screen is done loading up....
^~^~^ Add the following line to the *_precache.scr map scripts: cache models/fx/dummy.tik
hitch warning 938 msce frame time
hitch warning 10311 msce frame time
hitch warning 904 msec frame time
I can not see it on the net and i can not join it even if i know the ip.
I am sooooooo lost as to my this game is being so difficult to run a server.Makes you wonder just who wrote this game with this bug in it.
PaperCut
SNYPE
12-02-2002, 02:29 PM
From what I can see you have your Lan misconfigured. You said in your first post that your Tcp/Ip prop was set to DHCP. In your last post you said you had assigned static IPs. I think your server will work once you setup your network properly.
First, if you are sharing your internet connection using a hub, you will never get multiple computers to connect to your DSL properly!!! You need a router/switch. I would recommend getting a Linksys Internet Router and use it to share your connection, thats the only way it will work.
Next, I would recommend going to the LInkysy site, they have a great amount of faqs on setting up a proper Lan using your Router: http://www.linksys.com/faqs/.
PaperCut
12-02-2002, 05:21 PM
Interesting that your saying that a HUB will not work porperly with muti computers with a HUB and a DSL modem. I have been running 3 and more computers on DSL through a HUB with not trouble for 2 yrs.
I find it hard to understand that this is the problem......because i can run a Half Life Servera and have done so many times and it works fine. I can see it LAN or on the NET and still have 8 computers running through a hub and they all work fine. Anyway i am getting off topic.... The trick is i am like to get the MOHAA game running as a dedicated server.
Is there a config file i am missing that i need to place in? Is there another patch that I am missing to put in?
PaperCut
some DSL modems have routers built into them.
check your IP address for your computers do they start with
169.254
or
10.10
This would mean they are being assigned private IPs.
Check out www.dslreports.com to find out what your public IP address is
PaperCut
12-02-2002, 06:21 PM
I disagree with you....sorry Rude but please do not take it the wrong way.
Because Spearhead and Spearhead DEMO work fine with my modem and i can and do see it out on the net and join through ip address.
Its MOHAA Allied Assault that does not broadcast out on the net. There must be something missing in the config file that it not getting to get out. What it is i can not say....
What i do get after its up is this text.
^~^~^ Add the following line to the *_precache.scr map script:
cache models/fx/dummy.tik
Hitch Warning 933 msec frame time
Hitch Warning 8766 msec frame time
and thats it....
I am going to figure this out or it will kill me...which ever comes first...lol
PaperCut
SNYPE
12-02-2002, 06:26 PM
You either have a router somewhere (maybe what you think is a hub is really a router?) or you have purchased additional IPs from your provider. Your ISP usually gives you only 1 IP, which you can share using a router or proxy server. Can you give us the Mfr and model on your "hub" and your modem? Typically there are ports that will need to be opened, do you know where to do that in your setup?
Everyone always disagrees with me ;)
With MOHAA, the only command you need is
[code:1]seta sv_gamespy "1"[/code:1]
This should let the master server know your hosting and list your IP address.
There are a number of ports that need to be forwarded, but since you state SH is working then it must be something else.
After you start your server pull down the console and type the above command in the console.
For some reason you may have the sv_gamespy 0 command in your unnamedsoldier.cfg file. This could be overwriting your listening server or dedicated server, it should not but you never know.
Good luck and keep us informed.
SNYPE
12-03-2002, 10:09 AM
Oops, I missed that where you said Spearhead works...duh.
Rudes on the right track, why dont you post your server.cfg file and we can look at it.
PaperCut
12-03-2002, 06:30 PM
// Server Name
// Name that will appear on the server browser
sv_hostname "Nameless Battle"
// Game Type
// 1 Free for All
// 2 Team Based
// 3 Round Based
// 4 Objective
// 5 Tug Of War
set g_gametype 1
// Health Drop
// When enabled players will drop a health pack when killed
set g_healthdrop 1
// Realism
// Toggles realistic mode
set g_realismmode 0
// Fast Run Speed
// When checked, the speed at which players can run through levels is increased.
// Leaving it unchecked defaults to Medal of Honor Allied Assault's original run speed
set sv_dmspeedmult 1.100000
// Team Damage
// Toggles friendly fire
set g_teamdamage 0
// Heal Rate
// Determines how fast players heal when they use a health pickup
set g_healrate 10
// Max Players
set sv_maxclients 16
// Time Limit
// This sets the elapsed time at which the game ends, the winner being the player with the highest score at that time.
timelimit 0
// Frag Limit
// The score at which the player or team will win the current map.
fraglimit 0
// Map Rotation Time
// This sets the maximum amount of time in minutes players will spend in a particular map.
maprotationtime 0
// Team Spawn Delay
// This sets a delay in seconds between spawns. This is useful if you would like the
// player spawned in batches, rather than one at a time
set sv_team_spawn_interval 15
// Round Reset Time
// This sets how long each round will take, in minutes. This can be smaller than the map rotation time, but not larger.
roundlimit 0
// Inactive Spectate
// This sets the time in seconds after which an inactive player becomes a spectator. To save server bandwidth, 60 seconds is default.
set g_inactivespectate 60
// Inactive Kick
// This sets the time in seconds after which an inactive player is kicked out of the game. 900 (15 minutes) seconds is default.
set g_inactivekick 900
// Use Gamespy
// To use GameSpy gaming service for internet-based multiplayer games.
set sv_gamespy 1
// Pure
// Verifies that the files on the client are the same as those on the server.
set sv_pure 0
// Allow Vote
// Enables players to call a vote.
set g_allowvote 1
// Flood Protect
// Limits amount of text a player can type
set sv_floodprotect 1
// Force Team Spectate
set g_forceteamspectate 1
set dmflags 0
set g_forceready 0
set g_forcespawn 0
// Invulnerable Time
// Amount of time a player is invulnerable for after spawning
set sv_invulnerabletime 3
// Team Kill Warning
// Amount of team kills before the player is warned
set g_teamkillwarn 3
// Team Kill Kick
// Amount of team kills before the player is kicked off the server.
set g_teamkillkick 5
// Team Switch Delay
// Frequency at which you can switch teams
set g_teamswitchdelay 15
// Gravity
set g_gravity 512.000000
// Allow Join Time
set g_allowjointime 30
// Private Clients
// Clients that require a password to join
set sv_privateclients 0
// Password
// Allows you to set a password for the server
set sv_privatepassword ""
// Keywords
// Keywords which allow browsers to filter servers.
set sv_keywords ""
// Net Port
set net_port 12203
// Minimum Ping
set sv_minping 0
// Maximum Ping
set sv_maxping 0
// Maximum Rate
set sv_maxrate 0
// Map
// Starting map on the rotation.
map "dm/mp_malta_dm"
// Map Rotation List
sv_maplist "dm/mp_malta_dm obj/mp_druckkammern_tow"
Now this is from a new install of the demo spearhead...and it only show up on LAN games not the net and i can not join the ip says timed out. This trouble also applys to the FULL version and Allied Assult they do not seem to get out on the net only LAN .
PaperCut
SNYPE
12-03-2002, 09:09 PM
Because Spearhead and Spearhead DEMO work fine with my modem and i can and do see it out on the net and join through ip address.
Its MOHAA Allied Assault that does not broadcast out on the net. There must be something missing in the config file that it not getting to get out. What it is i can not say....
Ok now I am really confused here....you say Spearhead works fine (please be more descriptive we cant read your mind, did you mean Single Player works?)and you are trying to get MohAA to work or MohSH(Spearhead) to work in multiplayer????? You are using a cfg file for Spearhead Demo.
Ok Im going to assume you are trying to run a dedicated Spearhead Full version multiplayer server. First you need to set a timelimit (or fraglimit), its currently at 0. You need to add "ui_dedicated 1" to help it be seen on GSpy. You need to add a MaxRate setting, see the Guides section for info on MaxRate.
Also its hard to help when you are using the wrong version files and not the actual cfg. Did you install the patches for the demo and full version also???
I still am confused about your network. You have to have a router or a proxy there somewhere to share that connection and its important to have the proper ports available.
SNYPE
12-03-2002, 09:12 PM
Because Spearhead and Spearhead DEMO work fine with my modem and i can and do see it out on the net and join through ip address.
Its MOHAA Allied Assault that does not broadcast out on the net. There must be something missing in the config file that it not getting to get out. What it is i can not say....
Ok now I am really confused here....you say Spearhead works fine (please be more descriptive we cant read your mind, did you mean Single Player works?)and you are trying to get MohAA to work or MohSH(Spearhead) to work in multiplayer????? You are using a cfg file for Spearhead Demo.
Ok Im going to assume you are trying to run a dedicated Spearhead Full version multiplayer server. First you need to set a timelimit (or fraglimit), its currently at 0. You need to add "ui_dedicated 1" to help it be seen on GSpy. You need to add a MaxRate setting, see the Guides section for info on MaxRate.
Also its hard to help when you are using the wrong version files and not the actual cfg. Did you install the patches for the demo and full version also???
I still am confused about your network. You have to have a router or a proxy there somewhere to share that connection and its important to have the proper ports available.
PaperCut
12-05-2002, 09:16 AM
Hi ALL
Right i guess even i am getting confused aswell. Single player on Allied and Spearhead single player modes work GREAT!. Its getting the games to run in dedicated server mode. It seems they work fine on the LAN games i can see and join with no trouble. Its getting them to run on the NET. No one can see them on the NET i can not see them on the NET or join the game using the ip number of the set server. Whats weird is that if i reinstall windows and reinstall the games THEN and only then i can see them on the NET but only one time, after a restart of the games they seem to NOT want to show up on the net. So as it stand for now i am leaving this issues for a while its got me so burned out that its not worth my effort any more. Its a game and i am moving on ......this has to be the only game that i can not get to run as a server. I truly beleave i have stumble apon a bug in the game that comes out with certain setup configurations as it seem i have now. What it is i can not say and i do not care any more. Even EA games say they they can not support me any more from there teck person and that i should call them and work it out over the PH....I think NOT!....So thanks all who are trying to help me out.....
Merry Christmas to you all
PaperCut
Flea-DnC
02-04-2003, 08:18 AM
Well, my buddy had the same trouble just a few days ago.. and what he found to work was ...
he has dsl also, and a kick ass rig..he;s running a router/firewall.. no big deal.. but in the game server option he choose dsl. as his isp...wouldn't let game connect... he chose isdn as a isp... and it would connect everytime... very odd i know.. we are both on the same isp ( cable dsl )
but know he's able to dedicate and serve..
good luck
BipolarChucker
02-06-2003, 06:42 AM
A quick scan through this load of messages leads me to believe that this chap is trying to publish an internal IP address for people to connect to.
You having a route out to the internet means NOTHING in this instance. People need to have a route INTO your network and giving them a non-routable IP address 169.x.x.x, 10.x.x.x, 192.x.x.x, 172.x.x.x and poss one or two others is simply not going to work. Internet routers completely disregard packets that seem to come from these IP addresses.
People need to have your external IP address that has been assigned to you by your ISP, whether this is static or dynamic they need it. Then they need the port number that the server has been set to use. Default is 12203.
NOW comes the hard bit and a question I can't answer without going through networking, routing and TCP/IP. HOW do you connect to the internet? You say it's a DSL line? Is it a USB type modem that you use for Internet Connection Sharing? Or do you use a DSL Router with in built switch?
If you can help me out with what your network looks like I can help you more.
1. Do you use a PC with a USB type ADSL Modem and set it to "Share" the connection?
2. Do you just have PC's that are connected to a "Hub" that connects to the DSL outlet by itself?
Answer 1 or 2 please :D
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.