Garry's Mod
Μη επαρκής αριθμός βαθμολογιών
PAM Automatic Map Icon Downloader
   
Βραβείο
Αγαπημένο
Αγαπημένο
Μη αγαπημένο
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Roleplay, Realism
Μέγεθος αρχείου
Αναρτήθηκε
3.104 KB
26 Μαϊ 2022, 8:16
1 σημείωση αλλαγών ( προβολή )

Συνδρομή για λήψη
PAM Automatic Map Icon Downloader

ΣΕ 2 ΣΥΛΛΟΓΕΣ ΑΠΟ Blechi
[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 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 2 Ιαν, 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  [Δημιουργός] 2 Ιαν, 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 Ιαν, 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  [Δημιουργός] 2 Δεκ 2023, 6:23 
you sure? do you have the maps subscribed you're trying to see? it worked fine like 3 weeks ago
SaintlyDemonic 30 Νοε 2023, 6:21 
Doesn't work