Garry's Mod

Garry's Mod

Partly Adequate Mapvote
댓글 57
Xopez 2025년 8월 17일 오전 12시 19분 
ah thanks for the fast answer :steamhappy:
Reispfannenfresser  [작성자] 2025년 8월 17일 오전 12시 03분 
@Xopez
You got plurality voting right.

Lottery voting picks a random vote and selects the option it picked.

e.g.:
One person votes for gm_construct.
Two people vote for gm_flatgrass.

gm_flatgrass now has a 2/3 chance of being picked.
gm_construct has a 1/3 chance.


There is a hidden feature as well: You can create addons that alter the voting power of players.
These differences are also taken into account.

One person with a voting power of 2 is considered as strong as two people with a voting power of 1
Xopez 2025년 8월 16일 오전 8시 31분 
Hey,

i don't quit understand the voting differences,

if I am right
Lottery: One of the voted maps is picked randomly
Plurality Voting: Highest Voted Map gets picked

Am I right with my thought?
plzendmylife 2025년 3월 7일 오후 1시 56분 
Thanks for the quick reply. I'll look into it!
Reispfannenfresser  [작성자] 2025년 3월 7일 오전 11시 54분 
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 2025년 3월 7일 오전 11시 39분 
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⠐⢾⦔ 2025년 3월 7일 오전 5시 29분 
Yeah, I had both disabled due to an error in understanding. Thanks for the clarification.
Reispfannenfresser  [작성자] 2025년 3월 6일 오후 11시 32분 
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⠐⢾⦔ 2025년 3월 6일 오후 12시 53분 
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  [작성자] 2025년 3월 6일 오전 8시 53분 
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⠐⢾⦔ 2025년 2월 3일 오후 3시 40분 
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  [작성자] 2023년 3월 28일 오후 12시 59분 
@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  [작성자] 2023년 3월 28일 오후 12시 55분 
@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  [작성자] 2023년 3월 28일 오후 12시 47분 
@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 2023년 3월 27일 오후 9시 55분 
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?
● OpuruHaJi 2023년 3월 10일 오전 3시 29분 
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)
ZioN ッ 2023년 2월 9일 오전 6시 19분 
ich habe alle addons aufm server und leider will es nicht laufen kannst du mir helfen?
Reispfannenfresser  [작성자] 2023년 2월 5일 오후 12시 04분 
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  [작성자] 2023년 2월 5일 오후 12시 00분 
Thank you
kitrod 2023년 2월 5일 오전 11시 56분 
Reispfannenfresser  [작성자] 2023년 2월 5일 오전 11시 46분 
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 2023년 2월 4일 오후 2시 11분 
I had it installed and it was just going back and forth between maps.
Reispfannenfresser  [작성자] 2023년 2월 4일 오후 2시 10분 
It should work out of the box once you installed pacoman and a pam ui addon.
kitrod 2023년 2월 3일 오후 4시 31분 
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  [작성자] 2022년 8월 9일 오후 12시 46분 
@Truba
Hast du ein PAM UI Addon installiert? (e.g.: Dark Votescreen )
Und um welchen Spielmodus handelt es sich?
Truba 2022년 8월 9일 오전 5시 28분 
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  [작성자] 2022년 7월 10일 오후 12시 20분 
@[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 2022년 7월 10일 오전 8시 55분 
How can I make sure only TTT maps are showed in the Vote screen?
spookd0m 2022년 7월 1일 오후 1시 27분 
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  [작성자] 2022년 7월 1일 오전 8시 03분 
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.
spookd0m 2022년 6월 30일 오후 4시 43분 
Tiny desk engineer, you've committed the sin of not telling how you got it to work
Tony Dosk Enginooy 2022년 5월 30일 오후 11시 13분 
nevermind, i figured it out :D
Tony Dosk Enginooy 2022년 5월 30일 오후 11시 09분 
how do you put multiple prefixes in the prefixes setting?
Reispfannenfresser  [작성자] 2022년 5월 27일 오전 5시 15분 
@Blechkanne
Das ist super fancy :goldidol:
Blechi 2022년 5월 26일 오전 9시 49분 
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  [작성자] 2022년 5월 10일 오후 12시 52분 
@[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 2022년 5월 9일 오후 2시 11분 
@Reispfannenfresser Wie muss ich es in die Server Config schreiben, dass die TTT prefix genommen wird.
Reispfannenfresser  [작성자] 2022년 5월 7일 오후 3시 31분 
@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 2022년 5월 7일 오후 1시 23분 
Ah I see, got it working now, cheers :fortsee:
Seager02 2022년 5월 7일 오후 1시 16분 
Does the UI need to be installed on the server as well or is it client-side only?
Reispfannenfresser  [작성자] 2022년 5월 7일 오후 12시 53분 
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 2022년 5월 7일 오전 8시 13분 
Im hosting TTT2 but the map vote isn't restricted to TTT_ maps only, I suppose I can change this? if so, how.
Reispfannenfresser  [작성자] 2022년 3월 17일 오전 9시 02분 
@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 2022년 3월 17일 오전 8시 42분 
the legacy version doesn't have the skip feature. thats the only reason i switched.
Reispfannenfresser  [작성자] 2022년 3월 17일 오전 8시 12분 
@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 2022년 3월 17일 오전 5시 41분 
is there a good reason why we need to subscribe to 7+ addons instead of 1?
blazphemur 2022년 3월 7일 오전 1시 03분 
Awesome! Thank you!!
Reispfannenfresser  [작성자] 2022년 3월 6일 오전 7시 35분 
@blazphemur
You can check out this addon .
It adds a new option to the vote which allows to cancel the vote.
blazphemur 2022년 3월 6일 오전 6시 58분 
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  [작성자] 2022년 3월 2일 오전 1시 51분 
@Vending Machine
Thanks for all the info. I'll have a look :steamthumbsup: