I've already followed 4+ tutorials that tell you how to set up a fastDL.
[quote]sv_downloadurl "Http://www.randomcrapofdoom.com/garrysmod/"
sv_upload 1
sv_download 1[/quote]
This didn't work, with and without the closing "/".
[quote]sv_downloadurl "Http://www.randomcrapofdoom.com/garrysmod/"
sv_upload 0
sv_download 0[/quote]
This didn't work either. With and without the closing "/".
[quote]sv_downloadurl "Http://www.randomcrapofdoom.com/garrysmod/"
[/quote]
One person suggested this and it didn't work (With and without the closing "/".)
Then I tried this method;
[QUOTE=LilSumac;39775959]I just recently fixed my FastDL, so I'll try to help you out. So, for example, I wanted custom skins in my TTT gamemode.
So let's start with a Batman model.
First, I go to gamemodes/terrortown/content on the GAMESERVER. In that directory, create the corresponding directories that come with the models. For a model, it would be /content/models/ and /content/materials/.
In the models folder, put the models of the skin. (Ex: content/models/batman/batman.mdl. Please include the dx80.vtx, dx.90.vtx, and whatnot.) Then, put the materials in the content/materials/ folder. (Ex: content/materials/batman/batmanbody.vmt. Also include all other materials files.)
Now, go back to your main server directory, and put the models and materials for the thing into their corresponding directory. (Ex: models/batman/batman.mdl, materials/batman/batman.vmt) Now, the model is on your gameserver. But we want the client to be able to download it too.
Go to your WEBSERVER. (For me, it's /public_html/gmod_ttt_dl/) In this directory, it should look like your GAMESERVER. (models, materials, etc.) Put the models for the skin or whatever into the right places. (models/batman/batman.mdl, materials/batman/batman.vmt, etc.)
In your GAMESERVER, go to lua/autorun/server. Inside, create a file named FastDL.lua, or whatever you like. Inside it, put THIS CODE (obviously, replace it with the correct files paths):
if SERVER then resource.AddSingleFile("materials/batman/batman.vmt") resource.AddSingleFile("othermaterialfile") resource.AddSingleFile("othermaterialfile") resource.AddSingleFile("othermaterialfile") resource.AddSingleFile("models/batman/batman.mdl") resource.AddSingleFile("othermodelfile") resource.AddSingleFile("othermodelfile") resource.AddSingleFile("othermodelfile") resource.AddSingleFile("othermodelfile") resource.AddSingleFile("othermodelfile")end
Vuala! Your clients should now be able to download the files in the FastDL.lua files correctly. If you need any more help, feel free to add me on Steam and I'll try again.
~|SZ| LilSumac [Search]
Hope this works![/QUOTE]
This also did not work. I figured this would eliminate a few possibilities for people trying to resolve the issue (and I know something as simple as a missing comma can screw up an entire code).
Okay, so the issue is the files don't attempt to download right?
Also having FastDL issues ever since the updates. Nothing has been changed server wise either.
For example it fake downloads the bz2 file then downloads the same file without the .bz2 extension.
[QUOTE=Banana Lord.;39818076]Okay, so the issue is the files don't attempt to download right?[/QUOTE]
That is correct.
Then you either have the files already or your paths don't match in resource.AddFile. Keep in mind that the casing (almost always) matters, so models/Mymodel and models/mymodel aren't the same.
I just copy and paste the file names and I've triple checked the paths and even had two other people do it. The paths match. *I* have the files and see them just fine... no one else does.
Uhhhh....
Isn't is sv_allowdownload and sv_allowupload?
I think you forgot the allow.
Also, are you POSITIVE that's your correct Webserver url?
Aren't the sv_allow* cvars 1 by default anyways?
[QUOTE=tgp1994;39826868]Aren't the sv_allow* cvars 1 by default anyways?[/QUOTE]
Not sure, but that could be the problem.
Have you tried sv_pure 1?
[QUOTE=LilSumac;39826907]Not sure, but that could be the problem.
Have you tried sv_pure 1?[/QUOTE]
I believe this is the case at least in [url=https://developer.valvesoftware.com/wiki/List_of_TF2_console_commands_and_variables#S]TF2[/url], I'm not sure if this propagates down into gmod though...
[QUOTE=tgp1994;39826922]I believe this is the case at least in [url=https://developer.valvesoftware.com/wiki/List_of_TF2_console_commands_and_variables#S]TF2[/url], I'm not sure if this propagates down into gmod though...[/QUOTE]
I really don't know, but it wouldn't hurt to try.
So OP, try these:
sv_allowupload 1
sv_allowdownload 1
sv_pure 1
I'm not really sure on your downloadurl though...
[QUOTE=LilSumac;39826862]Uhhhh....
Isn't is sv_allowdownload and sv_allowupload?
I think you forgot the allow.
Also, are you POSITIVE that's your correct Webserver url?[/QUOTE]
Beyond the shadow of a doubt.
Trying the "sv_allowupload" and "sv_allowdownload".
EDIT: This did not work either.
What was that about "sv_pure"?
Since no one is this thread has mentioned it, this may be your problem [url]http://facepunch.com/showthread.php?t=1250354[/url]
[QUOTE=wh1t3rabbit;39827266]Since no one is this thread has mentioned it, this may be your problem [url]http://facepunch.com/showthread.php?t=1250354[/url][/QUOTE]
[QUOTE=tgp1994;39739783]I believe I'm having the same issue as you, I currently have a topic on that [url=http://facepunch.com/showthread.php?t=1250354]here[/url].[/QUOTE]
:\
But I do agree, I believe these two issues may be one of the same.
Well, first of all - why are you using upper-case H in http? Also, are you sure it's the right path? And have you checked that it is infact that URL (Uppercase & Lowercase can do a difference on Linux)
sv_allowupload has [b]no[/b] relation to downloads, hence the name allow[b]upload[/b]
sv_allowdownload is ignored if sv_downloadurl is set
sv_pure, when set to 0, only downloads certain files to prevent hackers/exploiters or something... basically setting it to 1 allows all files, and makes no difference security-wise. It worked for me, at least.
sv_pure just enforces files being loaded from the game cache, it has nothing to do with downloads
I too have this problem, my web server returns 200 but the client ignores it and request the non bz2. I have tried with both a windows and linux server and the issue seems to be related to the client. It simply is not actually downloading the bz2s.
I tested it with non bzipped files and they download, so I guess a temporary fix is to upload no zipped files in the mean time.
I think this is just the update itself that's messing it up. Older fastDLs seem to work but newer ones don't (from what I'm seeing on the various servers).
I've tried to lowercase the 'H' in the 'http', that didn't work (the entire url was copy and pasted from the web host anyways). I tried 'sv_pure 1' and that didn't work either.
I know some one said it wouldn't, but I wanted to eliminate a possibility, since we can all be wrong sometimes and I want to eliminate all possibilities before saying 'it wont work'.
Sorry, you need to Log In to post a reply to this thread.