• Fast DL Issues
    1 replies, posted
Ok so first let me explain, im using/attempting to use the old fastDL system. Heres what i have inside of the server.cfg [CODE]gamemode "darkrp" sv_downloadurl "http://fastdl.theharibokid.net/rp/" sv_allowupload "0" sv_allowdownload "0"[/CODE] I also have /root/server_1/garrysmod/lua/autorun/server/downloads.lua [CODE] function AddDir(dir) // Recursively adds everything in a directory to be downloaded by client local list = file.FindDir("../"..dir.."/*") for _, fdir in pairs(list) do if fdir != ".svn" then // Don't spam people with useless .svn folders AddDir(dir.."/"..fdir) end end for k,v in pairs(file.Find(dir.."/*", true)) do resource.AddFile(dir.."/"..v) end end AddDir("models/weapons") AddDir("materials")[/CODE] No matter what i do the server refuses to download anything to clients. Im lost for ideas.
Resolved.
Sorry, you need to Log In to post a reply to this thread.