And again.... FASTDL

Hey guys,

If I join my server ,I download the map but not the materials or models.

// bandwidth rates/settings
sv_minrate 0 
sv_maxrate 20000
decalfrequency 10 
sv_maxupdaterate 66 
sv_minupdaterate 10

sv_downloadurl ""
sv_allowdownload 0
sv_allowupload 0
net_maxfilesize 64

Dunno if this will help, add to server.cfg net_maxfilesize 64

no doesn’t help…
DiscoBiscut i love you avatar ;D

You need to do resource.AddFile for each material/model/sound. Read more on the Gmod Wiki

realy ? I thinked i don’t need this by Fast DL

Yes, you have to. You don’t put the resource.AddFile Lua file in the FastDL tho. Put it in the server folder: lua/autorun.

Here’s an example:


Note: For the “.mdl” file I only have to put “testmodel.mdl” since it will automatically find all the “testmodel.dx80”, “testmodel.dx90” etc. For the “.vmt” file it automatically find the “testmaterial.vtf” file with the same name. Note that it wont find all the .vtf file in that dir. It wont find the “testmateral1.vtf” if you put “testmaterial.vmt” for the resource.AddFile.
It’s pretty complex I know but once you learn it will be easy as a cake.

hm… whats about a for loop ? Can you give me for that an example? That will be great :]

64, no. Use 600. :wink: