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

[ANY] Simple Fastdownload


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Domino_
AlliedModders Donor
Join Date: Jul 2016
Plugin ID:
6967
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    fastdownload support for srcds without the need for webhosting
    Old 03-05-2020 , 18:32   [ANY] Simple Fastdownload
    Reply With Quote #1

    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
    __________________

    Last edited by Domino_; 03-09-2020 at 18:34.
    Domino_ is offline
    asherkin
    SourceMod Developer
    Join Date: Aug 2009
    Location: OnGameFrame()
    Old 03-05-2020 , 18:59   Re: [ANY] Simple Fastdownload
    Reply With Quote #2

    This is an awesome idea! Nice to see a use of Webcon in the wild.
    __________________
    asherkin is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 03-05-2020 , 22:24   Re: [ANY] Simple Fastdownload
    Reply With Quote #3

    Just wow! Nice investment!
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    NanoC
    Veteran Member
    Join Date: Jan 2016
    Location: Argentina
    Old 03-05-2020 , 23:17   Re: [ANY] Simple Fastdownload
    Reply With Quote #4

    My godness! This is sick, good job Domino.
    __________________
    NanoC is offline
    Send a message via Skype™ to NanoC
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 03-06-2020 , 00:25   Re: [ANY] Simple Fastdownload
    Reply With Quote #5

    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.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Domino_
    AlliedModders Donor
    Join Date: Jul 2016
    Old 03-06-2020 , 16:15   Re: [ANY] Simple Fastdownload
    Reply With Quote #6

    Quote:
    Originally Posted by Dragokas View Post
    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.
    __________________
    Domino_ is offline
    Nightmare Pyro
    Member
    Join Date: Mar 2020
    Location: Cedar Falls
    Old 03-20-2020 , 12:49   Re: [ANY] Simple Fastdownload
    Reply With Quote #7

    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
    Nightmare Pyro is offline
    daren adler
    Member
    Join Date: Aug 2017
    Location: Iowa
    Old 04-11-2020 , 10:54   Re: [ANY] Simple Fastdownload
    Reply With Quote #8

    Quote:
    Originally Posted by Domino_ View Post
    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.
    __________________
    GuitarSlayer

    Last edited by daren adler; 04-11-2020 at 11:02.
    daren adler is offline
    Send a message via MSN to daren adler
    addone
    Junior Member
    Join Date: Apr 2018
    Old 04-18-2020 , 06:06   Re: [ANY] Simple Fastdownload
    Reply With Quote #9

    Same for me. I can download maps, but others missing map.
    addone is offline
    romeo7
    Senior Member
    Join Date: Mar 2017
    Old 04-21-2020 , 19:08   Re: [ANY] Simple Fastdownload
    Reply With Quote #10

    Quote:
    Originally Posted by addone View Post
    Same for me. I can download maps, but others missing map.
    You must open TCP port.
    __________________
    ___[CSGO]_[ZP]____
    Zombie Plague Classic
    ||37.26.2.29:27021||
    romeo7 is offline
    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 18:56.


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