• Error downloading playermodels (Gmod dedicated server)
    5 replies, posted
I've set some models up to download on my server and this is what I get in the console when joining: [code]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 [/code] 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/hal
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 [url]http://wiki.garrysmod.com/page/list/Set[/url]
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.
[quote]Not Found The requested URL /gmod_63338/models/jessev92/player/military/cod4_sniper.mdl was not found on this server. Apache/2.2.15 (CentOS) Server at 192.210.238.107 Port 80[/quote]
[QUOTE=Walrus Viking;42619391]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.[/QUOTE] 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] [QUOTE=Robotboy655;42619413] Not Found The requested URL /gmod_63338/models/jessev92/player/military/cod4_sniper.mdl was not found on this server. Apache/2.2.15 (CentOS) Server at 192.210.238.107 Port 80[/QUOTE] 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 [url]http://wiki.garrysmod.com/page/list/Set[/url] ) [editline]23rd October 2013[/editline] NVM seems to be fixed, thanks for helping though
Sorry, you need to Log In to post a reply to this thread.