AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Simple Fastdownload (https://forums.alliedmods.net/showthread.php?t=321898)

Domino_ 03-05-2020 18:32

[ANY] Simple Fastdownload
 
Simple Fastdownload

Provides fastdownload support for srcds without the need for webhosting. By default, it will automatically change the value of sv_downloadurl and serve files that are either in the downloadables stringtable or the mapcycle.

From here you can either leave it as is or begin to add bzip2 compressed versions of the files. These can either be in the same location as their non-compressed versions, or separately within the folder specified by sv_downloadurl_bz2folder.

Requirements
ConVars
Code:

sv_downloadurl_urlpath            | "fastdl" | path for fastdownload url eg: fastdl
sv_downloadurl_autoupdate        | 1        | should sv_downloadurl be set automatically
sv_downloadurl_hostname          | ""      | either an empty string, or hostname to use in downloadurl with no trailing slash eg: fastdownload.example.com
sv_downloadurl_bz2folder          | ""      | either an empty string, or base folder for .bz2 files in game root folder eg: bz2
sv_downloadurl_add_mapcycle      | 1        | should all maps in the mapcycle be added to the download whitelist, recommended value: 1
sv_downloadurl_add_downloadables  | 1        | should all files in the downloads table be added to the download whitelist, recommended value: 1

Commands
Code:

sm_fastdownload_list_files | prints a list of all files that are currently in the download whitelist, note: for server console only
Source & Download https://github.com/neko-pm/simple-fastdownload

asherkin 03-05-2020 18:59

Re: [ANY] Simple Fastdownload
 
This is an awesome idea! Nice to see a use of Webcon in the wild.

Dragokas 03-05-2020 22:24

Re: [ANY] Simple Fastdownload
 
Just wow! Nice investment!

NanoC 03-05-2020 23:17

Re: [ANY] Simple Fastdownload
 
My godness! This is sick, good job Domino.

Dragokas 03-06-2020 00:25

Re: [ANY] Simple Fastdownload
 
Did you compare download speed via FastDL and your method (for non-VDS/VPS servers) ?

Hoster differs that things, like he can cut the channel of IP where game server files are stored.
Extension description tells about using RCon port.
What if hoster limits max traffic for that channel.
I won't be surprised if the hoster can even blocks user for misuse of the service.
And, actually RCon generally intended to transfer text data rather than binary, so it is by design should be low level performance channel. So, very interesting to see test results for VDS and non-VDS hosted servers.

Domino_ 03-06-2020 16:15

Re: [ANY] Simple Fastdownload
 
Quote:

Originally Posted by Dragokas (Post 2685926)
Did you compare download speed via FastDL and your method (for non-VDS/VPS servers) ?

I didn't do any benchmarking prior to release, only did basic testing to make sure it worked. It should be fairly performant in theory, but I'm not able to easily test this.

Nightmare Pyro 03-20-2020 12:49

Re: [ANY] Simple Fastdownload
 
Hello!

Your plugin working well! However, after bz2 file over it kick me out from my own server. Also no logs


Here error from client console.
-------------------------------------------------------------------------------------------------------------------

Connecting to 24.149.29.4:28015...
Connected to 24.149.29.4:28015

Team Fortress
Map: ba_mariopartyextended_v4
Players: 1 / 32
Build: 5615298
Server Number: 1

Client reached server_spawn.
Recognizing MM server id [A:1:1471137798:14354]
Attemped to precache unknown particle system "blood_impact_red"!
Attemped to precache unknown particle system "env_fire_tiny_smoke"!
Attemped to precache unknown particle system "env_fire_small_smoke"!
Attemped to precache unknown particle system "env_fire_medium_smoke"!
Attemped to precache unknown particle system "env_fire_large_smoke"!
Missing map maps/ba_mariopartyextended_v4.bsp, disconnecting


Host_Error: Map is missing

--- Missing Vgui material vgui/..\vgui\maps\menu_thumb_Missing
--- Missing Vgui material vgui/..\vgui\maps\menu_thumb_Missing
--- Missing Vgui material vgui/..\vgui\maps\menu_thumb_Missing

daren adler 04-11-2020 10:54

Re: [ANY] Simple Fastdownload
 
Quote:

Originally Posted by Domino_ (Post 2685907)
Simple Fastdownload

Provides fastdownload support for srcds without the need for webhosting. By default, it will automatically change the value of sv_downloadurl and serve files that are either in the downloadables stringtable or the mapcycle.

From here you can either leave it as is or begin to add bzip2 compressed versions of the files. These can either be in the same location as their non-compressed versions, or separately within the folder specified by sv_downloadurl_bz2folder.

Requirements
ConVars
Code:

sv_downloadurl_urlpath            | "fastdl" | path for fastdownload url eg: fastdl
sv_downloadurl_autoupdate        | 1        | should sv_downloadurl be set automatically
sv_downloadurl_hostname          | ""      | either an empty string, or hostname to use in downloadurl with no trailing slash eg: fastdownload.example.com
sv_downloadurl_bz2folder          | ""      | either an empty string, or base folder for .bz2 files in game root folder eg: bz2
sv_downloadurl_add_mapcycle      | 1        | should all maps in the mapcycle be added to the download whitelist, recommended value: 1
sv_downloadurl_add_downloadables  | 1        | should all files in the downloads table be added to the download whitelist, recommended value: 1

Commands
Code:

sm_fastdownload_list_files | prints a list of all files that are currently in the download whitelist, note: for server console only
Source & Download https://github.com/neko-pm/simple-fastdownload

Hello. I have been using this and my friends/anyone can try to join server but when it downloads them the map says missing map ,, i have my maps in maps folder with bz2 files but it wont dl them for players,,it does for me but no one else,,I am a home server for hl2dm..it dl everything else but the map.
I have a downloads and downloads_simple and added everything and the maps lines..but still dont dl maps,,i even tryed and made a folder called bz2 and added the map using bz2 files only and put them in that folder and no luck.

addone 04-18-2020 06:06

Re: [ANY] Simple Fastdownload
 
Same for me. I can download maps, but others missing map.

romeo7 04-21-2020 19:08

Re: [ANY] Simple Fastdownload
 
Quote:

Originally Posted by addone (Post 2694277)
Same for me. I can download maps, but others missing map.

You must open TCP port.


All times are GMT -4. The time now is 12:28.

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