Garry's Mod
Оцінок: 49
🪄 The Contentalizer!
   
Нагородити
До улюбленого
В улюблених
Прибрати
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Cartoon, Scenic, Realism
Розмір файлу
Додано
Оновлено
2.352 KB
11 січ. 2022 о 12:22
7 черв. 2023 о 9:17

Підпишіться, аби завантажити
🪄 The Contentalizer!

В колекціях (1) автора infanticide gaming
Demo Server
Предметів: 10
Опис
This quick script will search for mounted Workshop addons that contain content and add them to the clientside Workshop download list.

It will not add addons that are purely Lua files, and it will not add addons that contain maps, unless the server is currently playing that map.

I used this on a personal TTT server to fix the countless addons that contain content and do not call resource.AddWorkshop

GitHub[github.com]
Коментарів: 7
infanticide gaming  [автор] 7 черв. 2023 о 9:17 
Fixed
>KB> >KEKSQUAD 5 черв. 2023 о 11:41 
[🪄 The Contentalizer!] lua/autorun/server/contentalizer.lua:13: bad argument #1 to 'ipairs' (table expected, got nil)
1. ipairs - [C]:-1
2. findContent - lua/autorun/server/contentalizer.lua:13
3. findContent - lua/autorun/server/contentalizer.lua:28
4. findContent - lua/autorun/server/contentalizer.lua:28
5. findContent - lua/autorun/server/contentalizer.lua:28
6. findContent - lua/autorun/server/contentalizer.lua:28
7. findContent - lua/autorun/server/contentalizer.lua:28
8. unknown - lua/autorun/server/contentalizer.lua:48
>KB> >KEKSQUAD 4 черв. 2023 о 8:29 
I'm currently on the 32-bit branch.
>KB> >KEKSQUAD 4 черв. 2023 о 8:27 
Hey so I recently added this to my server in order to fix an issue with clients getting download-capped to 64kbps on the current map's BSP, and I found the issue persists after clearing out my temp/4000 directory to simulate a brand-new client.
󠀠⁧zex 25 січ. 2022 о 2:07 
This is a bit better for what it is. Its a bit smarter
infanticide gaming  [автор] 14 січ. 2022 о 9:55 
Wow, they're literally 1:1 the same pretty much. When I was writing this I was thinking that someone has surely done this before. Oh well :D
blazphemur 13 січ. 2022 о 14:16