Server not loading all files from workshop collection

Hello!

Our server is only loading a few addons from the workshop collection it is linked to.

Does anyone know why this might be or how I could fix it?

Any help would be greatly appreciated!

After looking through this guide: http://forums.xenonservers.com/showthread.php?3252-How-to-fix-FastDL-via-workshop!

I was able to make it so addons the user does not have are download, however, they still do not appear in the in game menu. (q)

Any ideas?

Current situation:
-Server forces client to download addons using resource.AddWorkshop(“ADDONID”) method
-If they reconnect they must download ALL addons again even though they already have them
-Most items downloaded do not appear in the in game menu (q) for any users
-Only a few items from the linked workshop appear in the (q) menu

How can I get the rest of the workshop items to appear in the in game menu? And how can I make it so users do not have to redownload everything every time they join?

Users should not have to redownload all the addons using those methods. The server DOES check every addon when connecting to make sure clients have them all. You may be seeing that. Also, did you place your resource download file in the correct location?

I placed it in the autorun lua location which is believe is the correct place?

But what could be making it so the items downloaded do not appear in the in game menu?

Ahh I just remembered. So using resource.AddWorkshop allows PLAYERS to download the necessary addons. However that does not mean they are mounted on the server. To mount addons on the server you will need to setup a workshop collection for your server.

I have one of those - http://steamcommunity.com/sharedfiles/filedetails/?id=264672456

And they are added to the server on startup with the +host_workshop_collection and -authkey things.

Yet only 50% ish of the stuff on the collection is actually on the server in the q menu.

Alright so let me confirm this
You have your resource download file (the resource.AddWorkshop stuff) inside of lua/autorun/server
You have your command line setup so it has the correct command line, here is mine I made for a DarkRp server like a month ago (now TTT)



-norestart -console -game garrysmod -nohltv -condebug +maxplayers 24 +ip YourIPHere -port 27015 +map YourMapHere +gamemode darkrp -tickrate 66 -authkey YourAuthKeyHere +host_workshop_collection CollectionIDhere +r_hunkalloclightmaps +exec "server.cfg"


This is mine:


-console -game garrysmod -norestart -nohltv -tickrate 66 -maxplayers 10 +ip myip -port 27015 +map "mymap" +gamemode darkrp +rcon_password "mypassword" +host_workshop_collection 264672456 -authkey myauthkey

Hmm I don’t see anything that would be causing problems, but also it is usually a good idea to have the +exec “server.cfg” part at the end as it will ensure any server settings are always loaded.

The workshop should be automatically forcing players to download any addons they do not have. You have added all of your addons to a lua file that gets the addons. Could you paste that in here?


if SERVER then
resource.AddWorkshop( "110286060" )
resource.AddWorkshop( "105115318" )
resource.AddWorkshop( "108424005" )
resource.AddWorkshop( "211851974" )
resource.AddWorkshop( "251989385" )
resource.AddWorkshop( "111412589" )
resource.AddWorkshop( "181283903" )
resource.AddWorkshop( "104607228" )
resource.AddWorkshop( "137173046" )
resource.AddWorkshop( "115375720" )
resource.AddWorkshop( "225055454" )
resource.AddWorkshop( "104700241" )
resource.AddWorkshop( "205318127" )
resource.AddWorkshop( "112986621" )
resource.AddWorkshop( "115753588" )
resource.AddWorkshop( "105620182" )
resource.AddWorkshop( "109643223" )
resource.AddWorkshop( "110871780" )
resource.AddWorkshop( "107432093" )
resource.AddWorkshop( "104479467" )
resource.AddWorkshop( "263379427" )
resource.AddWorkshop( "180507408" )
resource.AddWorkshop( "201027715" )
resource.AddWorkshop( "201027186" )
resource.AddWorkshop( "183140076" )
resource.AddWorkshop( "183139624" )
resource.AddWorkshop( "181656972" )
resource.AddWorkshop( "247365503" )
end



[editline]2nd June 2014[/editline]

Also the server is definitely redownloading every addon when users join.

It says “Getting Addon #” with a long loading bar for each one, takes several minutes to get on the server.

Bump.