• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/
  • Weve updated the Tripwire Privacy Notice under our Policies to be clearer about our use of customer information to come in line with the EU General Data Protection Regulation (GDPR) rules that come into force today (25th May 2018). The following are highlights of our changes:


    We've incorporated the relevant concepts from the GDPR including joining the EU and Swiss Privacy Shield framework. We've added explanations for why and how Tripwire processes customer data and the types of data that we process, as well as information about your data protection rights.



    For more information about our privacy practices, please review the new Privacy Policy found here: https://tripwireinteractive.com/#/privacy-notice

Setting up a dedicated server with weekly game mode

monster528

FNG / Fresh Meat
Jun 27, 2016
7
0
1
I have been hosting my particular server for a while from my computer. However, I have never been able to make the weekly game mode work. Any time I launch it with the batch file that contains the weekly game mode or try to use the WebAdmin feature, the server just reverts back to survival. I have tried everything I can think of and even searched online, but nothing I have tried has worked.
 

®omano

Grizzled Veteran
May 14, 2009
4,014
174
63
France
www.hellsoldiers.tk
what does the log say when you're switching map/gamemode? copy paste your log (remove any private information in it like your admin password if it is in startup command line, things like that) at www.pastebin.com to see what's going on.
edit: obviously give the link to your pastebin in a reply.
 

®omano

Grizzled Veteran
May 14, 2009
4,014
174
63
France
www.hellsoldiers.tk
Your log is missing the time/weekly synchronization, which is weird to me, example:

[0002.49] Log: *** Updating timed game events
[0002.49] Log: **** Current Time: 2019 9 24 1 5 4
[0002.49] Log: **** World start in seconds: 1492466400
[0002.49] Log: **** Current time in seconds: 1569279904
[0002.49] Log: **** Intended weekly index: 127
This is a first problem I think. Also do not startup on weekly game mode, do not put a game mode in your startup command line keep it simple, on default map, just start a default server then switch map and game mode from web admin to see if it changes something.

I see absolutely no reference of weekly game mode in your log except the startup command line.

[0010.64] Log: LoadMap: KF-ZedLanding?Name=Player?Team=255?Difficulty=2?GameLength=1?game=KFGameContent.KFGameInfo_WeeklySurvival
[0012.90] Log: Game class is 'KFGameInfo_Survival'
Seems like your server doesn't even know this game mode exists.

You know what, reinstall a fresh server in a different folder for a test, your current install probably have issues. Running game server on same compute as the client is often a bad idea too. So dont start Steam at all to do your server tests.
 

monster528

FNG / Fresh Meat
Jun 27, 2016
7
0
1
No luck reinstalling. Maybe it's just because its installed on the same computer as my steam install. I might invest in a raspberry pi one day to host servers, but until then I suppose I'll just skip trying to fix this. Thanks for the help
 

®omano

Grizzled Veteran
May 14, 2009
4,014
174
63
France
www.hellsoldiers.tk
LOL no you won't use a Raspberry pie to host a KF2 server. It is an ARM processor (you actually could, using some special additional tools.. but not natively).
 
Last edited:

®omano

Grizzled Veteran
May 14, 2009
4,014
174
63
France
www.hellsoldiers.tk
Also, I said to start run server with Steam not running, did you try?
Did you have the required ports opened as explained in the wiki?
Did you try to start the server on the default game mode before using webadmin to change to weekly game mode?
 

monster528

FNG / Fresh Meat
Jun 27, 2016
7
0
1
I did try running the server while steam is not running, this is usually how i have started the server in the past because I had issues if i didnt. I confirmed that the server wasnt changing game modes through the webadmin I did not launch the game or steam. My new server folder is on a different drive than my kf2 install as well. I don't know if that mattered but i figured i should move it

I did NOT have the required ports opened, however i do now and opening them did not fix my issue.

I did start the server in default game mode using the following .bat command line: start .\Binaries\win64\kfserver kf-bioticslab?adminpassword=******

I don't know if this helps, but this is what happens when I am in the server:

I launch the game and join my server.
I go to webadmin and change the game mode to weekly.
the game starts to load in weekly game mode.
I get disconnected and booted out of the server.
I rejoin the server and now it is back on survival game mode.
 

monster528

FNG / Fresh Meat
Jun 27, 2016
7
0
1
I saw im getting a different error from the one I posted earlier

[0149.91] DevNet: Browse: KF-Airship?game=KFGameContent.KFGameInfo_WeeklySurvival?AdminPassword=*?Name=Player?Team=255
[0149.93] Log: LoadMap: KF-Airship?game=KFGameContent.KFGameInfo_WeeklySurvival?AdminPassword=*?Name=Player?Team=255
[0149.93] Exit: IpNetDriverSteamworks_4 shut down
[0150.74] Log: Game class is 'KFGameInfo_Survival'
 

®omano

Grizzled Veteran
May 14, 2009
4,014
174
63
France
www.hellsoldiers.tk
This is really weird, I remember someone else having a similar issue long time ago, but can't find it. I can see what happens when I switch to this game mode on my server but not sure if it will help. For sure you do not have the internet time check at server start so this to me seems the problem, but it may still work without the time check, just it would load the improper weekly I think.

Do you have mods, workshop items, something not vanilla in your config files?

edit: here is what part of my log looks like when switching to weekly map from webadmin (I removed the 'WebAdmin:xxxx" flood you may not have that it is maybe only Linux server issue)

[0041.22] DevNet: Browse: KF-Airship?MaxPlayers=12?game=KFGameContent.KFGameInfo_WeeklySurvival?Name=Player?Team=255
[0041.24] Log: LoadMap: KF-Airship?MaxPlayers=12?game=KFGameContent.KFGameInfo_WeeklySurvival?Name=Player?Team=255
[0041.24] Exit: IpNetDriverSteamworks_0 shut down
[0042.56] Log: Game class is 'KFGameInfo_WeeklySurvival'
[0042.56] Init: Sockets: Socket queue 262144 / 262144
[0042.63] Log: NetMode is now 1
[0042.64] Log: Bringing World KF-AIRSHIP.TheWorld up for play (30) at 2019.09.30-02.22.40
[0042.64] DevLobby: LobbyJoinGame ServerIP=
[0044.04] Log: Bringing up level for play took: 1.411828
[0044.04] Log: ########### Finished loading level: 2.802177 seconds

Your server seems to not even know the game mode exists.

edit 2: here is similar thread, no answer https://forums.tripwireinteractive.com/index.php?threads/cant-do-weekly.2320007/
 
Last edited:

monster528

FNG / Fresh Meat
Jun 27, 2016
7
0
1
When i reinstalled it, I removed all my workshop items and mods.

OH one other thing since you mention time issues. My computer has always had it's time off by some 3-5 minutes. I don't know why. I have tried multiple times to use different time servers and sync them, but it always popped up with some error. Maybe the two issues are related. I've looked around but never was able to fix this issue.
 

oldschool

Active member
May 1, 2015
364
37
28
NYC
osghc.com
Could you post the enbled game modes in the PSCerver-KFGame.ini?

I Have this in mine:
Code:
[KFGameContent.KFGameInfo_WeeklySurvival]
bEnableGameAnalytics=true
bRecordGameStatsFile=false
MaxPlayers=6
bEnableDevAnalytics=true
GameModes=(FriendlyName="Survival",ClassNameAndPath="KFGameContent.KFGameInfo_Survival",bSoloPlaySupported=true,DifficultyLevels=4,Lengths=4,LocalizeID=0)
GameModes=(FriendlyName="Weekly",ClassNameAndPath="KFGameContent.KFGameInfo_WeeklySurvival",bSoloPlaySupported=true,DifficultyLevels=0,Lengths=0,LocalizeID=1)
GameModes=(FriendlyName="Versus",ClassNameAndPath="KFGameContent.KFGameInfo_VersusSurvival",bSoloPlaySupported=false,DifficultyLevels=0,Lengths=0,LocalizeID=2)
GameModes=(FriendlyName="Endless",ClassNameAndPath="KFGameContent.KFGameInfo_Endless",bSoloPlaySupported=true,DifficultyLevels=4,Lengths=0,LocalizeID=3)
You could try changing the default game type to 'Weekly' only by adding # infront of each of the other gametypes and restart the server to see if that works.
Code:
[KFGameContent.KFGameInfo_WeeklySurvival]
bEnableGameAnalytics=true
bRecordGameStatsFile=false
MaxPlayers=6
bEnableDevAnalytics=true
#GameModes=(FriendlyName="Survival",ClassNameAndPath="KFGameContent.KFGameInfo_Survival",bSoloPlaySupported=true,DifficultyLevels=4,Lengths=4,LocalizeID=0)
GameModes=(FriendlyName="Weekly",ClassNameAndPath="KFGameContent.KFGameInfo_WeeklySurvival",bSoloPlaySupported=true,DifficultyLevels=0,Lengths=0,LocalizeID=1)
#GameModes=(FriendlyName="Versus",ClassNameAndPath="KFGameContent.KFGameInfo_VersusSurvival",bSoloPlaySupported=false,DifficultyLevels=0,Lengths=0,LocalizeID=2)
#GameModes=(FriendlyName="Endless",ClassNameAndPath="KFGameContent.KFGameInfo_Endless",bSoloPlaySupported=true,DifficultyLevels=4,Lengths=0,LocalizeID=3)
Good Luck!
 

monster528

FNG / Fresh Meat
Jun 27, 2016
7
0
1
Mine has the same stuff in it. tried putting # in front of them to make it default, didn't work unfortunately.
 

oldschool

Active member
May 1, 2015
364
37
28
NYC
osghc.com
I set up a weekly server today with the official release by just changing the gametype in the server url. There is defibately something hinkey with your install. Hope you figure it out.
 

®omano

Grizzled Veteran
May 14, 2009
4,014
174
63
France
www.hellsoldiers.tk
If you want send me your config folder as a zipped file in PM I can have a look and see what's going on with your config file, pretty sure the issue lies there.

In the meantime you can also force validation with SteamCMD on your server files and see if it detects an issue in the files.