I think I'm at the final stages of solving the issue at hand.
I got a new addon to finally sync to the webserver, and now we don't download all materials every time we join, it seems. However, as for the previous files that were downloading every time (same issue with the new addon, but just has been happening for longer), these files seem to continue to download during the joining period. I've narrowed the issued down as best as possible.
The files that were downloading were vmt/vtf, mdl/associated files that were linked with the linked Workshop addons that were not directly placed onto the webserver. So, I downloaded, and extracted their files to the webserver thinking that would solve it, but no. Then I decided to manually resource.AddFile() each file into a lua in lua/autorun/server/ and see if the addon can call those files one time, and that's it.
Fortunately, the issue is semi-fixed. When I first start gmod, and enter the server, the issue persists. However, once in Gmod, and once I've already loaded into the server, I can back out and join back in without having to download again. So it seems to force the download only when GMod is rebooted. I don't know if that helps. Maybe I'm missing something.
I think I may have to place all the associated files to the Workshop addons into their locally found places. So place all materials into garrysmod/materials and so on (same as I did for the webserver), but I doubt this will solve the issue.
Any ideas? And yes I have resource.AddWorkshop() and resource.AddFile() for all of the files in my autorun.
Ninja edit: NFO Support told me to use AddSingleFile instead of AddFile, which I went back and did, but nothing. The new addon that I had the same issue with still uses AddFile and doesn't have the issue anymore (TTT Spectator Deathmatch from coderhire). But these workshop addons that were linked are the issue.
Thanks
[TTT Hosted] Files Repeatedly Redownloading
- allofmywut
- New to forums
- Posts: 10
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Sat Apr 26, 2014 3:48 pm
- Contact: