PDA

View Full Version : Demo Server Help needed


BulletDodger
06-30-2003, 04:35 PM
Pardon the newbie questions, but I just launched a demo only version server and while it is running quite well, there are a couple of challenges.

First, I have DSL and am getting 550 up and 640 down. The box is a Celeron 2.2 with a 80 gig hard drive and 512k of ram. I am allowing 12 players in the team game of Malta.

From what I have read in these forums, most of the challenges could be easily fixed with a good config file or a stand alone MOH launcher.

The problem is I can't get either to work with the demo version of the software. (Maybe I am just setting them up wrong.)

What I want to do is:

1) Set a max ping
2) Diable the rocket launcher
3) Add a scrolling message

Can these things simply not be done in the demo version?

Also, while it is usually running quite fine, every now and then every player on the server will suddenly get a 999 ping and freeze in place. In order to unfreeze themselves, they have to leave the game and return. I don't have to reboot, they just have to leave and return. What could be causing this? Would the 2.15 patch help this?

When I tried to go to 16 players it happend a lot more offten.

Thanks in advance for you reply.

Bullet Dodger

SNYPE
07-01-2003, 11:38 AM
You posted this in the AA section but you mentioned Malta so I will assume you meant to post this to Spearhead.
1. I recommend you do a few things. First read Crow Kings AdminTutorial and learn to run a server using a cfg file.
http://www.mohadmin.com/nuke/modules.php?name=Content&pa=showpage&pid=22
Now you need to know what MaxRate is and how it affects your server (your Freezing problem is caused by your server dropping packets due to the fact that you are trying to push more data than your net connection can handle):
http://www.mohadmin.com/nuke/modules.php?name=Content&pa=showpage&pid=18
There are also sample cfgs here:
http://www.mohadmin.com/nuke/modules.php?name=Content&pa=list_pages_categories&cid=5
2. Disabling rockets can get pretty messy unless you know what you are doing. You might try doing a Search at AlliedAssault.com for "Rockets" and see if there is a mod that will disable rockets in Spearhead.
http://www.alliedassault.com/pafiledb/pafiledb.php?action=search
3. Scrolling Messages are added using an Admin Tool, you can find them here:
http://www.mohadmin.com/nuke/modules.php?name=Downloads&d_op=viewdownload&cid=1

BulletDodger
07-01-2003, 02:38 PM
Thanks Snype. I really appreciate the help.

I have read these guides, but must be doing something wrong.

The console keeps telling me it can't open the config file. I will go back through it a little more carefully and make sure I haven't made some errors. (I assume I have.)

To be clear though, will all of these commands work on the Demo version of the software? Just wanted to make sure before I dig back into it.

Rick

SNYPE
07-01-2003, 08:21 PM
Most of the rconcommands should work, cant think at the moment of any which would not.
What is the exact cfg that the console is having trouble with?
Is it your server.cfg?

BulletDodger
07-02-2003, 09:10 AM
Yes it is the server.cfg file, but I finally got it working late last night. In the demo version of the software the server.cfg file needs to be located in the DEMOTA directory, not the main Medal of Honor Allied Assault one. That was why I couldn't get it to work.

The server.cfg file fixed my freeze problem but seemed to create a new problem as well. Not very many people are joining the game.

When I first launched the server from within the game, (non dedicated,) It was one of the lowest pinging servers showing up in the demo version of the software. (There are only about a dozen total.) The server was completly full (12 players) in five minutes and stayed full all day and most of the night. Now, I am lucky to get four or five people in.

When I got to work today, I launched the demo game and my server is not even showing up in the list anymore. At least not on my machine. Nor can I connect directly to the IP address. I know it was showing up some last night, because a few people were joining and told me so. I could also connect directly to the IP from within the firewall.

It would appear that something in the config file is causing the server to not show up on many, if not most people's list of servers. Could that be the Maxrate setting? (which is 11,500 for 16 players with an upload of 525k.)

Thanks again for your help

SNYPE
07-03-2003, 02:53 PM
Are you running this behind a firewall/router? Sounds like you may not have the correct ports being forwarded. Check the Guuide on Port Forwarding:
http://www.mohadmin.com/nuke/modules.php?name=Content&pa=showpage&pid=27

I think you need to recheck that MaxRate. Using an Upload of 525k we should get:
#players x MaxRate x 8 = 525,000

16 x 4101 x 8 = 525000
(thats quite low for MaxRate so change #players)
8 x 8203 x 8 = 525000
10 x 6562 x 8 = 525000

I would try 8 players @ 8000 or 10 players @ 6500. It will play smoother at the 8000 maxrate.

Post your server cfg so we can look it over, leave out your passwords.

BulletDodger
07-04-2003, 09:00 AM
Thanks again Snype,

We are getting really warm! By the way, the reason I could not connect direct to the IP was that my daughter had turned off the computer while I was at work. (oops)

Lowering the number of players seemed to be the key. However, I have a new problem. It the midst of making changes to my config file, I must have messed someting else up, becasue the game is now letting 16 people in no matter how many I type in the config file. 16 players causes the ping to jump up and down like crazy where as 10 seems very stable.

The only way for me to get 10 players is to start the full game (Demo) and launch from within it. In other words non-dedicated which seems to make my new config file useless.

Anyway, here is the config file.

sv_hostname "Bullet's NO Rocket or Nades"

set g_gametype 2

set g_healthdrop 1

set g_realismmode 1

set sv_runspeed 287

set g_teamdamage 0

set g_healrate 100

set sv_maxclients 10

timelimit 0

fraglimit 500

maprotationtime 0

set sv_team_spawn_interval 0

roundlimit 0

set g_inactivespectate 60

set g_inactivekick 900

// Both this cvar and sv_gamespy must be set to 1 to show up on gamespy
set ui_dedicated 1

// Use Gamespy
// To use GameSpy gaming service for internet-based multiplayer games.
// If this is 0, players will not be able to see your server via the in-game browser nor gamespy arcade.
set sv_gamespy 1


set g_allowvote 1

set sv_floodprotect 1

set g_forceteamspectate 1

// dmflags -- flags that can be set in the dmflags variable.
// DF_NO_HEALTH 1
// DF_NO_POWERUPS 2
// DF_WEAPONS_STAY 4
// DF_NO_FALLING 8
// DF_INSTANT_ITEMS 16
// DF_SAME_LEVEL 32
// DF_NO_ARMOR 2048
// DF_INFINITE_AMMO 16384
// DF_NO_FOOTSTEPS 131072
// DF_ALLOW_LEAN 262144
// DF_OLD_SNIPERRIFLE 524288
// DF_GERMAN_SHOTGUN 1048576

set dmflags 1048576

set sv_invulnerabletime 3

set g_teamkillwarn 3

set g_teamkillkick 3

set g_teamswitchdelay 0

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 "XXXXX"

// Keywords
// Keywords which allow browsers to filter servers.
//set sv_keywords ""

// Net Port
set net_port 12203

// Minimum Ping to allow clients to join with. 0 means anyone
set sv_minping 0

// Maximum Ping to allow clients to join with. 0 means anyone
set sv_maxping 500

// Maximum Rate
set sv_maxrate 6000

// Map
// Starting map on the rotation.
map "dm/mp_malta_dm"

// Map Rotation List
//sv_maplist "dm/mp_malta_dm obj/mp_druckkammern_tow"

Again, thanks for the help

Bullet

SNYPE
07-04-2003, 12:20 PM
If you read the console when the game is starting you will see something like this "sv_maxclients will be changed after restarting". What it means is that the variable "sv_maxclients" is already set to something and you need to "restart" the server for that new setting to take effect. There are 2 variables that do this: sv_maxclients and g_gametype. What I do is place them both in my command line, take them out of my cfg and you wont have that problem. Like this:
"c:\Program Files\EA GAMES\MOHAANetDemo\MOHAANetDemo.exe" + set g_gametype 2 + set sv_maxclients 10 +exec server.cfg

There may be another way to solve this I havent tried yet: use seta instead for these 2 variables. Seta writes the settings to the unnamedsoldier.cfg so that also may cure the problem.

BulletDodger
07-04-2003, 04:50 PM
Perfect! Great advice. Everything seems to be working well. THANKS!

One more quick question. If I add 2 private clients in the config file how do I join the game in those slots?

Bullet

SNYPE
07-04-2003, 08:17 PM
Easiest way is to put this into the command line of your game shortcut:
+ privatepassword "your password".
Or you can bring up the console when you get to the Multiplayer room and type:
privatepassword "your password"
then go connect to your game server.

BulletDodger
07-04-2003, 10:07 PM
Excellent!

Thanks for all the help Snype. I really appreciate it.

Bullet