• Workshop downloads for servers - Not working for me
    3 replies, posted
Hello, I've been trying ages to get FastDL to work and gave up now. So I'm now using the Workshop version for clients to DL content for the server. Using this page: [url]http://wiki.garrysmod.com/page/Workshop_for_Dedicated_Servers[/url] and this video: [url]https://www.youtube.com/watch?v=saCof9QqjnA[/url] I made a collection... [url]http://steamcommunity.com/sharedfiles/filedetails/?id=181734588[/url] This is whats in my start-up line... -authkey "The key is here" +host_workshop_collection "181734588" From this I would have thought users would download to the content, but they don't... The server has been restarted since adding the commands. I got my authkey by putting steamidfinder.com into creating an auth key...(The same URL as the video suggested) Any help will be much appreciated, Thanks
You need to create a resource.AddWorkshop file. [url]http://wiki.garrysmod.com/page/resource/AddWorkshop[/url]
[QUOTE=code_gs;42329531]You need to create a resource.AddWorkshop file. [url]http://wiki.garrysmod.com/page/resource/AddWorkshop[/url][/QUOTE] Right, I've added the resource.AddWorkshop, but I already had a fastdl file (Which didnt work), so I added the resourceworkshop thing to this... This is what it currently looks like. [quote] if (SERVER) then resource.AddSingleFile( "lara_croft.mdl" ) resource.AddSingleFile( "swa2.mdl" ) resource.AddSingleFile( "lara_boots_d.vmt" ) resource.AddSingleFile( "lara_boots_d.vtf" ) resource.AddSingleFile( "lara_boots_n.vtf" ) resource.AddSingleFile( "lara_eyebrows_d.vmt" ) resource.AddSingleFile( "lara_eyebrows_d.vtf" ) resource.AddSingleFile( "lara_eyebrows_n.vtf" ) resource.AddSingleFile( "lara_eyelash_d.vmt" ) resource.AddSingleFile( "lara_eyelash_d.vtf" ) resource.AddSingleFile( "lara_eye_d.vmt" ) resource.AddSingleFile( "lara_eye_d.vtf" ) resource.AddSingleFile( "lara_eye_n.vtf" ) resource.AddSingleFile( "lara_hair_d.vmt" ) resource.AddSingleFile( "lara_hair_d.vtf" ) resource.AddSingleFile( "lara_hair_n.vtf" ) resource.AddSingleFile( "lara_hands_d.vmt" ) resource.AddSingleFile( "lara_hands_d.vtf" ) resource.AddSingleFile( "lara_hands_n.vtf" ) resource.AddSingleFile( "lara_head_d.vmt" ) resource.AddSingleFile( "lara_head_d.vtf" ) resource.AddSingleFile( "lara_head_n.vtf" ) resource.AddSingleFile( "lara_legs_d.vmt" ) resource.AddSingleFile( "lara_legs_d.vtf" ) resource.AddSingleFile( "lara_legs_n.vtf" ) resource.AddSingleFile( "lara_mouth_d.vmt" ) resource.AddSingleFile( "lara_mouth_d.vtf" ) resource.AddSingleFile( "lara_mouth_n.vtf" ) resource.AddSingleFile( "lara_ponytail_d.vmt" ) resource.AddSingleFile( "lara_ponytail_d.vtf" ) resource.AddSingleFile( "lara_ponytail_n.vtf" ) resource.AddSingleFile( "lara_torso_d.vmt" ) resource.AddSingleFile( "lara_torso_d.vtf" ) resource.AddSingleFile( "lara_torso_n.vtf" ) resource.AddWorkshop( "158061274" ) resource.AddWorkshop( "110286060" ) resource.AddWorkshop( "112606459" ) resource.AddWorkshop( "156925148" ) resource.AddWorkshop( "123455501" ) resource.AddWorkshop( "113999373" ) end [/quote] The file is saved in lua/autorun/server under the name of fastdl.lua Would this work?
Either move the file to lua/autorun or delete the "if (SERVER) then" and "end".
Sorry, you need to Log In to post a reply to this thread.