Help with fastdl

—Posted here cause this is not necessarily a issue with PLAYING gmod as the Help and Support Forum requires—

Hello.

I have made a server with gameservermanagers (just to speed things up) and I am trying to get fastdl going.

I have generated a fastdl folder with the fastdl command from gameservermanagers and properly setup a apache webserver to it. I have added the website url in my cfg files using sv_loadingurl.

I, however, noticed that the fastdl script hasnt compressed or added any of my addons to said fastdl folder. So I went ahead and added all my addons in my workshop.lua file using resource.AddWorkshop.

Yet my users still get missing textures on some addons. Why?

Post your server.cfg and resource.AddFile/AddWorkshop file.


//Stuff the script added
resource.AddFile( "maps/gm_flatgrass.bsp" )
resource.AddFile( "maps/gm_construct.bsp" )
resource.AddFile( "maps/graphs/gm_construct.ain" )
resource.AddFile( "maps/graphs/gm_flatgrass.ain" )
resource.AddFile( "gamemodes/terrortown/content/models/ttt/deerstalker.sw.vtx" )
resource.AddFile( "gamemodes/terrortown/content/models/ttt/deerstalker.mdl" )
resource.AddFile( "gamemodes/terrortown/content/models/ttt/deerstalker.phy" )
resource.AddFile( "gamemodes/terrortown/content/models/ttt/deerstalker.dx90.vtx" )
resource.AddFile( "gamemodes/terrortown/content/models/ttt/deerstalker.vvd" )
resource.AddFile( "gamemodes/terrortown/content/models/ttt/deerstalker.dx80.vtx" )
resource.AddFile( "gamemodes/terrortown/content/materials/sprites/scope.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/models/ttt/deerstalker/deerstalker.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_ump.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/custom_marker.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_head.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_scout.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_m249.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_flare.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_halp.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_armor.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_beacon.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_cbar.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_list.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/tbut_hand_line.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_fire.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/c4_wire_cut.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/det_beacon.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_radio.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_rpg.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/help/tut04.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/help/tut03.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/help/tut05.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/help/tut01.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/help/tut06.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/help/tut02.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_foot.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/c4_bomb.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/score_logo.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_time.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_mac.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_det.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_splode.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/sample_scan.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_wtester.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_bullet.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_disguise.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_c4warn.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_corpse.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/c4_wire.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_pistol.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_silenced.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_radar.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_fall.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_tport.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/slotcap.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_defuser.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_c4.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_skull.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_inno.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_lastid.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_code.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_nades.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_knife.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_shotgun.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_m16.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_traitor.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/sprite_traitor.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/c4_cut.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_health.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_id.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_deagle.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_polter.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_cse.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/tbut_hand_filled.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_rock.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_binoc.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_glock.vmt" )
resource.AddFile( "gamemodes/terrortown/content/materials/vgui/ttt/icon_launch.vmt" )
resource.AddFile( "cache/workshop/resource/fonts/exodr.ttf" )
resource.AddFile( "cache/workshop/resource/fonts/ubuntu-l.ttf" )
resource.AddFile( "cache/workshop/resource/fonts/gnuolanedr.ttf" )
resource.AddFile( "particles/train_steam.pcf" )
resource.AddFile( "particles/antlion_blood.pcf" )
resource.AddFile( "particles/rocket_fx.pcf" )
resource.AddFile( "particles/fire_01.pcf" )
resource.AddFile( "particles/combineball.pcf" )
resource.AddFile( "particles/burning_fx.pcf" )
resource.AddFile( "particles/gmod_effects.pcf" )
resource.AddFile( "particles/error.pcf" )
resource.AddFile( "particles/blood_impact.pcf" )
resource.AddFile( "particles/water_impact.pcf" )
resource.AddFile( "particles/vortigaunt_fx.pcf" )
//---------------
resource.AddWorkshop( '160250458' ) -- Wiremod
resource.AddWorkshop( '295680095' ) -- J.I. Defense Solutions
resource.AddWorkshop( '371820827' ) -- Mercury Admin Mod
resource.AddWorkshop( '163806212' ) -- Advanced Duplicator
resource.AddWorkshop( '128089118' ) -- M9K Assault Rifles
resource.AddWorkshop( '128091208' ) -- M9K Heavy Weapons
resource.AddWorkshop( '144982052' ) -- M9K Specialties
resource.AddWorkshop( '659044893' ) -- DPP - DBot Prop Protection
resource.AddWorkshop( '669642096' ) -- Drones Rewrite
resource.AddWorkshop( '104548572' ) -- Playable Piano
resource.AddWorkshop( '238747867' ) -- Freespace 06 v2.1
resource.AddWorkshop( '673698301' ) -- Vape SWEP
resource.AddWorkshop( '627908510' ) -- Easy Thirdperson
resource.AddWorkshop( '893736359' ) -- Auto-Workshop Adder: Never type AddWorkshop again!
resource.AddWorkshop( '104691717' ) -- PAC3
resource.AddWorkshop( '128093075' ) -- M9K Small Arms pack
resource.AddWorkshop( '147334265' ) -- [WIP] gm_techhub
resource.AddWorkshop( '186237028' ) -- Automatic Votemap Cycle
resource.AddWorkshop( '604081929' ) -- Build Mode (chat command)
resource.AddWorkshop( '104468359' ) -- gm_construct_flatgrass_v6-2
resource.AddWorkshop( '174651081' ) -- gm_excess_construct
resource.AddWorkshop( '114589891' ) -- SligWolf's Tram
resource.AddWorkshop( '132174849' ) -- SligWolf's Western Loco
resource.AddWorkshop( '505845818' ) -- Spawn Protection
resource.AddWorkshop( '298072218' ) -- GM_Functional_Flatgrass
resource.AddWorkshop( '361586208' ) -- SligWolf's Diesel Loco
resource.AddWorkshop( '140618773' ) -- gm_mobenix_v3_final_mp_fixed
resource.AddWorkshop( '701595427' ) -- Death Animations
resource.AddWorkshop( '112437789' ) -- gm_railroad
resource.AddWorkshop( '123491327' ) -- gm_rail
resource.AddWorkshop( '106817451' ) -- TF2 Phys Override
resource.AddWorkshop( '725425861' ) -- Team Fortress 2 Weapons
resource.AddWorkshop( '956248189' ) -- [SKY] 2003 Mini Cooper S
resource.AddWorkshop( '104483020' ) -- SCars Slim



Thats my resource file. Its called lgsm_cl_force_fastdl.lua and was generated by the script. Its in /lua/autoexec/server/

my server.cfg



// Hostname for server.
hostname "Free build[NO ERRORS] [FASTDL][FEW ADDONS][M9K]"

// RCON - remote console password.
rcon_password "--------nope"

// Server password - for private servers.
sv_password ""

// Server Logging
log on
sv_logbans 1
sv_logecho 1
sv_logfile 1
sv_log_onefile 0
lua_log_sv 0

sv_rcon_banpenalty 0
sv_rcon_maxfailures 20
sv_rcon_minfailures 20
sv_rcon_minfailuretime 20

// Network Settings
sv_downloadurl "159.100.29.203:34567/fastdl"
sv_loadingurl "http://159.100.29.203/loading.html"
net_maxfilesize 64
sv_maxrate 0
sv_minrate 800000
sv_maxupdaterate 66
sv_minupdaterate 33
sv_maxcmdrate 66
sv_mincmdrate 33

// Server Settings
sv_airaccelerate 100
sv_gravity 600
sv_allow_wait_command 0
sv_allow_voice_from_file 0
sv_turbophysics 0
sv_max_usercmd_future_ticks 12
gmod_physiterations 4
sv_client_min_interp_ratio 1
sv_client_max_interp_ratio 2
think_limit 20
sv_region 0
sv_noclipspeed 5
sv_noclipaccelerate 5
sv_lan 0
sv_alltalk 1
sv_contact youremail@changeme.com
sv_cheats 0
sv_allowcslua 0
sv_pausable 0
sv_filterban 1
sv_forcepreload 1
sv_footsteps 1
sv_voiceenable 1
sv_voicecodec vaudio_speex
sv_timeout 120
sv_deltaprint 0
sv_allowupload 0
sv_allowdownload 0

// Sandbox Settings
sbox_noclip 0
sbox_godmode 0
sbox_weapons 0
sbox_playershurtplayers 1
sbox_maxprops 1000
sbox_maxragdolls 50
sbox_maxnpcs 0
sbox_maxballoons 10
sbox_maxeffects 2
sbox_maxdynamite 0
sbox_maxlamps 5
sbox_maxthrusters 20
sbox_maxwheels 20
sbox_maxhoverballs 20
sbox_maxvehicles 9
sbox_maxbuttons 20
sbox_maxemitters 0

//Map rotation settings
sv_automap_minmaps 3

//Buildmode settings
build_pvp_noclip 0



// Misc Config
exec banned_user.cfg
exec banned_ip.cfg
heartbeat

Your sv_downloadurl needs a protocal prefix (http://) and a slash afterward since “fastdl” is a folder. Also, your resource.AddFile calls should be relative to a virtual garrysmod folder, meaning removing the gamemodes/terrortown/content/ and starting only with materials, models, sound, particles, or resource. You do not need to add maps to the resource list, this is done automatically.