BASIC INFO
Server OS: Windows Server 2012 RC
Processor: Intel Xeon E3 1231-v3
Ram: 8GB
Game(s): Left 4 dead 2
Start Up Command: "D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\srcds.exe" -console -game left4dead2 +exec server1.cfg +map c1m1_hotel
Admin Mods: SourceMod, MetaMod
First I'm sorry for my bad english and bad writing
I'm still researching on running multiple SRCDS Server On Windows Server
As I see in windows I have to make many copy of SRCDS on multiple folders and that means it will take a whole of GB Disk space to hold it . And that not a good ideas for checking updates. I'm not free enough to check all of those folders for updates and etc ...
So i came in with an ideas.
First , I created seperated source mod folder in addons and set it server1 , server 2
Second , I seperated server.cfg into server1.cfg and server2.cfg with different config.
Third , I seperated 2 copies of shortcut of server 1 and 2 with seperated parameters.
Then I'll start up server 1 shortcut and server 2 shortcut.
After I finished run 2 shortcut I got 2 seperated server with different name , different port
Server 1 : I run it from default Sourcemod location , no problem
Server 2 : I run it with some little tweak in shortcut lines.
BUT in console I received some lines that confuse me the most
Both server is showing the same error , but it show correctly the path folder I choose for both to exec , correct seperated plugins.
In my modded server.cfg I see this lines doesn't work : sm_cvar mp_gamemode coop so I have to add sv_gametypes coop or realism but still nothing changed. Even I check with some command in console but it still return as a lie , for example
So is there anyway to go further than this ?
I think this will help windows version save alot of space and for someone like me who don't have enough *ahem* money to buy a new private computer or hire a VPS just for hosting Left 4 Dead 2 server.
Server1.cfg and Server2.cfg is the same but different name and different difficulty , game mode
=> Well It seem the server didn't exec the the server config file correctly , like source server is only accept the server.cfg by default.
Server OS: Windows Server 2012 RC
Processor: Intel Xeon E3 1231-v3
Ram: 8GB
Game(s): Left 4 dead 2
Start Up Command: "D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\srcds.exe" -console -game left4dead2 +exec server1.cfg +map c1m1_hotel
Admin Mods: SourceMod, MetaMod
First I'm sorry for my bad english and bad writing
I'm still researching on running multiple SRCDS Server On Windows Server
As I see in windows I have to make many copy of SRCDS on multiple folders and that means it will take a whole of GB Disk space to hold it . And that not a good ideas for checking updates. I'm not free enough to check all of those folders for updates and etc ...
So i came in with an ideas.
First , I created seperated source mod folder in addons and set it server1 , server 2
Second , I seperated server.cfg into server1.cfg and server2.cfg with different config.
Third , I seperated 2 copies of shortcut of server 1 and 2 with seperated parameters.
Then I'll start up server 1 shortcut and server 2 shortcut.
After I finished run 2 shortcut I got 2 seperated server with different name , different port
Server 1 : I run it from default Sourcemod location , no problem
Server 2 : I run it with some little tweak in shortcut lines.
Code:
"D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\srcds.exe" -console -game left4dead2 +exec server1.cfg +map c1m1_hotel [Server 1]
"D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\srcds.exe" -console -game left4dead2 +exec server2.cfg +sm_basepath addons/server2 +map c1m1_hotel [Server 2]
I'm using basepath to let the SRCDS know where is the sourcemod I want it to exec
BUT in console I received some lines that confuse me the most
Code:
exec: couldn't exec server.cfg
exec: couldn't exec sourcemod/sourcemod.cfg
Unknown command "sm_basepath"
In both server
Both server is showing the same error , but it show correctly the path folder I choose for both to exec , correct seperated plugins.
In my modded server.cfg I see this lines doesn't work : sm_cvar mp_gamemode coop so I have to add sv_gametypes coop or realism but still nothing changed. Even I check with some command in console but it still return as a lie , for example
Code:
sv_gametypes
"sv_gametypes" = "realism" ( def. "" )
[But in game it still campaign but not realism]
So is there anyway to go further than this ?
I think this will help windows version save alot of space and for someone like me who don't have enough *ahem* money to buy a new private computer or hire a VPS just for hosting Left 4 Dead 2 server.
Server1.cfg and Server2.cfg is the same but different name and different difficulty , game mode
Code:
/////////////////////////
//Server info
hostname "The Infinity Server #2" // write your server name here. The Infinity Server #2
rcon_password "3214949" // write your rcon password here.
z_difficulty Hard // change your difficulty here, difficulties are Easy, Normal, Hard and Impossible.
motd_enabled 1
sm_cvar mp_gamemode realism // Default (coop) change this to the mode you want.
sv_tags no-steam // the tags people have to type in the server browser to find your server (always keep "no-steam" tag).
sm_cvar sb_all_bot_game 1
/////////////////////////
//Internet, region, lobby setup
hostport 27015
sv_lan 0
sv_region 255
sv_allow_lobby_connect_only 0
/////////////////////////
//Game Settings
mp_disable_autokick 1 //(command)prevents a userid from being auto-kicked (Usage mp_diable_autokick )
sv_allow_wait_command 0 //default 1; Allow or disalow the wait command on clients connected to this server.
sv_alternateticks 0 //defulat 0; (singleplayer)If set, server only simulates entities on even numbered ticks.
sv_clearhinthistory 0 //(command)Clear memory of server side hint displayed to the player.
sv_consistency 0 //default 1; Whether the server enforces file consistency for critical files
sv_pausable 0 //default 0; is the server pausable
sv_forcepreload 1 //default 0; Force server side preloading
sv_pure_kick_clients 0 //default 1; If set to 1, the server will kick clients with mismatchng files. Otherwise, it will issue a warning to the client.
sv_pure 0 //If set to 1, server will force all client files execpt whitelisted ones (in pure_server_whitelist.txt) to match server's files.
//If set to 2, the server will force all clietn files to come from steam and not load pure_server_whilelist.txt. Set to 0 for disabled.
/////////////////////////
//communication
sv_voiceenable 1 //default 1; enable/disable voice comm
sv_alltalk 0 //default 0; Players can hear all other players' voice communication, no team restrictions
/////////////////////////
//LOGGING
log on //Creates a logfile (on | off)
sv_logecho 0 //default 0; Echo log information to the console.
sv_logfile 1 //default 1; Log server information in the log file.
sv_log_onefile 0 //default 0; Log server information to only one file.
sv_logbans 1 //default 0;Log server bans in the server logs.
sv_logflush 0 //default 0; Flush the log files to disk on each write (slow).
sv_logsdir logs //Folder in the game directory where server logs will be stored.
/////////////////////////
//Bans
// execute banned.cfgs at server start. Optimally at launch commandline.
// Put writeip/wrtieid commands in the bottom of server.cfg AFTER banned.cfgs have loaded.
exec banned_user.cfg //loads banned users' ids
exec banned_ip.cfg //loads banned users' ips
writeip //Save the ban list to banned_ip.cfg.
writeid //Wrties a list of permanently-banned user IDs to banned_user.cfg.
/////////////////////////
//Master server - "setmaster" - enable/disable master servers.
//Usage: setmaster
/////////////////////////
//Steam Groups Server - Show server on steam group - make it public 1
sv_steamgroup "8981192,5984755,1897289,1182299,4501914,1184541,950662,2674803,4989446,4755837,4916013,554111,283400,1944811,1480263,883,1154,3483,4984,31572,554109,589695,600445,603063,610951,1001012,115,90429,482,883,1154,3483,4984,31572,371427,554109,554111,554117,584833,589695,596657,600445,603063,606267,610951,630123,649825,707829,736485,904297,964095,1001012,1085761,1106051,1144302,1148657,1158579,1158"
/////////////////////////
//Network Tweaks - Increase network performance
rate 10000 //default 10000; Max bytes/sec the host can recieve data
sv_minrate 15000 //default "5000"; Min bandwidth rate allowed on server, 0 = unlimited
sv_maxrate 30000 //default "0"; Max bandwidth rate allowed on server, 0 = unlimited
sv_mincmdrate 20 //default 0; This sets the minimum value for cl_cmdrate. 0 = unlimited [cevo=67]
sv_maxcmdrate 33 //default 40; (If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate. [cevo=101]
/////////////////////////
//HLstatsculon
log on
logaddress_add 192.168.1.10:27500
/////////////////////////
//Hamlonslog
sv_logbans 1
sv_logfile 1
sv_log_onefile 0
mp_logdetail 3
=> Well It seem the server didn't exec the the server config file correctly , like source server is only accept the server.cfg by default.