• Force Download Problem
    6 replies, posted
We have a server running dark rp. We have searched for the last 4 days for a fix. We have tried resource.add file, and all of the popular lua files. When we use the add directory function it queues up but doesn't actually download. We've tried basically all of the settings. Pretty much however we set it up it doesn't want to work.
Make sure the Command Line is set correctly.
[QUOTE=zzaacckk;21351527]Make sure the Command Line is set correctly.[/QUOTE] Exactly what part are we making sure is correct?
[QUOTE=JesusWasARasta;21351594]Exactly what part are we making sure is correct?[/QUOTE] Well, here is a more exact description of the problem. We are running the newest DarkRP svn and we have our mods in place. Everything in the game works great. The problem is that we cannot get fast downloads to work at all. We have tried: Using resource.AddFile(".mdl") (obviously where the .mdl is the path, we have tried lowercase, uppercase, matching the EXACT names of the folders and files and get nothing) We have tried using if SERVER then and end before and after all the resource files and placing the file into the autorun/ folder as well as the autorun/server/ folder. And before you ask we did not have duplicate files, we removed one and tried it into the new folder. We have tried every combination of allowupload allowdownload and download_url (these are the sv commands to change settings for downloads/uploads) We tried using AddDir with the function and all. Even tried more than one version of it. Tried the one on the wiki and tried the 13 million versions I found here on the forums. Problem is that it will queue the files and shows that there are 49 models to download but they never actually download. Instead just the motd will download. We have tried using resource generators assuming that we just coded it wrong. They do the same things as above. There is nothing I can even think of to put into the command line to allow for something that is taken care of in the code itself, but if you have something we will try it. I have wiped the server already and restarted it and everything. No matter what I have ended up at this spot. So if anyone has ideas I would be thrilled. Thanks for the help. EDIT: We also tried using the init.lua file to include our resource files in the game mode. I have read that we needed to put it in the content folder of the game mode as well, tried that and failed. Seriously, 4 days on this forum and I have yet to find a fix.
If you bought your server from xenonservers and your using there "free fast download" disable it in server.cfg //sv_downloadurl "herpderp.com" xenon servers offers there free fast download which pretty much does nothing, if you disable that and then try the resource.addfile or add directory code it should work fine, and if you want to use fast download make sure you put your dua/models/materials etc to where your fast download points to. Files that download and don't actually download I call them phantom files, means your fast download server is not set up correctly.
I am using xenon servers, but I am pretty sure I have removed the sv_downloadurl to just the "" required to shut it down. Also the FastDL setup with them points directly back at the gmod server folder. Meaning that the file setup should already be more than in place with models being in the models directory. But I will give it a shot as at this point I appreciate any input. Let me test and I will let you know. EDIT: You gotta be kidding me. I swear to god I tried this. I know I removed it but maybe I didn't try it when I had the files in the server folder. I dunno. Either way thank god for you sir. You deserve eggrolls.
yer welcome
Sorry, you need to Log In to post a reply to this thread.