Raised This Month: $214 Target: $400
 53% 

Download files to client (L4D2)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
oceanyss
Member
Join Date: Jan 2012
Old 05-12-2018 , 05:00   Download files to client (L4D2)
Reply With Quote #1

As the topic suggests, my problem is trying to make clients download files from fastdl. It works but L4D2 has a nasty habit of displaying a black screen which to most inexperienced gamers, may think their game crashed or something.

So my question is this:
Can clients download files without seeing this black screen?

Things I've tried:
1. System2, curl (I was stupid and didn't read that it affects only the server)
2. Sendfile natives (it works but it is severely rare-limited, downloads extremely slow)

I'm looking for plugins like system2 and curl but downloads to client side rather than the server itself
oceanyss is offline
Crasher_3637
Veteran Member
Join Date: May 2012
Old 05-12-2018 , 05:21   Re: Download files to client (L4D2)
Reply With Quote #2

The thing with L4D and L4D2 is that they don't automatically download server files like TF2 and CS games do. At least in TF2 and CS games, you get a loading screen while the files download. In L4D games, you just get that black screen that drives players away.
__________________
AFK like JFK
Crasher_3637 is offline
oceanyss
Member
Join Date: Jan 2012
Old 05-12-2018 , 07:32   Re: Download files to client (L4D2)
Reply With Quote #3

Quote:
Originally Posted by Crasher_3637 View Post
The thing with L4D and L4D2 is that they don't automatically download server files like TF2 and CS games do. At least in TF2 and CS games, you get a loading screen while the files download. In L4D games, you just get that black screen that drives players away.
I've already setup a fastdl for it and the server is downloading files to client successfully. The problem is that most players who join don't know about the console command and they think they crashed on black screen.

I'm asking if there's a way to download files to client in game (bypassing the black screen). System2 works but it downloads to the server's directory instead. I've also tried SendFile natives but it uses the game's severely limited net channel, thus it is extremely slow.
oceanyss is offline
milagrosfn
New Member
Join Date: May 2018
Old 05-14-2018 , 04:59   Re: Download files to client (L4D2)
Reply With Quote #4

Quote:
Originally Posted by Crasher_3637 View Post
The thing with L4D and L4D2 is that they don't automatically download server files like TF2 and CS games do. At least in TF2 and CS games, you get a loading screen while the files download. In L4D games, you just get that black screen that drives players away. Cuando se usa de manera apropiada y segura, el ácido bórico puede servir como un tratamiento efectivo
¿that is no a bug?
milagrosfn is offline
ReCreator
Member
Join Date: Nov 2017
Location: Ukraine,Kyiv
Old 05-25-2018 , 18:05   Re: Download files to client (L4D2)
Reply With Quote #5

https://forums.alliedmods.net/showpo...8&postcount=36 the only solution i found...
__________________
Sorry for my pure English...
ReCreator is offline
oceanyss
Member
Join Date: Jan 2012
Old 05-28-2018 , 00:18   Re: Download files to client (L4D2)
Reply With Quote #6

Thanks for the suggestion guys but I made an alternative by getting a fastdl server with very fast speeds to download to clients on map transitions loading screens. Doing this to "trick" the players into thinking their game is loading slowly and at least that way clients don't think their game crashed or something.
oceanyss is offline
canadianjeff
Senior Member
Join Date: Sep 2016
Old 06-11-2021 , 21:47   Re: Download files to client (L4D2)
Reply With Quote #7

oceanyss could you post your solution so other people searching this forum can see?
canadianjeff is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 06-12-2021 , 05:12   Re: Download files to client (L4D2)
Reply With Quote #8

He's using a fastdl server, so basically a web server the game clients can pull files off via http/https requests.
TomL. is offline
ReCreator
Member
Join Date: Nov 2017
Location: Ukraine,Kyiv
Old 06-13-2021 , 06:19   Re: Download files to client (L4D2)
Reply With Quote #9

Based on his words, I think he use something like this:
https://forums.alliedmods.net/showthread.php?p=2667371
__________________
Sorry for my pure English...

Last edited by ReCreator; 06-13-2021 at 06:20.
ReCreator 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 09:22.


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