How to set up FastDL for your Server.

Hello, I know a lot of people know how to set up FastDL, but then again some don’t.
I also know there are other tutorials on how to do this but people seem to miss them or not even look for them.


Okay so lets start by going to “lua/autorun/server” and in that directory make a file named “resourceaddfiles.lua” (Doesn’t matter what its named).

Now go put what ever addon you want into the Servers “Addons Folder” and now copy the the materials and models folders that are in that addon and extract them into the servers materials and models folders.

Now we go back to the “lua/autorun/server/serverresourceaddfiles.lua” and do something like this:

[lua]resource.AddFile(“materials/models/player/Lara/23c2971d.vtf”)
resource.AddFile(“materials/models/player/Lara/23c2971d.vmt”)
resource.AddFile(“materials/models/player/Lara/23c2971d_n.vtf”)
resource.AddFile(“materials/models/player/Lara/23c2971d_n.vtf”)
resource.AddFile(“materials/models/player/Lara/358d65eb.vtf”)
resource.AddFile(“materials/models/player/Lara/358d65eb.vmt”)
resource.AddFile(“materials/models/player/Lara/358d65eb_n.vtf”)
resource.AddFile(“materials/models/player/Lara/358d65eb_n.vmt”)
resource.AddFile(“materials/models/player/Lara/47166b01.vtf”)
resource.AddFile(“materials/models/player/Lara/47166b01.vmt”)
resource.AddFile(“materials/models/player/Lara/47166b01_n.vtf”)
resource.AddFile(“materials/models/player/Lara/47166b01_n.vmt”)
resource.AddFile(“materials/models/player/Lara/98781a7b.vtf”)
resource.AddFile(“materials/models/player/Lara/98781a7b.vmt”)
resource.AddFile(“materials/models/player/Lara/98781a7b_n.vtf”)
resource.AddFile(“materials/models/player/Lara/98781a7b_n.vmt”)
resource.AddFile(“materials/models/player/Lara/ct_urban.vtf”)
resource.AddFile(“materials/models/player/Lara/ct_urban.vmt”)
resource.AddFile(“materials/models/player/Lara/d529bebf.vtf”)
resource.AddFile(“materials/models/player/Lara/d529bebf.vmt”)
resource.AddFile(“materials/models/player/Lara/d529bebf_n.vtf”)
resource.AddFile(“materials/models/player/Lara/d529bebf_n.vmt”)
resource.AddFile(“materials/models/player/Lara/f96f91cf.vtf”)
resource.AddFile(“materials/models/player/Lara/f96f91cf.vmt”)
resource.AddFile(“materials/models/player/Lara/f96f91cf_n.vtf”)
resource.AddFile(“materials/models/player/Lara/f96f91cf_n.vmt”)
resource.AddFile(“models/player/lara_cr.mdl”)[/lua]

Make the file path the same as you have it in your Server.

Also make sure you have your “sv_downloadurl” set up in the “server.cfg”
You can find out how to get the “sv_downloadurl” set up here.

If all that stuff is not working, your Server may not even come with FastDL. This is ware you will have to set up your own FastDL using “DropBox” (This I can’t help you with)

I hope this helps all you guys that keep asking about how to set up Fast download for your servers.

It would be best if you make a tutorial on the official wiki.

How would I do that?
I don’t get the new wiki.

THANK YOU!!! <3 YOU SO MUCH!!! FINALLY A TUTORIAL ON HOW TO FORCE DOWNLOAD TOO!!!

[editline]30th June 2013[/editline]

I think the thing I never picked up on is that the files must be on my server as well… >.>

Well duh xD

host has fastdl but is syncing the files packed in .bz2.
So clients get the error message “mapname.bsp.bz2 is not a valid map file” when connecting…

host: players have to install a bzip2 unpacker library to their client before joining the server