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

(L4D2) server cookie?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
edwinvega86
Senior Member
Join Date: Feb 2016
Old 07-23-2019 , 08:00   (L4D2) server cookie?
Reply With Quote #1

I know that customers can save in the cookie, but can the server save the game settings in the cookie? or is there any method?
edwinvega86 is offline
impossible_cc
Senior Member
Join Date: Sep 2018
Location: Ukraine
Old 07-23-2019 , 10:53   Re: (L4D2) server cookie?
Reply With Quote #2

You can use convar instead
__________________
impossible_cc is offline
edwinvega86
Senior Member
Join Date: Feb 2016
Old 07-25-2019 , 06:22   Re: (L4D2) server cookie?
Reply With Quote #3

yes but how could the cvar configurator be maintained for the next map, in my case it always resets on each map.
edwinvega86 is offline
GetRektByNoob
Member
Join Date: Nov 2018
Old 07-25-2019 , 06:41   Re: (L4D2) server cookie?
Reply With Quote #4

I'm not sure if there an easier way or if it's possible in L4D2 but you can try to create keyvalue file and save the convar value in it on OnMapEnd and on OnMapStart you can read the file and load the file and save the value.
double check that forwards because I'm not sure if this is the correct name.

Last edited by GetRektByNoob; 07-25-2019 at 06:43.
GetRektByNoob is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 07-25-2019 , 07:49   Re: (L4D2) server cookie?
Reply With Quote #5

cvar configs (different from the default value) should be put on the server.cfg file
if your server has some kind of different configs based on player count or difficult setting, you should look for a plugin that runs a .cfg file that depends on the config
__________________
Marttt 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 05:24.


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