Help Needed Please! FastDL Not Working

I’ve been spending hours trying to get FastDL to work on my Trouble in Terrorist Town dedicated server. I’m probably missing the simplest thing, could someone please help resolve my issue? Here is some information that is listed in my server.cfg file:


sv_downloadurl "http://clans.ultimategamehost.com/6c8d8612/GMOD/"
sv_allowupload 0
sv_allowdownload 1

I have a created a file called “fastdl.lua” and placed in within /lua/autorun/server. Here is what it contains:


function AddDir(dir) 							// recursively adds everything in a directory to be downloaded by client
	local list = file.FindDir("../"..dir.."/*")

	for _, fdir in pairs(list) do
		if fdir != ".svn" then 					// don't spam people with useless .svn folders
		AddDir(dir.."/"..fdir)
		end
	end
 
	for k,v in pairs(file.Find("../"..dir.."/*")) do
		resource.AddFile(dir.."/"..v)
	end
end
 
AddDir("materials/crysis2")
AddDir("materials/dark_kahn")
AddDir("materials/jessev92")
AddDir("materials/joker")
AddDir("materials/mileena")
AddDir("materials/models")
AddDir("materials/spawnicons")
AddDir("materials/VGUI")
AddDir("materials/vgui")
AddDir("materials/voxelzero")

AddDir("models/apocmodels")
AddDir("models/astronauthelmet")
AddDir("models/bots")
AddDir("models/cakehat")
AddDir("models/characters")
AddDir("models/dark_kahn")
AddDir("models/DPFilms")
AddDir("models/duncehat")
AddDir("models/gmod_tower")
AddDir("models/jessev92")
AddDir("models/joker")
AddDir("models/mileena")
AddDir("models/predator")
AddDir("models/sam")
AddDir("models/smashbros")
AddDir("models/survivors")
AddDir("models/vikinghelmet")
AddDir("models/voxelzero")
AddDir("models/weapons")

AddDir("models/weapons")

resource.AddSingleFile("maps/ttt_whitehouse_b2")
resource.AddSingleFile("maps/ttt_slender_v3_fix")
resource.AddSingleFile("maps/ttt_rooftops_a2")
resource.AddSingleFile("maps/ttt_minecraftcity_v4")
resource.AddSingleFile("maps/ttt_minecraft_b5")
resource.AddSingleFile("maps/ttt_mc_skyislands")
resource.AddSingleFile("maps/ttt_icebreaker_final_fix")
resource.AddSingleFile("maps/ttt_67thway_v7_j_l")

Here are some pictures of the FastDL server:

Just noticed this error in the console (if it helps to mention this):


[ERROR] lua/autorun/server/fastdl.lua:2: attempt to call field 'FindDir' (a nil value)
  1. AddDir - lua/autorun/server/fastdl.lua:2
   2. unknown - lua/autorun/server/fastdl.lua:15

  1. Don’t use a automatic addresource system
    Use This Program to get something that will work properly

  2. Maps don’t need to be in the resources.lua

I used the program to add the resources from the GMOD server to the FastDL server. So if I use Fox-Warrior and produce “resource.AddFile” for each respective material/model it could potentially work? Other than that, everything seems okay?

Also, change sv_allowdownload 1 to 0. That enables default DL and not FastDL.

Changed sv_allowdownload to 0 and here is my new fastdl.lua (only including the files for one player model to test) and it doesn’t work:


resource.AddFile( "models/mileena/mileena.mdl" )
resource.AddFile( "materials/mileena/black.vtf" )
resource.AddFile( "materials/mileena/blank_n.vtf" )
resource.AddFile( "materials/mileena/eyeball_natural_blue.vtf" )
resource.AddFile( "materials/mileena/eye_ao.vtf" )
resource.AddFile( "materials/mileena/eye_lightwarp.vtf" )
resource.AddFile( "materials/mileena/face_lightwarp.vtf" )
resource.AddFile( "materials/mileena/fmouth.vtf" )
resource.AddFile( "materials/mileena/fmouth_n.vtf" )
resource.AddFile( "materials/mileena/body.vmt" )
resource.AddFile( "materials/mileena/eyeball_l.vmt" )
resource.AddFile( "materials/mileena/eyeball_r.vmt" )
resource.AddFile( "materials/mileena/eyelashes.vmt" )
resource.AddFile( "materials/mileena/Eyelashes_diff.vtf" )
resource.AddFile( "materials/mileena/eye_diff.vtf" )
resource.AddFile( "materials/mileena/facemap.vmt" )
resource.AddFile( "materials/mileena/facemap.vtf" )
resource.AddFile( "materials/mileena/facemap_n.vtf" )
resource.AddFile( "materials/mileena/gold.vmt" )
resource.AddFile( "materials/mileena/Hair_Diff.vtf" )
resource.AddFile( "materials/mileena/hair_diffuse.vmt" )
resource.AddFile( "materials/mileena/Hair_n.vtf" )
resource.AddFile( "materials/mileena/leather.vmt" )
resource.AddFile( "materials/mileena/Mileena.vtf" )
resource.AddFile( "materials/mileena/Mileena_n.vtf" )
resource.AddFile( "materials/mileena/violet.vmt" )

I was downloading things fine

Just the odd missing files every now and then


HTTP ERROR downloading http://clans.ultimategamehost.com/6c8d8612/GMOD/models/pred1.vvd.bz2
HTTP ERROR downloading http://clans.ultimategamehost.com/6c8d8612/GMOD/models/pred1.dx80.vtx.bz2
HTTP ERROR downloading http://clans.ultimategamehost.com/6c8d8612/GMOD/models/pred1.dx90.vtx.bz2
HTTP ERROR downloading http://clans.ultimategamehost.com/6c8d8612/GMOD/models/pred1.phy.bz2
HTTP ERROR downloading http://clans.ultimategamehost.com/6c8d8612/GMOD/models/pred1.mdl.bz2
A

Also, you need less custom content, I got bored loading after 7 minutes, and was not even half way

Oh, that sounds good! Also, you may have been downloading the content from the workshop and not from FastDL. But, why aren’t the downloads being forced? Is my forcedl.lua file setup correctly?

They are, just some files are missing from your FastDL.

So if there is one missing file, does it halt the process of downloading the other content for other player models?

No, it skips it and continues.

I posted my fastdl.lua script above, it’s been saved to the server but it doesn’t seem to force the downloads for that player model.

Maybe because you already have it?

The model is appearing as an error in game. Should I replace “resource.AddFile” with “resource.AddSingleFile”?

Are you sure those models exist on the server, not in addons, in the same folder as in your FastDL? Are you sure there are no errors about the model when joining the server?

Here is the console output, there doesn’t seem to be any errors relating to the FastDL:


ConVarRef mat_dxlevel doesn't point to an existing ConVar
Game_srv.so loaded for "Garry's Mod"
Initializing Steam libraries for secure Internet server
Logging into anonymous gameserver account.
Fetching Workshop Addons.. No -authkey
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/joker mk vs dc player'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/mileena'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/osama bin laden playermodel'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/blockdude'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/cannibalism'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/chat_tags'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/corvo'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/crysis'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/daedric'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/damagelog-master'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/darkkhan'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/deadpool'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/defibrillator'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/for_allah'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/gloves'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/ironman'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/jamesbond'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/johnmarston'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/lichking'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/lucario'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/manage_chat_tags'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/minecraftsword'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/miraak'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/painpills'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/pointshop-extras-master'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/pointshop-master'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/portal2'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/predator'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/spartan'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/ttt_slowmo'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/turtlenade'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/ulib'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/ulx'
Adding Path: [cstrike]
FIND [cstrike/*.vpk]
ADDING [cstrike/cstrike_pak_000.vpk]
Adding Path: [hl2mp]
FIND [hl2mp/*.vpk]
ADDING [hl2mp/hl2mp_pak_000.vpk]
Unknown command "cl_cmdrate"
Unknown command "cl_updaterate"
Unknown command "rate"
Unknown command "port"
Changing gamemode to Trouble in Terrorist Town (terrortown)
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/joker mk vs dc player'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/mileena'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/osama bin laden playermodel'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/blockdude'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/cannibalism'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/chat_tags'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/corvo'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/crysis'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/daedric'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/damagelog-master'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/darkkhan'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/deadpool'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/defibrillator'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/for_allah'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/gloves'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/ironman'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/jamesbond'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/johnmarston'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/lichking'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/lucario'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/manage_chat_tags'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/minecraftsword'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/miraak'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/painpills'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/pointshop-extras-master'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/pointshop-master'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/portal2'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/predator'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/spartan'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/ttt_slowmo'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/turtlenade'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/ulib'
Adding Filesystem Addon '/zakal/servers/accounts/6c8d8612/orangebox/garrysmod/addons/ulx'
Adding Path: [cstrike]
FIND [cstrike/*.vpk]
ADDING [cstrike/cstrike_pak_000.vpk]
Adding Path: [hl2mp]
FIND [hl2mp/*.vpk]
ADDING [hl2mp/hl2mp_pak_000.vpk]
Unknown command "replay_port"
Network: IP 209.222.4.37, mode MP, dedicated Yes, ports 16600 SV / 16621 CL
PREP OK
Lua JIT is DISABLED!
[AddCSLuaFile] Couldn't find 'corvo.lua' (@addons/corvo/lua/autorun/alice.lua (line 3))
[AddCSLuaFile] Couldn't find 'predator.lua' (@addons/predator/lua/autorun/avp.lua (line 7))
[AddCSLuaFile] Couldn't find 'darkkhan.lua' (@addons/darkkhan/lua/autorun/dark_khan.lua (line 3))
[AddCSLuaFile] Couldn't find 'deadpool.lua' (@addons/deadpool/lua/autorun/dyadyapoolya36_playermodel.lua (line 4))
[AddCSLuaFile] Couldn't find 'ironman.lua' (@addons/ironman/lua/autorun/iron_man_s-low.lua (line 3))
[AddCSLuaFile] Couldn't find 'ironman.lua' (@addons/lichking/lua/autorun/lich_king_wow_playermodel.lua (line 4))
[AddCSLuaFile] Couldn't find 'lucario.lua' (@addons/lucario/lua/autorun/lucario_playermodel.lua (line 4))
[AddCSLuaFile] Couldn't find 'blockdude.lua' (@addons/blockdude/lua/autorun/model.lua (line 3))
[AddCSLuaFile] Couldn't find 'nanosuit.lua' (@addons/crysis/lua/autorun/nanosuit2.lua (line 3))
HTTP failed - ISteamHTTP isn't available!
MDLCache: survivors/survivor_MECHANIC.mdl needs to be recompiled
KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file materials/voxelzero/models/spartan/voxellogo.vmt
VertexLitGeneric, 
KeyValues Error: LoadFromBuffer: missing { in file materials/voxelzero/models/spartan/voxellogo.vmt
(*VertexLitGeneric*), 
KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file materials/voxelzero/models/spartan/voxellogo.vmt
VertexLitGeneric, 
KeyValues Error: LoadFromBuffer: missing { in file materials/voxelzero/models/spartan/voxellogo.vmt
(*VertexLitGeneric*), 
Error! Variable "{" is multiply defined in material "voxelzero/models/spartan/voxellogo"!
Error! Variable "0.75" is multiply defined in material "voxelzero/models/spartan/voxellogo"!
[AddCSLuaFile] Couldn't find 'cl_chat_tags.lua' (@addons/chat_tags/lua/autorun/sv_chat_tags.lua (line 2))
///////////////////////////////
//      Ulysses Library      //
///////////////////////////////
// Loading...                //
//  shared/defines.lua       //
//  shared/misc.lua          //
//  shared/util.lua          //
//  shared/hook.lua          //
//  shared/table.lua         //
//  shared/player.lua        //
//  server/player.lua        //
//  shared/messages.lua      //
//  shared/commands.lua      //
//  server/concommand.lua    //
//  server/util.lua          //
//  shared/sh_ucl.lua        //
//  server/ucl.lua           //
//  server/phys.lua          //
//  server/player_ext.lua    //
//  server/entity_ext.lua    //
// Load Complete!            //
///////////////////////////////
[ULIB] Loading SHARED module: ulx_init.lua
///////////////////////////////
//       ULX Admin Mod       //
///////////////////////////////
// Loading...                //
//  sh_defines.lua           //
//  lib.lua                  //
//  base.lua                 //
//  sh_base.lua              //
//  log.lua                  //
//  MODULE: slots.lua        //
//  MODULE: uteam.lua        //
//  MODULE: votemap.lua      //
//  MODULE: xgui_server.lua  //
///////////////////////////////
// ULX GUI -- by Stickly Man //
///////////////////////////////
// Adding Main Modules..     //
//  bans.lua                 //
//  commands.lua             //
//  groups.lua               //
//  maps.lua                 //
//  settings.lua             //
// Adding Setting Modules..  //
//  client.lua               //
//  server.lua               //
// Adding Gamemode Modules.. //
//  sandbox.lua              //
// Loading Server Modules..  //
//  sv_bans.lua              //
//  sv_groups.lua            //
//  sv_maps.lua              //
//  sv_sandbox.lua           //
//  sv_settings.lua          //
// XGUI modules added!       //
///////////////////////////////
//  MODULE: EndRoundMusic.lua//
//  MODULE: admin.lua        //
//  MODULE: chat.lua         //
//  MODULE: fun.lua          //
//  MODULE: links.lua        //
//  MODULE: menus.lua        //
//  MODULE: rcon.lua         //
//  MODULE: respawn.lua      //
//  MODULE: teleport.lua     //
//  MODULE: user.lua         //
//  MODULE: userhelp.lua     //
//  MODULE: util.lua         //
//  MODULE: vote.lua         //
//  end.lua                  //
// Load Complete!            //
///////////////////////////////
[WORKSHOP] Not available for current map. Using FastDL instead hopefully...
Included TTT language file: chef.lua
Included TTT language file: english.lua
[AddCSLuaFile] Couldn't find 'weapons/models/shared.lua' (<nowhere>)
[AddCSLuaFile] Couldn't find 'weapons/weapon_ttt_scilentawp/shared.lua' (<nowhere>)
Trouble In Terrorist Town gamemode initializing...
This is TTT version 2013-07-28
Checking TTT file consistency.
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file server.cfg
Using map cycle file cfg/mapcycle.txt.
Bad field in entity!!
Nav File is wrong or something (1)
Initializing Steam libraries for secure Internet server
Logging into anonymous gameserver account.
Unknown command "sv_tags"
Connection to Steam servers successful.
   Public IP is 209.222.4.37.
Assigned anonymous gameserver Steam ID [A-1:4105901056(4008)].
VAC secure mode is activated.
Client "Butler/DNK/Mr.Oitastic Popsicle" connected (72.69.1.181:27005).
Writing cfg/banned_user.cfg.
TTT initializing convar settings...
Dropped Butler/DNK/Mr.Oitastic Popsicle from server (Disconnect by user.)
Client "Cap'n" connected (108.14.187.237:50686).
Dropped Cap'n from server (Disconnect by user.)
Client "daltonv01" connected (70.27.137.137:27005).
Dropped daltonv01 from server (Disconnect by user.)

Also! Could not having the cache folder (from the server) imported onto the FastDL server be the root for the problem?

[editline]31st January 2014[/editline]

Here is the directory for that player model (it seems correct):

The client console output. Server doesn’t download stuff from your FastDL obviously.

Sorry, haha. Here it is:


Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\css content addon'
Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\hl2 & hl2 dm content addon (dec2013)'
Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\osama bin laden playermodel'
Initializing Awesomium..
Failed to load custom font file 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\download\resource\fonts\36203da4.ttf'
Failed to load custom font file 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\download\resource\fonts\8128c75e.ttf'
Failed to load custom font file 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\download\resource\fonts\c2c08bdc.ttf'
No Kinect SDK
Lua JIT is DISABLED!
Unknown command "cl_thirdperson"
Unknown command "hud_showemptyweaponslots"
Unknown command "sv_backspeed"
Not playing a local game.
Couldn't mount addon - couldn't find file addons/ttt-fun_weapons_4_174658183.gma
Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\css content addon'
Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\hl2 & hl2 dm content addon (dec2013)'
Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\osama bin laden playermodel'
Dopwnload Finished
Extraction failed.. Oh oh! (C:/Program Files (x86)/Steam/steamapps/common/GarrysMod/garrysmod/addons/ttt-fun_weapons_4_174658183.gma)
END: DownloadAddons
Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\css content addon'
Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\hl2 & hl2 dm content addon (dec2013)'
Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\osama bin laden playermodel'
Network: IP 192.168.1.131, mode MP, dedicated No, ports 27015 SV / 27005 CL
Connecting to 209.222.4.37:16600...
Connected to 209.222.4.37:16600

Trouble in Terrorist Town
Map: ttt_minecraft_b5
Players: 1 / 20
Build: 5423
Server Number: 1

Switching to gamemode terrortown
Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\css content addon'
Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\hl2 & hl2 dm content addon (dec2013)'
Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\osama bin laden playermodel'
HC Gaming|Fast DL|Many Maps|Pointshop|1HitKnife

terrortown
ttt_minecraft_b5
20
76561198075508791
Requesting 3 lua files from the server
ConVarRef ttt_time_limit_minutes doesn't point to an existing ConVar
ConVarRef ttt_round_limit doesn't point to an existing ConVar
ConVarRef gmod_physiterations doesn't point to an existing ConVar
Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\css content addon'
Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\hl2 & hl2 dm content addon (dec2013)'
Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\osama bin laden playermodel'
Map file wasn't found, copying it from addon..
PREP OK
MDLCache: survivors/survivor_MECHANIC.mdl needs to be recompiled
KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file materials/voxelzero/models/spartan/voxellogo.vmt
VertexLitGeneric, 
KeyValues Error: LoadFromBuffer: missing { in file materials/voxelzero/models/spartan/voxellogo.vmt
(*VertexLitGeneric*), 
Error! Variable "{" is multiply defined in material "voxelzero/models/spartan/voxellogo"!
Error! Variable "0.75" is multiply defined in material "voxelzero/models/spartan/voxellogo"!
Unable to initialize DirectSoundCapture. You won't be able to speak to other players.clientside lua startup!
Lua JIT is DISABLED!
You are running ULib version 2.52.
[ULIB] Loading SHARED module: ulx_init.lua
[ULX] Loading CLIENT module: motdmenu.lua
[ULX] Loading CLIENT module: uteam.lua
[ULX] Loading CLIENT module: xgui_client.lua
[ULX] Loading CLIENT module: xgui_helpers.lua
[ULX] Loading CLIENT module: xlib.lua
[ULX] Loading SHARED module: admin.lua
[ULX] Loading SHARED module: chat.lua
[ULX] Loading SHARED module: endroundmusic.lua
End Round Music by Cobalt loaded!
[ULX] Loading SHARED module: fun.lua
[ULX] Loading SHARED module: links.lua
[ULX] Loading SHARED module: menus.lua
[ULX] Loading SHARED module: rcon.lua
[ULX] Loading SHARED module: respawn.lua
[ULX] Loading SHARED module: teleport.lua
[ULX] Loading SHARED module: user.lua
[ULX] Loading SHARED module: userhelp.lua
[ULX] Loading SHARED module: util.lua
[ULX] Loading SHARED module: vote.lua
Requesting texture value from var "$dummyvar" which is not a texture value (material: NULL material)
Included TTT language file: chef.lua
Included TTT language file: english.lua
TTT Client initializing...
Failed to load custom font file 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\download\resource\fonts\36203da4.ttf'
Failed to load custom font file 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\download\resource\fonts\8128c75e.ttf'
Failed to load custom font file 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\download\resource\fonts\c2c08bdc.ttf'
Client "Immoral Truth" spawned in server <STEAM_0:1:57621531> (took 22 seconds).
ULX version <SVN> unknown revision loaded.
Welcome to HC Gaming|Fast DL|Many Maps|Pointshop|1HitKnife! We're playing ttt_minecraft_b5.

///////////////////////////////////////
//  ULX GUI -- Made by Stickly Man!  //
///////////////////////////////////////
// Loading GUI Modules...            //
//   bans.lua                        //
//   commands.lua                    //
//   groups.lua                      //
//   maps.lua                        //
//   settings.lua                    //
// Loading Setting Modules...        //
//   client.lua                      //
//   server.lua                      //
// Loading Gamemode Module(s)...     //
//   No module found!                //
// Modules Loaded!                   //
///////////////////////////////////////

KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file materials/voxelzero/models/spartan/voxellogo.vmt
VertexLitGeneric, 
KeyValues Error: LoadFromBuffer: missing { in file materials/voxelzero/models/spartan/voxellogo.vmt
(*VertexLitGeneric*), 
Error! Variable "{" is multiply defined in material "voxelzero/models/spartan/voxellogo"!
Error! Variable "0.75" is multiply defined in material "voxelzero/models/spartan/voxellogo"!
TTT Client post-init...
Compact freed 643072 bytes
Redownloading all lightmaps
Server default language is:	english


Hm. Everything looks OK. Make sure the files actually exist on your client and show me where you set the player model.

Here are some pictures indicating the placement of the model’s files within /addons (server side):

Here is the code that I added for the player model to allow users to purchase it via Pointshop:


ITEM.Name = 'Mileena'
ITEM.Price = 10000
ITEM.Model = 'models/DPfilms/Characters/mileena.mdl'

function ITEM:OnEquip(ply, modifications)
if not ply._OldModel then
ply._OldModel = ply:GetModel()
end

timer.Simple(1, function() ply:SetModel(self.Model) end)
end

function ITEM:OnHolster(ply)
if ply._OldModel then
ply:SetModel(ply._OldModel)
end
end