Garry's Mod

Garry's Mod

Nicht genug Bewertungen
PAM Automatic Map Icon Downloader
   
Preis verleihen
Favorisieren
Favorisiert
Entfernen
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Roleplay, Realism
Dateigröße
Veröffentlicht
3.104 KB
26. Mai 2022 um 8:16
1 Änderungshinweis (anzeigen)

Abonnieren zum Herunterladen
PAM Automatic Map Icon Downloader

In 2 Kollektionen von Blechi
[TTT2] Blech Dank TTT Collection
32 Inhalte
Blechkanne Addons
8 Inhalte
Beschreibung
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 Kommentare
mexikoedi 4. Feb. um 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 2. Jan. um 14: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  [Autor] 2. Jan. um 13: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 2. Jan. um 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  [Autor] 2. Dez. 2023 um 6:23 
you sure? do you have the maps subscribed you're trying to see? it worked fine like 3 weeks ago
SaintlyDemonic 30. Nov. 2023 um 6:21 
Doesn't work