FastDL issues

Hello, I’m currently running a PERP gamemode and I’m having some issues with my FastDL.

Now the problem I’m having is that players arnt downloading the files they need that are on the FastDL.

So a bunch of people are seeing Error models and Missing textures.

Can someone help me? Here is a link to my FastDL. http://multi-gaming.biz/FastDL/

So please respond if you may wish or can help me.

Have you placed the needed models on the resource file?

I see this in my init.lua in my gamemode:

[lua]local ClientResources = 0;
local function ProcessFolder ( Location )
for k, v in pairs(file.Find(Location … ‘*’)) do
if file.IsDir(Location … v) then
ProcessFolder(Location … v … ‘/’)
else
local OurLocation = string.gsub(Location … v, ‘…/gamemodes/perp3/content/’, ‘’)

		if string.sub(Location, -2) != 'db' then			
			ClientResources = ClientResources + 1;
			resource.AddFile(OurLocation);
		end
	end
end

end

if isDedicatedServer() then
ProcessFolder(’…/gamemodes/perp3/content/models/’);
ProcessFolder(’…/gamemodes/perp3/content/materials/’);
ProcessFolder(’…/gamemodes/perp3/content/sound/’);
ProcessFolder(’…/gamemodes/perp3/content/resource/’);
ProcessFolder(’…/gamemodes/perp3/content/skintemplates/’);
ProcessFolder(’…/gamemodes/perp3/content/scripts/’);
end

Msg("Sent " … ClientResources … " client resources.
");[/lua]

I’m not sure if its right tho

You can’t use …/ in file.* anymore

Sorry not much of a lua coder here, but if I can’t use those what do I change them too?

See **[File.Find

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=File.Find)**

so I didn’t know what you said there, but I did this. Idk if its right tho.

[lua]–Materials
resource.AddFile(“materials”)
resource.AddFile(“materials/bobcat”)
resource.AddFile(“materials/corvette”)
resource.AddFile(“materials/diablo”)
resource.AddFile(“materials/f50”)
resource.AddFile(“materials/ferrari”)
resource.AddFile(“materials/golf”)
resource.AddFile(“materials/gui/vehicles”)
resource.AddFile(“materials/hakumai”)
resource.AddFile(“materials/models/ambulance”)
resource.AddFile(“materials/models/copcar”)
resource.AddFile(“materials/models/caterham”)
resource.AddFile(“materials/models/firetruck”)
resource.AddFile(“materials/models/gtaiv/vehicles/buff”)
resource.AddFile(“materials/models/gtaiv/vehicles/cavalcade”)
resource.AddFile(“materials/models/gtaiv/vehicles/diamond”)
resource.AddFile(“materials/models/gtaiv/vehicles/ecpd”)
resource.AddFile(“materials/models/gtaiv/vehicles/gtabus”)
resource.AddFile(“materials/models/gtaiv/vehicles/hakumai”)
resource.AddFile(“materials/models/gtaiv/vehicles/huntley”)
resource.AddFile(“materials/models/gtaiv/vehicles/mule”)
resource.AddFile(“materials/models/gtaiv/vehicles/oracle”)
resource.AddFile(“materials/models/gtaiv/vehicles/pmp600”)
resource.AddFile(“materials/models/gtaiv/vehicles/speedo”)
resource.AddFile(“materials/models/gtaiv/vehicles/stallion”)
resource.AddFile(“materials/models/gtaiv/vehicles/stretch”)
resource.AddFile(“materials/models/gtaiv/vehicles/tow”)
resource.AddFile(“materials/models/gtaiv/vehicles/truckfire”)
resource.AddFile(“materials/models/gtaiv/vehicles/willard”)
resource.AddFile(“materials/models/gtaiv/vehicles/yankee”)
resource.AddFile(“materials/models/gtaiv/vehicles/”)
resource.AddFile(“materials/models/lambo”)
resource.AddFile(“materials/models/mini”)
resource.AddFile(“materials/models/shelby”)
resource.AddFile(“materials/models/sickness/bmarq”)
resource.AddFile(“materials/models/sickness/Bus”)
resource.AddFile(“materials/models/sickness/diablo”)
resource.AddFile(“materials/models/sickness/elise”)
resource.AddFile(“materials/models/sickness/f50”)
resource.AddFile(“materials/models/sickness/hummerh2”)
resource.AddFile(“materials/models/sickness/m5”)
resource.AddFile(“materials/models/sickness/vanquish”)
resource.AddFile(“materials/models/swatvan2”)
resource.AddFile(“materials/models/swatvans”)
resource.AddFile(“materials/models/tdmcars/chargersrt8”)
resource.AddFile(“materials/models/tdmcars/sl65amg”)
resource.AddFile(“materials/models/tdmcars/gt500”)
resource.AddFile(“materials/models/tdmcars/rx8”)
resource.AddFile(“materials/models/tdmcars/shared”)
resource.AddFile(“materials/models/tdmcars/supra”)
resource.AddFile(“materials/oracle”)
resource.AddFile(“materials/perp2/vehicles”)
resource.AddFile(“materials/perp3”)
resource.AddFile(“materials/perpatv”)
resource.AddFile(“materials/speedo”)
resource.AddFile(“materials/stallion”)
resource.AddFile(“materials/vanquish”)
resource.AddFile(“materials/VGUI/entities”)

–Models
resource.AddFile(“models”)
resource.AddFile(“models/corvette”)
resource.AddFile(“models/golf”)
resource.AddFile(“models/lambo”)
resource.AddFile(“models/mini”)
resource.AddFile(“models/perp2.5”)
resource.AddFile(“models/shelby”)
resource.AddFile(“models/sickness”)
resource.AddFile(“models/tdmcars”)[/lua]

resource.AddFile is not resource.AddFolder, use file.Find to make your own version of that.