Error downloading playermodels (Gmod dedicated server)

I’ve set some models up to download on my server and this is what I get in the console when joining:


HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/jessev92/player/military/cod4_sniper.vvd.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/jessev92/player/military/cod4_sniper.vvd
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/jessev92/player/military/cod4_sniper.dx80.vtx.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/jessev92/player/military/cod4_sniper.dx80.vtx
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/jessev92/player/military/cod4_sniper.dx90.vtx.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/jessev92/player/military/cod4_sniper.dx90.vtx
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/jessev92/player/military/cod4_sniper.phy.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/jessev92/player/military/cod4_sniper.phy
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/jessev92/player/military/cod4_sniper.mdl.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/jessev92/player/military/cod4_sniper.mdl
HTTP ERROR downloading http://192.210.238.107/gmod_63338/materials/jessev92/player/cod4/ghillie/usmc_ghillie_body_col_sp.vtf.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/materials/jessev92/player/cod4/ghillie/usmc_ghillie_body_col_sp.vtf
HTTP ERROR downloading http://192.210.238.107/gmod_63338/materials/jessev92/player/cod4/ghillie/usmc_ghillie_body_col_sp.vmt.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/materials/jessev92/player/cod4/ghillie/usmc_ghillie_body_col_sp.vmt
HTTP ERROR downloading http://192.210.238.107/gmod_63338/materials/jessev92/player/cod4/ghillie/usmc_ghillie_body_nml_sp.vtf.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/materials/jessev92/player/cod4/ghillie/usmc_ghillie_body_nml_sp.vtf
HTTP ERROR downloading http://192.210.238.107/gmod_63338/materials/jessev92/player/cod4/ghillie/usmc_ghillie_mesh_col.vtf.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/materials/jessev92/player/cod4/ghillie/usmc_ghillie_mesh_col.vtf
HTTP ERROR downloading http://192.210.238.107/gmod_63338/materials/jessev92/player/cod4/ghillie/usmc_ghillie_mesh_col.vmt.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/materials/jessev92/player/cod4/ghillie/usmc_ghillie_mesh_col.vmt
HTTP ERROR downloading http://192.210.238.107/gmod_63338/materials/jessev92/player/cod4/ghillie/usmc_ghillie_mesh_nml.vtf.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/materials/jessev92/player/cod4/ghillie/usmc_ghillie_mesh_nml.vtf
HTTP ERROR downloading http://192.210.238.107/gmod_63338/materials/jessev92/player/cod4/ghillie/usmc_ghillie_price_col_sp.vtf.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/materials/jessev92/player/cod4/ghillie/usmc_ghillie_price_col_sp.vtf
HTTP ERROR downloading http://192.210.238.107/gmod_63338/materials/jessev92/player/cod4/ghillie/usmc_ghillie_price_col_sp.vmt.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/materials/jessev92/player/cod4/ghillie/usmc_ghillie_price_col_sp.vmt
HTTP ERROR downloading http://192.210.238.107/gmod_63338/materials/jessev92/player/cod4/ghillie/usmc_ghillie_price_nml_sp.vtf.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/materials/jessev92/player/cod4/ghillie/usmc_ghillie_price_nml_sp.vtf
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/halo4/spartans/arms/c_arms_chief.vvd.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/halo4/spartans/arms/c_arms_chief.vvd
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/halo4/spartans/arms/c_arms_chief.dx80.vtx.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/halo4/spartans/arms/c_arms_chief.dx80.vtx
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/halo4/spartans/arms/c_arms_chief.dx90.vtx.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/halo4/spartans/arms/c_arms_chief.dx90.vtx
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/halo4/spartans/arms/c_arms_chief.mdl.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/halo4/spartans/arms/c_arms_chief.mdl


I’m guessing this has to do with the FastDL considering it says HTTP error?

My forcedownloads.lua
[lua]–End of the round music.
resource.AddFile (“sound/getrekt/standup.mp3”)
resource.AddFile (“sound/getrekt/halotheme.mp3”)
resource.AddFile (“sound/getrekt/takenoprisoners.mp3”)
resource.AddFile (“sound/getrekt/runtothehills.mp3”)
resource.AddFile (“sound/getrekt/downwiththesickness.mp3”)
resource.AddFile (“sound/getrekt/yourethebestaround.mp3”)

–Cod 4 Sniper playermodel “Ghillie Suit”.
player_manager.AddValidModel( “Ghillie Suit”, “models/jessev92/player/military/cod4_sniper.mdl” )
AddCSLuaFile( “addons/pointshop-master/lua/items/playermodels/cod4_sniper.lua” )
list.Set( “PlayerOptionsModel”, “Ghillie Suit”, “models/jessev92/player/military/cod4_sniper.mdl” )
resource.AddFile( “models/jessev92/player/military/cod4_sniper.mdl” )
resource.AddFile( “materials/jessev92/player/cod4/ghillie/usmc_ghillie_body_col_sp.vmt” )
resource.AddFile( “materials/jessev92/player/cod4/ghillie/usmc_ghillie_body_col_sp.vtf” )
resource.AddFile( “materials/jessev92/player/cod4/ghillie/usmc_ghillie_body_nml_sp.vtf” )
resource.AddFile( “materials/jessev92/player/cod4/ghillie/usmc_ghillie_mesh_col.vmt” )
resource.AddFile( “materials/jessev92/player/cod4/ghillie/usmc_ghillie_mesh_col.vtf” )
resource.AddFile( “materials/jessev92/player/cod4/ghillie/usmc_ghillie_mesh_nml.vtf” )
resource.AddFile( “materials/jessev92/player/cod4/ghillie/usmc_ghillie_price_col_sp.vmt” )
resource.AddFile( “materials/jessev92/player/cod4/ghillie/usmc_ghillie_price_col_sp.vtf” )
resource.AddFile( “materials/jessev92/player/cod4/ghillie/usmc_ghillie_price_nml_sp.vtf” )

–Master Chief playermodel.
player_manager.AddValidModel( “Master Chief”, “models/halo4/spartans/masterchief_player.mdl” )
AddCSLuaFile( “addons/pointshop-master/lua/items/playermodels/masterchief.lua” )
list.Set( “PlayerOptionsModel”, “Master Chief”, “models/halo4/spartans/masterchief_player.mdl” )
//esource.AddFile( “models/halo4/spartans/masterchief.mdl” ) ragdoll
//resource.AddFile( “models/halo4/spartans/masterchief_npc.mdl” ) npc
resource.AddFile( “models/halo4/spartans/masterchief_player.mdl” )
resource.AddFile( “models/halo4/spartans/arms/c_arms_chief.mdl” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/chief_arm_d.vmt” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/chief_arm_d.vtf” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/chief_arm_n.vtf” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/chief_helm_d.vmt” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/chief_helm_d.vtf” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/chief_helm_n.vtf” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/chief_leg_d.vmt” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/chief_leg_d.vtf” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/chief_leg_n.vtf” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/chief_shoulder_d.vmt” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/chief_shoulder_d.vtf” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/chief_shoulder_n.vtf” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/chief_techsuit_d.vmt” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/chief_techsuit_d.vtf” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/chief_techsuit_n.vtf” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/chief_torso_d.vmt” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/chief_torso_d.vtf” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/chief_torso_n.vtf” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/arms/chief_arms_d.vmt” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/arms/chief_arms_d.vtf” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/arms/chief_arms_n.vtf” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/arms/chief_arm_d.vmt” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/arms/chief_arm_d.vtf” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/arms/chief_arm_n.vtf” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/arms/chief_exponent.vtf” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/arms/chief_shoulder_d.vmt” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/arms/chief_shoulder_d.vtf” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/arms/chief_shoulder_n.vtf” )
resource.AddFile( “materials/models/halo4/spartans/masterchief/arms/metal.vtf” )[/lua]

The models I’m downloading are supposed to be buyable in the pointshop, which they are. They just appear as an error. However it does show that I am downloading them as I join.

[editline]23rd October 2013[/editline]

I’m also getting this error for the cod4sniper playermodel:



[ERROR] lua/includes/modules/list.lua:41: table index is nil
  1. Set - lua/includes/modules/list.lua:41
   2. unknown - addons/cod4_sniper/lua/autorun/fs_cod4-sniper_playermodel.lua:10

In this file:
[lua]–[[
Call of Duty 4 Sniper Playermodel
Revision: 1.1
Begin Date: 17 April 2011
Update: 30 March 2013
Models Created By: Jesse V-92
]]

list.Set( "PlayerOptionsModel", name, model )
player_manager.AddValidModel( name, model )

AddPlayerModel( “CoD4_Sniper”, “models/jessev92/player/military/cod4_sniper.mdl” )


//player_manager.AddValidModel( “Ghillie Suit”, “models/jessev92/player/military/cod4_sniper.mdl” )

//list.Set( “PlayerOptionsModel”, “Ghillie Suit”, “models/jessev92/player/military/cod4_sniper.mdl” )[/lua]

[editline]23rd October 2013[/editline]

I’m also getting this error in the server console!


1. Set - lua/includes/modules/list.lua:41
 2. unknown - addons/cod4_sniper/lua/autorun/fs_cod4-sniper_playermodel.lua:10

 HTTP failed - ISteamHTTP isn't available!
 [AddCSLuaFile] Couldn't find 'items/playermodels/test.lua' (@addons/pointshop-master/lua/sh_pointshop.lua (line 77))
 Couldn't include file 'items/playermodels/test.lua' (File not found) (@addons/pointshop-master/lua/sh_pointshop.lua (line 105))
 [POINTSHOP] Item missing name: playermodels/test.lua

For your cod error you are using the list.set wrong. It goes list.Set( string identifier, any key, any item )

and the items need to be in a table. I suggest you read the documentation http://wiki.garrysmod.com/page/list/Set

Okay I’ll see if that helps. THanks!

Also to save you time, you don’t need to add every single file related to .vmt files. Just the .vmt. In other words; don’t add vtf files to the resources because they’re automatically added when related to the .vmt.

Well I’m using a resource finder program thingy that does all the work, so I don’t really care :v:

[editline]23rd October 2013[/editline]

What does that mean? My server isn’t synced? Because I know I synced it…

[editline]23rd October 2013[/editline]

I’m still confused as to how to use this code, as it’s for an NPC:

[lua]-- Lost Coast
list.Set( “NPC”, “npc_fisherman”, {
Name = “Fisherman”,
Class = “npc_fisherman”,
Weapons = {“weapon_oldmanharpoon”},
Category = Category
} )[/lua]

(from http://wiki.garrysmod.com/page/list/Set )

[editline]23rd October 2013[/editline]

NVM seems to be fixed, thanks for helping though