Garry's Mod

Garry's Mod

Partly Adequate Mapvote
57 kommentarer
Xopez 17. aug. kl. 0.19 
ah thanks for the fast answer :steamhappy:
Reispfannenfresser  [skaper] 17. aug. kl. 0.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 16. aug. kl. 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 7. mars kl. 13.56 
Thanks for the quick reply. I'll look into it!
Reispfannenfresser  [skaper] 7. mars kl. 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 7. mars kl. 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⠐⢾⦔ 7. mars kl. 5.29 
Yeah, I had both disabled due to an error in understanding. Thanks for the clarification.
Reispfannenfresser  [skaper] 6. mars kl. 23.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⠐⢾⦔ 6. mars kl. 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  [skaper] 6. mars kl. 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⠐⢾⦔ 3. feb. kl. 15.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  [skaper] 28. mars 2023 kl. 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  [skaper] 28. mars 2023 kl. 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  [skaper] 28. mars 2023 kl. 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 27. mars 2023 kl. 21.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 10. mars 2023 kl. 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 ッ 9. feb. 2023 kl. 6.19 
ich habe alle addons aufm server und leider will es nicht laufen kannst du mir helfen?
Reispfannenfresser  [skaper] 5. feb. 2023 kl. 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  [skaper] 5. feb. 2023 kl. 12.00 
Thank you
kitrod 5. feb. 2023 kl. 11.56 
Reispfannenfresser  [skaper] 5. feb. 2023 kl. 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 4. feb. 2023 kl. 14.11 
I had it installed and it was just going back and forth between maps.
Reispfannenfresser  [skaper] 4. feb. 2023 kl. 14.10 
It should work out of the box once you installed pacoman and a pam ui addon.
kitrod 3. feb. 2023 kl. 16.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  [skaper] 9. aug. 2022 kl. 12.46 
@Truba
Hast du ein PAM UI Addon installiert? (e.g.: Dark Votescreen )
Und um welchen Spielmodus handelt es sich?
Truba 9. aug. 2022 kl. 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  [skaper] 10. juli 2022 kl. 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 10. juli 2022 kl. 8.55 
How can I make sure only TTT maps are showed in the Vote screen?
spookd0m 1. juli 2022 kl. 13.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  [skaper] 1. juli 2022 kl. 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 30. juni 2022 kl. 16.43 
Tiny desk engineer, you've committed the sin of not telling how you got it to work
Tony Dosk Enginooy 30. mai 2022 kl. 23.13 
nevermind, i figured it out :D
Tony Dosk Enginooy 30. mai 2022 kl. 23.09 
how do you put multiple prefixes in the prefixes setting?
Reispfannenfresser  [skaper] 27. mai 2022 kl. 5.15 
@Blechkanne
Das ist super fancy :goldidol:
Blechi 26. mai 2022 kl. 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  [skaper] 10. mai 2022 kl. 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 9. mai 2022 kl. 14.11 
@Reispfannenfresser Wie muss ich es in die Server Config schreiben, dass die TTT prefix genommen wird.
Reispfannenfresser  [skaper] 7. mai 2022 kl. 15.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 7. mai 2022 kl. 13.23 
Ah I see, got it working now, cheers :fortsee:
Seager02 7. mai 2022 kl. 13.16 
Does the UI need to be installed on the server as well or is it client-side only?
Reispfannenfresser  [skaper] 7. mai 2022 kl. 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 7. mai 2022 kl. 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  [skaper] 17. mars 2022 kl. 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 17. mars 2022 kl. 8.42 
the legacy version doesn't have the skip feature. thats the only reason i switched.
Reispfannenfresser  [skaper] 17. mars 2022 kl. 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 17. mars 2022 kl. 5.41 
is there a good reason why we need to subscribe to 7+ addons instead of 1?
blazphemur 7. mars 2022 kl. 1.03 
Awesome! Thank you!!
Reispfannenfresser  [skaper] 6. mars 2022 kl. 7.35 
@blazphemur
You can check out this addon .
It adds a new option to the vote which allows to cancel the vote.
blazphemur 6. mars 2022 kl. 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  [skaper] 2. mars 2022 kl. 1.51 
@Vending Machine
Thanks for all the info. I'll have a look :steamthumbsup: