• Player models are Errors
    8 replies, posted
I have a fast dl file, full of 1000+ resource.AddFile("whatever") and it seems that the icons for the models in C menu work, but the world models are errors. Here is the File: [CODE]if (SERVER) then resource.AddFile("models/jessev92/player/hl2b_cits/f01.mdl") resource.AddFile("models/jessev92/player/hl2b_cits/f02.mdl") resource.AddFile("models/jessev92/player/hl2b_cits/f04.mdl") resource.AddFile("models/jessev92/player/hl2b_cits/f06.mdl") resource.AddFile("models/jessev92/player/hl2b_cits/m01.mdl") resource.AddFile("models/jessev92/player/hl2b_cits/m02.mdl") resource.AddFile("models/jessev92/player/hl2b_cits/m03.mdl") resource.AddFile("models/jessev92/player/hl2b_cits/m04.mdl") resource.AddFile("models/jessev92/player/hl2b_cits/m05.mdl") resource.AddFile("models/jessev92/player/hl2b_cits/m06.mdl") resource.AddFile("models/jessev92/player/hl2b_cits/m07.mdl") resource.AddFile("models/jessev92/player/hl2b_cits/m08.mdl") resource.AddFile("models/jessev92/player/hl2b_cits/m09.mdl") resource.AddFile("models/humans/mafia/male_02.mdl") resource.AddFile("models/humans/mafia/male_04.mdl") resource.AddFile("models/humans/mafia/male_06.mdl") resource.AddFile("models/humans/mafia/male_07.mdl") resource.AddFile("models/humans/mafia/male_08.mdl") resource.AddFile("models/humans/mafia/male_09.mdl") resource.AddFile("models/player/brsp.mdl") resource.AddFile("models/humans/soap.mdl") resource.AddFile("models/player/guard_pack/guard_01.mdl") resource.AddFile("models/player/guard_pack/guard_02.mdl") resource.AddFile("models/player/guard_pack/guard_03.mdl") resource.AddFile("models/player/guard_pack/guard_04.mdl") resource.AddFile("models/player/guard_pack/guard_05.mdl") resource.AddFile("models/player/guard_pack/guard_06.mdl") resource.AddFile("models/player/guard_pack/guard_07.mdl") resource.AddFile("models/player/guard_pack/guard_08.mdl") resource.AddFile("models/player/guard_pack/guard_09.mdl") resource.AddFile("models/humans/scientist.mdl") resource.AddFile("models/humans/scientist_female.mdl") resource.AddFile("models/lt_c/sci_fi/humans/female_hawke.mdl") resource.AddFile("models/lt_c/sci_fi/humans/female_07.mdl") resource.AddFile("models/lt_c/sci_fi/humans/male_bill.mdl") resource.AddFile("models/lt_c/sci_fi/humans/male_08.mdl") resource.AddFile("models/obama/obama.mdl") resource.AddFile("models/humans/suits2/male_01.mdl") resource.AddFile("models/humans/suits2/male_02.mdl") resource.AddFile("models/humans/suits2/male_03.mdl") resource.AddFile("models/humans/suits2/male_04.mdl") resource.AddFile("models/humans/suits2/male_05.mdl") resource.AddFile("models/humans/suits2/male_06.mdl") resource.AddFile("models/humans/suits2/male_07.mdl") resource.AddFile("models/humans/suits2/male_08.mdl") resource.AddFile("models/humans/suits2/male_09.mdl") resource.AddFile("models/player/player_simon_henriksson.mdl") resource.AddFile("models/makarov/dominik.mdl") resource.AddFile("models/makarov/makarov.mdl") resource.AddFile("models/player/raimispider.mdl") resource.AddFile("models/player/raimispiderblack.mdl") resource.AddFile("models/avengers/iron man/mark7_player.mdl") resource.AddFile("models/avengers/iron man/patriot_player.mdl") resource.AddFile("models/player/darkerthanblack/hei.mdl") resource.AddFile("models/vinrax/player/doll_player.mdl") resource.AddFile("models/player/ar_combine_soldier03b.mdl") resource.AddFile("models/player/01ar_combine_soldier01.mdl") resource.AddFile("models/player/01ar_combine_soldier02.mdl") resource.AddFile("models/player/daftpunk/daft_gold.mdl") resource.AddFile("models/player/daftpunk/daft_silver.mdl") resource.AddFile( "models/obama/obama.mdl" ) resource.AddFile( "materials/models/obama/body_diffuse.vmt" ) resource.AddFile( "materials/models/obama/body_diffuse.vtf" ) resource.AddFile( "materials/models/obama/body_normal.vmt" ) resource.AddFile( "materials/models/obama/body_normal.vtf" ) resource.AddFile( "materials/models/obama/eyeball_l.vmt" ) resource.AddFile( "materials/models/obama/eyeball_l.vtf" ) resource.AddFile( "materials/models/obama/eyeball_r.vmt" ) resource.AddFile( "materials/models/obama/eyeball_r.vtf" ) resource.AddFile( "materials/models/obama/glint.vmt" ) resource.AddFile( "materials/models/obama/glint.vtf" ) resource.AddFile( "materials/models/obama/head_diffuse.vtf" ) resource.AddFile( "materials/models/obama/head_normal.vtf" ) resource.AddFile( "materials/models/obama/mouth.vmt" ) resource.AddFile( "materials/models/obama/mouth.vtf" ) resource.AddFile( "materials/models/obama/obama_body.vmt" ) resource.AddFile( "materials/models/obama/obama_head.vmt" ) resource.AddFile( "materials/models/obama/pupil_l.vmt" ) resource.AddFile( "materials/models/obama/pupil_l.vtf" ) resource.AddFile( "materials/models/obama/pupil_r.vmt" ) resource.AddFile( "materials/models/obama/pupil_r.vtf" ) resource.AddFile( "models/player/hands_simon_henriksson.mdl" ) resource.AddFile( "models/player/player_simon_henriksson.mdl" ) resource.AddFile( "materials/models/player/player_simon_henriksson/bag.vmt" ) resource.AddFile( "materials/models/player/player_simon_henriksson/bag.vtf" ) resource.AddFile( "materials/models/player/player_simon_henriksson/glove_256.vmt" ) resource.AddFile( "materials/models/player/player_simon_henriksson/glove_256.vtf" ) resource.AddFile( "materials/models/player/player_simon_henriksson/head_face.vmt" ) resource.AddFile( "materials/models/player/player_simon_henriksson/head_face.vtf" ) resource.AddFile( "materials/models/player/player_simon_henriksson/hoodie_grey.vmt" ) resource.AddFile( "materials/models/player/player_simon_henriksson/hoodie_grey.vtf" ) resource.AddFile( "materials/models/player/player_simon_henriksson/jeans.vmt" ) resource.AddFile( "materials/models/player/player_simon_henriksson/jeans.vtf" ) resource.AddFile( "materials/models/player/player_simon_henriksson/mouth.vmt" ) resource.AddFile( "materials/models/player/player_simon_henriksson/mouth.vtf" ) resource.AddFile( "materials/models/player/player_simon_henriksson/shoe_cut.vmt" ) resource.AddFile( "materials/models/player/player_simon_henriksson/shoe_cut.vtf" ) resource.AddFile( "materials/models/player/hands_simon_henriksson/fingers.vmt" ) resource.AddFile( "materials/models/player/hands_simon_henriksson/fingers.vtf" ) resource.AddFile( "materials/models/player/hands_simon_henriksson/fingers_normal.vtf" ) resource.AddFile( "materials/models/player/hands_simon_henriksson/glove.vmt" ) resource.AddFile( "materials/models/player/hands_simon_henriksson/glove.vtf" ) resource.AddFile( "materials/models/player/hands_simon_henriksson/glove_normal.vtf" ) resource.AddFile( "materials/models/player/hands_simon_henriksson/sleeve.vmt" ) resource.AddFile( "materials/models/player/hands_simon_henriksson/sleeve.vtf" ) resource.AddFile( "materials/models/player/hands_simon_henriksson/sleeve_normal.vtf" ) resource.AddFile( "models/player/daftpunk/daft_gold.mdl" ) resource.AddFile( "models/player/daftpunk/daft_silver.mdl" ) resource.AddFile( "materials/models/daftpunk/dafthelmet.vmt" ) resource.AddFile( "materials/models/daftpunk/dafthelmets.vmt" ) resource.AddFile( "materials/models/daftpunk/dafthelmets.vtf" ) resource.AddFile( "materials/models/daftpunk/dafthelmets_n.vtf" ) resource.AddFile( "materials/models/daftpunk/dafthelmet_animation.vtf" ) resource.AddFile( "materials/models/daftpunk/dafthelmet_normal.vtf" ) resource.AddFile( "materials/models/daftpunk/dafthelms_animation.vtf" ) resource.AddFile( "materials/models/daftpunk/daft_hand.vmt" ) resource.AddFile( "materials/models/daftpunk/daft_hand.vtf" ) resource.AddFile( "materials/models/daftpunk/daft_hands.vmt" ) resource.AddFile( "materials/models/daftpunk/daft_hands.vtf" ) resource.AddFile( "materials/models/daftpunk/daft_hands_n.vtf" ) resource.AddFile( "materials/models/daftpunk/daft_hand_normal.vtf" ) resource.AddFile( "materials/models/daftpun
Make sure you're setting the model paths correctly in your menu correctly. Also make sure that everytime you join you aren't downloading the same models over and over again, that could mean they aren't properly placed, or don't exist, on the FastDL.
What's you server CFG? You need to have the downloadurl and a site with all the files in .bz2 (or any compressed file, bz2 works the best). Otherwise, it's telling you to download something that isn't there. For a free website, even thought it isnt very good, use x10 hosting, [url]https://www.x10hosting.com[/url], and it will at least teach you the basics until you get a good one. And if you have a / at the end of the site in the CFG, then you dont want a / at the front of the file location, and vis versa.
Well i used the same path as they showed in Q menu, and hit copy to clipboard and used that path, is that ok to do?
Yes, you can do that. However, you dont need the if Server then part. As long as it is in lua/autorun/server you are good to go. It will run it no matter what as long as it is in that folder.
[QUOTE=Bazoogle;45410152]Yes, you can do that. However, you dont need the if Server then part. As long as it is in lua/autorun you are good to go. It will run it no matter what as long as it is in that folder.[/QUOTE] You only don't need if SERVER then if it's in lua/autorun/server.
resource.AddFile() is a server-side function, therefore if it's in lua/autorun it will generate errors clientside. Put it in lua/autorun/server or keep the if (SERVER) then ... end part. -edit-ninja'd
It was in the autorun/server folder
Put it in lua/autorun then.
Sorry, you need to Log In to post a reply to this thread.