ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Multiplayer improvements
Dedicated server instructions

1 2 3 | Next 10 events »| All Messages
Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  18:13:50  2 April 2007
profilee-mailreply Message URLTo the Top
Don Reba
Bishop and Councilor of War
(Moderator)

 

 
On forum: 12/04/2002
Messages: 11553
Dedicated server instructions

The file XR_3DA.exe launches the dedicated server; it can be found along <installation path>bindedicated.
The operational directory must be set to <installation path>bin.

Server’s parameters can be set in the command line. The global settings parameters (that do not affect the game) are separated with spaces.
Local server’s and game’s parameters are passed through server() section in the form of <game parameter>=<value> (except for the names of the maps and game types), and separated with symbol '/'.

The list of parameters that are passed through the command line:

Essential parameters:

‘-Start server(<map name>/<game type> client(localhost)’ – the server’s and server game’s configuration

<map name> - Map name. If there’s no file maprot_list.ltx, then the indicated name will be used, otherwise map names will be taken from maprot_list.ltx.

The list of available maps:
· testers_mp_agroprom
· testers_mp_atp
· testers_mp_factory
· testers_mp_lost_village
· testers_mp_military_1
· testers_mp_railroad
· testers_mp_rostok
· testers_mp_workshop
· testers_mp_darkvalley
· testers_mp_pool

<game type> - Game type.

The list of available game types
· deathmatch
· teamdeathmatch
· artefacthunt

Example: dedicatedXR_3DA.exe -start server(testers_mp_agroprom/deathmatch) client(localhost)

Recommended parameters:

‘-i’ – cancels the input devices’ capture
‘-nosound’ – turns off the sound on the server
‘-silent_error_mode’ – disable the error message window, if such occurs (implemented for situations when server’s host has a special program installed, which track the condition of a certain process; and when the process malfunctions, they automatically restart it) (recommended for those users, who have such programs installed)

Example: dedicatedXR_3DA.exe -i -nosound -start server(testers_mp_agroprom/deathmatch) client(localhost)

Optional parameters:

1. Global (implemented for situations, when it is necessary to launch several servers that are using the same binary files and data but different settings):

‘-ltx <file_name>’ – the general file of server’s settings, which contains the list of console commands, which are performed upon server’s launch. Stored along the path Documents and Settings/..../_appdata_;
‘-svcfg <file_name>’ – the file of server’s game configuration (some of the settings can be duplicated in the main ltx-file). Stored along the path Documents and Settings/..../_appdata_;
‘-overlaypath <path>’ – changing the path to folder _appdata_, and also to the folders that store logs and crash-dumps.


Example: dedicatedXR_3DA.exe -i -nosound -svcfg sv_dm.ltx -overlaypath c:data -start server(testers_mp_agroprom/deathmatch) client(localhost)

In given example, the game’s settings will be taken from sv_dm.ltx, placed in c:dat_appdata_.



2. Server’s settings:

‘hname’ – server’s name;
‘maxplayers’ – maximum players on the server;
‘psw’ – password required to enter the server;
‘public’ – value “0” – local server, “1” - Internet server;
‘portsv’ – the number of the port that will be used for the server (recommended for cases, when one PC has several servers running);
‘portgs’ – the number of port that will be used for GameSpy (recommended for cases, when one PC has several servers running)


Example: dedicatedXR_3DA.exe -i -nosound -start server(testers_mp_agroprom/deathmatch/hname="game server"/public=1/portsv=5445/portgs=5446/psw="tmpgame" client(localhost)



3. Client’s settings:

‘portcl’ – the number of port that will be used for server’s client (recommended for cases, when one PC has several servers running)


Example: dedicatedXR_3DA.exe -i -nosound -start server(testers_mp_agroprom/deathmatch/hname="game server"/public=1/portsv=5445/portgs=5446) client(localhost/portcl=5447)



4. Game’s settings:

‘estime’ – starting time in the game – the weather in the game when it starts depends on this parameter;
‘etimef’ – speed of weather change in the game

The following settings block the corresponding settings set via -svcfg:

‘vote’ – allow voting on the server. “0” – voting forbidden, “1” – allowed;
‘frcrspwn’ – forced respawn of the players. “0” - disabled, different that 0 – time in which the dead player’s characters will be respawned, in seconds;
‘timelimit’ – time limit for the game on the map in minutes. “0” – no limit;
‘fraglimit’ – frag limit (Deathmatch and Team play modes only). “0” – no limit;
‘dmgblock’ – time during which the player is invulnerable after his respawn (to prevent camping respawn points). “0” – disabled;
‘dmbi’ – show the indicator of invulnerability above the player’s character model. “0” - disabled, “1”- enabled;
‘ans’ – anomalies. “0” - disabled, “1” – enabled;
‘anslen’ – anomaly functioning time, in minutes. “0” – unlimited;
‘warmup’ – warm-up time before the match starts, in seconds. During this time, all weapons and equipment are available;
‘pdahunt’ – players make money for picking up enemy’s backpacks. “1” - enabled, “0” - disabled


Example: dedicatedXR_3DA.exe -i -nosound -start server(testers_mp_agroprom/deathmatch/fraglimit=100/timelimit=0) client(localhost)


Team games settings (Team play and Artifact hunt):

‘abalance’ – automatic team balance. Performed after the end of the match by changing the team of those players, who have the lowest score. “0” - enabled, “1” –disabled;
‘aswap’ – automatic team swap. After the end of the match, players automatically change teams. “0” – enabled, “1” –disabled;
‘fi’ – show team’s icon above the character model of teammates. “0” - disabled, “1” – enabled;
‘fn’ – show players names above their models upon pressing CapsLock. “0” – names are shown only with CapsLock pressed, “1” - CapsLock toggles names on/off;
‘ffire’ – the amount of damage dealt by the player to his teammate. Can be set in the range from 0 to 2, when “0” – no damage, “0.5” - 50% of damage, “1” - 100% damage, “2” - 200% damage.


Example: dedicatedXR_3DA.exe -i -nosound -start server(testers_mp_agroprom/teamdeathmatch/aswap=0/ffire=2.0) client(localhost)


Artifact hunt settings:

‘anum’ – artifacts limit;
‘astime’ – time of artifact’s existence (if in remains untouched), in minutes;
‘ardelta’ – time for the next artifact to appear after the disappearance of the previous one, in seconds;
‘reinf’ – configuring player’s birth:
“1” – players are respawned only when the artifact is brought to the base, or one of the teams is completely destroyed;
“0” – players are respawned at will;
<time in seconds> - killed players are born only in specified time


Example: dedicatedXR_3DA.exe -i -nosound -start server(testers_mp_agroprom/artefacthunt/anum=0/astime=3/ardelta=30/reinf=20) client(localhost)
  20:25:31  2 April 2007
profilee-mailreply Message URLTo the Top
swiep
(Novice)
 
On forum: 03/31/2007
 

Message edited by:
Don Reba
04/02/2007 22:37:40
Messages: 3
The psw part does not work.

Are you sure every xr_3da.exe works with that?

Did not work in 1.000 en neither in 1.001.

It starts and seems to crash or just stop. Log does not say a thing.
  22:38:43  2 April 2007
profilee-mailreply Message URLTo the Top
Don Reba
Bishop and Councilor of War
(Moderator)

 

 
On forum: 12/04/2002
Messages: 11553
Hm. Is that the only thing that does not work?
  10:37:20  3 April 2007
profilee-mailreply Message URLTo the Top
swiep
(Novice)
 
On forum: 03/31/2007
 

Message edited by:
swiep
04/03/2007 10:38:08
Messages: 3
Besides -ltx, that is the only other thing as far as i know.

-svcfg does work but it won't load the gametype and some settings.

And there are alot of examples out there, i even tried one of yours which works but once i add /psw="secret" or /psw=secret it starts and immediately stops without logging what is causing it.

At first i thought the client should be provided a pass so i tried to give the /psw="secret" and /psw=secret as parameter as well but no luck either.

Can you give a simple example, including password which can be used without any further modifications by me so i can give feedback on that.

And apparently the master browser is still down which is a shame as well

Are you an official or just a helper?
  17:07:03  3 April 2007
profilee-mailreply Message URLTo the Top
i365|zoldson
(Novice)
 
On forum: 04/03/2007
Messages: 20
I ran across a German forum last week that listed some other options to pass to the console, I'd like to verify if they actually do anything or if they just waste space.

-nointro - I'd assume it would cancel any type of intro from trying to play. Is this something that would really only be used for the non dedicated server program?
-nocache - Any use?
-external - What would this be?
-xclsx - No idea on this one, but I've seen it floating around.


I'd also like some clarification on some of these listed above.

-ltx <file_name> - This was noted to contain a list of console commands performed at launch. What might be used in this list of commands? Could one put check_for_updates() into this file and the server would update itself on launch? One could set the server to restart itself daily or weekly and keep itself updated. What else might be passed?
-svcfg <file_name> - This can only point to a file with cvars and values? It seems kind of redundant to -ltx. Is there a reason to use one over the other, or any reason for both? I noticed you could also specify the path to the file, it does not need to be in the AppData folder.
hname,maxplayers,psw - Can any of these be modified once the server is started? The password is the most useful, to be applied if a bunch of friends want to kick everyone out of their server and play some kind of organized match. Same goes for the hostname. I know several people have say, one CS:S server and swap out the hostname and password when it's public or when they have a match.
estime,etimef - I know these can be altered after the server started through a vote, however trying to pass the sv_setenvtime() or sv_setweather() to the console crashes the server. Is there any other way to change these settings once the server is running? Perhaps as specified in -ltx, you can put these in a config file and use load() to run the command? I'll have to check into that unless someone can answer it for me. I'd also like to specify for everyone out there what weather coincides with what time you specify for estime.

---QUOTATION---
Clear = 09:00
Cloudy = 13:00
Rain = 16:00
Night = 01:00
---END QUOTATION---




I was going to ask why so many options could be specified when the server was started, but I answered that myself. I guess some providers would want to lock some options from their customers? Here are a few more that are in my notes, but I didn't write down if they worked or not.

'spectr' - I have this written down as the length of time spectators were automatically spawned as a player.
'spectrmds' - In my notes that it specifies the max amount of spectators allowed, 0-32.
Also, for the client() section, you can specify 'name' which changes the name the server uses to connect. No idea how useful that is.


There are also a few cvars I could not figure out what they do or where they apply to.

sv_rpoint_freeze_time - 0-60000 - Tried this in aretefact hunt, and some others I know tried it in both the deathmatch modes and it doesn't seem to change anything. What does it do?
sv_vote_participants - 0-1 - This also didn't seem to do much of anything. Any ideas?
sv_console_update_rate, sv_dedicated_server_update_rate - 1-100, 1-1000 - What can this be used for? Does it alter the amount of bandwidth/CPU used? Or is this something like the tick rate in CS:S?
sv_statistics_save_auto - 0-1 - Setting this to 1 seemed to allow players to reconnect and still have their rank, provided the map has not changed. Once the map changes their rank is gone, is there any way to change this behavior?
  03:06:37  5 April 2007
profilee-mailreply Message URLTo the Top
cgountanis
(Novice)
 
On forum: 03/31/2007
 

Message edited by:
cgountanis
04/05/2007 3:21:06
Messages: 8
Running this command or any of the examples from the BIN folder:

dedicatedXR_3DA.exe -i -nosound -start serve(testers_mp_agroprom/artefacthunt/anum=0/astime=3/ardelta=30/reinf=20) client(localhost)

The procedure entry point alcIsExtensionPresent could not be located in the dynamic link libaray OpenAL32.dll


What am I doing wrong?




****EDIT****

I figured it out. I downloaded the OpenAL Runtime and things work perfect.

http://developer.creative.com/articles/article.asp?cat=1&sbcat=31&top=38&aid=46

direct dl: http://developer.creative.com/articles/article.asp?cat=1&sbcat=31&top=38&aid=46&file=oalinst.exe
  22:49:43  5 April 2007
profilee-mailreply Message URLTo the Top
Blastem
(Novice)
 
On forum: 03/23/2007
Messages: 8

---QUOTATION---
Besides -ltx, that is the only other thing as far as i know.

-svcfg does work but it won't load the gametype and some settings.

And there are alot of examples out there, i even tried one of yours which works but once i add /psw="secret" or /psw=secret it starts and immediately stops without logging what is causing it.

At first i thought the client should be provided a pass so i tried to give the /psw="secret" and /psw=secret as parameter as well but no luck either.

Can you give a simple example, including password which can be used without any further modifications by me so i can give feedback on that.

And apparently the master browser is still down which is a shame as well

Are you an official or just a helper?
---END QUOTATION---



It works for me I put the "psw" after max players and I can lock down the server,

Now, question, is there a restart round command? I want to start to scrim other clans, but need a restart command.
  05:43:59  6 April 2007
profilee-mailreply Message URLTo the Top
cgountanis
(Novice)
 
On forum: 03/31/2007
 

Message edited by:
cgountanis
04/06/2007 6:16:01
Messages: 8
When I set my server up on Windows 2000 Server the version shows up as 1.0009 in the server browser. Is this a problem?


Once again I figured it out Make a whatever.reg file add the following text and make your ded server version whatever you want.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\GSC Game World\STALKER-SHOC]
"InstallVers"="1.0001"
  16:12:57  6 April 2007
profilee-mailreply Message URLTo the Top
i365|zoldson
(Novice)
 
On forum: 04/03/2007
 

Message edited by:
i365|zoldson
04/06/2007 16:14:28
Messages: 20
Oh yes, that's something else I could have mentioned to everyone out there, the registry entries needed for Stalker to be happy. 64-bit and 32-bit Windows have slightly different keys. These are the bare minimum, the other ones found in a normal Stalker installation might serve some purpose, but I haven't seen the lack of them effect the server in any way. There are a couple similar keys that have names that might benefit a server, but I'm not sure if those are restricted for people who paid extra or not, or if it changes multi-player at all, so I won't list them.
You can copy and paste the following commands into a Windows command console instead of making a file and importing it. (Start -> Run.. -> cmd) Yes, you can specify the version that the server displays, but who knows what effects that might have.

64-bit:
REG ADD "HKLM\SOFTWARE\Wow6432Node\GSC Game World\STALKER-SHOC"
REG ADD "HKLM\SOFTWARE\Wow6432Node\GSC Game World\STALKER-SHOC" /v InstallVers /t REG_SZ /d "1.0001"
REG ADD "HKLM\SOFTWARE\Wow6432Node\GSC Game World\STALKER-SHOC" /v InstallUserName /t REG_SZ /d "PLEASE GIVE ME A NAME"

32-bit:
REG ADD "HKLM\SOFTWARE\GSC Game World\STALKER-SHOC"
REG ADD "HKLM\SOFTWARE\GSC Game World\STALKER-SHOC" /v InstallVers /t REG_SZ /d "1.0001"
REG ADD "HKLM\SOFTWARE\GSC Game World\STALKER-SHOC" /v InstallUserName /t REG_SZ /d "PLEASE GIVE ME A NAME"
  19:07:18  6 April 2007
profilee-mailreply Message URLTo the Top
cgountanis
(Novice)
 
On forum: 03/31/2007
Messages: 8
OK, I am running a dedicated server in Chicago at a co-location center. It seems when you shoot you get lag for example the bullets lag out. You fire and one second later the gun shoots. Not always but enough to make the server fail.

What are the settings for? What is the optimum settings? Any other ways to help me out?
sv_client_reconnect_time (0 ) --- integer value in range [0,60]
sv_console_update_rate (1 ) --- integer value in range [1,100]
sv_dedicated_server_update_rate (100 ) --- integer value in range [1,1000]

The server is a dual xeon with 4GB or memory on a pimp conntection with at least 5 MB upload at all times. Whats the deal can anyone help me make this thing work correctly? PLEASE
 
Each word should be at least 3 characters long.
Search:    
Search conditions:    - spaces as AND    - spaces as OR   
 
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Multiplayer improvements
 

All short dates are in Month-Day-Year format.


 

Copyright © 1995-2017 GSC Game World. All rights reserved.
This site is best viewed in Internet Explorer 4.xx and up and Javascript enabled. Webmaster.
Opera Software products are not supported.
If any problem concerning the site functioning under Opera Software appears apply
to Opera Software technical support service.