Raised This Month: $32 Target: $400
 8% 

Multiple dedicated servers on one VPS + gamemode problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Synida
New Member
Join Date: Oct 2017
Old 10-17-2017 , 20:31   Multiple dedicated servers on one VPS + gamemode problem
Reply With Quote #1

Hey everyone!

I could use some help in the configuration. I've a CentOS VPS, where I'm installed a l4d2 server, which is runing correctly in the co-op campaign gamemode.
Now i have 2 problems, what i want to solve:

1. Somehow the server is runing only in co-op mode, but i want it to be useable in versus mode too. Two lines from my l4d2server.cfg:
sv_gametypes "versus,survival,coop,teamversus,teamscavenge ,mutation5,mutation12,community1"
mp_gamemode "coop"

Earlier I tried to put all gamemodes I wanted to use after the mp_gamemode keyword too, but somehow only the coop version working.

2. I copyed the server files, and put it into an another folder, and i want to run an another server too. I'm tried to run it on a different port(changed the _default.cfg and with command too), but it's saying that it's already runing (I changed even the host field in the l4d2server.cfg). What am I doing wrong? What should I do for make it working?

3.(bonus) Is it possible to test the server versus mode without an another person? I mean I wanna do this alone, but for starting a server without 2 ppls looks impossible from the regular way. Is there any cmd for it, hint or something?

Thanks!
Synida is offline
checkster
BANNED
Join Date: Apr 2007
Location: Norway
Old 10-18-2017 , 11:50   Re: Multiple dedicated servers on one VPS + gamemode problem
Reply With Quote #2

3.
sm_cvar sb_all_bot_game 1
sm_cvar allow_all_bot_survivor_team 1
Then you can test versus alone.
mp_gamemode "versus" obviously

1.

mp_gamemode "coop,versus,campaign" or just 1 that you desire.
checkster is offline
Synida
New Member
Join Date: Oct 2017
Old 10-18-2017 , 16:15   Re: Multiple dedicated servers on one VPS + gamemode problem
Reply With Quote #3

Hey!

Thank you for the answer!

I'm changed the values in the config you suggested, and reload the server. But after i tried to connect to the server with the "connect" cmd from the console, it's just started a normal co-op server on the Parish map. In the config I'm just used this line: mp_gamemode "versus"

This is the configuration I'm using now:
Code:
// Hostname for server.
hostname "SECRET"

// RCON - remote console password.
rcon_password "SECRET"

// Server password - for private servers.
sv_password ""

//--> Gametypes sets the gametypes you want your server to run
//----> Versus Only: sv_gametypes "versus"
//----> Survival Only: sv_gametypes "survival"
//----> Coop Only: sv_gametypes "coop"
//----> Realism Only: sv_gametypes "realism"
//----> Team Versus Only: sv_gametypes "teamversus"
//----> Scavenge Only: sv_gametypes "teamscavenge"
//----> Both: sv_gametypes "versus,coop"
sv_gametypes "versus"

//--> mp_gamemode sets the gametypes that your server is allowed to run, IE Voting
//----> Versus Only: mp_gamemode "versus"
//----> Survival Only: mp_gamemode "survival"
//----> Coop Only: mp_gamemode "coop"
//----> Both: mp_gamemode "versus,coop"
mp_gamemode "versus"

sm_cvar sb_all_bot_game 1
sm_cvar sb_all_bot_team 1

//--> Steam group # to assign to server
//sv_steamgroup SECRET

sm_cvar fps_max 200
//--> Uncaps the servers maxfps limit
//--> (May be restricted by server provider on command line)

//--> Lowest possible value before noticing stuttering common.
sm_cvar nb_update_frequency 0.024

//--> Set Value to: (Tickrate / 2) * 1000
sm_cvar net_splitpacket_maxrate 30000

//--> Do not connect to the Match Making Service
//--> "0" = Off
//--> "1" = On
sv_steamgroup_exclusive 1

//--> When Enabled, Steamgroup members take priority when joining
//--> The server. However, anyone may join as long as a steamgroup
//--> Member has joined first. Slots are only reserved while they
//--> Are available in this manner, and a minimum of 1 slot is
//--> Reserved, because when a steamgroup member connects to the
//--> Server, other players will be able to connect. If there are
//--> Other players connected and the steamgroup member disconnects
//--> A random player will qualify to fill the remaining slot.

//--> Disable MOTD
motd_enabled 0

//Allow connections without creating lobby (connect IP:PORT)
//--> "0" = Off
//--> "1" = On
sv_allow_lobby_connect_only 0

//--> Default is "0". When Enabled, cannot connect to
//--> Games currently in progress.

//--> All talk - Allow both teams to use audio chat to speak with each other
//--> "0" = Off
//--> "1" = On
sv_alltalk 0

//--> Region - This sets the lobby in which your server will be part of
//--> You will want to set this to the closest location to your server
//--> eastcoast - sv_region 0
//--> westcoast - sv_region 1
//--> south america - sv_region 2
//--> europe - sv_region 3
//--> asia - sv_region 4
//--> australia - sv_region 5
//--> middle east - sv_region 6
//--> africa - sv_region 7
//--> world - sv_region 255
sv_region 3

//--> Allow use of cheats
//--> "0" = Off
//--> "1" = On
sv_cheats 0

//--> Disabled by default. Recommend using Admin Cheats Extension if you
//--> Wish to enable this. See below in this file.

// Server Logging
log on
sv_logbans 1
sv_logecho 1
sv_logfile 1
sv_log_onefile 0

// Rate Settings
sv_minrate 30000
sv_maxrate 60000

// Execute ban files
exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip
Do you have any idea, what could be wrong?
Synida is offline
Synida
New Member
Join Date: Oct 2017
Old 10-18-2017 , 19:44   Re: Multiple dedicated servers on one VPS + gamemode problem
Reply With Quote #4

Well i finally found someone who had a bit time for me, and then it's started, so thank you for the help.

I would have a new question now, should i create a new thread for it or can it put it here?
So.. in the coop mode I uploaded 54 maps on the server 3 months ago, and all of them works correcly. However there are some maps, like the "Back to the school", which is capable for versus mode. When we tried to run a test game then I got an error.


We tried some another maps too, and we always got this error message. Could someone help on what is the reason I got this message and how could I heal the server to be able to run the custom maps too in versus mode please?

Last edited by Synida; 10-18-2017 at 19:45.
Synida is offline
Triniayo
Senior Member
Join Date: Apr 2011
Location: #include <germany>
Old 10-19-2017 , 03:27   Re: Multiple dedicated servers on one VPS + gamemode problem
Reply With Quote #5

Seems like that the maps need additional .vpk‘s. Try to find them and upload them into the correct path given by the image: /addons/
__________________
If you need any help, feel free to add me on Steam.


Triniayo is offline
Send a message via Skype™ to Triniayo
checkster
BANNED
Join Date: Apr 2007
Location: Norway
Old 10-19-2017 , 04:38   Re: Multiple dedicated servers on one VPS + gamemode problem
Reply With Quote #6

sv_consistency 0
checkster is offline
Synida
New Member
Join Date: Oct 2017
Old 10-19-2017 , 16:40   Re: Multiple dedicated servers on one VPS + gamemode problem
Reply With Quote #7

Thank you guys for the help! It's working perfectly now!
I'm changed the configuration{sv_consistency 0}, and it's perfect now.

Can I ask a last one?
If I'm restarting the l4d2 server, then on every map I'm starting a game on kicks us back to the lobby, after the loader reaches the 100%, and the map is loading in only for the second start. Of course, later, if we try to play on that map once more then it's loading for the first time. It's seems like an initialization error, or I dont know how to call it. Is there anyone who know about this issue/effect, or how could I solve this?

For me it's ok, because I know that it's loading for the second time, but for some peoples it's confusing, if they dont knows about this issue, and that's why i want to fix this.
Synida is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode