fast download checker (by Root)
Posted: Tue Feb 23, 2016 9:20 am
Thanks to MilhaiM for sending me this Root job !
Not really tested but as seen into the code, this plugin use another way to download files to client (a kind of alternative sv_downloadurl).
Plugin need at least of these extensions:
<socket><curl><steamtools><SteamWorks>
CVARS:
sm_fastdl_refresh ->Specifies the frequency to check fastdl
0 - Only when the server starts
1 - Each time you change the map
sm_fastdl_url ->Specify a direct link to the file fastdl
For example: "www.myhost.ru/csgo/maps/de_dust2_se.bsp.bz2"
sm_fastdl_dir ->Specify the folder where to save file
For example: "data/de_dust2_se.bsp.bz2
sm_fastdl_size -> def:150, Specify the estimated size of the test file.
Fastdl shut down if the size will be smaller (in bytes)
sm_fastdl_checktime -> def:30, Specify how many seconds to check the downloaded file and apply an action to a variable sv_downloadurl
lIf you try it, give us some feed back please !
Not really tested but as seen into the code, this plugin use another way to download files to client (a kind of alternative sv_downloadurl).
Plugin need at least of these extensions:
<socket><curl><steamtools><SteamWorks>
CVARS:
sm_fastdl_refresh ->Specifies the frequency to check fastdl
0 - Only when the server starts
1 - Each time you change the map
sm_fastdl_url ->Specify a direct link to the file fastdl
For example: "www.myhost.ru/csgo/maps/de_dust2_se.bsp.bz2"
sm_fastdl_dir ->Specify the folder where to save file
For example: "data/de_dust2_se.bsp.bz2
sm_fastdl_size -> def:150, Specify the estimated size of the test file.
Fastdl shut down if the size will be smaller (in bytes)
sm_fastdl_checktime -> def:30, Specify how many seconds to check the downloaded file and apply an action to a variable sv_downloadurl
lIf you try it, give us some feed back please !