Raised This Month: $319 Target: $400
 79%   Almost there!

Solved [HELP][CS:S] Fast download server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
axelnieves2012
Senior Member
Join Date: Oct 2014
Location: Argentina
Old 09-12-2021 , 17:44   [HELP][CS:S] Fast download server
Reply With Quote #1

Hello, I need help with my fast download server.
Everytime I connect to my server, files seems to download, I can see progress bar.
I notice they download too quickly considerating their sizes.

After download complete, I connect to my server but I got files downloaded corrupt.
All of them sizes 1kb orr less.

I tried downloading manually using my web browser, and they are not corrupt on my fast-dl server;
they download ok using chrome.

I'm not sure how fast-dl servers works and all the steps I need to follow.
I set my server without knowing, but here I post exactly what I did:

My server.cfg
Spoiler


I compressed all file to bz2 format on my server, check them out. I don't know if I have to upload uncompressed files too. I also did it just to test and it did not made difference:
http://axelmod.great-site.net/cstrike/sound/quake/axel/

Above example was my sounds folders. I also tested /models/ folder and I got the same problem.

Finally, i've got cl_allowdownload 1 on my client.

I don't know if other people joining the server has this problems.
I would like to solve without bothering my friends, and trying to guessing what is wrong and searching thounsand forums.

P.D.: Is any way to check if fast-dl server is correctly set on sv_downloadurl ?

Screenshots:
Click image for larger version

Name:	Screenshot_2.png
Views:	26
Size:	37.0 KB
ID:	191349
Name:  Screenshot_3.jpg
Views: 181
Size:  74.6 KB

Failed to load sound "quake\axel\headshot.wav", file probably missing from disk/repository


Thank you-

EDIT:
All file permisions on my fast-dl server are: 755

Added to server.cfg:
Code:
sv_allowdownload 1
sv_allowupload 1

Last edited by axelnieves2012; 09-20-2021 at 02:12.
axelnieves2012 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-17-2021 , 07:46   Re: [HELP][CS:S] Fast download server
Reply With Quote #2

- this is old fashion way upload custom files to clients, but this list work on each map.
...maps/de_dust2.res
Code:
"resourefiles"
{
	"sound/quake/axel/acomerla.wav"	"file"
	"sound/quake/axel/aguanta.wav"	"file"
	"sound/quake/axel/headshot.wav"	"file"
}

*Dam, this not work with sound files.

But there are SourceMod plugins which will help upload custom files easier.

- Another thing, I say you have bzip2 server files wrong. What I have tested.
When client own GAME try to unpack those your bzip2 files, it's corrupt 1KB size file. (Because in-game zip compressor is likely very old program)

*seems resource list not handle sound files perfectly.

So delete all bzip2 files from upload host. Use regular files for now.

Clients also need delete those files in they own game folder. Those already exist files can't be replace.
Or create new folder path to upload files again.
__________________
Do not Private Message @me

Last edited by Bacardi; 09-20-2021 at 07:33. Reason: dam res file
Bacardi is offline
Austin
Senior Member
Join Date: Oct 2005
Old 09-18-2021 , 15:06   Re: [HELP][CS:S] Fast download server
Reply With Quote #3

Bacardi is right.
CSGO / CSS is broken using .bz2 files with fast DL.
I think it been broken for like ten years no fix.

It does work but only with maps I think that are smaller than like 50 Megs.
I just got done reviewing and testing over 300 CSGO maps and had notes on the exact size that would still work with bz2+fast dl but I canít find them. It was either maps with original size of 50 or 150 megs. Since this is very small maps it isnít worth the effort to use bz2.

Your fast dl set up looks good
But I also have this setting on my server that is working with fast dl.
sv_allowdownload 1

1) Point to the root game folder on some web site that has a maps folder in it.
sv_downloadurl "http://axelmod.great-site.net/cstrike/"
Looks good and it works.

2) Test your web server to make sure it is allowing to download all files types needed for maps
I canít test this for you since I donít see any .bsp files in you maps folder.
You need to have the .bsp files in this maps folder on your web server and you have to be able to DL them in a web browser as a test to make sure it is all working.

3) I donít see this in your serverís config. You need that.
sv_allowdownload 1

Put the bsp files in you maps folder on your server, test you can dl them in a browser, and add
sv_allowdownload 1
the and it should work.

My fast DL server currently has a map that is 747 Megs and it is DL just fast and fine in CSGO.
Austin is offline
CryWolf
Senior Member
Join Date: Jul 2008
Location: Romania
Old 09-19-2021 , 02:22   Re: [HELP][CS:S] Fast download server
Reply With Quote #4

@Austin CSS , works just fine by 150mb map, i have this.

I can see only one problem your fastdl is out of response time, it responds verry hard, with a timeout - gateway sometimes , Source Engine is verry simple as client, you only have a few retryes before client time out.
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-19-2021 , 07:08   Re: [HELP][CS:S] Fast download server
Reply With Quote #5

Quote:
Originally Posted by Austin View Post
...
CSGO / CSS is broken using .bz2 files with fast DL.
I think it been broken for like ten years no fix.
...
I just tell my experience, from few - five years ago.
It's not broken, people are using new modern zip compressor.
Wrong settings and then old hl2 games can't uncompress files anymore.

I managed bzip files to work with this (last time) bzip2-1.0.5
Binaries = http://gnuwin32.sourceforge.net/packages/bzip2.htm
__________________
Do not Private Message @me

Last edited by Bacardi; 09-19-2021 at 07:09.
Bacardi is offline
axelnieves2012
Senior Member
Join Date: Oct 2014
Location: Argentina
Old 09-20-2021 , 02:09   Re: [HELP][CS:S] Fast download server
Reply With Quote #6

Quote:
Originally Posted by CryWolf View Post
@Austin CSS , works just fine by 150mb map, i have this.

I can see only one problem your fastdl is out of response time, it responds verry hard, with a timeout - gateway sometimes , Source Engine is verry simple as client, you only have a few retryes before client time out.
Thanks, you were right. I installed XAMPP on my PC and now files downlaod correctly
axelnieves2012 is offline
axelnieves2012
Senior Member
Join Date: Oct 2014
Location: Argentina
Old 09-20-2021 , 02:11   Re: [HELP][CS:S] Fast download server
Reply With Quote #7

Quote:
Originally Posted by Bacardi View Post
I just tell my experience, from few - five years ago.
It's not broken, people are using new modern zip compressor.
Wrong settings and then old hl2 games can't uncompress files anymore.

I managed bzip files to work with this (last time) bzip2-1.0.5
Binaries = http://gnuwin32.sourceforge.net/packages/bzip2.htm
Hello, my zip compressor was ok. As I told above, I tested files without compressing too.
I solved it installing an own web host. TYhanks
axelnieves2012 is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 09-20-2021 , 06:32   Re: [HELP][CS:S] Fast download server
Reply With Quote #8

Quote:
Originally Posted by Austin View Post
3) I don’t see this in your server’s config. You need that.
sv_allowdownload 1

Put the bsp files in you maps folder on your server, test you can dl them in a browser, and add
sv_allowdownload 1
the and it should work.
And here, Austin isn't really providing 100% true information either:

sv_allowdownload and sv_allowupload is only touching the downloads from/uploads to the game server directly, and as such, are completely useless when you have sv_downloadurl set up.


sv_downloadurl "https://some.example.invalid/cstrike/"
sv_allowdownload 0
sv_allowupload 0

is working just fine, when the sv_downloadurl you have set works perfectly (and have all the required content).
__________________
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].

Last edited by DarkDeviL; 09-20-2021 at 06:33.
DarkDeviL is offline
Austin
Senior Member
Join Date: Oct 2005
Old 09-20-2021 , 15:52   Re: [HELP][CS:S] Fast download server
Reply With Quote #9

Bacardi,
Very interesting.
You have given me something to investigate to try to get large bz2 files working on CSGO fast DL.

I downloaded that version of bz2 and used the default compression.
Still no joy. CSGO errors out on the DL.

I read the docs and it seems the only compress options is the block size, which I think only affects memory used during compression but still compressing with block size -1 still doesn’t work.

I found my notes and bz2 files over 43,556K error out in CSGO during download from my fast DL web site.

The same files unzipped download just fine and even uncompressed files over 450,000K DL just fine.


CryWolf.
For CSS is your fast DL server working with bz2 files over 50MB zipped size?
Or are you saying bsp files over 50MB are working?

There seems to be no problem with size+uncompressed files,
but I may be fabricating a memory with CSS+>50MB+bz2 not working…

DarkDeviL,
thank you for this information.
I had that set to 1 for years on my servers and just tested and it definitely has nothing to do with DL or fast DL + maps.

Apparently there is a lot of dis-information out there.
Be careful who you follow including me!

https://totalcsgo.com/commands
sv_allowdownload [0 / 1] This command sets whether or not clients can download files from the server (e.g. map files). Default is 1 (allowed).

Last edited by Austin; 09-20-2021 at 16:29.
Austin is offline
CryWolf
Senior Member
Join Date: Jul 2008
Location: Romania
Old 09-20-2021 , 16:30   Re: [HELP][CS:S] Fast download server
Reply With Quote #10

Bouth, since im not limited by Apache, only using Nginx as FastDL
Simple way to archive under linux bz2
Code:
apt-get install bzip2
and the with recursive and keep files
Code:
bzip2 * -k
Will archive all files at once in bz2 format and keep the original files, since server needs them.
I have 256mb map on CSS BZ2 witch downloads just fine,archive at 130mb without -f FORCE parameter.

sv_download 1/0 will allow you to download files from server itself doesn't affect FastDL, but in some cases, as i limited nginx not to allow .TXT files etc because server's itself and fastdl is on the same place, for hdd space, irestricted important files as .cfg / .txt / addons dir, i need to leave sv_download to 1 , to download small files from server, but in some cases if you fail to download files from fastdl and reconnect you will recive files from server "sv_download 1" if it is set to 0 (NULL) you will be disconnected and not allowed on the server so it's best on bouth cases to leave it to 1.
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers

Last edited by CryWolf; 09-20-2021 at 16:35.
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
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 06:07.


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