• FastDL with Xenon-Help
    2 replies, posted
Xenon servers issues a FastDL ip automatically when you buy a server, the ip, however is exactly the same as my ftp server so there is no way to do the standard transferring of files to the fastdl, I have however, put the addons folders into their base folders (in the FTP) and made a lua script called resource.lua which is in my lua/server/autorun/ folder. I have put models into the server and have done all steps correctly to ensure that they work, but they don't. The following is my resource.lua file which should be forcing clients to download the models. 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 AddFile(dir.."/"..v) end end AddDir("materials/characters/office4") AddDir("materials/models/humans/jackntie") AddDir("materials/models/humans/jackntie") AddDir("models/characters") AddDir("models/humans/jacketntie") AddDir("lua/autorun") resource.AddFile("maps/rp_downtown_v4c.bsp") resource.AddFile("models/characters/gallaha.mdl") resource.AddFile("models/humans/jacketntie/male_05.mdl") resource.AddFile("models/humans/jacketntie/male_07.mdl") resource.AddFile("models/humans/jacketntie/male_09.mdl") resource.AddFile("materials/characters/office4/gman_sheet_breen2.vtf") resource.AddFile("materials/models/humans/jackntie/breen_sheet.vtf") resource.AddFile("lua/autorun/gangplayermodels.lua") resource.AddFile("materials/characters/office4/gallahan_001.vmt") resource.AddFile("materials/characters/office4/erdim_facemap.vmt") resource.AddFile("materials/models/humans/jackntie/art_facemap.vmt") resource.AddFile("materials/models/humans/jackntie/breen_sheeb.vmt") resource.AddFile("materials/models/humans/jackntie/breen_sheet.vmt") resource.AddFile("materials/models/humans/jackntie/breen_sheet_normal.vtf") resource.AddFile("materials/models/humans/jackntie/citizen_sheet.vmt") resource.AddFile("materials/models/humans/jackntie/erdim_cylmap.vmt") resource.AddFile("materials/models/humans/jackntie/eric_facemap.vmt") resource.AddFile("materials/models/humans/jackntie/joe_facemap.vmt") resource.AddFile("materials/models/humans/jackntie/mike_facemap.vmt") resource.AddFile("materials/models/humans/jackntie/sandro_facemap.vmt") resource.AddFile("materials/models/humans/jackntie/ted_facemap.vmt") resource.AddFile("materials/models/humans/jackntie/van_facemap.vmt") resource.AddFile("materials/models/humans/jackntie/vance_facemap.vmt")
Xenon sets the fastDL to your gmod folder, whatever you upload to the gmod directory, goes on the fastDL. Not sure why the resource file isn't working.
[QUOTE=MOOcow102;35562803]Xenon sets the fastDL to your gmod folder, whatever you upload to the gmod directory, goes on the fastDL. Not sure why the resource file isn't working.[/QUOTE] I have put each addons folder in their respective base folders (lua in lua, materials in materials, etc.). I do not know why it is working, I contacted Xenon and they were completely useless, said it had to be a scripting problem but as far as I can tell, the resource file is correct.
Sorry, you need to Log In to post a reply to this thread.