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

How do download a zip archive to a client?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ALiV
Junior Member
Join Date: Oct 2015
Old 02-12-2018 , 18:27   How do download a zip archive to a client?
Reply With Quote #1

How do download a zip archive to a client? after the update it stopped working


Last edited by ALiV; 02-12-2018 at 18:27.
ALiV is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 02-12-2018 , 20:18   Re: How do download a zip archive to a client?
Reply With Quote #2

What on earth are you doing with a zip archive anyway? Source needs maps as ".bsp", and if compressed, BZIP2 (".bsp.bz2"). Old HLDS uses ".bsp" and GZIP (".bsp.gz"). You can't really do other files "automatically".

Client will try to download everything in server's "download tables", however, what you are running into is most likely due to the recent changes of sv_allowupload, to protect against the upload of malicious files.

Have you configured your downloads to run over a HTTP(S) site via sv_downloadurl?
__________________
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; 02-12-2018 at 20:24.
DarkDeviL is offline
ALiV
Junior Member
Join Date: Oct 2015
Old 02-13-2018 , 08:31   Re: How do download a zip archive to a client?
Reply With Quote #3

no, i just use this plugin
Quote:
#include <sourcemod>
#include <sdktools_stringtables>

public OnMapStart()
{
AddFileToDownloadsTable("de_inferno.lnk");
}
ALiV 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 04:18.


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