Garry's Mod

Garry's Mod

Perfect MapVote
341 Comments
Psychotrickser  [author] 18 Sep @ 11:10pm 
Try deleting the /data/mapvote folder in your game directory and see if that helps.
Also link me your addon collection. Another mapvote addon might be interfering with this one
bozonomics 18 Sep @ 3:02pm 
now it doesn't appear at round end lol
here's the error code upon loading
[Perfect MapVote] lua/autorun/mapvote.lua:960: bad argument #1 to 'JSONToTable' (string expected, got nil)

1. JSONToTable - [C]:-1

2. createGamemodePrefixes - lua/autorun/mapvote.lua:960

3. fn - lua/autorun/mapvote.lua:1204

4. unknown - lua/ulib/shared/hook.lua:115

here's the error code upon round ending

[Perfect MapVote] lua/mapvote/sv_mapvote.lua:72: bad argument #1 to 'JSONToTable' (string expected, got nil)

1. JSONToTable - [C]:-1

2. getMapPreviewHierarchy - lua/mapvote/sv_mapvote.lua:72

3. sendMapPreviewHierarchy - lua/mapvote/sv_mapvote.lua:263

4. unknown - lua/mapvote/sv_mapvote.lua:822


Timer Failed! [Simple][@lua/mapvote/sv_mapvote.lua (line 782)]
MR. Fresch 14 Sep @ 6:54am 
Danke dir für deine schnelle Antwort.
Das mit dem entfernen, neu starten, und wieder reinpacken hat leider nichts gebracht.
Habe jetzt übergangsweise ein anderen Voting Addon genommen, allerdings würde ich mich freuen, wenn ich deins wieder nutzen kann :)

Mal schauen was Facepunch dazu sagen kann.
Psychotrickser  [author] 14 Sep @ 6:12am 
Ich erstelle mal ein Ticket bei Facepunch. Vielleicht können die mir etwas dazu sagen.

Probier mal folgendes: Entferne das Addon aus der Server Kollektion, starte den Server, stoppe den Server, füge das Addon der Server Kollektion hinzu, starte den Server. Gib mir Bescheid, ob das geklappt hat. Wenn ich etwas vom Facepunch Support höre, schreibe ich es hier rein
MR. Fresch 14 Sep @ 3:43am 
Cache löschen hat nichts gebracht, er versucht es neu und bricht bei 43% ab.

Processing addon 1: Perfect MapVote (2428251124)...
Addon needs downloading...
Downloading [ 0% of 2.2 MB ]
Downloading [ 43% of 2.2 MB ]
Downloading [ 43% of 2.2 MB ]
Downloading [ 43% of 2.2 MB ]
Downloading [ 43% of 2.2 MB ]
Download Failed! Generic failure!
WS: Finished!
Failed to cache addon location of 2428251124
MR. Fresch 14 Sep @ 3:10am 
Habe auch einen frisch installierten Server und das gleiche Problem wie Kekodos:^)

"Download Failed! Generic failure!"

Konnte das Problem schon behoben werden?

(Bin nicht bei Nitrado)
Psychotrickser  [author] 5 Sep @ 3:11pm 
Ich habe das Addon geupdatet. Versuchs nochmal. Falls es immer noch nicht klappt, leer mal den Download Cache des Servers
Kekodos:^) 3 Sep @ 5:38pm 
Hey wir bekommen keine Mapvotes mehr nach der Runde. Hat vor paar Tagen noch problemlos funktioniert. Hatte versuch das Addon neu zu installieren bekomme aber jetzt in der Konsole die Fehlermeldun " Download Failed! Generic failure!". Wollte nur wissen ob das ein issue von Nitrado ist oder vom Addon selbst.
Luka2000 30 Aug @ 5:17pm 
Updated yesterday lol
Psychotrickser  [author] 29 Aug @ 12:25pm 
+added
Psychotrickser  [author] 18 Aug @ 12:13am 
Ohh I see, so a gamemode cooldown. I can add that
滑稽哥帅帅帅 17 Aug @ 10:14pm 
This is intended to prevent players from playing only one mode throughout the day instead of multiple modes.
滑稽哥帅帅帅 17 Aug @ 10:13pm 
I mean limit the total time that a gamemode costs. For example, if you set the TTT game mode to 2 hours of playtime, a mode vote will automatically trigger when a player plays TTT for more than 2 hours today, and the TTT mode will not be displayed in the list of displayed gamemodes.
Psychotrickser  [author] 13 Aug @ 5:00am 
What's wrong with having a round limit?
滑稽哥帅帅帅 12 Aug @ 11:21pm 
gamemode play time limit pls
Psychotrickser  [author] 8 Aug @ 10:38am 
This mapvote should now overwrite the fretta mapvote systems of other gamemodes. I hope it works
Psychotrickser  [author] 7 Aug @ 9:48pm 
I'm working on it.
A version that works for sure is the prophunt enhanced plus ulx version in my workshop objects
cranium smasher 7 Aug @ 2:23pm 
All prop hunt gamemodes I've tried overwrite the mapvote system in my experience. Is there any way to prevent that or fix it?
Psychotrickser  [author] 31 Jul @ 11:40pm 
+fixed
The thumbnails aren't broken, just the mapnames. If the mapnames don't match the thumbnail name, the game doesn't recognize them. Failing to change levels is also obvious since the mapnames didn't match actual maps.
Cider 31 Jul @ 10:41pm 
Actually checking the console and its just broken mapvote in general, it cuts off way too much of the map name and even fails to change levels.
Cider 31 Jul @ 7:33pm 
Recent updates broke thumbnails.
Psychotrickser  [author] 26 Jul @ 2:38pm 
+fixed
Mofker 26 Jul @ 11:47am 
Hey! I'm getting the following issue when trying to vote for a map

[Perfect MapVote] lua/mapvote/sv_mapvote.lua:891: bad argument #1 to 'WriteUInt' (number expected, got nil)
1. WriteUInt - [C]:-1
2. unknown - lua/mapvote/sv_mapvote.lua:891

Timer Failed! [PSY_MapVote][@lua/mapvote/sv_mapvote.lua (line 826)]

[Auto Reconnect] Warning! A net message (PSY_MapVoteUpdate) is already started! Discarding in favor of the new message! (TIMEOUT)
1. unknown - lua/autorun/sh_init.lua:39
Psychotrickser  [author] 26 Jul @ 1:13am 
lol
not_cyan 25 Jul @ 3:50pm 
this is the most confusing mapvote addon in the world, it doesnt work at all.
Psychotrickser  [author] 15 Jul @ 5:52am 
I'll think about it.
The next update will add a player limit for maps
滑稽哥帅帅帅 14 Jul @ 6:19am 
Could you add a new feature to this plugin? The administrator can set the maximum daily play time (minutes) for a single game mode, and the mode that exceeds this time will be filtered in the poll. Some gamemodes are easy to be dominated all the time and other modes have no chance to play..I'd appreciate it if you were able to make this happen!:steamhappy:
ChaosKirby 7 Jul @ 9:41pm 
So I believe this addon is causing issues with Prophunt enhanced plus somehow, it's preventing the game from starting completely.
Kanjuro 5 Jul @ 2:42am 
Can confirm, works again. :steamthumbsup:
Psychotrickser  [author] 3 Jul @ 11:51pm 
The last updates only changed http requests which have nothing to do with ttt rounds
Hikawa Kaguya 3 Jul @ 10:55pm 
There were no error reports popping up, but this update resulted in the inability to initiate TTT rounds, and everyone was in a spectator state
Psychotrickser  [author] 3 Jul @ 10:03pm 
Please provide details or error messages
Hikawa Kaguya 3 Jul @ 9:00pm 
This update has caused my server's ttt mode to malfunction. Can you revert back to the previous version for me to troubleshoot?
Psychotrickser  [author] 28 Jun @ 9:43am 
Map Player Limits sind derzeit in Arbeit. Ich sammle Daten und probiere verschiedene Möglichkeiten aus, um ideale Spielerbegrenzungen zu berechnen. Update kommt in den nächsten Wochen.
Psychotrickser  [author] 19 Jun @ 6:38am 
Nein. Zum Einen bin ich ein großer Fan des originalen TTT und zum Anderen ist das Mapvote Addon bereits mit vielen Spielmodi kompatibel. Ich sehe keine Notwendigkeit, mich in einen einzelnen Spielmodus einzuarbeiten, um das bereits bestehende und umfangreiche Konfigurationsmenü in ein anderes Menü einzubinden.

Eine Spielerbegrenzung für Maps wurde in der Vergangenheit schon angefragt. Der Anwendungsfall ist sehr speziell. Da es keine mir bekannte Möglichkeit gibt, die Größe einer Map automatisch errechnen zu lassen, müssten Server Hosts die Spielerbegrenzung jeder Map manuell festlegen. Und jedes mal, wenn sie dem Server eine neue Map hinzufügen, müssten sie auch dort wieder die Spielerbegrenzungen festlegen. Theoretisch aber könnte ich so ein Feature leicht hinzufügen.
Mich würde daher erstmal interessieren, ob es überhaupt Leute gibt, die sowas manuell festlegen wollen würden? Wenn ja, füge ich das am Wochenende hinzu
Cemuvi 19 Jun @ 6:03am 
Kannst du das für TTT2 ins F1 > Server Addons anpassen mit den optionen vielleicht? Wie die anderen Map Votes, die es so gibt.

Andere Frage, kann man Maps ausblenden , die nicht die Mindest Spieleranzahl erreichen? ( Also 8 aktive Suer, und maps die mehr als 9 User eingestellt wären , werden gar nicht in den Map Vote mit aufgeführt nur als beispiel. )
Psychotrickser  [author] 14 Jun @ 6:08am 
Increase the round limit in !mvmenu>ConVars
saltyboi 13 Jun @ 4:11pm 
hey! when we choose the map it only last 1 round and then it shows up the vote menu... can u help me pls
Psychotrickser  [author] 7 May @ 1:57pm 
I don't see a point in that. Why should someone wanna use this mapvote's rtv system yet install another rtv addon? And !pmv sounds like Pam's mapvote?
cd0m 7 May @ 1:27pm 
Do you think you could make an extra rtv console command people can use incase the normal rtv is overwritten by a different gamemode for example !rockthevote or !PMV
glarmer ⛟ 29 Apr @ 7:47am 
@psychotrickser

thanks!!
SpiritSlayer 26 Apr @ 2:28pm 
Hey dude, I was just curious if you are aware of a Morbus gamemode uploaded anywhere, workshop or otherwise, that works with your addon. The 2023 Fix version uploaded on the workshop has it's own map vote system that doesn't play nicely with this. Either way, thanks again for the awesome mod!
Psychotrickser  [author] 19 Apr @ 1:19pm 
should be fixed now
cd0m 19 Apr @ 9:54am 
When the mapvote ends the map does not change
Psychotrickser  [author] 19 Apr @ 8:45am 
Can you describe how? How did you test it?
cd0m 18 Apr @ 8:47pm 
Weighted random doesn't work
Psychotrickser  [author] 18 Apr @ 11:32am 
@elbuge done. You can change the hierarchy in the server's data/mapvote/mappreviewhierarchy.txt file. I won't add a GUI option for that yet.

@glarmer done. Check out the new config options in !mvmenu
glarmer ⛟ 29 Mar @ 11:46am 
Awesome! Thanks :)
Psychotrickser  [author] 28 Mar @ 5:57pm 
That's a good idea.
I'm currently on vacation. I'll get to it within the next few weeks
glarmer ⛟ 28 Mar @ 4:29am 
Would it be possible to add a configuration option to add an optional weight to maps that are played frequently?

E.g. If I play ttt_richland significantly more than other maps, I'd like to be able to decrease it's chance to appear in the random selection at round end.