59 changed files with 0 additions and 412 deletions
@ -1,224 +0,0 @@ |
|||
; Murmur configuration file. |
|||
; |
|||
; General notes: |
|||
; * Settings in this file are default settings and many of them can be overridden |
|||
; with virtual server specific configuration via the Ice or DBus interface. |
|||
; * Due to the way this configuration file is read some rules have to be |
|||
; followed when specifying variable values (as in variable = value): |
|||
; * Make sure to quote the value when using commas in strings or passwords. |
|||
; NOT variable = super,secret BUT variable = "super,secret" |
|||
; * Make sure to escape special characters like '\' or '"' correctly |
|||
; NOT variable = """ BUT variable = "\"" |
|||
; NOT regex = \w* BUT regex = \\w* |
|||
|
|||
; Path to database. If blank, will search for |
|||
; murmur.sqlite in default locations or create it if not found. |
|||
database= |
|||
|
|||
; If you wish to use something other than SQLite, you'll need to set the name |
|||
; of the database above, and also uncomment the below. |
|||
; Sticking with SQLite is strongly recommended, as it's the most well tested |
|||
; and by far the fastest solution. |
|||
; |
|||
;dbDriver=QMYSQL |
|||
;dbUsername= |
|||
;dbPassword= |
|||
;dbHost= |
|||
;dbPort= |
|||
;dbPrefix=murmur_ |
|||
;dbOpts= |
|||
|
|||
; Murmur defaults to not using D-Bus. If you wish to use dbus, which is one of the |
|||
; RPC methods available in Murmur, please specify so here. |
|||
; |
|||
;dbus=session |
|||
|
|||
; Alternate D-Bus service name. Only use if you are running distinct |
|||
; murmurd processes connected to the same D-Bus daemon. |
|||
;dbusservice=net.sourceforge.mumble.murmur |
|||
|
|||
; If you want to use ZeroC Ice to communicate with Murmur, you need |
|||
; to specify the endpoint to use. Since there is no authentication |
|||
; with ICE, you should only use it if you trust all the users who have |
|||
; shell access to your machine. |
|||
; Please see the ICE documentation on how to specify endpoints. |
|||
ice="tcp -h 127.0.0.1 -p 6502" |
|||
|
|||
; Ice primarily uses local sockets. This means anyone who has a |
|||
; user account on your machine can connect to the Ice services. |
|||
; You can set a plaintext "secret" on the Ice connection, and |
|||
; any script attempting to access must then have this secret |
|||
; (as context with name "secret"). |
|||
; Access is split in read (look only) and write (modify) |
|||
; operations. Write access always includes read access, |
|||
; unless read is explicitly denied (see note below). |
|||
; |
|||
; Note that if this is uncommented and with empty content, |
|||
; access will be denied. |
|||
|
|||
;icesecretread= |
|||
icesecretwrite= |
|||
|
|||
; How many login attempts do we tolerate from one IP |
|||
; inside a given timeframe before we ban the connection? |
|||
; Note that this is global (shared between all virtual servers), and that |
|||
; it counts both successfull and unsuccessfull connection attempts. |
|||
; Set either Attempts or Timeframe to 0 to disable. |
|||
;autobanAttempts = 10 |
|||
;autobanTimeframe = 120 |
|||
;autobanTime = 300 |
|||
|
|||
; Specifies the file Murmur should log to. By default, Murmur |
|||
; logs to the file 'murmur.log'. If you leave this field blank |
|||
; on Unix-like systems, Murmur will force itself into foreground |
|||
; mode which logs to the console. |
|||
;logfile=murmur.log |
|||
|
|||
; If set, Murmur will write its process ID to this file |
|||
; when running in daemon mode (when the -fg flag is not |
|||
; specified on the command line). Only available on |
|||
; Unix-like systems. |
|||
;pidfile= |
|||
|
|||
; The below will be used as defaults for new configured servers. |
|||
; If you're just running one server (the default), it's easier to |
|||
; configure it here than through D-Bus or Ice. |
|||
; |
|||
; Welcome message sent to clients when they connect. |
|||
; If the welcome message is set to an empty string, |
|||
; no welcome message will be sent to clients. |
|||
welcometext="<br />Welcome to this server running <b>Murmur</b>.<br />Enjoy your stay!<br />" |
|||
|
|||
; Port to bind TCP and UDP sockets to. |
|||
port=64738 |
|||
|
|||
; Specific IP or hostname to bind to. |
|||
; If this is left blank (default), Murmur will bind to all available addresses. |
|||
host=0.0.0.0 |
|||
|
|||
; Password to join server. |
|||
serverpassword= |
|||
|
|||
; Maximum bandwidth (in bits per second) clients are allowed |
|||
; to send speech at. |
|||
bandwidth=72000 |
|||
|
|||
; Maximum number of concurrent clients allowed. |
|||
users=100 |
|||
|
|||
; Respond to UDP ping packets. |
|||
; |
|||
; Setting to true exposes the current user count, the maximum user count, and |
|||
; the server's maximum bandwidth per client to unauthenticated users. In the |
|||
; Mumble client, this information is shown in the Connect dialog. |
|||
allowping=true |
|||
|
|||
; Amount of users with Opus support needed to force Opus usage, in percent. |
|||
; 0 = Always enable Opus, 100 = enable Opus if it's supported by all clients. |
|||
;opusthreshold=100 |
|||
|
|||
; Maximum depth of channel nesting. Note that some databases like MySQL using |
|||
; InnoDB will fail when operating on deeply nested channels. |
|||
;channelnestinglimit=10 |
|||
|
|||
; Regular expression used to validate channel names. |
|||
; (Note that you have to escape backslashes with \ ) |
|||
;channelname=[ \\-=\\w\\#\\[\\]\\{\\}\\(\\)\\@\\|]+ |
|||
|
|||
; Regular expression used to validate user names. |
|||
; (Note that you have to escape backslashes with \ ) |
|||
;username=[-=\\w\\[\\]\\{\\}\\(\\)\\@\\|\\.]+ |
|||
|
|||
; Maximum length of text messages in characters. 0 for no limit. |
|||
;textmessagelength=5000 |
|||
|
|||
; Maximum length of text messages in characters, with image data. 0 for no limit. |
|||
;imagemessagelength=131072 |
|||
|
|||
; Allow clients to use HTML in messages, user comments and channel descriptions? |
|||
;allowhtml=true |
|||
|
|||
; Murmur retains the per-server log entries in an internal database which |
|||
; allows it to be accessed over D-Bus/ICE. |
|||
; How many days should such entries be kept? |
|||
; Set to 0 to keep forever, or -1 to disable logging to the DB. |
|||
;logdays=31 |
|||
|
|||
; To enable public server registration, the serverpassword must be blank, and |
|||
; this must all be filled out. |
|||
; The password here is used to create a registry for the server name; subsequent |
|||
; updates will need the same password. Don't lose your password. |
|||
; The URL is your own website, and only set the registerHostname for static IP |
|||
; addresses. |
|||
; Only uncomment the 'registerName' parameter if you wish to give your "Root" channel a custom name. |
|||
; |
|||
;registerName=Mumble Server |
|||
;registerPassword=secret |
|||
;registerUrl=http://www.mumble.info/ |
|||
;registerHostname= |
|||
|
|||
; If this option is enabled, the server will announce its presence via the |
|||
; bonjour service discovery protocol. To change the name announced by bonjour |
|||
; adjust the registerName variable. |
|||
; See http://developer.apple.com/networking/bonjour/index.html for more information |
|||
; about bonjour. |
|||
;bonjour=True |
|||
|
|||
; If you have a proper SSL certificate, you can provide the filenames here. |
|||
; Otherwise, Murmur will create its own certificate automatically. |
|||
;sslCert= |
|||
;sslKey= |
|||
|
|||
; The sslDHParams option allows you to specify a PEM-encoded file with |
|||
; Diffie-Hellman parameters, which will be used as the default Diffie- |
|||
; Hellman parameters for all virtual servers. |
|||
; If a file is not specified, each Murmur virtual server will auto-generate |
|||
; its own unique set of 2048-bit Diffie-Hellman parameters on first launch. |
|||
;sslDHParams= |
|||
|
|||
; The sslCiphers option chooses the cipher suites to make available for use |
|||
; in SSL/TLS. This option is server-wide, and cannot be set on a |
|||
; per-virtual-server basis. |
|||
; |
|||
; This option is specified using OpenSSL cipher list notation (see |
|||
; https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT). |
|||
; |
|||
; It is recommended that you try your cipher string using 'openssl ciphers <string>' |
|||
; before setting it here, to get a feel for which cipher suites you will get. |
|||
; |
|||
; After setting this option, it is recommend that you inspect your Murmur log |
|||
; to ensure that Murmur is using the cipher suites that you expected it to. |
|||
; |
|||
; Note: Changing this option may impact the backwards compatibility of your |
|||
; Murmur server, and can remove the ability for older Mumble clients to be able |
|||
; to connect to it. |
|||
;sslCiphers=EECDH+AESGCM:EDH+aRSA+AESGCM:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:AES256-SHA:AES128-SHA |
|||
|
|||
; If Murmur is started as root, which user should it switch to? |
|||
; This option is ignored if Murmur isn't started with root privileges. |
|||
;uname= |
|||
|
|||
; If this options is enabled, only clients which have a certificate are allowed |
|||
; to connect. |
|||
;certrequired=False |
|||
|
|||
; If enabled, clients are sent information about the servers version and operating |
|||
; system. |
|||
;sendversion=True |
|||
|
|||
; This sets password hash storage to legacy mode (1.2.4 and before) |
|||
; (Note that setting this to true is insecure and should not be used unless absolutely necessary) |
|||
;legacyPasswordHash=false |
|||
|
|||
; By default a strong amount of PBKDF2 iterations are chosen automatically. If >0 this setting |
|||
; overrides the automatic benchmark and forces a specific number of iterations. |
|||
; (Note that you should only change this value if you know what you are doing) |
|||
;kdfIterations=-1 |
|||
|
|||
; You can configure any of the configuration options for Ice here. We recommend |
|||
; leave the defaults as they are. |
|||
; Please note that this section has to be last in the configuration file. |
|||
; |
|||
[Ice] |
|||
Ice.Warn.UnknownProperties=1 |
|||
Ice.MessageSizeMax=65536s |
@ -1,139 +0,0 @@ |
|||
Serious Engine Dedicated Server |
|||
=============================== |
|||
|
|||
1. Starting and stopping the dedicated server |
|||
--------------------------------------------- |
|||
|
|||
You can launch the dedicated server either from the Steam client's Tools tab, or by directly starting its executable file. In either case, a Steam client needs to be running on that machine, though the user logged in doesn't have to actually own the game. |
|||
|
|||
In absence of any further configuration, the server will start the first level of the Coop campaign, with all default settings, on the default port. |
|||
|
|||
The server will pause immediately after the first level is loaded, and wait for players to join, to conserve the game state. When the first player joins, the game will unpause. |
|||
|
|||
When all players disconnect, the server will restart its session from the first level again. |
|||
|
|||
To stop the server, press Ctrl+C in its console window and wait until it shuts down. |
|||
|
|||
2. Server ports |
|||
--------------- |
|||
|
|||
The server will be immediately visible on your LAN, but to make sure it is also visible on the internet, you need to open the port 27016. Note that this is only game enumeration port, as the game traffic port cannot be specified at the moment, thus this will not alleviate the need for NAT punching. I.e. it is not recommended to run a dedicated server behind a NAT/router that doesn't properly support NAT punching, or otherwise all connections to it will have very high pings. We expect the game traffic port to be specifiable in one of the future updates, but it is not currently possible. |
|||
|
|||
If you want to allow remote administration (see the section about remote administration below), you need to also forward port 27015 (TCP-only). |
|||
|
|||
You can change the port that the server is running on using the command-line option "+port". The server will use the given port for Rcon administration and the given port +1 for game enumeration (see above). So, e.g. if you use "+port 25600", game enumeration will work on port 25601 and rcon on port 25600. When game traffic specification becomes possible, it will be on port 25600 in the example, but this is currently not supported. |
|||
|
|||
You can change the network interface that the server will bind to using the command-line option "+ip". This is used both fr Rcon administration and for game enumeration. When game traffic specification becomes possible, it will also use this, but this is currently not supported (game traffic chooses an interface automatically). |
|||
|
|||
3. Command line |
|||
--------------- |
|||
|
|||
Command line options can be used to modify any cvar using this format: |
|||
|
|||
SamHD_DedicatedServer.exe +cvarname1 cvarvalue1 +cvarname2 cvarvalue2 ... +cvarnameN cvarvalueN |
|||
|
|||
Quotes are needed around values that contain spaces. Cvar names in the command line can be either short names (e.g. +level "Path/Level") where available, or long names (+gam_strLevel "Path/Level"). |
|||
|
|||
4. Configuration scripts |
|||
------------------------ |
|||
|
|||
When starting, in addition to the command line option, the server will read configuration parameters from the following sources (in this order): |
|||
* Content/SeriousSamHD/Config/dedicatedserver.cfg, |
|||
* eventual custom script specified via the +exec command line option, |
|||
* eventual per-session script specified via the +gameoptions command line option. |
|||
The first two are read once on boot, the last one is read on each session start and restart. (When all player's disconnect, the server will load this again before starting the first level.) |
|||
|
|||
All of those scripts are fully-featured console scripts, i.e. they use the Lua programming language, so you can put ifs, functions and other programming constructs in them. For a full syntax description and other documentation regarding the Lua programming language, please visit: http://www.lua.org . |
|||
|
|||
Dedicated server does not load or save any .ini files. |
|||
|
|||
5. Most relevant command line options and cvars |
|||
----------------------------------------------- |
|||
(long name shown in parentheses) |
|||
* +gamemode (gam_idGameMode) - Valid values are: |
|||
(cooperative group) |
|||
Cooperative (this is the default) |
|||
CooperativeCoinOp |
|||
TeamSurvival |
|||
(versus group) |
|||
BeastHunt |
|||
CaptureTheFlag |
|||
Deathmatch |
|||
InstantKill |
|||
LastManStanding |
|||
LastTeamStanding |
|||
MyBurden |
|||
TeamBeastHunt |
|||
TeamDeathmatch |
|||
Note that players can vote to change the game mode, but they cannot switch a server from Cooperative modes to Versus modes or vice versa. |
|||
IMPORTANT: Changing this option resets all other gam_ options to defaults for that game mode. If you are also customizing other gam_ options from a script or via Rcon, make sure you change gam_idGameMode first, and then change all others! |
|||
* +level (gam_strLevel) - Specifies which level to start. Path is relative to the folder the game was installed in. If not specified, the server will start the default first level. |
|||
* +maxplayers (gam_ctMaxPlayers) - Max number of players in the session. Cannot be higher than 16. |
|||
* +port (prj_uwPort) - Specifies the port number to start the server on. Default is 27015. |
|||
* +ip (net_strLocalHost) - Specifies the network interface to start the server on. Default is empty, meaning automatic. |
|||
* +fps (prj_iDedicatedFPS) - Specifies the framerate the dedicated server will run in (min 10). |
|||
* +exec (prj_strExecCfg) - Specifies the configuration file to execute when the server first starts. |
|||
* +gameoptions (prj_strOptionsScript) - Specifies the game options script to execute. It is executed whenever the server (re)starts the first level. |
|||
* +sessionname (prj_strMultiplayerSessionName) - Session name that will be displayed in the server browser. If you don't set this, current username from Windows will be shown. |
|||
* +rconpass (rcts_strAdminPassword) - Password used to connect to the server via Rcon (see "Remote administration" above). |
|||
* +logfile (prj_strLogFile) - Save the DedicatedServer.log into a different file. Useful if you want to run multiple servers from the same installation. |
|||
|
|||
NOTE: You can use any of the standard game options like gam_bInifiniteAmmo that customize the gameplay, but note that gam_bCustomizeDifficulty is required for them to take effect! |
|||
|
|||
6. Some other useful console variables and functions |
|||
---------------------------------------------------- |
|||
|
|||
* gamListPlayers() - print the list of all players to the console in format: 'playerindex: playername' |
|||
* gamKickByName() - kick the client with the given player name out of the game |
|||
* gamKickByIndex() - kick the client with the given index out of the game |
|||
* gamBanByName() - ban the client with the given player name out of the game |
|||
* gamBanByIndex() - ban the client with the given index out of the game |
|||
|
|||
* gamRestartServer() - restarts the dedicated server (disconnects all players) so any changes to game settings or other server options can take effect |
|||
* gamRestartGame() - restart game with new session params without disconnecting players |
|||
* samRestartMap() - restart the current map (without disconnecting all players) so any changes to game difficulty and similar options can take effect |
|||
* gamStop() - stops the current game |
|||
* gamStart() - start game with new session params without disconnecting players |
|||
* samVotePass() - force the current vote to pass |
|||
* samVoteFail() - force the current vote to fail |
|||
|
|||
* ser_iMaxClientBPS - limit the bandwidth used by each individual client on the server. This caps the cli_iMaxBPS on the server side. |
|||
* prj_strMapList - Semicolon separated list of maps used for multiplayer map rotation. |
|||
* prj_strMapListFile - Path to the file containing a list of maps used for multiplayer map rotation. |
|||
* prj_strDefaultMapDir - Default map folder to use for the map list (specified either by prj_strMapList or prj_strMapListFile). To make it posible to specify map names in a short form, if a '#' prefix is used in a map path, the '#' char will be replaced by the value of this cvar. |
|||
|
|||
All other cvars and cfuncs can be used, most notable are cvars with "gam_" prefix which can be used to setup difficulty options and similar. To get the list of those or more details about them, use the game client's console with its autocompletion and help. |
|||
|
|||
7. Remote administration (RCon) |
|||
------------------------------- |
|||
|
|||
Remote administration of Serious Sam HD dedicated servers is implemented via the Telnet protocol. Use any telnet client (e.g. telnet.exe) to connect to the IP and port the server is running on (default is 27015). |
|||
|
|||
Example: |
|||
C:\> telnet my.server.ip 27015 |
|||
|
|||
(*) NOTE: On Vista and Win7, the telnet command is not installed by default. You need to enable it using the "Turn Windows features on or off" section of the Control Panel. |
|||
|
|||
You need to specify the rcon password (using the +rconpass "password" command-line option) when starting the server, otherwise it won't allow you to connect to it via Rcon. Also make sure the appropriate port is open, as explained above. |
|||
|
|||
After entering the correct rcon password, the telnet client will behave similarly to the in-game console (except that SHIFT+TAB combo doesn't work). Additionally you can type a question mark ("?"), followed by a cvar or cfunc to get the help about it. |
|||
|
|||
8. Example configuration script |
|||
------------------------------- |
|||
|
|||
Here's an example config script. Put that in a text file named "server.cfg" in the root of the game installation (parent of Bin/), and specify "+exec server.cfg" in the command line (without quotes). |
|||
|
|||
--------8<----- cut here ----------- |
|||
|
|||
rconpass = "SuperSecretPassword"; -- MAKE SURE YOU CHANGE THIS!!!! |
|||
sessionname = "My Server Name" -- set this to the name of your server |
|||
|
|||
gam_ctMaxPlayers = 8 |
|||
gamemode="Deathmatch" |
|||
gam_bAutoCycleMaps = 1 |
|||
|
|||
local prj_strMapList = { |
|||
"#SunPalace.wld", -- put a list of map file names for rotation here |
|||
} |
|||
|
|||
--------8<------cut here ---------- |
@ -1,49 +0,0 @@ |
|||
-- Generated with Server GUI 3 |
|||
-- http://mrag.nl/sgui3/ |
|||
|
|||
-- General |
|||
rcts_strWelcomeNote = "Server RCON MOTD"; |
|||
rcts_strAdminPassword = "ADMINPASSWORD"; |
|||
prj_strLogFile = ""; |
|||
net_strLocalHost = ""; |
|||
gam_idGameMode = "Cooperative"; |
|||
ser_iMaxClientBPS = 11000; |
|||
prj_iDedicatedFPS = 100; |
|||
gam_ctMaxPlayers = 12; |
|||
prj_uwPort = 27015; |
|||
prj_strMultiplayerSessionName = "SERVERNAME"; |
|||
|
|||
-- Options |
|||
gam_bAllowJoinInProgress = 1; |
|||
gam_bAllowPowerupItems = 1; |
|||
gam_bAllowArmorItems = 1; |
|||
gam_bWeaponsStay = 1; |
|||
gam_bAmmoStays = 1; |
|||
gam_bArmorStays = 1; |
|||
gam_bHealthStays = 1; |
|||
gam_bAllowHealthItems = 1; |
|||
gam_bInfiniteAmmo = 0; |
|||
|
|||
-- Levels |
|||
local mapList = ""; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\01_CairoSquare\01_CairoSquare.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\02_CairoMuseum\02_CairoMuseum.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\03_IbnTulun\03_IbnTulun.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\04_IbnTulun\04_Medina.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\05_CairoTown\05_CairoTown.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\06_Pyramids\06_Pyramids.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\07_Karnak1\07_Karnak1.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\08_Karnak2\08_Karnak2.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\09_Luxor\09_Luxor.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\10_LostNubianTemples\10_LostNubianTemples.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\11_Ramesseum\11_Ramesseum.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\12_HatshepsutTemple\12_HatshepsutTemple.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\02_DLC\01_Philae\01_Philae.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\02_DLC\02_AbuSimbel\02_AbuSimbel.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\02_DLC\03_TempleOfSethirkopshef\03_TempleOfSethirkopshef.wld;"; |
|||
prj_StrMapList = mapList; |
|||
|
|||
-- Scripts |
|||
|
|||
-- Custom |
|||
|
Loading…
Reference in new issue