Serious Sam Fusion 2017 (beta)

Serious Sam Fusion 2017 (beta)

View Stats:
JoJo Nov 11, 2017 @ 3:28am
Dedicated server
Trying to set up a dedicated server for co-op gameplay in Fusion.

1) Where (folder) do I put the dedicatedserver.cfg in Windows and Linux so that the server exe will load the cfg automatically?
2) Where do I find a list of commands and parameters which I can use in the cfg?
3) Where do I find a list of commands and parameters to use in console in game? (for example for administration purposes)
4) Where do I find a list of all levels for use in cfg to set as starting level?
5) How do I use the in-game console to connect to server and execute commands? (rcts_strAdminPassword is set)

Thanks for any useful tipps and links.

Disclaimer: I read the Readme Textfile - it is not updated as it is still from "Serious Sam HD" and it is not very helpful regarding the above mentioned questions.
Last edited by JoJo; Nov 11, 2017 @ 3:56am
< >
Showing 1-15 of 26 comments
JoJo Nov 11, 2017 @ 3:33am 
Also in patch notes it says: "Server can limit Client BPS with the variable "ser_iMaxClientBPS", that limits bandwidth used per client."

1) is "ser_" correct or should it be "set_"?
2) What is the standard/recommendend setting for this?
Last edited by JoJo; Nov 11, 2017 @ 3:36am
[UFO] rad87gn Nov 12, 2017 @ 1:39am 
This should get you in the ball park. Then let us know what else you are missing.

http://steamcommunity.com/app/564310/discussions/0/2592234299559342904/

Map wise, what game you want to host?
Last edited by [UFO] rad87gn; Nov 12, 2017 @ 1:40am
rubregg Nov 12, 2017 @ 1:48am 
Maybe start by looking into the guides section, Melody has made a guide on setting up a DM server but a lot in it is for all types of servers.

The server and game options config files go, at least in Windows, into Fusion's main directory ..\Steam\steamapps\common\Serious Sam Fusion 2017. You need to add them to your server's startup command, for example "[path.to]\Steam\steamapps\common\Serious Sam Fusion 2017\Bin\x64\Sam2017_DedicatedServer.exe" +exec server.cfg +gameoptions gameoptions.cfg"

You can get a list of all cvars by typing "help" into the console, you can then copy/paste them from your log file. Game options start with "gam_" and should be pretty self-explanatory.

ser_iMaxClientBPS is correct, the "ser" stands for "server" i suppose. The client's BPS is set with cli_iMaxBPS and cli_iMaxOutBPS. Default ser_iMaxClientBPS is 20000 and should possibly be increased. What you can set obviously depends on your internet connection and your max number of players. No idea what is best, Melody once recommended 250000, I'm currently using 150000. Most people won't connect with more than 50000 which is the highest value you can set via the Multiplayer Options menu.

For remote admin connection I'm using a telnet/ssh client called Putty[www.putty.org]. I don't know if you can connect as admin from within your game but I wouldn't think so.

As for file names of the maps, I don't have a list, maybe someone else does. If you're looking for a specific map, just load it in your game and check console/log for the file name.

Hope this helps, good luck with setting up your server :)
JoJo Nov 12, 2017 @ 4:19am 
Thanks for the answers. Since I am not a complete noob (I used to set up dedicated servers back in the days of the original Serious Sam) I am somewhat familiar with the commands.

Now: The dedicated server tool just simply does not work on Windows 10. Period. Nothing I can do about that it seems.

So I try to set it up on my Linux (Ubuntu) machine, where it basically (!) works. Good news.

• I created a "server.cfg" and a "gameoptions.cfg"
• I put them in root directory of "Serious Sam Fusion 2017"
• I added startup commands "+exec server.cfg +gameoptions gameoptions.cfg"

Result: The server.cfg is loaded (I can see the correct name in the server list), however the gameoptions.cfg is NOT loaded.

Simple question: Where do I have to put the file, which is loaded via "+gameoptions"?

The "Dedicated Server Readme" states:

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.)

Which is a TOTAL MISINFORMATION, since there is no "SeriousSamHD" folder. This is frustrating because if you actually read the games very own Readme you will fail.
[UFO] rad87gn Nov 12, 2017 @ 4:34am 
I reported a bug long time ago that the readme needs improvement and updated to solid information.

Hint, hint, Croteam. :)

"Simple question: Where do I have to put the file, which is loaded via "+gameoptions"?

It goes in the same directory as your main start file which needs pathing to this directory or put them all in this directory (this directory main path can change depending on where you installed Steam or install games):

\Program Files (x86)\Steam\steamapps\common\Serious Sam Fusion 2017\Bin\x64

Path most important: \Serious Sam Fusion 2017\Bin\x64

That is where the dedicated server exe is located. The script will read from current directory.

Last edited by [UFO] rad87gn; Nov 12, 2017 @ 4:42am
JoJo Nov 12, 2017 @ 5:42am 
Well, I tracked down the error to probably some command (perhaps "gam_bWaitAllPlayers=0") not working, so the WHOLE gameoptions were not loaded for some reason.

So I rewrote the gameoptions.cfg from scratch and now it is working. For Linux (Ubuntu) I just had to put the "server.cfg" and the "gameoptions.cfg" in the root folder of "Serious Sam Fusion 2017" and add "+exec server.cfg +gameoptions gameoptions.cfg" to the startup commands.

I need to play around with "gam_gdDifficulty" and "gam_iStartDifficulty" to find out which is working, whats the difference and if it accepts numbers (which number represents which difficulty?) or also "normal", "hard", "serious"

One more question arises: What does turning on "VR-Friendly" and/or "Flat-Friendly" do? Should I have them on? Why? Why not?
[UFO] rad87gn Nov 12, 2017 @ 5:50am 
Originally posted by JoJo:
Well, I tracked down the error to probably some command (perhaps "gam_bWaitAllPlayers=0") not working, so the WHOLE gameoptions were not loaded for some reason.

So I rewrote the gameoptions.cfg from scratch and now it is working. For Linux (Ubuntu) I just had to put the "server.cfg" and the "gameoptions.cfg" in the root folder of "Serious Sam Fusion 2017" and add "+exec server.cfg +gameoptions gameoptions.cfg" to the startup commands.

I need to play around with "gam_gdDifficulty" and "gam_iStartDifficulty" to find out which is working, whats the difference and if it accepts numbers (which number represents which difficulty?) or also "normal", "hard", "serious"

One more question arises: What does turning on "VR-Friendly" and/or "Flat-Friendly" do? Should I have them on? Why? Why not?
Very nice!! Great to hear you are getting things rolling!! :) Love people hosting the game and thanks for doing that!

VR-Friendly changes the map so it works better for VR players. It takes away some things that can make players sick and it enables things that allows them to get through the game easier using VR.

Flat-Friendly is mainly used for things like death-match that will give the VR players one weapon instead of 2 which can make them over powered over a flat player.
JoJo Nov 12, 2017 @ 6:01am 
Interesting, thanks. So what happens when I enable both VR- and Flat-Friendly in a Coop-Game?

Also: Is there a way to grant only certain weapons unlimited ammo? Or the other way around: Give unlimited ammo to every weapon except certain weapons?
[UFO] rad87gn Nov 12, 2017 @ 6:04am 
I haven't tried but I'm guessing enabling both you'll end up with a VR friendly game and the flat-friendly option will make the VR players have only 1 weapon. You got me curious on testing this. If you find out let me know. I bet you'd end up with a server neither the flat players or VR players would like. The flat players would have VR enabled maps which would remove from their experience and the VR players would have 1 weapon which would remove from their experience. :)

Unlimited for certain weapons isn't possible that I know of. It's either all on or all off. There could be some console commands for it but I've never seen anything like that talked about or heard of yet.
Last edited by [UFO] rad87gn; Nov 12, 2017 @ 6:30am
JoJo Nov 12, 2017 @ 6:31am 
Thanks.

Btw: "Putty" also works as intended. Very nice.

The "unlimited ammo per weapon"-option would be neat for enemies on medium difficulty but with lots of hitpoints so you could spam a certain weapon with unlimited ammo (for example assault rifle) but have limited ammo on other weapon (like cannon).

Also I just noticed: "gam_iExtraEnemyDamagePerPlayer" does not seem to work.
[UFO] rad87gn Nov 12, 2017 @ 6:51am 
Hmmm.... do you have this in the list? This turns on ability to custom set the game.

gam_bCustomizedDifficulty = 1;
Melody Nov 12, 2017 @ 8:19am 
Hi there,

I use Windows because the Linux server crashes too much for me.

Basically you first need to download the main game (APPID 564310[steamdb.info]) through SteamCMD, so you'll get the game plus all DLCs for the game (just downloading the server will ONLY give you TFE content!):
app_update 564310 validate
And then just install the Dedicated Server (APPID 564390[steamdb.info]):
app_update 564390 validate
Note: You may need to login through SteamCMD using the login command in order to download the game.

Add SteamCMD directory and Serious Sam Fusion directory to your PATH environment variable[www.computerhope.com].

You can now proceed creating both server.cfg and gameoptions.cfg files in the main server directory (in which the "Content" directory is also located).
Content of server.cfg: Server Name, RCON Password, Port and some server-related settings only.
Content of gameoptions.cfg: Game settings and all the other settings.
Please note that gameoptions.cfg is executed every time on server startup and everytime all the players quit.
Also, server.cfg and gameoptions.cfg are Lua scripts, please check here[www.serioussam.com] for more details.
You can see some useful commands to put in these files in the discussion rad87gn linked.
Some game-related commands are not exposed to server.cfg so they won't work if executed in the main server.cfg file.

Please note that remote RCON access is disabled by default, in order to enable it please add the following command to server.cfg:
rcts_bLocalMode = false
Telnet has a security flaw that allows bad people to DDOS your server by connecting and disconnecting, so I wouldn't recommend making it public.

Now proceed creating a startup batch file in your Serious Sam Fusion directory, in this case we'll use start.bat:
@echo off title Serious Sam Fusion Server Restarter cls :a timeout 5 start /abovenormal /wait Bin\x64\Sam2017_DedicatedServer.exe +exec server.cfg +gameoptions gameoptions.cfg goto a
This script will also reboot the server everytime it crashes. You can autostart it on user login by placing a shortcut in the shell:startup[www.winhelponline.com] special folder.
Last edited by Melody; Nov 12, 2017 @ 8:28am
JoJo Nov 12, 2017 @ 9:12am 
Thanks. What does "prj_iDedicatedFPS" do? The desciption says: "Specifies the framerate the dedicated server will run in." How does that affect the gameplay? I thought frames are something the GPU draws?
Melody Nov 12, 2017 @ 9:13am 
Originally posted by JoJo:
Thanks. What does "prj_iDedicatedFPS" do? The desciption says: "Specifies the framerate the dedicated server will run in." How does that affect the gameplay? I thought frames are something the GPU draws?
prj_iDedicatedFPS sets the framerate of the server. prj_iDedicatedFPS = X will limit your dedicated server to X updates/actions per second.
JoJo Nov 12, 2017 @ 9:44am 
The Dedicated Server is still not working on my Windows 10 (it does with Ubuntu-Linux):

Where can I submit the logfile?

Link to logfile: https://c.gmx.net/@426276273719874853/puCZC36FSE2j51hewk9L1w
< >
Showing 1-15 of 26 comments
Per page: 1530 50

Date Posted: Nov 11, 2017 @ 3:28am
Posts: 26