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
Обновлений: 3 (просмотреть)

Подпишитесь, чтобы загрузить
🪄 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