Raised This Month: $32 Target: $400
 8% 

SCRDS Not switching to workshop map on server start


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Garlicvideos
Member
Join Date: Nov 2018
Old 01-06-2019 , 03:21   SCRDS Not switching to workshop map on server start
Reply With Quote #1

Hey there. CSGO is not switching over to a workshop map on server boot, even though i have my startup script configured correctly.

Here is my script:


Quote:
./srcds_run -game csgo -condebug -console +sv_setsteamaccount XXXXXXXXXXXXXX +net_public_adr XXXXXXXXXXXXXX +ip 0.0.0.0 -nowatchdog -tickrate 102 -usercon -port 27014 +tv_port 27013 -maxplayers_override 35 +game_type 3 +maxdownloadfilesizemb 300 +game_mode 0 +exec server.cfg -net_port_try 1 +host_workshop_collection 943175586 +workshop_start_map 787980533 -authkey XXXXXXXXXXXXXXXXXXXXXXX
The map has already been downloaded once by the server and it managed to switch over, but I restarted the server and it will refuse to switch to the map, defaulting to Dust2. Even force changing map doesnt work.
Garlicvideos is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-06-2019 , 04:53   Re: SCRDS Not switching to workshop map on server start
Reply With Quote #2

You need to be patient.

I tested and when SRCDS is launched, it maybe start download or update map. For me it take 3 minutes to download all map group.
When SRCDS have finnish downloading maps, it changed to workshop_start_map automatically.

Last edited by Bacardi; 01-06-2019 at 04:54.
Bacardi is offline
Garlicvideos
Member
Join Date: Nov 2018
Old 01-06-2019 , 09:06   Re: SCRDS Not switching to workshop map on server start
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
You need to be patient.

I tested and when SRCDS is launched, it maybe start download or update map. For me it take 3 minutes to download all map group.
When SRCDS have finnish downloading maps, it changed to workshop_start_map automatically.
Well I've left it running for well over a day now, the maps ARE downloaded, it just doesn't wanna switch
Garlicvideos is offline
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 01-06-2019 , 10:49   Re: SCRDS Not switching to workshop map on server start
Reply With Quote #4

Is there any type of message on console?
__________________
Boycott ESEA
My servers
ghostofmybrain is offline
Garlicvideos
Member
Join Date: Nov 2018
Old 01-08-2019 , 08:23   Re: SCRDS Not switching to workshop map on server start
Reply With Quote #5

Quote:
Originally Posted by ghostofmybrain View Post
Is there any type of message on console?
At boot, it says that no map was specified and would default to D2. It also gives

Quote:
#GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
#GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/cooperative).
#GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/coopmission).
Not sure what it means.
Also theres this:

Quote:
NET_CloseAllSockets
WARNING: UDP_OpenSocket: unable to bind socket
L 01/08/2019 - 13:16:56: [META] Loaded 1 plugin.
---- Host_NewGame ----
Unable to open logfiles under logfiles/L000_000_000_000_27014_201901081316_
Logging disabled
L 01/08/2019 - 13:16:56: Loading map "de_dust2"
Says can't bind to UDP, but I can connect perfectly fine after the server fully boots.
That's pretty much all there is to note from console. The rest are all unrelated (config settings)

Maybe something can be derived from this information?
Garlicvideos is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-08-2019 , 10:05   Re: SCRDS Not switching to workshop map on server start
Reply With Quote #6

In server, do you have workshop maps in "maps/workshop" folder
__________________
Do not Private Message @me
Bacardi is offline
Garlicvideos
Member
Join Date: Nov 2018
Old 01-08-2019 , 11:57   Re: SCRDS Not switching to workshop map on server start
Reply With Quote #7

Quote:
Originally Posted by Bacardi View Post
In server, do you have workshop maps in "maps/workshop" folder
Yes I do. The maps are part of a collection that was downloaded by the server using my AuthKey


I have sourcemod installed, would maplidt be an issue?

In my maplist.txt I have
Quote:
/workshop/<mapid>/<mapname>.bsp
Same thing in my mapcycle.txt

Last edited by Garlicvideos; 01-08-2019 at 11:59.
Garlicvideos is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-08-2019 , 12:02   Re: SCRDS Not switching to workshop map on server start
Reply With Quote #8

What you have in server.cfg ?

And show sm plugins list
__________________
Do not Private Message @me
Bacardi is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 01-08-2019 , 14:24   Re: SCRDS Not switching to workshop map on server start
Reply With Quote #9

Make sure you don't have a map or changelevel command in your autoexec.cfg
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Garlicvideos
Member
Join Date: Nov 2018
Old 01-11-2019 , 01:56   Re: SCRDS Not switching to workshop map on server start
Reply With Quote #10

Quote:
Originally Posted by Powerlord View Post
Make sure you don't have a map or changelevel command in your autoexec.cfg
Just checked, there isn't any.
Garlicvideos 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:54.


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