Steam Workshop Addons - Dedicated server wont download some of them (Download Failed)
10 replies, posted
Hello!
I seem to be having an issue where I am using a workshop collection for my server so it can get addons/maps etc from steam workshop. The problem is that most downloads just wont even download. It will get to a certain percentage then will return a Download Failed
[CODE]Fetching Workshop Addons..
Calling GetCollectionDetails
Collection has 56 Addons
Connection to Steam servers successful.
Public IP is 103.13.101.215.
Assigned anonymous gameserver Steam ID [A-1:3801361416(4543)].
VAC secure mode is activated.
Mounting Addon 'Advanced Duplicator' (163806212)
Mounting Addon 'Assmod for Gmod13 w/Plugins' (174404341)
Mounting Addon 'gmDoom' (133300986)
Downloading...
15%
24%
29%
33%
35%
37%
38%
40%
43%
47%
51%
56%
62%
68%
71%
74%
77%
80%
Download Failed!
Mounting Addon 'gm_excess_construct' (174651081)
Mounting Addon 'gm_genesis_b24' (266666023)
Downloading...
1%
2%
3%
4%
5%
5%
6%
7%
8%
9%
9%
10%
10%
11%
11%
12%
13%
14%
Download Failed!
[/CODE]
Ive tried re-adding the problematic addons back to the collection but it did not work.
Tried playing around with the net_maxfilesize cvar as well and it did improve on the amount it downloaded, but not much.
Really out of ideas to be honest. Note that this is a dedicated server hosted in a data-center.
This happened to me, I searched everywhere on how to fix it. Some people said to get the .gma and drop it into the addons folder and rename to "ds_<workshopid>" but that didn't work.
So what I did was extract them and put them in the addons folder as a decompiled addon and removed the "+host_workshop_collection" which was trying to download it afaik.
You can just leave it but when I did I had missing models in the console when people where using the models from the pointshop.
Everyone could still see them fine but the server just couldn't see them which I think it doesn't need to?
But I didn't like the errors so ya I did that.
I think personally something may be broken, or there is a download limit or time out that it hits quickly if the file is not downloaded in that time.
I suppose I could add the gma files manually, but when players join, will they download them automatically?
I think that "+host_workshop_collection" is for downloading workshop files to the server and "resource.AddWorkshop("<id>")" is getting the client to download the workshop files.
Someone correct me if I am wrong.
So as long as you have a autorun resource file that is requesting the files "(resource.AddWorkshop("<id>")" then the clients should download and see the models fine.
Add a file called workshop.lua into this location gmod/garrysmod/lua/autorun/server then type into that resource.AddWorkshop("254177306") the number depends on what is at the end of the link. This is the link for those numbers up there : [url]http://steamcommunity.com/sharedfiles/filedetails/?id=254177306[/url] . If you need anymore help friend me at : [GV-O]F4T4L Rambo[F4T4L-O]
get the .gma and drop it into the addons folder and rename it like this addonname_585858558 remove addonname and put ds_ this DOES work, dont know why that dude had a problem
I can confirm that adding them manually worked.
Though I took a more easier approach since I got two dedicated servers (1 USA and 1 Australian).
It Seems the USA server can get them flawlessly so I guess there's an issue to the steam servers on my Aus server. I just got scrds to install the add ons on the US server and I transferred them over. :D
As for the workshop.lua, I will be sorting that out latter. I do want to know however, I can get add ons that are on the filesystem rather then workshop add ons pushed out? I know there is resource.AddFile but will that work if the add on is like in gmod/garrysmod/addons/addonfolder/file.here ?
I think the maxsize is 16mb for workshop downloads or something like that? Either for the server hosting or for the clients. Also, I had the same problems but after a server reset it finally downloaded the said addons.
I believe you can put this in your server.cfg file to download addons that are bigger. net_maxfilesize 75. That number is what ever you want it to be. The workshop.lua should be a type of fastdl. I have to manually install all addons for my server as well but I also use workshop.lua for any addons on the workshop.
So that's a clientside thing? I'd want players who join to be able to download larger files without trying to convince them to spend their time editing a lua file to be able to download the content. (or redirecting them to the workshop collection.)
I believe there is a timeout for Workshop downloads. I use an add-on called the "Homestuck Playset", it is a 250+ MB add-on. On my old 1&1 server it would always fail after about 50-75%. After I switched to NFO, the connection was not only noticeably faster, but the workshop add-on would actually complete downloading.
Before this however, I took the add-on file from my local computer, renamed it ds_[ADD-ON#].gma and installed it on the server to resolve this issue.
Sorry, you need to Log In to post a reply to this thread.