AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   sv_downloadurl isn't saving (https://forums.alliedmods.net/showthread.php?t=322623)

noahspaghetti 03-31-2020 16:37

sv_downloadurl isn't saving
 
[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.

Bacardi 03-31-2020 17:51

Re: sv_downloadurl isn't saving
 
You maybe have more sv_downloadurl cvar in same file or another config files.

*edit
unless one of plugins is handling that cvar

noahspaghetti 03-31-2020 22:12

Re: sv_downloadurl isn't saving
 
Quote:

Originally Posted by Bacardi (Post 2689728)
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 03-31-2020 22:46

Re: sv_downloadurl isn't saving
 
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 ("")

TomL. 04-01-2020 00:33

Re: sv_downloadurl isn't saving
 
Make sure it's in the right format.
Code:

sv_downloadurl "http://example.com/csgo"

DarkDeviL 04-01-2020 10:24

Re: sv_downloadurl isn't saving
 
You didn't mention game. :nono:

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.

noahspaghetti 04-01-2020 13:45

Re: sv_downloadurl isn't saving
 
Quote:

Originally Posted by TomL. (Post 2689781)
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 04-01-2020 13:46

Re: sv_downloadurl isn't saving
 
Quote:

Originally Posted by DarkDeviL (Post 2689847)
You didn't mention game. :nono:

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

noahspaghetti 04-01-2020 13:52

Re: sv_downloadurl isn't saving
 
Quote:

Originally Posted by DarkDeviL (Post 2689847)
You didn't mention game. :nono:

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

Bacardi 04-01-2020 14:03

Re: sv_downloadurl isn't saving
 
1 Attachment(s)
Quote:

Originally Posted by noahspaghetti (Post 2689884)
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


All times are GMT -4. The time now is 14:18.

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