csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

Downloading custom files from "community" servers doesn't work [Round 2]

Open fomulupa opened this issue 5 years ago • 25 comments

I believe this is the same issue as #11, and I am opening a new issue because this is still happening for me.

System information

https://gist.github.com/fomulupa/7aca6d5b4f721e4b5e34cfd633327532

Please describe your issue in as much detail as possible:

When I try to connect to a community server (or type connect IP_ADDRESS) I expect to download the needed files and connect to the server. What happens is that it tries to download the map, fails, and I get kicked to the main menu with the message "Missing map maps/bhop_nuclear_csgo.bsp, disconnecting".

Here is the log from the console:

https://gist.github.com/fomulupa/c5eb9035665a647ae4fb624771648190

Steps for reproducing this issue:

  1. Connect to a FastDL server

fomulupa avatar Mar 26 '19 04:03 fomulupa

@fomulupa Hi Try this in server.cfg

sv_downloadurl "http://45.144.66.127/fastdl/csgo-ze" or sv_downloadurl "https://megolox.ru/fastdl/csgo"
sv_allowdownload "1"
sv_allowupload "1"

megoRU avatar Mar 26 '19 09:03 megoRU

@megoRU, that's how i fixed dat on mine own.

RusJJ avatar Mar 27 '19 14:03 RusJJ

Ok my bug has been rightfully closed as duplicate so I am here reporting that I can reproduce this issue :)

Nuc1eoN avatar Jun 11 '19 16:06 Nuc1eoN

Same issue here. The data is being transferred, but the download fails exactly 30 seconds after it started. Downloading works fine on small models / maps.

Mathisca avatar Aug 28 '19 13:08 Mathisca

Any fix about this problem? it still exist

bubobih avatar Jan 20 '20 23:01 bubobih

This problem never were exist. Setup your FastDL.

RusJJ avatar Jan 22 '20 18:01 RusJJ

it exist if u set domain, if u set ip than there is no problem... so on domain some players have problems downloading... u have 10000 threads about this on net.

bubobih avatar Jan 22 '20 18:01 bubobih

No problems since 2017.

RusJJ avatar Jan 22 '20 18:01 RusJJ

Btw i dont understand you. Domain? Do you mean external dowloading url that called FastDL? ...

RusJJ avatar Jan 22 '20 18:01 RusJJ

if u are using ip as fdl then u shoudnt have problems but if u use http://domain.com/fdl some players have problems and get ejected to main menu with message that bsp cant be downloaded... i test it today with 1 player who has a problem and when i switch to ip then he download regulary a bsp.... many ppl complain maybe ppl have problem on your server too but u dont know about that... i didnt know half year that this can be problem and idk how many ppl get ejected and they pass my server and go to play somewehere else....

bubobih avatar Jan 22 '20 18:01 bubobih

I have same problem.

Downloading http://45.144.66.127/fastdl/csgo-ze//maps/ze_crazykart_v4.bsp.bz2.
Error downloading http://45.144.66.127/fastdl/csgo-ze//maps/ze_crazykart_v4.bsp.bz2
Downloading http://45.144.66.127/fastdl/csgo-ze//maps/ze_crazykart_v4.bsp.
Error downloading http://45.144.66.127/fastdl/csgo-ze//maps/ze_crazykart_v4.bsp

Server: goze.net4all.ru:27015

XakepSDK avatar Jul 14 '20 09:07 XakepSDK

I have same problem.

Downloading http://45.144.66.127/fastdl/csgo-ze//maps/ze_crazykart_v4.bsp.bz2.
Error downloading http://45.144.66.127/fastdl/csgo-ze//maps/ze_crazykart_v4.bsp.bz2
Downloading http://45.144.66.127/fastdl/csgo-ze//maps/ze_crazykart_v4.bsp.
Error downloading http://45.144.66.127/fastdl/csgo-ze//maps/ze_crazykart_v4.bsp

Server: goze.net4all.ru:27015

Maybe try 45.144.66.127 => 45.144.66.127:80, maybe it will work. But im not sure...

RusJJ avatar Jul 14 '20 20:07 RusJJ

👍 still having this

iamalisajid avatar Oct 29 '20 09:10 iamalisajid

👍 still having this

this fix https://github.com/ValveSoftware/csgo-osx-linux/issues/2047#issuecomment-476552372

megoRU avatar Oct 29 '20 10:10 megoRU

http://45.144.66.127/fastdl/csgo-ze/

you have double "//" use this: sv_downloadurl "http://45.144.66.127/fastdl/csgo-ze"

megoRU avatar Oct 29 '20 10:10 megoRU

@megoRU how to set the downloadurl for a custom map residing on my own server ?

iamalisajid avatar Oct 29 '20 10:10 iamalisajid

@megoRU how to set the downloadurl for a custom map residing on my own server ?

u mean local server?

megoRU avatar Oct 29 '20 10:10 megoRU

@megoRU how to set the downloadurl for a custom map residing on my own server ?

u mean local server?

my own hosted server

iamalisajid avatar Oct 29 '20 10:10 iamalisajid

@megoRU how to set the downloadurl for a custom map residing on my own server ?

u mean local server?

my own hosted server

You need any web fileserver. Or a simple web for example. Just put csgo/ contents to any folder on your web and simply put "web_address or IP + that folder location" to sv_downloadurl

RusJJ avatar Oct 29 '20 11:10 RusJJ

http://45.144.66.127/fastdl/csgo-ze/

you have double "//" use this: sv_downloadurl "http://45.144.66.127/fastdl/csgo-ze"

I also think the double // is the reason for the download error. (= the trailing slash added to the sv_downloadurl). Unfortunately you can only fix this URL if you own that server. I've found no way to overwrite this URL from client side, so I cannot validate this assumption.

As a workaround you can download those files manually and put them in your csgo folder. In my case the console shows: Error downloading https://rbz-community.de/fastdl/jail//models/[somemodel].. Using the command wget from here I was able to download all files in bulk.

Full command I've used: wget --level=inf -r -nc --cut-dirs=2 -np -R "index.html*" https://rbz-community.de/fastdl/jail/

In my case all those files are bz2 compressed. To extract all of them you can use: bzip2 -d $(find . -type f -name "*.bz2")

Move those files to [steamlocation]/steam/steamapps/common/Counter-Strike Global Offensive/csgo and merge the folders. Now you should be able to connect to the server.

karo-solutions avatar Nov 25 '20 19:11 karo-solutions

I'm having the same problem. Two servers fastdls that I know work on windows are not working on linux. The bsp.bz2 files fail to download. I don't believe the files are corrupted. Just not successfully downloading. The nav.bz2 files download without a problem.

Downloading http://fdl.edge-gamers.com/csgo/bhop/maps/bhop_japan.bsp.bz2.
Error downloading http://fdl.edge-gamers.com/csgo/bhop/maps/bhop_japan.bsp.bz2
Downloading http://fdl.edge-gamers.com/csgo/bhop/maps/bhop_japan.bsp.
Error downloading http://fdl.edge-gamers.com/csgo/bhop/maps/bhop_japan.bsp

LightBasileus avatar Sep 12 '21 22:09 LightBasileus

Time to fork CSGO :P

Nuc1eoN avatar Sep 13 '21 14:09 Nuc1eoN

Has any action happened on this issue? If the original date of this issue is anything to go by it's been an issue for 2 years. a comment would be nice.

Some servers don't have an index.html available which unfortunately means the workaround described in https://github.com/ValveSoftware/csgo-osx-linux/issues/2047#issuecomment-733909622 doesn't work 100% of the time.

ProjectSynchro avatar Dec 05 '21 09:12 ProjectSynchro

This has been an ongoing issue for me as well.

dahlend avatar Mar 29 '22 02:03 dahlend

I complete a few tests and I think I could say next:

  1. Nevermind did you put / on the end or not in sv_downloadurl cvar. That means, no different between sv_downloadurl "p.kruzya.idor/" and sv_downloadurl "p.kruzya.idor"
    1. Because // could be ignored in url
    2. Because I test it :eyes:
  2. If you have [name].bsp.bz2 in maps/, then you get error on try download [name] file.
  3. ~~If you have [name].bsp.bz20000 in cache/, then you also get error on try download this file.~~, suppose no
  4. As I say in 1.1 and 1.2. I test both, with // and without it (only one /). If you have file in ~~cache/ or/and in~~ maps/ folder, you will get error as with //, also as with /.

BlackYuzia avatar Mar 31 '22 00:03 BlackYuzia

Issue still exists, need to download it manually and extract it.

kleinermob avatar Jul 19 '23 11:07 kleinermob