Garry's Mod

Garry's Mod

评价数不足
PAM Automatic Map Icon Downloader
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 特效
插件标签: 快乐, 角色扮演, 写实
文件大小
发表于
3.104 KB
2022 年 5 月 26 日 上午 8:16
1 项改动说明 ( 查看 )

订阅以下载
PAM Automatic Map Icon Downloader

在 Blechi 的 2 个合集中
[TTT2] Blech Dank TTT Collection
32 件物品
Blechkanne Addons
8 件物品
描述
An Extension to the PAM Map Vote Addon

It downloads missing Map Icons via the maps workshop

it works by comparing the workshop item name and the map name to find the workshop thumbnails and use them as map icons. This is also why it does not work 100% of the time


Checkout my Github[github.com]
6 条留言
mexikoedi 2 月 4 日 上午 10:38 
I received a new error:
[PAM Automatic Map Icon Downloader] lua/pam/client/extensions/cl_map_icons.lua:47: bad argument #1 to 'Download' (string expected, got nil)
1. Download - [C]:-1
2. unknown - lua/pam/client/extensions/cl_map_icons.lua:47

Only one player received this error and this player is playing GMod 64-Bit version.
This happened when the map vote started and also after the map changed after the person joined the round.
I hope that this error and the previous error with the additional information is helpful to solve these issues in the future.
mexikoedi 1 月 2 日 下午 2:01 
The addon worked fine after the error.
It could be a non important error but I still wanted to report it.
Thanks for looking into it.
Blechi  [作者] 1 月 2 日 下午 1:47 
Thanks for the extensive bug report! did the addon stop working afterwards? this bug can be due to a lot of different reasons including problems with gmod caching (e.g. due to tabbing out of the game). I will try to recreate it when i find the time for it!:steamhappy:
mexikoedi 1 月 2 日 下午 12:41 
Received an error in the console while playing TTT2 on a dedicated server.
The situation was the following:
The round was finished, the map vote popup appeared, then I tabbed out of the game but didn't close the map menu and I also didn't vote for anything. Then the map started to change and the error appeared.
Here the error:
[PAM Automatic Map Icon Downloader] lua/includes/extensions/file.lua:9: bad argument #1 to 'Open' (string expected, got nil)
1. Open - [C]:-1
2. Read - lua/includes/extensions/file.lua:9
3. unknown - lua/pam/client/extensions/cl_map_icons.lua:51
Blechi  [作者] 2023 年 12 月 2 日 上午 6:23 
you sure? do you have the maps subscribed you're trying to see? it worked fine like 3 weeks ago
SaintlyDemonic 2023 年 11 月 30 日 上午 6:21 
Doesn't work