Problems with FastDL

On my server, FastDL materials, models are not working. Only maps.
resource file:



resource.AddFile("models/exor/skybox/forest_small.dx80.vtx.bz2")
resource.AddFile("models/exor/skybox/forest_patch.sw.vtx.bz2")
resource.AddFile("models/exor/skybox/forest_big.dx90.vtx.bz2")
resource.AddFile("models/exor/skybox/forest_small.mdl.bz2")
resource.AddFile("models/exor/skybox/forest_small.sw.vtx.bz2")
resource.AddFile("models/exor/skybox/forest_patch.mdl.bz2")
resource.AddFile("models/exor/skybox/forest_big.phy.bz2")
resource.AddFile("models/exor/skybox/forest_patch.dx90.vtx.bz2")
resource.AddFile("models/exor/skybox/forest_big.dx80.vtx.bz2")
resource.AddFile("models/exor/skybox/forest_big.vvd.bz2")
resource.AddFile("models/exor/skybox/forest_patch.phy.bz2")
resource.AddFile("models/exor/skybox/forest_small.vvd.bz2")
resource.AddFile("models/exor/skybox/forest_patch.vvd.bz2")
resource.AddFile("models/exor/skybox/forest_patch.dx80.vtx.bz2")
resource.AddFile("models/exor/skybox/forest_small.dx90.vtx.bz2")
resource.AddFile("models/exor/skybox/forest_big.sw.vtx.bz2")
resource.AddFile("models/exor/skybox/forest_big.mdl.bz2")
resource.AddFile("models/exor/skybox/forest_small.phy.bz2")
resource.AddFile("models/rs/egg.dx80.vtx.bz2")
resource.AddFile("models/rs/freespace13_skybox.sw.vtx.bz2")
resource.AddFile("models/rs/egg_huge.dx90.vtx.bz2")
resource.AddFile("models/rs/egg_huge.sw.vtx.bz2")
resource.AddFile("models/rs/egg.vvd.bz2")
resource.AddFile("models/rs/egg_big.sw.vtx.bz2")
resource.AddFile("models/rs/egg_huge.xbox.vtx.bz2")
resource.AddFile("models/rs/egg_huge.phy.bz2")
resource.AddFile("models/rs/egg_big.vvd.bz2")
resource.AddFile("models/rs/egg_big.phy.bz2")
resource.AddFile("models/rs/egg.dx90.vtx.bz2")
resource.AddFile("models/rs/egg_big.dx80.vtx.bz2")
resource.AddFile("models/rs/egg_big.mdl.bz2")
resource.AddFile("models/rs/freespace13_skybox.dx80.vtx.bz2")
resource.AddFile("models/rs/egg_huge.dx80.vtx.bz2")
resource.AddFile("models/rs/egg_huge.mdl.bz2")
resource.AddFile("models/rs/freespace13_skybox.dx90.vtx.bz2")
resource.AddFile("models/rs/egg.phy.bz2")
resource.AddFile("models/rs/freespace13_skybox.mdl.bz2")
resource.AddFile("models/rs/egg.mdl.bz2")
resource.AddFile("models/rs/egg_huge.vvd.bz2")
resource.AddFile("models/rs/freespace13_skybox.vvd.bz2")
resource.AddFile("models/rs/egg.sw.vtx.bz2")
resource.AddFile("models/rs/egg_big.dx90.vtx.bz2")
resource.AddFile("models/rs/freespace13_skybox.phy.bz2")
resource.AddFile("maps/gm_freespace_09_extended.bsp")
resource.AddFile("maps/gm_freespace_09_extended.bsp.bz2")
resource.AddFile("materials/models/iglak3.vmt.bz2")
resource.AddFile("materials/models/iglak1.vmt.bz2")
resource.AddFile("materials/models/iglak4.vtf.bz2")
resource.AddFile("materials/models/drzewo6.vmt.bz2")
resource.AddFile("materials/models/drzewo8.vmt.bz2")
resource.AddFile("materials/models/iglak1.vtf.bz2")
resource.AddFile("materials/models/drzewo7.vtf.bz2")
resource.AddFile("materials/models/drzewo7.vmt.bz2")
resource.AddFile("materials/models/rs/egg_sphere_basic.vmt.bz2")
resource.AddFile("materials/models/rs/betonwand.vtf.bz2")
resource.AddFile("materials/models/rs/gras.vtf.bz2")
resource.AddFile("materials/models/rs/ziegelmauer.vmt.bz2")
resource.AddFile("materials/models/rs/gras.vmt.bz2")
resource.AddFile("materials/models/rs/gruene_zierleisten.vtf.bz2")
resource.AddFile("materials/models/rs/gruene_zierleisten.vmt.bz2")
resource.AddFile("materials/models/rs/egg_sphere_basic.vtf.bz2")
resource.AddFile("materials/models/rs/asphalt.vmt.bz2")
resource.AddFile("materials/models/rs/asphalt.vtf.bz2")
resource.AddFile("materials/models/rs/ziegelmauer.vtf.bz2")
resource.AddFile("materials/models/rs/betonwand.vmt.bz2")
resource.AddFile("materials/models/rs/freespaceschild.vtf.bz2")
resource.AddFile("materials/models/rs/ziegelmauer2.vmt.bz2")
resource.AddFile("materials/models/rs/ziegelmauer2.vtf.bz2")
resource.AddFile("materials/models/rs/freespaceschild.vmt.bz2")
resource.AddFile("materials/models/iglak2.vtf.bz2")
resource.AddFile("materials/models/props_foliage/tree_deciduous_cards_05.vmt.bz2")
resource.AddFile("materials/models/props_foliage/tree_deciduous_cards_04.vmt.bz2")
resource.AddFile("materials/models/props_foliage/tree_deciduous_cards_04.vtf.bz2")
resource.AddFile("materials/models/props_foliage/tree_deciduous_cards_05.vtf.bz2")
resource.AddFile("materials/models/iglak3.vtf.bz2")
resource.AddFile("materials/models/drzewo5.vmt.bz2")
resource.AddFile("materials/models/drzewo5.vtf.bz2")
resource.AddFile("materials/models/iglak4.vmt.bz2")
resource.AddFile("materials/models/iglak2.vmt.bz2")
resource.AddFile("materials/models/drzewo1.vmt.bz2")
resource.AddFile("materials/models/drzewo8.vtf.bz2")
resource.AddFile("materials/models/drzewo6.vtf.bz2")
resource.AddFile("materials/models/drzewo1.vtf.bz2")
resource.AddFile("materials/nature/3east.vtf.bz2")
resource.AddFile("materials/nature/1west_3.vmt.bz2")
resource.AddFile("materials/nature/2north.vmt.bz2")
resource.AddFile("materials/nature/1west.vtf.bz2")
resource.AddFile("materials/nature/3east.vmt.bz2")
resource.AddFile("materials/nature/1west.vmt.bz2")
resource.AddFile("materials/nature/1west_2.vmt.bz2")
resource.AddFile("materials/nature/2north.vtf.bz2")
resource.AddFile("materials/nature/1west_2.vtf.bz2")
resource.AddFile("materials/nature/1west_3.vtf.bz2")
resource.AddFile("materials/oaf/dirt.vtf.bz2")
resource.AddFile("materials/oaf/fs09_02.vmt.bz2")
resource.AddFile("materials/oaf/sand.vtf.bz2")
resource.AddFile("materials/oaf/oafbrick_top.vtf.bz2")
resource.AddFile("materials/oaf/fs09_01.vmt.bz2")
resource.AddFile("materials/oaf/construct_concrete_ground.vmt.bz2")
resource.AddFile("materials/oaf/construct_concrete_ground.vtf.bz2")
resource.AddFile("materials/oaf/grass_02.vmt.bz2")
resource.AddFile("materials/oaf/oafbrick_bottom.vtf.bz2")
resource.AddFile("materials/oaf/oafbrick_bottom_normal.vtf.bz2")
resource.AddFile("materials/oaf/water_dx7.vmt.bz2")
resource.AddFile("materials/oaf/fs09_02.vtf.bz2")
resource.AddFile("materials/oaf/construct_concrete_ground_normal.vtf.bz2")
resource.AddFile("materials/oaf/grass_dark.vtf.bz2")
resource.AddFile("materials/oaf/grass_fs09_ex_blend.vmt.bz2")
resource.AddFile("materials/oaf/dirt.vmt.bz2")
resource.AddFile("materials/oaf/grass_clouds.vtf.bz2")
resource.AddFile("materials/oaf/oafbrick_top_normal.vtf.bz2")
resource.AddFile("materials/oaf/grass_fs09_ex.vmt.bz2")
resource.AddFile("materials/oaf/oafbrick_bottom.vmt.bz2")
resource.AddFile("materials/oaf/sandgrasblend.vmt.bz2")
resource.AddFile("materials/oaf/water_beneath.vmt.bz2")
resource.AddFile("materials/oaf/terrain_detail.vtf.bz2")
resource.AddFile("materials/oaf/oafbrick_top.vmt.bz2")
resource.AddFile("materials/oaf/grass_01.vmt.bz2")
resource.AddFile("materials/oaf/fs09_01.vtf.bz2")
resource.AddFile("materials/oaf/grass.vtf.bz2")
resource.AddFile("materials/oaf/dirtgrasblend.vmt.bz2")
resource.AddFile("materials/oaf/water.vmt.bz2")
resource.AddFile("materials/oaf/water_beneath_dx8.vmt.bz2")
resource.AddFile("sound/oaf/somuchtodosomuchtosee_loop.wav.bz2")
resource.AddFile("sound/oaf/nope.wav.bz2")


When connecting to the server it only shows downloading maps.
sv_downloadurl: “http://localhost:80/garrysmod

I’m not sure if the resource file is supposed to have the .bz2 extension. Mine doesn’t, but maybe it works both ways.

Did you try using a browser to download one of those files to make sure your FastDL server is working?
Try entering this url into your browser:
http://localhost:80/garrysmod/models/exor/skybox/forest_small.dx80.vtx.bz2

If that doesn’t work then your FastDL server is not working. Hard to know why though without more information about your setup.

It’s your sv_downloadurl. It needs to be something the client has access to.

If it would be a LAN party then it would work though

@ThaBullfrog Yes, it directly downloads. It’s localhost so i could try it out.

Make it your computers local ip without the port, such as sv_downloadurl “http://192.168.2.55/gmod/dir/something

I’m getting close. It downloads models, materials but not sounds and i believe they are called effects? (like the crosshair of a weapon)

Edit:
I can confirm. My download folder has almost no sounds in it.
I checked, the paths are correct.
A part of the sounds:



resource.AddSingleFile("sound/vehicles/tdmcars/gallardo/second.wav")
resource.AddSingleFile("sound/vehicles/tdmcars/gallardo/idle.wav")
resource.AddSingleFile("sound/vehicles/tdmcars/gallardo/fourth_cruise.wav")
resource.AddSingleFile("sound/hahayoufool.wav")
resource.AddSingleFile("sound/wilhelm.wav")