Raised This Month: $51 Target: $400
 12% 

[L4D2]problem starting server in SCAVENGE mode


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Neevar
Senior Member
Join Date: Mar 2014
Old 09-15-2014 , 11:16   [L4D2]problem starting server in SCAVENGE mode
Reply With Quote #1

Hi guys,

I'm trying to start a scavenge server for l4d2.

Unfortunately I'm failing to do so.

I've set sv_gametypes "scavenge", mp_gamemode "scavenge"

the startup commands also have these values with +map c8m5_rooftop

i also tried c8m5_rooftop scavenge

The map loads to scavenge, BUT

here's the thing,

I'm inside the saferoom. There is the timer and all. The moment I step out of the saferoom, the timer runs and when I get to the area where the generator will be in a scavenge map for c8m5, there isn't anything.

The only way this works is if I do the changelevel c8m5_rooftop scavenge or map c8m5_rooftop after the server has loaded completely.

What am I doing wrong?
Neevar is offline
checkster
BANNED
Join Date: Apr 2007
Location: Norway
Old 09-15-2014 , 12:08   Re: [L4D2]problem starting server in SCAVENGE mode
Reply With Quote #2

Try mp_gamemode "scavenge" in startupline/comandline.And remove it from cfgs

Last edited by checkster; 09-15-2014 at 12:08.
checkster is offline
Neevar
Senior Member
Join Date: Mar 2014
Old 09-15-2014 , 12:45   Re: [L4D2]problem starting server in SCAVENGE mode
Reply With Quote #3

Here's the stuffs I've tried so far,

1.
(+) no sv_gametypes and mp_gamemode declared in server.cfg
(+) startup parameters have +mp_gamemode scavenge +sv_gametypes scavenge +map c8m5_rooftop

RESULT: Scavenge game, but survivors in saferoom
_____________________________________________ _________________________

2.
(+) Same as 1, added +map c8m5_rooftop scavenge

RESULT: Scavenge game, but survivors in saferoom
_____________________________________________ _________________________

3.
(+) Same as 2, with mp_gamemode and sv_gametypes specified in server.cfg

RESULT: Scavenge game, but survivors in saferoom
_____________________________________________ _________________________

4.
(+) Removed mp_gamemode and sv_gametypes from startup parameters but kept those in server.cfg

RESULT: Scavenge game, but survivors in saferoom
_____________________________________________ _________________________

5.
(+) Found a solution saying to create a file called scavenge.cfg that contained "map c1m4_atrium scavenge" and add to startup parameters +exec scavenge.cfg
(+) Added mp_gamemode and sv_gametypes to server.cfg

RESULT: scavenge.cfg didn't get executed. Map defaulted to c1m1_hotel. It was still a scavenge mode
_____________________________________________ _________________________

6.
(+) Startup server as per all the above, do a "changelevel c1m4_atrium scavenge"

RESULT: proper scavenge server. meaning, the survivors were at the correct spawn area with generator
_____________________________________________ _________________________

7.
(+) Startup server as per all the above, do a "map c1m4_atrium scavenge"

RESULT: proper scavenge server. meaning, the survivors were at the correct spawn area with generator
Neevar is offline
checkster
BANNED
Join Date: Apr 2007
Location: Norway
Old 09-15-2014 , 13:39   Re: [L4D2]problem starting server in SCAVENGE mode
Reply With Quote #4

http://forums.steampowered.com/forum....php?t=1037748
checkster is offline
Neevar
Senior Member
Join Date: Mar 2014
Old 09-15-2014 , 13:53   Re: [L4D2]problem starting server in SCAVENGE mode
Reply With Quote #5

that was the same link i used for my 5th try.

UNLESS i do an initial changelevel <scavenge_map> scavenge or map <scavenge_map> scavenge,

the servers loads the map into scavenge mode BUT survivors spawned inside saferoom like a versus match.
Neevar is offline
checkster
BANNED
Join Date: Apr 2007
Location: Norway
Old 09-15-2014 , 14:32   Re: [L4D2]problem starting server in SCAVENGE mode
Reply With Quote #6

Quote:
Originally Posted by Neevar View Post
that was the same link i used for my 5th try.

UNLESS i do an initial changelevel <scavenge_map> scavenge or map <scavenge_map> scavenge,

the servers loads the map into scavenge mode BUT survivors spawned inside saferoom like a versus match.
You are missing something some where.
Mind posting cfgs startup etc, remember to remove any data you do not want leaked, like passes ip.
checkster is offline
Neevar
Senior Member
Join Date: Mar 2014
Old 09-15-2014 , 23:11   Re: [L4D2]problem starting server in SCAVENGE mode
Reply With Quote #7

startup script
Code:
./srcds_run -game left4dead2 +hostport 27018 -ip 192.168.1.102 +map c1m4_atrium scavenge +sv_gametypes scavenge +mp_gamemode scavenge -debug
server.cfg (the tabbing seems to be out of place here. But is fine in notepad++)
Code:
hostname					        		"zScavenge Test Server"
motd_enabled								0
sv_steamgroup 								#########

// GAME SETTINGS
sm_cvar mp_gamemode 						scavenge
sv_gametypes 								scavenge
sv_force_unreserved							1
sv_maxplayers								8
sm_cvar sb_all_bot_game 					1	
//sm_cvar allow_all_bot_survivor_team		1 
sv_lan 										0
sv_region 				         			4
sv_allow_lobby_connect_only 				0
mp_disable_autokick 						1
sv_allow_wait_command 						0
sv_alternateticks 							0
sv_consistency 								0
sv_pausable									0
sv_forcepreload 				        	1
sv_pure_kick_clients						0
sv_voiceenable 								1
sv_alltalk 						        	0

// LOGGING
log 						        		on
sv_logecho 			 						0
sv_logfile 				        			1
sv_log_onefile 								0
sv_logbans 									1
sv_logflush 								1
sv_logsdir 			         				logs

// NETWORK TWEAK
rate 			            				10000
sv_minrate 									15000
sv_maxrate 									30000
sv_mincmdrate 								20
sv_maxcmdrate 								33

// BANS
exec banned_user.cfg
exec banned_ip.cfg
writeip
writeid

//L4D2 Gamemodekeep Plugin
l4d_gamemodekeep							scavenge
sm plugins list
Code:
[SM] Listing 33 plugins:
  01 "Block Pistol Spam" (1.0) by Mr. Zero
  02 "Basic Chat" (1.6.1) by AlliedModders LLC
  03 "Basic Commands" (1.6.1) by AlliedModders LLC
  04 "Network Tools" (1.4) by Kyle Sanderson
  05 "Advertisements" (0.6) by Tsunami
  06 "Reserved Slots" (1.6.1) by AlliedModders LLC
  07 "L4D2 Team Switch Delayer" (0.2) by Quattros
  08 "Fun Votes" (1.6.1) by AlliedModders LLC
  09 "Basic Ban Commands" (1.6.1) by AlliedModders LLC
  10 "Heartbeat trigger" (1.2) by B-man & Dirka_Dirka
  11 "Player Commands" (1.6.1) by AlliedModders LLC
  12 "Admin loggin" (1.0) by vIr-Dan
  13 "L4D Vote Guard" (2.0.0) by Crimson, Customized
  14 "Basic Info Triggers" (1.6.1) by AlliedModders LLC
  15 "Automatic Campaign Switcher (ACS)" (v1.2.3) by Chris Pringle, el_psycho
  16 "MOTD Show" (1.0) by MiSTERVEEN
  17 "Connect Announce" (1.6) by Arg!
  18 "[L4D & L4D2] Achievement Trophy" (2.2) by SilverShot
  19 "Admin Help" (1.6.1) by AlliedModders LLC
  20 "Sound Commands" (1.6.1) by AlliedModders LLC
  21 "Votekick Escape Ban" (1.4) by Die Teetasse, customized
  22 "Anti-Flood" (1.6.1) by AlliedModders LLC
  23 "L4D Game Mode Keep" (0.0.1) by NiCo-op
  24 "Admin Menu" (1.6.1) by AlliedModders LLC
  25 "Admin File Reader" (1.6.1) by AlliedModders LLC
  26 "[L4D2] SG552 Reload Fix" (1.0) by McFlurry
  27 "Basic Comm Control" (1.6.1) by AlliedModders LLC
  28 "[L4D(2)] AFK and Join Team Commands" (1.1) by MasterMe
  29 "L4D2 Models Precacher" (2.2) by gamemann & satannuts
  30 "Client Preferences" (1.6.1) by AlliedModders LLC
  31 "Fun Commands" (1.6.1) by AlliedModders LLC
  32 "Basic Votes" (1.6.1) by AlliedModders LLC
  33 "L4D2 Team Unscrambler" (0.3) by Quattros
meta list
Code:
Listing 4 plugins:
  [01] SourceMod (1.6.1) by AlliedModders LLC
  [02] L4DToolZ (1.0.0.9h-2-g7465d71b-dirty) by Ivailosp
  [03] [L4D2] Melee Spawn Control (1.0.0.4) by V10
  [04] SDK Tools (1.6.1) by AlliedModders LLC
sm exts list
Code:
[SM] Displaying 10 extensions:
[01] Automatic Updater (1.6.1): Updates SourceMod gamedata files
[02] Webternet (1.6.1): Extension for interacting with URLs
[03] [L4D2] Melee Spawn Control (1.0.0.4): Give cvar sm_melee_weapon_list for set list of spawned melee weapons
[04] Top Menus (1.6.1): Creates sorted nested menus
[05] SDK Tools (1.6.1): Source SDK Tools
[06] BinTools (1.6.1): Low-level C/C++ Calling API
[07] GeoIP (1.6.1): Geographical IP information
[08] GeoIPCity (1.1.1): Geographical IP information
[09] Client Preferences (1.6.1): Saves client preference settings
[10] SQLite (1.6.1): SQLite Driver
Neevar is offline
Neevar
Senior Member
Join Date: Mar 2014
Old 09-17-2014 , 05:06   Re: [L4D2]problem starting server in SCAVENGE mode
Reply With Quote #8

anyone?
Neevar is offline
checkster
BANNED
Join Date: Apr 2007
Location: Norway
Old 09-17-2014 , 11:44   Re: [L4D2]problem starting server in SCAVENGE mode
Reply With Quote #9

+sv_gametypes scavenge +mp_gamemode scavenge why? You only need 1

Or +exec scavange.cfg.
Have all settings you want there

Last edited by checkster; 09-17-2014 at 11:46.
checkster is offline
Neevar
Senior Member
Join Date: Mar 2014
Old 09-17-2014 , 22:01   Re: [L4D2]problem starting server in SCAVENGE mode
Reply With Quote #10

Quote:
Originally Posted by Hauwexis View Post
Hi,

sm_cvar mp_gamemode "versus"
sv_gametypes "versus" <-- Useable types are "coop,realism,survival,versus,teamversus,scav enge,teamscavenge"

Type this two cvars in server.cfg


sv_gametypes means that the Server is allowed to play the modes that are typed in.

sm_cvar mp_gamemode sets the gametype which runs on the server. When u restart the Server it loads versus so that u see the versus map in L4D2 and you can directly join in this versus game. i set both to versus so i have a VERSUS ONLY server. Do you want to have a versus and coop server than type sv_gametypes "versus,coop". When players filled now a lobby up with 4 players in coop mode and they start the game they could be send to your server. Thats the difference between sv_gametypes "versus" and sv_gametypes "versus,coop".
Anyways, i tried what you said, they still are in saferoom.


I also found this https://github.com/nagadomi/l4d2_sca...1st_round_skip

not sure if it works as I can only test it once I get home. will update here.
Neevar is offline
Reply



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 23:55.


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