AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Error Downloader custom music L4D2 Dedicated Windown (https://forums.alliedmods.net/showthread.php?t=334475)

manhkst 09-27-2021 04:20

Error Downloader custom music L4D2 Dedicated Windown
 
i config file server.cfg
Quote:

sm_cvar sv_downloadurl "i use hfs"
sm_cvar sv_allowdownload 1
sm_cvar sv_allowupload 1
Everyone connect host but it doesn't show any sign of downloading the file, I tried using Easy Downloader (V1.03) but it doesn't work, maybe I'm wrong somewhere in the installation, the command sm_cvar sv_consistency 0 has any effect on download files?

Thanks!

Benito 09-28-2021 12:04

Re: Error Downloader custom music L4D2 Dedicated Windown
 
Quote:

Originally Posted by manhkst (Post 2758988)
i config file server.cfg


Everyone connect host but it doesn't show any sign of downloading the file, I tried using Easy Downloader (V1.03) but it doesn't work, maybe I'm wrong somewhere in the installation, the command sm_cvar sv_consistency 0 has any effect on download files?

Thanks!

Have you tryed ?
And yours files that you want to download them, are them compressed on .bz2 on your fastdl webserver ?

manhkst 09-28-2021 13:31

Re: Error Downloader custom music L4D2 Dedicated Windown
 
Quote:

Originally Posted by Benito (Post 2759104)
Have you tryed ?
And yours files that you want to download them, are them compressed on .bz2 on your fastdl webserver ?

the problem i am facing is i tried a load command AddFileToDownloadsTable(path sound) and i check no error on server side, on fastdl server part i use HFS and i checked bz2 compression everything is fine and the problem i am having is that the player connecting to the server does not have any file download events or errors at all, I wonder if I have misconfigured or mistakenly turned off download mode for players when connecting, here are my cfg file settings. .
Code:

sm_cvar sv_lan 0
sm_cvar sv_consistency 0       
sm_cvar sv_force_unreserved 1       
sm_cvar motd_enabled 1
sm_cvar sv_gametypes realism
sm_cvar mp_gamemode realism                                       
sm_cvar survivor_limit 10
sm_cvar sv_maxplayers 10
sm_cvar sv_visiblemaxplayers -1
sm_cvar sv_alltalk 1
sm_cvar sb_all_bot_game 1
sm_cvar sv_downloadurl "IP WAN MODERM:PORT HFS"
//I checked the port is open but console of client doesn't show any load when connecting
sm_cvar sv_allowdownload 1
sm_cvar sv_allowupload 1

sm_cvar sv_maxupdaterate 100
sm_cvar sv_minupdaterate 60
sm_cvar fps_max 0
sm_cvar sv_mincmdrate 100
sm_cvar sv_maxcmdrate 100
sm_cvar sv_minrate 100000
sm_cvar sv_maxrate 100000

sm_cvar z_smoker_limit 99
sm_cvar z_boomer_limit 99
sm_cvar z_hunter_limit 99
sm_cvar z_spitter_limit 99
sm_cvar z_jockey_limit 99
sm_cvar z_charger_limit 99


Benito 09-28-2021 15:24

Re: Error Downloader custom music L4D2 Dedicated Windown
 
Quote:

Originally Posted by manhkst (Post 2759112)
the problem i am facing is i tried a load command AddFileToDownloadsTable(path sound) and i check no error on server side, on fastdl server part i use HFS and i checked bz2 compression everything is fine and the problem i am having is that the player connecting to the server does not have any file download events or errors at all, I wonder if I have misconfigured or mistakenly turned off download mode for players when connecting, here are my cfg file settings. .
Code:

sm_cvar sv_lan 0
sm_cvar sv_consistency 0       
sm_cvar sv_force_unreserved 1       
sm_cvar motd_enabled 1
sm_cvar sv_gametypes realism
sm_cvar mp_gamemode realism                                       
sm_cvar survivor_limit 10
sm_cvar sv_maxplayers 10
sm_cvar sv_visiblemaxplayers -1
sm_cvar sv_alltalk 1
sm_cvar sb_all_bot_game 1
sm_cvar sv_downloadurl "IP WAN MODERM:PORT HFS"
//I checked the port is open but console of client doesn't show any load when connecting
sm_cvar sv_allowdownload 1
sm_cvar sv_allowupload 1

sm_cvar sv_maxupdaterate 100
sm_cvar sv_minupdaterate 60
sm_cvar fps_max 0
sm_cvar sv_mincmdrate 100
sm_cvar sv_maxcmdrate 100
sm_cvar sv_minrate 100000
sm_cvar sv_maxrate 100000

sm_cvar z_smoker_limit 99
sm_cvar z_boomer_limit 99
sm_cvar z_hunter_limit 99
sm_cvar z_spitter_limit 99
sm_cvar z_jockey_limit 99
sm_cvar z_charger_limit 99


You cant turn off the client side download unless you do it by yourself, if is possible to send me the FTP Server url on private or here, i will try on my server if the url is accessible

Marttt 09-28-2021 16:30

Re: Error Downloader custom music L4D2 Dedicated Windown
 
the client must have enabled the download in options aswell, after TLS update, by default, clients don't download custom stuff.

cvar (client):
cl_downloadfilter" must be "all"

More info here:
https://github.com/ValveSoftware/Sou...es/issues/3429

manhkst 09-29-2021 09:37

Re: Error Downloader custom music L4D2 Dedicated Windown
 
thanks Benito for the help, seems Marttt helped with the right problem, the client was able to download the custom music but unfortunately it can't play the sound as it requires a sound.cache file for it to work dynamic, but unfortunately can't load files with .cache extension and I also want players to load scripts files but it doesn't seem possible. I have decided to inform the client to use the vpk file on the workshop of the server I am using to work in the best way. anyways i'm very thankful to everyone for helping me


All times are GMT -4. The time now is 09:06.

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