Raised This Month: $32 Target: $400
 8% 

SM File/Folder Downloader and Precacher


Post New Thread Reply   
 
Thread Tools Display Modes
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Old 08-06-2009 , 08:44   Re: SM File/Folder Downloader and Precacher
Reply With Quote #101

Quote:
Originally Posted by Rodgerland View Post
I found a bug. Standard files in the materials/particle is not downloaded.
I rename the file particle_smokegrenade.vtf in smokegrenade.vtf and all works, any file in the folder rename and all downloadeds. Why the original can not download?
The file you want to download must exists on the server.

But I don't think that this is the bug, because something is wrong with paths ...
The plugin reads every line, and every read line is logged, but in your log file no line is read. Only (Start, Stop, ...). This is not a normal behaviour. The plugin reads every line, therefore something must be wrong.
__________________
SWAT_88 is offline
Rodgerland
Junior Member
Join Date: Apr 2009
Old 08-06-2009 , 14:00   Re: SM File/Folder Downloader and Precacher
Reply With Quote #102

Quote:
Originally Posted by SWAT_88 View Post
The file you want to download must exists on the server.

But I don't think that this is the bug, because something is wrong with paths ...
The plugin reads every line, and every read line is logged, but in your log file no line is read. Only (Start, Stop, ...). This is not a normal behaviour. The plugin reads every line, therefore something must be wrong.
I have understood with a problem. While clients will have copies of these files in a folder hl2\materials\particle will not download files in a folder cstrike\materials\particle
It is necessary to delete files for the client from a folder hl2\materials\particle then files will be downloaded in a folder cstrike\materials\particle . It is very a pity
Rodgerland is offline
Timiditas
Senior Member
Join Date: Apr 2009
Old 08-07-2009 , 03:09   Re: SM File/Folder Downloader and Precacher
Reply With Quote #103

Can I use this to download non standard files? I need my clients to download two JPG files, to go easy on the transfer limit of my webspace, since these JPGs are used on MOTD and map end panel. And they are not cached but downloaded everytime the panels show.
__________________

Timiditas is offline
Rodgerland
Junior Member
Join Date: Apr 2009
Old 08-07-2009 , 04:41   Re: SM File/Folder Downloader and Precacher
Reply With Quote #104

Quote:
Originally Posted by Timiditas View Post
Can I use this to download non standard files? I need my clients to download two JPG files, to go easy on the transfer limit of my webspace, since these JPGs are used on MOTD and map end panel. And they are not cached but downloaded everytime the panels show.
Downloads path to a folder cstrike
Rodgerland is offline
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Old 08-07-2009 , 07:10   Re: SM File/Folder Downloader and Precacher
Reply With Quote #105

Quote:
Originally Posted by Timiditas View Post
Can I use this to download non standard files? I need my clients to download two JPG files, to go easy on the transfer limit of my webspace, since these JPGs are used on MOTD and map end panel. And they are not cached but downloaded everytime the panels show.
You can download individual files, such as jpeg.
__________________
SWAT_88 is offline
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Old 08-07-2009 , 07:15   Re: SM File/Folder Downloader and Precacher
Reply With Quote #106

Quote:
Originally Posted by Rodgerland View Post
I have understood with a problem. While clients will have copies of these files in a folder hl2\materials\particle will not download files in a folder cstrike\materials\particle
It is necessary to delete files for the client from a folder hl2\materials\particle then files will be downloaded in a folder cstrike\materials\particle . It is very a pity
Very strange ...
You cannot run both mods at the same time, why valve handles this in a such confusing way ...
__________________
SWAT_88 is offline
Rodgerland
Junior Member
Join Date: Apr 2009
Old 08-08-2009 , 02:24   Re: SM File/Folder Downloader and Precacher
Reply With Quote #107

Quote:
Originally Posted by SWAT_88 View Post
Very strange ...
You cannot run both mods at the same time, why valve handles this in a such confusing way ...
But it is the best plugin which I saw. Good job
Rodgerland is offline
FoxMulder
Senior Member
Join Date: Jan 2009
Location: Orlando, FL
Old 08-09-2009 , 20:27   Re: SM File/Folder Downloader and Precacher
Reply With Quote #108

Is there a way to make the client download the same file again.

Example:
Let's say the client already downloaded "something.txt".
A few days later I update "something.txt"

...but it wont downlaod the file again cause it already exists on the clients computer. Help.
FoxMulder is offline
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Old 08-11-2009 , 09:36   Re: SM File/Folder Downloader and Precacher
Reply With Quote #109

Quote:
Originally Posted by FoxMulder View Post
Is there a way to make the client download the same file again.

Example:
Let's say the client already downloaded "something.txt".
A few days later I update "something.txt"

...but it wont downlaod the file again cause it already exists on the clients computer. Help.
No, there is no way. The games only check if the file exists.
If you want to redownload it, you have to give your file a new version number.
For example: something_v2.txt.
__________________
SWAT_88 is offline
NearNihil
Junior Member
Join Date: Jun 2009
Old 08-24-2009 , 09:58   Re: SM File/Folder Downloader and Precacher
Reply With Quote #110

Hello.

I've tried using this plugin for getting all the files used in this plugin. The plugin makes everyone download the models, however, they show up as big red ERRORs in the game. This could be a sign that the files aren't downloaded correctly; also the files do not show up when I look on my local machine for them. The following are the contents of my downloads.ini:
Quote:
//Don't modify or remove the Comment Lines ( // )
//Files (Download Only No Precache)

//Decal Files (Download and Precache)

//Sound Files (Download and Precache)

//Model Files (Download and Precache)
models/arrowhat/tooth_hat.dx80.vtx
models/arrowhat/tooth_hat.dx90.vtx
models/arrowhat/tooth_hat.mdl
models/arrowhat/tooth_hat.phy
models/arrowhat/tooth_hat.sw.vtx
models/arrowhat/tooth_hat.vvd


models/bandolier/soldier_hat.dx80.vtx
models/bandolier/soldier_hat.dx90.vtx
models/bandolier/soldier_hat.mdl
models/bandolier/soldier_hat.phy
models/bandolier/soldier_hat.sw.vtx
models/bandolier/soldier_hat.vvd
Like I said, they download like they should, however the files are not stored on the clients' computers. What am I doing wrong? I'm using the following CVars:
Quote:
15:58:29 [SM] Listing 4 convars for: SM File/Folder Downloader and Precacher
[Name] [Value]
sm_downloader_enabled 1
sm_downloader_normal 1
sm_downloader_simple 0
sm_downloader_version 1.4
__________________
NearNihil 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 00:02.


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