Garry's Mod

Garry's Mod

Ultimate Workshop Downloader
 Denna tråd har blivit fäst, så den är troligtvis viktig
Xalalau  [utvecklare] 22 mar, 2021 @ 10:18
Extended F.A.Q.
Ursprungligen skrivet av Auditormadness9:
Do those workshop files get deleted from their computers after they disconnect/exit the game?

GMod manages the workshop files, and it doesn't delete any of them after players leave the servers.

Ursprungligen skrivet av SeediSilver:
so does this make it faster to join servers who have alot of addons?

Actually it'll take you the correct time to enter the server because you'll download what you have to. If it was fast before, things were missing, if it was slow, there were too many downloads.

Ursprungligen skrivet av "Xalalau":
What gamemodes does it support?

All gamemodes. DarkRP, Sandbox, Murder, TTT... It doesn't matter.

Ursprungligen skrivet av "THEEXPLIMITER":
What is the difference between this and Addon Share?

UWD can run on dedicated servers, is fully automatic, includes some optimizations, checks for PointShop1 missing files, supports FastDL and ServerDL and has a different control panel.

Feel free to use whatever you prefer, Addon Share also works on its own way. But choose one or another, having both addons is redundant.

Ursprungligen skrivet av "RainbowTrollFace ":
Only a few of my addons were installed (for others) but many of them still showed up as errors.

Usually it's caused by a bad configuration and sometimes GMod doesn't load the downloaded files correctly. To fix this, before joining a server first check if "workshop downloads" are enabled (Options -> Multiplayer) then, if it's still not working, just restart the game.

Ursprungligen skrivet av "Crack Mouse":
Where are the mods downloaded to?
Ursprungligen skrivet av "bum3n":
how to remove addons that this addon downloaded [...]?

Many people ask "how to delete files"...

To send the addons we use two very common Lua functions:
  • resource.AddSingleFile
  • resource.AddWorkshop

So all downloading and storage is done by the game itself, not us. Our job is just to select the correct addons automatically, which is what every server owner needs to do manually without us. See, every server you've ever logged into is piling up garbage on your computer, that's how GMod works.

We can't clearly tell you how to clean up the game because there is no default or stable way to do that. The only official thing about this is the GarrysMod/FactoryReset-GMod.bat file, but running it will return your game to its original state.

Anyway, there are some Important locations in the current GMod version that store addon files and configurations. I really don't recommend to remove their content, but if you want to do so, there they are:

"steamapps\Workshop\content\4000" -- Newer GMod Workshop addons folder (since January 2020 update)

Iside "steamapps\common\GarrysMod\garrysmod":
  • addons -- Legacy addons and older Workshop addons folder
  • download, downloads and downloadlists -- ServerDL and FastDL files and folders
  • cache -- Lua/Workshop generated cache
  • cl.db, sv.db and mn.db -- SQLite databases (Make Steam check the game files if you delete these)
  • data -- Addon generated data

Ursprungligen skrivet av "Metrowned":
Does this work with Automatic Workshop Downloader made by Lt. Sammy [...]?
Ursprungligen skrivet av "Metrowned":
I currently use the reuploaded version of P2P Hero, and I want to switch to UWD but I'm concerned that my friends will have to redownload all of my mods.

What has already been downloaded is not downloaded again, but AWD and P2P Hero send every mounted Workshop addon while UWD selects what's really needed (e.g. only the current map, addons for the loaded gamemode). If you use UDW with them, our optimizations will be lost, so choose just one of these addons.

Ursprungligen skrivet av "FinnishLime506":
Will this download the same Workshop items for every connection?

No, just once. Who manages the downloads is GMod and it doesn't delete the files.

Ursprungligen skrivet av "FinnishLime506":
Does this install disabled addons?
Ursprungligen skrivet av "Martinlauti1":
Will the addon work if it is not downloaded on the server?

No.

Ursprungligen skrivet av "Phenomenali ":
My friend couldn't find addons like ragdoll or props on the spawnlist

UWD "Adds a Workshop addon for the client to download before entering the server." (https://wiki.facepunch.com/gmod/resource.AddWorkshop). That's it.

Unfortunately, this "missing spawnlists" behavior is normal and we don't like it either. The only solution I know is to locally create a spawnlists searching for each item in the Spawn Menu.

Ursprungligen skrivet av "Dr. Sauce":
What happens to mods that don't include model/texture/sound/etc. files?

As long as the programmer has done his job correctly, GMod handles the scripts (.lua files) by itself (they are automatically downloaded by clients if necessary). So, in this case, our addon isn't needed and can be disabled without any problems.

Ursprungligen skrivet av "Such":
Is there a way to make the this addon only download specific addons?

No. What we select to download is what is needed (from Workshop), neither more nor less, so there's no need for manual configurations.

Also UWD is not designed to load addons on the fly, it just sets up the addons to download as soon as the server opens.

Ursprungligen skrivet av "Journeyman":
Is there anyway to get this to download custom addons that are not on the Workshop?

Yes. Check out our Legacy Addons Support topic.
Senast ändrad av Xalalau; 24 apr @ 16:16
< >
Visar 1-15 av 28 kommentarer
ceifa  [utvecklare] 20 jun, 2021 @ 12:44 
up
Solaris 25 jun, 2022 @ 19:18 
can you explain why theres an ip logger inside the source code of this?
Xalalau  [utvecklare] 26 jun, 2022 @ 7:15 
Yes, it's for statistics along with the other data.
Peanut 26 jun, 2022 @ 18:26 
Ursprungligen skrivet av Xalalau:
Yes, it's for statistics along with the other data.
and why are such statistics necessary? i don't trust people to steal my IP and other telementry for "statistics" in an addon literally designed for the sole purpose of helping you download other people's addons
Xalalau  [utvecklare] 27 jun, 2022 @ 8:20 
Did you know that Microsoft has your IP and counts things like the number of times you open your program windows? Did you know that Google reads your emails? Do you think your dynamic IP is this valuable somehow? Any server has it, any addon with http has it (on serverside without you ever knowing lol), the entire internet knows it.

What is so difficult to understand? Statistics are data, it says all kinds of things. We've already shown some readings here: https://steamcommunity.yuanyoumao.com/workshop/filedetails/discussion/2214712098/3040479910552040940/

In fact, we've fixed loading time issues more than once thanks to the data saying how long it took people to load different addon types, which culminated in the creation of the current cache system. UWD scans the gmas and if it's done badly GMod actually takes a while to create sessions.
Senast ändrad av Xalalau; 27 jun, 2022 @ 9:07
Peanut 11 aug, 2022 @ 12:34 
Ursprungligen skrivet av Xalalau:
Did you know that Microsoft has your IP and counts things like the number of times you open your program windows? Did you know that Google reads your emails? Do you think your dynamic IP is this valuable somehow? Any server has it, any addon with http has it (on serverside without you ever knowing lol), the entire internet knows it.

What is so difficult to understand? Statistics are data, it says all kinds of things. We've already shown some readings here: https://steamcommunity.yuanyoumao.com/workshop/filedetails/discussion/2214712098/3040479910552040940/

In fact, we've fixed loading time issues more than once thanks to the data saying how long it took people to load different addon types, which culminated in the creation of the current cache system. UWD scans the gmas and if it's done badly GMod actually takes a while to create sessions.
Shame you couldn't figure out when it wasn't working for me and my friend!
FreezeSaxophone 13 sep, 2022 @ 16:33 
so it doesn't install disabled addons? if so then GREAT
Xalalau  [utvecklare] 13 sep, 2022 @ 17:30 
Ursprungligen skrivet av bubble:
so it doesn't install disabled addons? if so then GREAT
Yep, only enabled addons.
FreezeSaxophone 15 sep, 2022 @ 16:26 
Ursprungligen skrivet av Xalalau:
Ursprungligen skrivet av bubble:
so it doesn't install disabled addons? if so then GREAT
Yep, only enabled addons.
this is good because i have more than 29 pages of addons with most of them disabled
SourceStick 27 dec, 2022 @ 2:21 
Ursprungligen skrivet av Xalalau:
Ursprungligen skrivet av Such:
Is there a way to make the this addon only download specific addons?
No. What we select to download is what is needed (from Workshop), neither more nor less, so there's no need for manual configurations.

Also UWD is not designed to load addons on the fly, it just sets up the addons to download as soon as the server opens.
Why not?
I got some addons that my friend does not want and they only affect my gameplay. Like custom HUD, things that turn GMod into a poor man's movement shooter, etc. (While the HUD can be disabled on their end, the movement stuff can't without affecting me)
Most probable errors are gonna be about missing sounds, and those sounds are why this addon downloads them for my friend.
Xalalau  [utvecklare] 27 dec, 2022 @ 4:35 
Ursprungligen skrivet av Hoovy Simulator 2 FIN:
Ursprungligen skrivet av Xalalau:

No. What we select to download is what is needed (from Workshop), neither more nor less, so there's no need for manual configurations.

Also UWD is not designed to load addons on the fly, it just sets up the addons to download as soon as the server opens.
Why not?
I got some addons that my friend does not want and they only affect my gameplay. Like custom HUD, things that turn GMod into a poor man's movement shooter, etc. (While the HUD can be disabled on their end, the movement stuff can't without affecting me)
Most probable errors are gonna be about missing sounds, and those sounds are why this addon downloads them for my friend.

If you're talking about the ability to disable sending some addons, I agree that this is a useful function. However, this feature is quite inconvenient because after the player marks an addon for sending, the game doesn't allow unmarking it, so for the download to work correctly it's necessary to restart the map.

I'll think if it's worth increasing the complexity of the downloader to display this option and others.
Hyper Abbood 15 jan, 2023 @ 17:16 
Does This addon Install Addons that We Have Into Our Freinds Addons?
Hyper Abbood 15 jan, 2023 @ 17:17 
If It Does Then That Means Fast Loading
i think a gmod update bricked this, a few days ago my connecting friends dont auto download thier maps anymore, and scrolling really far into the console, you can spot lots of

WorkshopDL: Took too long to get item info for *addonid*!
WorkshopDL: There is no file to mount for '*addonid*'!

errors
wolfee0507 25 mar, 2023 @ 17:52 
Ursprungligen skrivet av NextKuromeThe76Soldier:
i think a gmod update bricked this, a few days ago my connecting friends dont auto download thier maps anymore, and scrolling really far into the console, you can spot lots of

WorkshopDL: Took too long to get item info for *addonid*!
WorkshopDL: There is no file to mount for '*addonid*'!

errors
rip
< >
Visar 1-15 av 28 kommentarer
Per sida: 1530 50