Jump to content
Sign in to follow this  
giskard

Dedicated server help:

Recommended Posts

Hello all.

Im a member of Orion Faction, I head the European part of the clan. We have just got access to a Athlon 1800 system thats sitting on a trible T1 connection. A really nice server if I do say so my self smile.gif

The server has 2 primary roles.

1) Clan practice.

2) Public games.

My questions are related to these 2 items.

<B>Question</B>

1) How do you enable voting on a ded server ?

2) How do you make the server show up on gamespy ?

3) I need to know how to set up the lenght of time a map should be played for in the config. The docs are not too clear on this point.

Heres my existing config with some changes to the password for security reasons.

// add a line password="{password}" here to assign a password for this session, which everyone who wants to join the game will need in order to connect

//

// All editable items are placed below.

//

////////////////////////////////////////////

// Change this to your servers names

hostname = "Orion_Faction";

// Server Admin password

passwordAdmin = "fake-password";

// Set this to the maximum number of players your system can handle

// An isdn line can handle 4 to 5 players on an Althon 700 but large maps suffer when

// lots of objects are present in the same location.

maxplayers = 5; // Needs changing, ignore.

// When the gamemaster writes #monitor in chat line, server begins sending reports about FPS, used memory,

// incoming and outgoing bandwidth on dedicated server.

// Monitor reports every 10 seconds, monitor 5 = every 5 seconds and monitor 0 disabled reporting.

// #monitor ;

motd[] = {"Welcome to Orion Faction's)", "Dedicated OFP Server", "Admin = Blazer"}; // array of messages

motdInterval = 3; // 3 s pause between them (default is 5 s)

// end of editable items concerning the server. Below is the map cycle

////////////////////////////////////////////////////////////////////

class Missions // list of missions that will be played in cyclic order

{

   class Mission01

{

template = "CTF Invasion (2-24).Cain";

cadetMode = 1;

param1 = 600;  

param2 = 50;  

};

   class Mission02

{

template = "(1-8)Combat Rally.Eden";

cadetMode = 1;

param1 = 600;  

param2 = 50;  

};

   class Mission03

{

template = "[0-15] Securing-Riviere.Able";

cadetMode = 1;

param1 = 600;  

param2 = 50;  

};

   class Mission04

{

template = "(0-10)_OF_Paintball.Cain";

cadetMode = 1;

param1 = 600;  

param2 = 50;  

};

   

class Mission05 // any mission name here

{

template = 2-8_T_CaptureTheFlag1.eden;

cadetMode = 1;

param1 = 600;

param2 = 50;

};

class Mission06 // any mission name here

{

template = 1-8_D_FLAGFIGHT2SMALL.ABEL;

cadetMode = 1;

param1 = 600;

param2 = 50;

};

class Mission07 // any mission name here

{

template = 2-8_T_CITYCONFLICT.ABEL;

cadetMode = 1;

param1 = 600;

param2 = 50;

};

class Mission08 // any mission name here

{

template = 2-8_T_CAPTURETHEFLAG2.CAIN;

cadetMode = 1;

param1 = 600;

param2 = 50;

};

   class Mission09

{

template = 2-8_T_CaptureTheFlag1.EDEN;

cadetMode = 1;

param1 = 600;  

param2 = 50;  

};

class Mission10

{

template = 1-8_D_Paintball.ABEL;

cadetMode = 1;

param1 = 600;  

param2 = 50;  

};

class Mission11

{

template = 2-8_HoldCity.Cain;

cadetMode = 1;

param1 = 600;  

param2 = 50;  

};

class Mission12

{

template = "2-30 KotT Oupost Charlie V3.Cain";

cadetMode = 1;

param1 = 600;  

param2 = 50;  

};

class Mission13

{

template = 8-20_CTF_WarZoneRU_v[1].3.Cain;

cadetMode = 1;

param1 = 600;  

param2 = 50;  

};

class Mission14

{

template = "10-48 CTF Runway MADDSHARK.Eden";

cadetMode = 1;

param1 = 600;  

param2 = 50;  

};

class Mission15

{

template = "Castle Canyon CTF 2-24 v.1.5.Abe";

cadetMode = 1;

param1 = 600;  

param2 = 50;  

};

class Mission16

{

template = "City Wars v1.7 CTF 2-40.abel";

cadetMode = 1;

param1 = 600;  

param2 = 50;  

};

class Mission17

{

template = "CTF 2-24 5.0 (NON).Eden";

cadetMode = 1;

param1 = 600;  

param2 = 50;  

};

class Mission18

{

template = "CTF - Afternoon 4 on 4.Eden";

cadetMode = 1;

param1 = 600;  

param2 = 50;  

};

};

I as you can see I have already put in a lot of time into tracking down a lot of extra information. But i need the config to be error free and do all the things listed above.

I know the maps naming schemes some times cause the my cycle to skip that map. If anybody knows why this happens, Id be greatful if they tell me. Id guess it is the use of spaces and certain charecters in the name. One of my own missions called "securing riviere" or Mission03 on the above list is one such mission that gets skipped.

If you can help my turn this config into a a nice, secure, user friendly setup, it would me we could add one great server to the list the public can use.

Giskard

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (giskard @ Jan. 06 2002,16:24)</td></tr><tr><td id="QUOTE"><span id='postcolor'>

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">1) How do you enable voting on a ded server ?

2) How do you make the server show up on gamespy ?

<span id='postcolor'>

Both is on by default and you do not have to do anything to enable it.

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">3) I need to know how to set up the lenght of time a map should be played for in the config. The docs are not too clear on this point.

<span id='postcolor'>

Most missions receive time limit in Param1 argument. All missions in your config have time limit set to 10 minutes (600 seconds). Note that some mission may not implement time limit and argument Param1 may be ignored or may have completely different meaning, depending on mission designer.

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">I know the maps naming schemes some times cause the my cycle to skip that map.<span id='postcolor'>

This may be due to typos. In example below you have abe instead of abel. In Mission3 you have Able instead of Abel.

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">

template = "Castle Canyon CTF 2-24 v.1.5.Abe";

<span id='postcolor'>

Share this post


Link to post
Share on other sites

Sorru for going a bit offtopic, but why cant the admin change the mission parameters? would be much easier than having to write them all down to a config file...

Share this post


Link to post
Share on other sites

Thanks Suma smile.gif

One more question regarding gamespy.

For private games, how do i prevent the server appearing on gamespy ?

Or is do i have to password protect the server so only those that know the password can join ?

If a password is required, do you know the command i need to enter in the server config ?

Thanks for the help so far. I'll check the script for the errors you have mentioned.

Giskard

Share this post


Link to post
Share on other sites

to disable ip reporting you put

reportingIP="";

to the config file. This is explained in the Dedicated Server Administrator Guide which comes with the dedicated server...

Share this post


Link to post
Share on other sites

Ha yes, your right the pw is in there, thanks. No mention of the reportip line though.

I'll have to get the Guys to test its working later.

Just need to pick some 20 player maps now smile.gif

Thanks all smile.gif

Share this post


Link to post
Share on other sites

the reporting IP is the IP of the master server to which your server will report.

Share this post


Link to post
Share on other sites

I'll check the DED link out above when i get back. Got to go out in a moment.

I made serveral changes to the server config but now the only thing that seems to work as intended is the admin password. The map cycle, the password the members must use on private clan nights, the message of the day and hostname are no longer working.

I last tested this on the 1.30 patch, I know they where working then, but I have not seen the mod, hostname of map cycle work since then.

The config seems to be getting ingored. Perhaps one of the programers can tell me if this is a feature they built into the server that occures when the cfg contains an error ?

Heres the private server script. I am testing a public server script but that doesnt have all the commands i am having problems with in it.

// add a line password="{password}" here to assign a password for this session, which everyone who wants to join the game will need in order to connect

//

// All editable items are placed below.

// server ip = 216.77.87.70

////////////////////////////////////////////

// Change this to your servers names

hostname = "OrionFaction";

// Server Admin password

passwordAdmin = "Changethis1";

password="tchangethis2"

// reportingIP="";

// Set this to the maximum number of players your system can handle

// An isdn line can handle 4 to 5 players on an Althon 700 but large maps suffer when

// lots of objects are present in the same location.

maxplayers = 20;

// When the gamemaster writes #monitor in chat line, server begins sending reports about FPS, used memory,

// incoming and outgoing bandwidth on dedicated server.

// Monitor reports every 10 seconds, monitor 5 = every 5 seconds and monitor 0 disabled reporting.

// #monitor ;

motd[] = {"Welcome to Orion Faction)", "Your Admin is Blazer[OF]", "www.orionfaction.com"}; // array of messages

motdInterval = 3; // 3 s pause between them (default is 5 s)

// end of editable items concerning the server. Below is the map cycle

////////////////////////////////////////////////////////////////////

class Missions // list of missions that will be played in cyclic order

{

class Mission01

{

template = "CTF Invasion (2-24).Cain";

cadetMode = 1;

param1 = 1200; // 600 = 10 mins, 1200 = 20mins 1800 = 30 mins

param2 = 50;

};

class Mission02

{

template = "(1-8)Combat Rally.Eden";

cadetMode = 1;

param1 = 1200;

param2 = 50;

};

class Mission03

{

template = "[0-15] Securing-Riviere.Abel";

cadetMode = 1;

param1 = 1200;

param2 = 50;

};

class Mission04

{

template = "(0-10)_OF_Paintball.Cain";

cadetMode = 1;

param1 = 1200;

param2 = 50;

};

class Mission05 // any mission name here

{

template = 2-8_T_CaptureTheFlag1.eden;

cadetMode = 1;

param1 = 600;

param2 = 50;

};

class Mission06 // any mission name here

{

template = 1-8_D_FLAGFIGHT2SMALL.ABEL;

cadetMode = 1;

param1 = 1200;

param2 = 50;

};

class Mission07 // any mission name here

{

template = 2-8_T_CITYCONFLICT.ABEL;

cadetMode = 1;

param1 = 1200;

param2 = 50;

};

class Mission08 // any mission name here

{

template = 2-8_T_CAPTURETHEFLAG2.CAIN;

cadetMode = 1;

param1 = 1200;

param2 = 50;

};

class Mission09

{

template = 2-8_T_CaptureTheFlag1.EDEN;

cadetMode = 1;

param1 = 1200;

param2 = 50;

};

class Mission10

{

template = 1-8_D_Paintball.ABEL;

cadetMode = 1;

param1 = 1200;

param2 = 50;

};

class Mission11

{

template = 2-8_HoldCity.Cain;

cadetMode = 1;

param1 = 1200;

param2 = 50;

};

class Mission12

{

template = "2-30 KotT Oupost Charlie V3.Cain";

cadetMode = 1;

param1 = 1200;

param2 = 50;

};

class Mission13

{

template = 8-20_CTF_WarZoneRU_v[1].3.Cain;

cadetMode = 1;

param1 = 1200;

param2 = 50;

};

class Mission14

{

template = "10-48 CTF Runway MADDSHARK.Eden";

cadetMode = 1;

param1 = 1200;

param2 = 50;

};

class Mission15

{

template = "Castle Canyon CTF 2-24 v.1.5.Abel";

cadetMode = 1;

param1 = 1200;

param2 = 50;

};

class Mission16

{

template = "City Wars v1.7 CTF 2-40.abel";

cadetMode = 1;

param1 = 1200;

param2 = 50;

};

class Mission17

{

template = "CTF 2-24 5.0 (NON).Eden";

cadetMode = 1;

param1 = 1200;

param2 = 50;

};

class Mission18

{

template = "CTF - Afternoon 4 on 4.Eden";

cadetMode = 1;

param1 = 1200;

param2 = 50;

};

};

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (giskard @ Jan. 07 2002,12:35)</td></tr><tr><td id="QUOTE">The config seems to be getting ingored. Perhaps one of the programers can tell me if this is a feature they built into the server that occures when the cfg contains an error ?

// Server Admin password

passwordAdmin = "Changethis1";

password="tchangethis2"

// reportingIP="";<span id='postcolor'>

You have missing semicolon in password="tchangethis2" line. This can easily cause the rest of the config being misinterpreted or ignored.

I suppose you are using -config command line option? If not, your config file is not loaded at all.

Share this post


Link to post
Share on other sites

I actually tried the password line with and without the semicolon and the results were the same. I'll will change it back.

But you do seem to have found my problem. At some point I had removed the -config line from the bat file.

Thanks Suma smile.gif

Its working like a charm now smile.gif

Giskard

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×