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

Can players download workshop maps from Download URL but not workshop?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
apocalyptic
Senior Member
Join Date: Feb 2013
Location: China
Old 01-05-2017 , 01:13   Can players download workshop maps from Download URL but not workshop?
Reply With Quote #1

Hi everyone!
Valve removed all workshop maps from CS:GO default map founder a few months ago, such like Favela, Seaside, Season, ect. Now I have to download these maps from workshop to my server.
But here comes a serious problem: If a player had not download those maps before he connects to my server, he has to download it from Steam Workshop when he connects, this takes a very long time, could be 30 or much more minutes.
I can let players download sound files from my DLurl by using a SourceMod function "AddFileToDownloadsTable", that is very very fast, but it seems do NOT work for maps, whatever .bsp or .bz2.
Would someone please give me some advice?
apocalyptic is offline
rogeraabbccdd
Veteran Member
Join Date: Jun 2015
Location: de_dust2
Old 01-05-2017 , 02:25   Re: Can players download workshop maps from Download URL but not workshop?
Reply With Quote #2

1.Subscribe the map you want in workshop.
2.Your maps will download in maps/workshop
3.Upload them to your fastdl server.
__________________

Please keep in mind, nobody have responsibility to help you, especially who don't try to Google first.
I only read messages in Chinese and English.

GitHub | Discord:Kento#2118
rogeraabbccdd is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 01-05-2017 , 07:55   Re: Can players download workshop maps from Download URL but not workshop?
Reply With Quote #3

I can't understand why it would take more then 5 minutes to start a workshop download.. are you in some funky region?
hamilton5 is offline
apocalyptic
Senior Member
Join Date: Feb 2013
Location: China
Old 01-05-2017 , 21:11   Re: Can players download workshop maps from Download URL but not workshop?
Reply With Quote #4

Quote:
Originally Posted by rogeraabbccdd View Post
1.Subscribe the map you want in workshop.
2.Your maps will download in maps/workshop
3.Upload them to your fastdl server.
Thank you for your advice, but most of those players have not subscribe any thing before, so they have to download it when they connect.

Quote:
Originally Posted by hamilton5 View Post
I can't understand why it would take more then 5 minutes to start a workshop download.. are you in some funky region?
You are right, there is a firewall here, it blocks Google, Youtube, Twitter, ect.

I got some idea from my friends yesterday, let me test them, if I got solution, allow me to share with you.

Last edited by apocalyptic; 01-05-2017 at 21:15.
apocalyptic is offline
rogeraabbccdd
Veteran Member
Join Date: Jun 2015
Location: de_dust2
Old 01-05-2017 , 22:44   Re: Can players download workshop maps from Download URL but not workshop?
Reply With Quote #5

Your player do not need to subscribe the map if you upload them to your fastdl.
__________________

Please keep in mind, nobody have responsibility to help you, especially who don't try to Google first.
I only read messages in Chinese and English.

GitHub | Discord:Kento#2118
rogeraabbccdd is offline
apocalyptic
Senior Member
Join Date: Feb 2013
Location: China
Old 01-06-2017 , 10:29   Re: Can players download workshop maps from Download URL but not workshop?
Reply With Quote #6

Here comes my suggestion:
1.Download maps from workshop to your server.
(https://developer.valvesoftware.com/...rver_Operators)
2.Move the .bsp file to your maps directory.
Quote:
Example: maps\workshop\123518981\de_favela.bsp -> maps\de_favela.bsp
3.Make a .bz2 file.
Quote:
Example: de_favela.bsp -> de_favela.bsp.bz2
4.Move this .bz2 file to your download-url.
5.Add it to the download table by using this SourceMod function:
Quote:
Example:
PHP Code:
OnMapStart()
{
    
AddFileToDownloadsTable("maps/de_favela.bsp.bz2")

apocalyptic 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 06:43.


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