Raised This Month: $18 Target: $400
 4% 

sv_downloadurl isn't saving


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
noahspaghetti
Member
Join Date: Mar 2020
Old 03-31-2020 , 16:37   sv_downloadurl isn't saving
Reply With Quote #1

[CSGO] I added my sv_downloadurl to the server.cfg, except every time the server restarts/resets the cvar doesn't follow through. Any suggestions?


Edit: I attempted to disable all of my plugins, sv_downloadurl was still set to default on startup.

Solved - I put it inside my gamemode_casual_server.cfg under csgo/cfg, it now works on startup.

Last edited by noahspaghetti; 04-02-2020 at 03:44.
noahspaghetti is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-31-2020 , 17:51   Re: sv_downloadurl isn't saving
Reply With Quote #2

You maybe have more sv_downloadurl cvar in same file or another config files.

*edit
unless one of plugins is handling that cvar

Last edited by Bacardi; 03-31-2020 at 17:51.
Bacardi is offline
noahspaghetti
Member
Join Date: Mar 2020
Old 03-31-2020 , 22:12   Re: sv_downloadurl isn't saving
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
You maybe have more sv_downloadurl cvar in same file or another config files.

*edit
unless one of plugins is handling that cvar
I'm having trouble figuring out which file a duplicate could be in... is there an easier way to locate it? Or do I need to search file for file?
noahspaghetti is offline
noahspaghetti
Member
Join Date: Mar 2020
Old 03-31-2020 , 22:46   Re: sv_downloadurl isn't saving
Reply With Quote #4

If anyone has suggestions please help me out, I'd hate to have to manually enter my sv_downloadurl "link" every time.

Again, I added it into my server.cfg. When I boot up the server and check console, sv_downloadurl is at it's default ("").

Every Cvar registers into my server except that one line. I'm able to manually enter into console and it'll work from there, but as soon as it restarts it goes back to default ("")
noahspaghetti is offline
TomL.
Senior Member
Join Date: Oct 2017
Location: Germany
Old 04-01-2020 , 00:33   Re: sv_downloadurl isn't saving
Reply With Quote #5

Make sure it's in the right format.
Code:
sv_downloadurl "http://example.com/csgo"

Last edited by TomL.; 04-01-2020 at 00:33.
TomL. is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 04-01-2020 , 10:24   Re: sv_downloadurl isn't saving
Reply With Quote #6

You didn't mention game.

If CS:GO, you might need make your adjustments in your current game mode's configuration, e.g. "gamemode_casual_server.cfg", as the "gamemode_*_server.cfg" config is being executed after server.cfg.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
noahspaghetti
Member
Join Date: Mar 2020
Old 04-01-2020 , 13:45   Re: sv_downloadurl isn't saving
Reply With Quote #7

Quote:
Originally Posted by TomL. View Post
Make sure it's in the right format.
Code:
sv_downloadurl "http://example.com/csgo"
Yes, it's in the right format. When I enter it manually others are able to download the server files as well.
noahspaghetti is offline
noahspaghetti
Member
Join Date: Mar 2020
Old 04-01-2020 , 13:46   Re: sv_downloadurl isn't saving
Reply With Quote #8

Quote:
Originally Posted by DarkDeviL View Post
You didn't mention game.

If CS:GO, you might need make your adjustments in your current game mode's configuration, e.g. "gamemode_casual_server.cfg", as the "gamemode_*_server.cfg" config is being executed after server.cfg.
Yeah it's CSGO, are you recommending that I add sv_downloadurl to gamemode_*_server.cfg? I'll give it a go

Last edited by noahspaghetti; 04-01-2020 at 13:47.
noahspaghetti is offline
noahspaghetti
Member
Join Date: Mar 2020
Old 04-01-2020 , 13:52   Re: sv_downloadurl isn't saving
Reply With Quote #9

Quote:
Originally Posted by DarkDeviL View Post
You didn't mention game.

If CS:GO, you might need make your adjustments in your current game mode's configuration, e.g. "gamemode_casual_server.cfg", as the "gamemode_*_server.cfg" config is being executed after server.cfg.
Hm, is this normal dark?

https://imgur.com/hIJkIpZ
noahspaghetti is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-01-2020 , 14:03   Re: sv_downloadurl isn't saving
Reply With Quote #10

Quote:
Originally Posted by noahspaghetti View Post
Hm, is this normal dark?

https://imgur.com/hIJkIpZ
By default, CSGO try execute override config file what have been set in gamemodes.txt. (Don't edit that file)

If you get this message
Code:
exec: couldn't exec gamemode_casual_server.cfg
That just tell, you don't have that file or SRCDS can't open file.

Make sure your file is in ...csgo/cfg/ folder.
Your filename extension is *.cfg
Attached Files
File Type: cfg gamemode_casual_server.cfg (45 Bytes, 12 views)
__________________
Do not Private Message @me

Last edited by Bacardi; 04-01-2020 at 14:06.
Bacardi 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 03:40.


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