Garry's Mod

Garry's Mod

Partly Adequate Mapvote
54 Comments
plzendmylife 7 Mar @ 1:56pm 
Thanks for the quick reply. I'll look into it!
Reispfannenfresser  [author] 7 Mar @ 11:54am 
The skip_option is only intended to be used in combination with PAM's own round counter.
If you want to use the skip option, you should disable any limits your gamemode provide.

You can use rtv to restart the game loop when you're stuck.
plzendmylife 7 Mar @ 11:39am 
Hello, the "keep_playing" option breaks the gameloop. Instead of starting a new round on the same map, you get stuck with 00:00 on the timer. Dead people stay dead and no new round is started.
Tab shows "Map changes in 1 round or in 01:12:10" with the time still running down
⦓⡷⠂NEONSY⠐⢾⦔ 7 Mar @ 5:29am 
Yeah, I had both disabled due to an error in understanding. Thanks for the clarification.
Reispfannenfresser  [author] 6 Mar @ 11:32pm 
The symptoms you are describing lead me to believe it didn't know how to count the votes properly. If it doesn't know how to count the votes, it selects a random map from the available options.

Is it possible that you disabled both lottery_voting and plurality_voting? (These are the two server sided extensions that allow counting the votes)
If you want PAM to work you'll need to have one of these enabled and the other disabled.

Please let me know if this fixes it for you.
I intend to make configuration a bit more user friendly in a future update.
⦓⡷⠂NEONSY⠐⢾⦔ 6 Mar @ 12:53pm 
I had pacoman and ui, and while I don't mind using the map prefix setting, for some reason it chose a random map, regardless of the votes, including maps no one has voted.
Reispfannenfresser  [author] 6 Mar @ 8:53am 
This addon works with TTT2.

You will have to configure it to only allow ttt maps.
For that you will need pacoman and probably pacoman ui.

If you just want an addon that works out of the box, I can recommend the legacy version .
⦓⡷⠂NEONSY⠐⢾⦔ 3 Feb @ 3:40pm 
When using TTT2, it does not automatically filter the maps. Is that because TTT2 isn't supported along side TTT, or do I need to filter maps, regardless of the mode?
Reispfannenfresser  [author] 28 Mar, 2023 @ 12:59pm 
@Lamentis ッ
Can you open an issue for this on the github and provide screenshots of the values of the settings.
Please also mention any errors in the console there and also mention which collection you are using.

I don't have the time to fix it at the moment, but this way I won't lose track.
Reispfannenfresser  [author] 28 Mar, 2023 @ 12:55pm 
@dofaminovy
I have no idea what libk is.
None of the scripts in the error you are getting are pam scripts.

Can you open an issue for this on the github repository and provide all the requested information there?

This way I won't lose track and will know how to try fixing it when I have the time again.
Reispfannenfresser  [author] 28 Mar, 2023 @ 12:47pm 
@Ker Blam
That is intentional.
Setting a prefix with pacoman is the intended way to adjust these settings.

If you want a less setup heavy mapvoting addon, you might want to check out the legacy version.
Ker Blam 27 Mar, 2023 @ 9:55pm 
this seems to show all maps regardless of gamemode unless you set a prefix with pacoman. Is this intentional? Is there any way to change this?
dofaminovy 10 Mar, 2023 @ 3:29am 
this addon adds errors like

[libk] addons/libk/lua/libk/client/cl_libk_client.lua:3: Tried to resolve an already rejected deferred!
1. error - [C]:-1
2. Resolve - addons/libk/lua/libk/shared/1_sh_promises.lua:179
3. fn - addons/libk/lua/libk/client/cl_libk_client.lua:3
4. unknown - addons/ulib/lua/ulib/shared/hook.lua:109


GetSpriteAxes: Bad sprite type 1886608499 (x485)
Lamentis ッ 9 Feb, 2023 @ 6:19am 
ich habe alle addons aufm server und leider will es nicht laufen kannst du mir helfen?
Reispfannenfresser  [author] 5 Feb, 2023 @ 12:04pm 
Oh, I think I see the issue already. My bad.
The vote screen you are using is disabled by default to avoid interference with other votescreens.
Enabling it with pacoman should do the trick.

I'll update it to be enabled by default.

Thanks a lot for reporting the issue!
Reispfannenfresser  [author] 5 Feb, 2023 @ 12:00pm 
Thank you
kitrod 5 Feb, 2023 @ 11:56am 
Reispfannenfresser  [author] 5 Feb, 2023 @ 11:46am 
That indeed is funky then.
Can you send me a link to your collection, so I can try to figure out what's going on?
kitrod 4 Feb, 2023 @ 2:11pm 
I had it installed and it was just going back and forth between maps.
Reispfannenfresser  [author] 4 Feb, 2023 @ 2:10pm 
It should work out of the box once you installed pacoman and a pam ui addon.
kitrod 3 Feb, 2023 @ 4:31pm 
Is there some extra configuration I need to do to make this work for TTT? At the end of the round there was no map vote, it just skipped to the next map in the cycle.
Reispfannenfresser  [author] 9 Aug, 2022 @ 12:46pm 
@Truba
Hast du ein PAM UI Addon installiert? (e.g.: Dark Votescreen )
Und um welchen Spielmodus handelt es sich?
Truba 9 Aug, 2022 @ 5:28am 
Obwohl ich keine tiefgründigen Einstellungen habe - sowohl das Addon, Partly Adequate Configuration Manager und Pacoman UI installiert habe möchte beim Ende einer Runde kein Vote Menu auftauchen. Es wird einfach nach ein paar Sekunden die Map geändert.
Reispfannenfresser  [author] 10 Jul, 2022 @ 12:20pm 
@[KaP] Portres
PAM is configured via Pacoman.

The relevant settings for changing which maps are shown can be found here [github.com].

Setting the server_settings/pam/map_provider.prefixes setting to "ttt_" should have the effect you want.
[KaP] Portres 10 Jul, 2022 @ 8:55am 
How can I make sure only TTT maps are showed in the Vote screen?
cd0m 1 Jul, 2022 @ 1:27pm 
Thanks, figured it out myself but that should be helpful for other people looking for help. In general this addon is a bit hard to understand, I had troubles with making per gamemode map selections until I learned that I had to make I used enter whenever I inputed a value to save it
Reispfannenfresser  [author] 1 Jul, 2022 @ 8:03am 
My bad for not clarifying.
Values are separated with commas.
"ttt_,gm_" will select maps which have the "ttt_" or the "gm_" prefix.

Same goes for the whitelist and blacklist.
cd0m 30 Jun, 2022 @ 4:43pm 
Tiny desk engineer, you've committed the sin of not telling how you got it to work
Tony Engino Dosky 30 May, 2022 @ 11:13pm 
nevermind, i figured it out :D
Tony Engino Dosky 30 May, 2022 @ 11:09pm 
how do you put multiple prefixes in the prefixes setting?
Reispfannenfresser  [author] 27 May, 2022 @ 5:15am 
@Blechkanne
Das ist super fancy :goldidol:
Blechkanne 26 May, 2022 @ 9:49am 
Sehr sehr cool, gerade erst herausgefunden, dass es hier eine neue Version vom Addon gibt.
Hab auch direkt mal meine alte PAM Extension darauf geupdated:
Automatic Map Icon Downloader
Reispfannenfresser  [author] 10 May, 2022 @ 12:52pm 
@[KaP] Portres
Pam nutzt keine Convars mehr. Die haben leider nicht für alle Features ausgereicht, die ich ermöglichen wollte.

PAM nutzt jetzt Pacoman, welches alle Einstellungen in der Client-/Serverseitigen Datenbank speichert.

Um Pacoman Einstellungen zu verwalten gibts z.B. pacoman ui
[KaP] Portres 9 May, 2022 @ 2:11pm 
@Reispfannenfresser Wie muss ich es in die Server Config schreiben, dass die TTT prefix genommen wird.
Reispfannenfresser  [author] 7 May, 2022 @ 3:31pm 
@Seager02
I don't know how gmod handles client sided addons on servers that don't use them, but in theory pacoman ui is completely server independent.

It's probably easiest to just add it to the server collection though.
Crumpetitive 7 May, 2022 @ 1:23pm 
Ah I see, got it working now, cheers :fortsee:
Seager02 7 May, 2022 @ 1:16pm 
Does the UI need to be installed on the server as well or is it client-side only?
Reispfannenfresser  [author] 7 May, 2022 @ 12:53pm 
PAM uses Pacoman for it's settings.
Do you have any pacoman ui addon installed?
(e.g.: pacoman ui )

Once you open up the menu there should be a map provider namespace with a prefix setting. You can change this setting's value to "ttt_" for it to only allow voting for ttt maps.
Crumpetitive 7 May, 2022 @ 8:13am 
Im hosting TTT2 but the map vote isn't restricted to TTT_ maps only, I suppose I can change this? if so, how.
Reispfannenfresser  [author] 17 Mar, 2022 @ 9:02am 
@Nighty
I may make some collections of PAM addons for general use. This way people won't have to search for every addon and can just subscribe to the collection or link it to their collections.
★ Nighty 17 Mar, 2022 @ 8:42am 
the legacy version doesn't have the skip feature. thats the only reason i switched.
Reispfannenfresser  [author] 17 Mar, 2022 @ 8:12am 
@Nighty
It's just for the sake of modularity which makes it easier to maintain these projects. :mattock:

The Legacy Version of PAM is still available if you prefer having everything in one package. It's deprecated though and doesn't allow for as many features.
★ Nighty 17 Mar, 2022 @ 5:41am 
is there a good reason why we need to subscribe to 7+ addons instead of 1?
blazphemur 7 Mar, 2022 @ 1:03am 
Awesome! Thank you!!
Reispfannenfresser  [author] 6 Mar, 2022 @ 7:35am 
@blazphemur
You can check out this addon .
It adds a new option to the vote which allows to cancel the vote.
blazphemur 6 Mar, 2022 @ 6:58am 
I'm planning to run this on my sandbox server. If players rtv, can they choose the same map and not cause the map to change back to the current map and instead just continue playing normally?
Reispfannenfresser  [author] 2 Mar, 2022 @ 1:51am 
@Vending Machine
Thanks for all the info. I'll have a look :steamthumbsup:
Periodic Table 28 Feb, 2022 @ 10:01am 
Forgot to mention I also have ulib-v2_63, ulx-v3_73, and wuma-master installed manualy in the addon folder.
Periodic Table 28 Feb, 2022 @ 7:10am 
@Reispfannenfresser
Heres the pacoman settings
https://imgur.com/a/qCIdKri

Here's the server collection.

https://sp.zhabite.com/sharedfiles/filedetails/?edit=true&id=247813545
Reispfannenfresser  [author] 28 Feb, 2022 @ 1:41am 
@Vending Machine
I'm glad it's working again, but it bugs me that the system seems to have broken on it's own.
That's a pretty weird problem and your fix shouldn't have changed anything.

What do your other settings look like?

Is it possible that the map cooldown is too high?
1. PAM won't find any maps when all selectable maps are on cooldown.
2. Allowing other maps and then selecting them reduces the heat for all maps.
3. Some maps may reach a heat of 0 (they cooled down) which allows you to select them again
4. More and more maps reach 0 until the problem repeats itself.