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

SM File/Folder Downloader and Precacher


Post New Thread Reply   
 
Thread Tools Display Modes
Ermert1992
Member
Join Date: Jan 2012
Location: Germany
Old 03-11-2013 , 03:51   Re: SM File/Folder Downloader and Precacher
Reply With Quote #321

I've downloaded and installed your plugin yesterday. Works for me! Thanks. Very nice plugin.
Ermert1992 is offline
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Old 03-15-2013 , 18:00   Re: SM File/Folder Downloader and Precacher
Reply With Quote #322

Quote:
Originally Posted by The 5th Survivor View Post
That was pretty much the problem I had last time I tried using the plugin. I'm gonna give it another shot with your guide. Thanks

EDIT: Tried it with L4D1 and it works! But it refuses to work with VPKs in L4D1, only individual files I got to work. It seems to work with VPKs in L4D2 though.
Quote:
Originally Posted by Ermert1992 View Post
I've downloaded and installed your plugin yesterday. Works for me! Thanks. Very nice plugin.
Thanks for the feedback.
You are very welcome.
__________________
SWAT_88 is offline
The 5th Survivor
Senior Member
Join Date: Mar 2012
Old 03-21-2013 , 16:35   Re: SM File/Folder Downloader and Precacher
Reply With Quote #323

Quote:
Originally Posted by SWAT_88 View Post
Thanks for the feedback.
You are very welcome.
No, thank you


This is quoted from MasterMinds's guide.

Quote:
Originally Posted by MasterMind420 View Post
7. If you try to connect to LAN or non Lobby Reserved servers, the loading screen defaults, and you will get a black screen, however you should see in console what files are being downloaded, if console is enabled. So you must see the actual campaign loading screen when connecting in order for this to work, however if you do get black screen,
It will no longer lock up on first file being downloaded, and clients will still connect, they just won't see progress bar.
Well you're right, it no longer locks up while downloading file but it doesn't show what being downloaded in L4D1's console. It did show the files being downloaded with the last setup I had, but it locked up after each file. But it doesn't matter, the way it is now is a ton better.

Also, I've noticed that the game will show the very last campaign poster that you saw on your screen when downloading files, even if you are not loading that map. I saw this when we were playing Crash Course and then switch to a custom map which doesn't have it's own poster. It showed the Crash Course poster while loading that map and downloading files. Perhaps it would be possible to have the plugin force the display of a loading poster in L4D1 & 2, instead of giving a black screen, and maybe even set a poster per map so you can force different posters to load depending on the map.

Something like this:

Code:
//Don't modify or remove the Comment Lines ( // )
//Files (Download Only No Precache)

//Display Poster: Any non default map

materials/vgui/loadingscreen_default.vmt
materials/vgui/loadingScreen_default.vtf


//Display Poster: l4d_hospital01_apartment,l4d_hospital02_subway,l4d_hospital03_sewers,l4d_hospital04_interior,l4d_hospital05_rooftop

materials/vgui/loadingscreen_nomercy.vmt
materials/vgui/loadingScreen_nomercy.vtf

//Display Poster: l4d_vs_hospital01_apartment,l4d_vs_hospital02_subway,l4d_vs_hospital03_sewers,l4d_vs_hospital04_interior,l4d_vs_hospital05_rooftop

materials/vgui/loadingscreen_nomercy.vmt
materials/vgui/loadingScreen_nomercy.vtf


//Display Poster: l4d_garage01_alleys,l4d_garage02_lots

materials/vgui/loadingscreen_crashcourse.vmt
materials/vgui/loadingscreen_crashcourse.vtf


//Display Poster: l4d_smalltown01_caves,l4d_smalltown02_drainage,l4d_smalltown03_ranchhouse,l4d_smalltown04_mainstreet,l4d_smalltown05_houseboat

materials/vgui/loadingscreen_deathtoll.vmt
materials/vgui/loadingscreen_deathtoll.vtf

//Display Poster: l4d_vs_smalltown01_caves,l4d_vs_smalltown02_drainage,l4d_vs_smalltown03_ranchhouse,l4d_vs_smalltown04_mainstreet,l4d_vs_smalltown05_houseboat

materials/vgui/loadingscreen_deathtoll.vmt
materials/vgui/loadingscreen_deathtoll.vtf


//Display Poster: l4d_airport01_greenhouse,l4d_airport02_offices,l4d_airport03_garage,l4d_airport04_terminal,l4d_airport05_runway

materials/vgui/loadingscreen_deadair.vmt
materials/vgui/loadingscreen_deadair.vtf

//Display Poster: l4d_vs_airport01_greenhouse,l4d_vs_airport02_offices,l4d_vs_airport03_garage,l4d_vs_airport04_terminal,l4d_vs_airport05_runway

materials/vgui/loadingscreen_deadair.vmt
materials/vgui/loadingscreen_deadair.vtf

//Display Poster: l4d_farm01_hilltop,l4d_farm02_traintunnel,l4d_farm03_bridge,l4d_farm04_barn,l4d_farm05_cornfield

materials/vgui/loadingscreen_bloodharvest.vmt
materials/vgui/loadingscreen_bloodharvest.vtf

//Display Poster:  l4d_vs_farm01_hilltop,l4d_vs_farm02_traintunnel,l4d_vs_farm03_bridge,l4d_vs_farm04_barn,l4d_vs_farm05_cornfield

materials/vgui/loadingscreen_bloodharvest.vmt
materials/vgui/loadingscreen_bloodharvest.vtf


//Display Poster: l4d_river01_docks,l4d_river02_barge,l4d_river03_port

materials/vgui/loadingscreen_thesacrifice.vmt
materials/vgui/loadingscreen_thesacrifice.vtf


//Display Poster: l4d_sv_lighthouse

materials/vgui/loadingscreen_laststand.vmt
materials/vgui/loadingscreen_laststand.vtf


//Display Poster: c1m1_hotel,c1m2_streets,c1m3_mall,c1m4_atrium

materials/vgui/loadingscreen_campaign1.vmt
materials/vgui/loadingscreen_campaign1.vtf

//Display Poster: c6m1_riverbank,c6m2_bedlam,c6m3_port

materials/vgui/loadingscreen_thepassing.vmt
materials/vgui/loadingscreen_thepassing.vtf

//Display Poster: c2m1_highway,c2m2_fairgrounds,c2m3_coaster,c2m4_barns,c2m5_concert

materials/vgui/loadingscreen_darkcarnival.vmt
materials/vgui/loadingscreen_darkcarnival.vtf

//Display Poster: c3m1_plankcountry,c3m2_swamp,c3m3_shantytown,c3m4_plantation

materials/vgui/loadingscreen_swampfever.vmt
materials/vgui/loadingscreen_swampfever.vtf

//Display Poster: c4m1_milltown_a,c4m2_sugarmill_a,c4m3_sugarmill_b,c4m4_milltown_b,c4m5_milltown_escape

materials/vgui/loadingscreen_campaign4.vmt
materials/vgui/loadingscreen_campaign4.vtf

//Display Poster: c5m1_waterfront,c5m2_park,c5m3_cemetery,c5m4_quarter,c5m5_bridge

materials/vgui/loadingscreen_theparish.vmt
materials/vgui/loadingscreen_theparish.vtf

//Decal Files (Download and Precache)

//Sound Files (Download and Precache)

//Model Files (Download and Precache)

Last edited by The 5th Survivor; 03-21-2013 at 16:36.
The 5th Survivor is offline
hajen
Junior Member
Join Date: Mar 2013
Old 03-28-2013 , 21:35   Re: SM File/Folder Downloader and Precacher
Reply With Quote #324

Hey guys, so i tried this out in order to make the radar I've made for floppytown available to all.
I just can't seem to understand how to make these files specific to map, like i only want my clients to download the files if the server is playing hns_floppytown_css How can i do this?

I'm using downloads_simple.ini :
Code:
materials/overviews/hns_floppytown_css.vmt
materials/overviews/hns_floppytown_css.vtf
materials/overviews/hns_floppytown_css_radar.vmt
materials/overviews/hns_floppytown_css_radar.vtf

resource/overviews/hns_floppytown_css.txt
hajen is offline
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Old 03-30-2013 , 12:29   Re: SM File/Folder Downloader and Precacher
Reply With Quote #325

Quote:
Originally Posted by hajen View Post
Hey guys, so i tried this out in order to make the radar I've made for floppytown available to all.
I just can't seem to understand how to make these files specific to map, like i only want my clients to download the files if the server is playing hns_floppytown_css How can i do this?

I'm using downloads_simple.ini :
--cut--
The map specific download feature doesn't work with "downloads_simple.ini".
You have to use "downloads.ini" in order to use the following feature.

Code:
//Don't modify or remove the Comment Lines ( // )
//Files (Download Only No Precache)

//hns_floppytown_css
resource/overviews/hns_floppytown_css.txt

//Decal Files (Download and Precache)

//hns_floppytown_css
materials/overviews/hns_floppytown_css.vmt
materials/overviews/hns_floppytown_css.vtf
materials/overviews/hns_floppytown_css_radar.vmt
materials/overviews/hns_floppytown_css_radar.vtf

//Sound Files (Download and Precache)

//Model Files (Download and Precache)
By specifying "//hns_floppytown_css" in your "downloads.ini", the files below this line are only downloaded when this is the current map.

Best regards
__________________
SWAT_88 is offline
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Old 03-30-2013 , 12:33   Re: SM File/Folder Downloader and Precacher
Reply With Quote #326

Quote:
Originally Posted by The 5th Survivor View Post
No, thank you


This is quoted from MasterMinds's guide.



Well you're right, it no longer locks up while downloading file but it doesn't show what being downloaded in L4D1's console. It did show the files being downloaded with the last setup I had, but it locked up after each file. But it doesn't matter, the way it is now is a ton better.

Also, I've noticed that the game will show the very last campaign poster that you saw on your screen when downloading files, even if you are not loading that map. I saw this when we were playing Crash Course and then switch to a custom map which doesn't have it's own poster. It showed the Crash Course poster while loading that map and downloading files. Perhaps it would be possible to have the plugin force the display of a loading poster in L4D1 & 2, instead of giving a black screen, and maybe even set a poster per map so you can force different posters to load depending on the map.

Something like this:
--cut--
I'm afraid this is not possible with sourcemod.
Sourcemod is a server-side framework, and there are only few functions to force a specific behaviour on the client-side.

Best regards
__________________
SWAT_88 is offline
The 5th Survivor
Senior Member
Join Date: Mar 2012
Old 04-02-2013 , 14:53   Re: SM File/Folder Downloader and Precacher
Reply With Quote #327

Quote:
Originally Posted by SWAT_88 View Post
I'm afraid this is not possible with sourcemod.
Sourcemod is a server-side framework, and there are only few functions to force a specific behaviour on the client-side.

Best regards

I see. That's a shame. Thanks anyways. You're plugin work wonderfully.
The 5th Survivor is offline
The 5th Survivor
Senior Member
Join Date: Mar 2012
Old 04-04-2013 , 18:33   Re: SM File/Folder Downloader and Precacher
Reply With Quote #328

Oh forgot to mention, would it be possible to add the ability to group maps, so that if you want files to be download for two or more specific maps you can put them together like this:

// de_aztec, de_dust, cs_office
materials/blah/stuff.vmt
materials/blah/stuff.vtf

Last edited by The 5th Survivor; 04-04-2013 at 18:36.
The 5th Survivor is offline
rediem
SourceMod Donor
Join Date: Jul 2010
Old 04-15-2013 , 02:29   Re: SM File/Folder Downloader and Precacher
Reply With Quote #329

not working on steam pipe, downloads nothings
rediem is offline
gtamike
Member
Join Date: Aug 2009
Location: UK
Old 04-15-2013 , 07:24   Re: SM File/Folder Downloader and Precacher
Reply With Quote #330

Quote:
Originally Posted by rediem View Post
not working on steam pipe, downloads nothings
indeed
__________________
gtamike is offline
Reply



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 05:45.


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