Hi, I'm currently setting up FastDL on my gmod server and whilst I'm able to force download to user's clients, the models in question still show up as errors.
I'm really confused as to where the problem is coming from - whether it be from the addon folder on my server, the force download lua file that sets up the FastDL, or the files that I uploaded to the server's webhost for FastDL.
FastDL and model/content issues/shows up as errors
-
- New to forums
- Posts: 2
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Wed Sep 30, 2015 6:55 pm
Re: FastDL and model/content issues/shows up as errors
Can you post the file you're using to force download this content to your users?
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Re: FastDL and model/content issues/shows up as errors
He's part of it. I have everything else in a similar manner. I managed to get it to work, but not in the way I was hoping. I wanted to have my users download the compressed files (.bz2), but from what I've read I'm supposed to include both the regular file on the webhost as well as the compressed ones? I kept this open in case I could get more answers and learn more about it.
Code: Select all
if (SERVER) then
resource.AddSingleFile( "models/player/danboard.dx80.vtx" )
resource.AddSingleFile( "models/player/danboard.dx90.vtx" )
resource.AddSingleFile( "models/player/danboard.mdl" )
resource.AddSingleFile( "models/player/danboard.phy" )
resource.AddSingleFile( "models/player/danboard.sw.vtx" )
resource.AddSingleFile( "models/player/danboard.vvd" )
resource.AddSingleFile( "materials/models/player/danboard_arm_leg_sheet.vmt" )
resource.AddSingleFile( "materials/models/player/danboard_arm_leg_sheet.vtf" )
resource.AddSingleFile( "materials/models/player/danboard_body_sheet.vmt" )
resource.AddSingleFile( "materials/models/player/danboard_body_sheet.vtf" )
resource.AddSingleFile( "materials/models/player/danboard_head_sheet.vmt" )
resource.AddSingleFile( "materials/models/player/danboard_head_sheet.vtf" )
resource.AddFile( "models/player/danboard.dx80.vtx" )
resource.AddFile( "models/player/danboard.dx90.vtx" )
resource.AddFile( "models/player/danboard.mdl" )
resource.AddFile( "models/player/danboard.phy" )
resource.AddFile( "models/player/danboard.sw.vtx" )
resource.AddFile( "models/player/danboard.vvd" )
resource.AddFile( "materials/models/player/danboard_arm_leg_sheet.vmt" )
resource.AddFile( "materials/models/player/danboard_arm_leg_sheet.vtf" )
resource.AddFile( "materials/models/player/danboard_body_sheet.vmt" )
resource.AddFile( "materials/models/player/danboard_body_sheet.vtf" )
resource.AddFile( "materials/models/player/danboard_head_sheet.vmt" )
resource.AddFile( "materials/models/player/danboard_head_sheet.vtf" )
end
Re: FastDL and model/content issues/shows up as errors
.bz2 should only work with map files, so that could be part of your problem. I'd recommend just placing the content on the server, running a websync and then updating your force download file to match. I'd expect it to fully work then. If you wanted everything to download in a single go you could try doing .vpk's, but it's hard to say if it's worth it.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Re: FastDL and model/content issues/shows up as errors
You can really use .vpks in FastDL? lolkraze wrote:.bz2 should only work with map files, so that could be part of your problem. I'd recommend just placing the content on the server, running a websync and then updating your force download file to match. I'd expect it to fully work then. If you wanted everything to download in a single go you could try doing .vpk's, but it's hard to say if it's worth it.
If only I had known that a year ago.
Bzip files do work in forcedl for things other than maps. You just have to tell it to specifically download file.vmt.bz2 instead of file.vmt.
Also Rybnik, when you join do you get any http errors? It should say something like HTTP ERROR : FAILED TO DOWNLOAD FILE "path/to/file.vmt"