[ssam] Configuration files for Dedicated

Matrix Matrix at ServerXtreme.com
Sun Mar 16 18:58:42 EST 2003


Excellent... are Windows clients able to connect to your server? :)

--Matrix

-----Original Message-----
From: Relic2K [mailto:relic2k at canada.com] 
Sent: Sunday, March 16, 2003 4:41 PM
To: Serious Sam Dist List
Subject: [ssam] Configuration files for Dedicated

Here is a copy of my "init.ini" script for Default Coop, it may save you
some 
time and searching, plus here is what the settings mean;
INIT.INI:
___________
// this adjusts initial parameters that will be used for this server
net_iPort = 25601;              // port to run on - change if you want
to run 
more servers on one computer
gam_iStartMode = 0;             // game mode (0=coop, 1=scorematch, 
2=fragmatch)
gam_ctMaxPlayers = 6;           // max number of players accepted
gam_bWaitAllPlayers = 0;        // set this to wait for all players to
join
gam_iCredits = -1;              // number of credits for respawning 
(-1=infinite)
gam_bWeaponsStay = 1;           // weapons stay on/off
gam_iStartDifficulty = 2;       // difficulty (-1=tourist, 0=easy,
1=normal, 
2=hard, 3=serious)
gam_tmSpawnInvulnerability=3;
gam_bHealthArmorStays=1;
gam_bAllowHealth=1;
gam_bAllowArmor=1;
gam_bInfiniteAmmo=1;
gam_bFriendlyFire=0;
ded_bRestartWhenEmpty=1;
cli_bPredictIfServer=1;
cli_iBufferActions=1;
cli_iMaxBPS=2550;
cli_iMINBPS=925;
ser_bHeartbeatGameSpy=1;
ser_bClientsMayPause=0;
net_iCompression=1;
hud_bShowNetGraph=1;
hud_bshowlatency=1;
 

gam_strSessionName = "-=REL!c2K=- COOP Linux";
ded_strLevel = "Levels\\LevelsMP\\1_1_Palenque.wld";  // level to start
ded_tmTimeout = 60;     // timeout after the game is finished
ser_bWaitFirstPlayer = 1;   // wait until first player is joined
______________________________________________________
SETTINGS:
______________________________________________________

//The name you want people to see when thay are looking for a server to
game 
on keep the "//
//try to make the name "stick-out" so people are tempted join//
gam_strSessionName="server name here";
 

//This tell's the server what kinda game you want to host 0=coop
1=scorematch 
2=fragmatch//
gam_iStartMode=0;
 

//This tell's the server how many people you want to host per-game//
//NOTE- if it's a cable modem with 128 up-load no more then 5 not
counting 
you//
gam_ctMaxPlayers=7;
 

//If turned on, game is paused until all players join in. Useful if your

connection is slow//
//but take in-account people are connecting to your server to play not
to 
watch//
gam_bWaitAllPlayers=0;
 

//Number of credits available for respawning in coop set to -1 for
infinite//
gam_iCredits=-1;
 

//Whether weapons stay after beeing picked up//
gam_bWeaponsStay=0;
 

 

//level Difficulty for players -1=tourist 0=easy 1=normal 2=hard
3=serious//
gam_iStartDifficulty=2;
 

//How long the player is invulnerable after respawning. in seconds//
gam_tmSpawnInvulnerability=3;
 

//Whether health stay after beeing picked up//
gam_bHealthArmorStays=1;
 

//Allow Health good to leeve on//
gam_bAllowHealth=1;
 

//Allow Armor good to leeve on//
gam_bAllowArmor=1;
 

//Infinite Ammo 1 is on 0 is off//
gam_bInfiniteAmmo=1;
 

//Friendly Fire if on players can kill players//
gam_bFriendlyFire=0;
 

//After death you will respawn in the same place//
gam_bRespawnInPlace=1;
 

//Type of blood in game 0=none 1=green 2=red 3=hippie Flower-power!//
//cannot be changed during game PLAY//
gam_iBlood=2;
 

//tell's the server when to let go of a player best to leeve as is//
ded_tmTimeout=60;
 

//if on server will restart when empty 1 is on 0 is off//
ded_bRestartWhenEmpty=1;

//the level you want the server to start on//
//you can find the levels in \Serious Sam\Levels//
ded_strLevel="Levels\\03_TombOfRamses.wld";
 

//DEBUG: If this is set, prediction will be active even on server//
cli_bPredictIfServer=1;
 

//If on, engine will automatically adjust prediction settings 
cli_bPrediction//
//and cli_iBufferActions depending on current lag good for cable
modems//
cli_iBufferActions=1;

 

//Controls upper limit on outgoing traffic from client to server
during//
//connection. This limits overload on the client's connection//
//Determined in bytes per second for cable modems set to 2550 this//
//work's best for me//
cli_iMaxBPS=2550;

 

//Controls lower limit on outgoing traffic from client to server during
play//
//time If higher than minimum needed to keep the connection, it will
cause//
//replicated packets from server to client That is good because it 
compensates//
//for lost packets. But setting it too high can choke a clients incoming

bandwidth//
//Determined in bytes per second//
cli_iMINBPS=925;

 

//Enable/disable server from reporting to GameSpy master server//
//This must be adjusted before the server is started//
//Changing this value while the server is running//
//has no effect until restart of server//
ser_bHeartbeatGameSpy=1;

 

//If set, clients may pause. If not set, only server may pause the
game//
//NOTE- keep this off so some asshole don't keep pause'ing the game//
ser_bClientsMayPause=0;

 

//Game is paused until the first player has been joined//
ser_bWaitFirstPlayer=0;

 

//DEBUG: Do extensive sync check on server careful!//
//need to have a good computer and know about sdk code//
//if on it can lag the server or even lock-up the game//
ser_iExtensiveSyncCheck=0;

 

//TCP port to use for network connection//
//Two more successive ports may be used//
net_iPort=25600;

//Type of compression used when sending packets//
//Use high compression only for dedicated servers//
//It is not needed if player count is low (2) and//
//it will drain CPU if server is not dedicated//
//i have it on 2=best compression because of a//
//fast computer and slow connection//
//0=no compression 1=optimal compression-fast//
//2=best compression fast computers only//
net_iCompression=2;

 

//when off the lag will not be so bad at times//
hud_bShowMessages=0;

 

//Show net graph on screen player side//
hud_bShowNetGraph=1;

 

//Disable all player models except Serious Sam to conserve memory and
speed//
plr_bOnlySam=1;
_______________________________________________________________

-- 
_____________________________________
Relic2K
Virginia Beach, VA
E-Mail: relic2k at canada.com
Reg Linux User: 223221
Sub WineX Member





More information about the ssam mailing list