• Can someone explain FastDL a bit to me?
    8 replies, posted
Hi guys! I am not a total idiot, I promise. I keep getting errors in my console related to my FastDL server and I just want someone to clarify something for me. Here are screenshots of my Server Addon folder and my FastDL Addon folder: GMOD: [url]http://i.imgur.com/NjCYaTN.png[/url] FastDL: [url]http://i.imgur.com/T8eJvxf.png[/url] I basically cloned the folders from my server's /garrysmod to my Fast DL's /ttt folder Here's my console output (cropped): [code]HTTP ERROR downloading http://www.stephanbotha.com/ttt/materials/models/weapons/w_models/schmung_mp7/main.vmt HTTP ERROR downloading http://www.stephanbotha.com/ttt/materials/models/weapons/w_models/schmung_mp7/map2.vmt.bz2 HTTP ERROR downloading http://www.stephanbotha.com/ttt/materials/models/weapons/w_models/schmung_mp7/map2.vmt HTTP ERROR downloading http://www.stephanbotha.com/ttt/materials/models/weapons/w_models/schmung_mp7/sights_down.vmt.bz2 HTTP ERROR downloading http://www.stephanbotha.com/ttt/materials/models/weapons/w_models/schmung_mp7/sights_down.vmt HTTP ERROR downloading http://www.stephanbotha.com/ttt/materials/models/weapons/w_models/schmung_mp7/sila.vmt.bz2 HTTP ERROR downloading http://www.stephanbotha.com/ttt/materials/models/weapons/w_models/schmung_mp7/sila.vmt HTTP ERROR downloading http://www.stephanbotha.com/ttt/materials/models/weapons/v_models/schmung_mp7/aim0py.vtf.bz2 HTTP ERROR downloading http://www.stephanbotha.com/ttt/materials/models/weapons/v_models/schmung_mp7/aim0py.vtf HTTP ERROR downloading http://www.stephanbotha.com/ttt/materials/models/weapons/v_models/schmung_mp7/aim0py.vmt.bz2 HTTP ERROR downloading http://www.stephanbotha.com/ttt/materials/models/weapons/v_models/schmung_mp7/aim0py.vmt[/code] Why is it trying to download the files from that path?
You are missing your materials folder in your fastdl
[QUOTE=Mega1mpact;42463900]You are missing your materials folder in your fastdl[/QUOTE] I see that in the console yes, but I cloned my addons folder from my gameserver to my FastDL server. Do I need to copy all the materials and models folders directly into the root of my FastDL?
no copy over your materials folder. Also disable directory listing people can go through your files and find custom files that you don't really want other servers to have. Such as [url]http://www.stephanbotha.com/ttt/addons/TTT%20Tripmine/lua/weapon_ttt_tripmine/[/url] (I guess)
[QUOTE=Mega1mpact;42464001]no copy over your materials folder. Also disable directory listing people can go through your files and find custom files that you don't really want other servers to have. Such as [url]http://www.stephanbotha.com/ttt/addons/TTT%20Tripmine/lua/weapon_ttt_tripmine/[/url] (I guess)[/QUOTE] But I dont have a materials or models folder [url]http://i.imgur.com/6F9nZKN.jpg[/url] EDIT: OK, so I manually copied all the materials, models and sound folders from all the addons to my FastDL root. Now I only get BZ2 errors. I can't find any BZ2 files on my server though [code]HTTP ERROR downloading http://www.stephanbotha.com/ttt/maps/ttt_minecraft_b5.bsp.bz2 HTTP ERROR downloading http://www.stephanbotha.com/ttt/sound/weapons/drilldo/rev.wav.bz2 HTTP ERROR downloading http://www.stephanbotha.com/ttt/models/jaanus/dildo.vvd.bz2 HTTP ERROR downloading http://www.stephanbotha.com/ttt/models/jaanus/dildo.dx80.vtx.bz2 HTTP ERROR downloading http://www.stephanbotha.com/ttt/models/jaanus/dildo.dx90.vtx.bz2 HTTP ERROR downloading http://www.stephanbotha.com/ttt/models/jaanus/dildo.phy.bz2 HTTP ERROR downloading http://www.stephanbotha.com/ttt/models/jaanus/dildo.mdl.bz2 [/code]
FastDL downloads very fast
Pack all your files into .bz2 files.
I see two, potentially three issues with your FastDL. 1. You have a lua directory. Remove it completely and all the content inside it. Don't question it, just do it. 2. You have an addons folder. Now, you want to move the following directories to the root of your FastDL [B]for each addon[/B] you have inside the addon folder; [B]materials, models, sound, resource[/B]. Simplified: materials into materials, models into models, etc. When you've done that, remove the entire addons folder. 3. Your FastDL isn't bzip'd. I have a modified bzip on my web-server that you should use: [URL="http://tjservers.org/files/bzip.zip"]Download[/URL] (I modified it so it recursively compress the files inside the "compressed" folder instead of just compress the files that are in the folder, this way, even if you have subdirectories, the script will compress the files in that sub-dir and so on without it compressing an entire folder)
[QUOTE=StephanBotha;42464091]Now I only get BZ2 errors. I can't find any BZ2 files on my server though[/QUOTE] FastDL will first try to download the bz2 files, which are compressed files. If they don't exist, then it tries to download the original files. From what you've posted it should be working now (downloading the original files), and you [I]could [/I]ignore the bz2 errors. What you should do though is compress all the files and upload them, then FastDL will find them so you'll get no errors, and clients will get smaller downloads as the files are compressed.
Sorry, you need to Log In to post a reply to this thread.