Garry's Mod

Garry's Mod

地图投票 - 游戏模式和地图投票 + 预览
358 条留言
Horizon End 11 月 13 日 下午 10:07 
When switching game modes from any other game mode the addon works perfectly fine, but when trying to switch from your deathrun addon I get this error and nothing happens after the timer runs down in the gamemode vote.

[MapVote] Starting Mapvote...

[Perfect MapVote] lua/includes/extensions/table.lua:106: bad argument #1 to 'pairs' (table expected, got nil)

pairs - [C]:-1
HasValue - lua/includes/extensions/table.lua:106
addFinalMaps - lua/mapvote/sv_mapvote.lua:445
prepareMapVote - lua/mapvote/sv_mapvote.lua:712
InitMapVote - lua/mapvote/sv_mapvote.lua:851
unknown - lua/mapvote/sv_mapvote.lua:825

Timer Failed! [Simple][@lua/mapvote/sv_mapvote.lua (line 782)]
Psychotrickser  [作者] 11 月 12 日 下午 9:58 
yeah I figured :D
Birk 11 月 12 日 上午 12:08 
You should update the screenshots, cus ppl might think that that's how the addon looks rn
Psychotrickser  [作者] 11 月 11 日 上午 10:02 
Thank you. I'll consider your suggestions and get back to you
FunnyBrother 11 月 11 日 上午 6:09 
3. Add a command to reopen the voting interface. After players finish voting and close the voting interface, they cannot modify their votes again if they want to change their votes, whether it is a gamemode voting or a map voting. Adding this feature allows players to have a second chance to change their votes.
4. Add a configuration option to display only the list layout or only the image layout instead of allowing players to switch between the two layouts. This is because different players see different interface layouts when voting. Some choose the list mode, while others choose the image mode, which causes the target gamemode or map displayed in different positions but the ping location seen by the players is the same. For example, when player A who is using the image layout wants to play map A and sends a ping by clicking on the image of it, however, player B, who is using the list layout, may not see the ping pointing to map A, but to another map.
FunnyBrother 11 月 11 日 上午 6:08 
Please take a look at my suggestions. I would appreciate it if you could read through the following suggestions.:steamhappy:
1. Re-enter the map when a gamemode only has one map and map cooldown is enabled. It will show 'no map extends' when switching maps. I hope players can re-enter the map. For example, the SlashCo gamemode is such a case.
2. Add an option for the maximum playtime of a gamemode. Once the set time is exceeded, a gamemode voting to switch gamemodes will be automatically triggered.
Psychotrickser  [作者] 11 月 11 日 上午 1:36 
Thank you. I'm glad you like it :D
Lambda 11 月 10 日 下午 12:35 
Love that it works with prophunt enhanced!
Psychotrickser  [作者] 11 月 9 日 上午 12:39 
Take a look at the guide. It explains how to set map prefixes or add specific maps to gamemodes
Birk 11 月 8 日 下午 1:15 
could you make so you can also remove or add maps that can show up just like the gamemodes?
CATSNACKz 10 月 17 日 下午 9:52 
hey it works, thanks!
Psychotrickser  [作者] 10 月 17 日 下午 4:08 
should be fixed now
CATSNACKz 10 月 17 日 下午 2:20 
hey so it starts the 3 second countdown, but then the map vote UI doesnt show up. i get this error
[Perfect MapVote] lua/mapvote/cl_mapvote.lua:501: attempt to call method 'HidePanel' (a nil value)
1. func - lua/mapvote/cl_mapvote.lua:501
2. unknown - lua/includes/extensions/net.lua:34
Psychotrickser  [作者] 9 月 30 日 下午 10:34 
The only method for fixing the 'generic failure' error message upon updating the addon was deleting and setting up the server again. I'll post it here if I find a less invasive solution
Psychotrickser  [作者] 9 月 30 日 下午 10:31 
Steam Support hat mich an Facepunch verwiesen. Damit schließt sich der Kreis.
Psychotrickser  [作者] 9 月 30 日 上午 7:29 
Facepunch hat mich an den Steam Support verwiesen, daher habe ich dort ein neues Ticket erstellt. Jetzt heißt es wieder warten
Hikawa Kaguya 9 月 27 日 下午 6:12 
最近的一次更新似乎导致ulx中地图模块的预览图损坏了
Psychotrickser  [作者] 9 月 18 日 下午 11:10 
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 9 月 18 日 下午 3:02 
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 9 月 14 日 上午 6:54 
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  [作者] 9 月 14 日 上午 6:12 
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 9 月 14 日 上午 3:43 
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 9 月 14 日 上午 3:10 
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  [作者] 9 月 5 日 下午 3:11 
Ich habe das Addon geupdatet. Versuchs nochmal. Falls es immer noch nicht klappt, leer mal den Download Cache des Servers
Kekodos:^) 9 月 3 日 下午 5:38 
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 8 月 30 日 下午 5:17 
Updated yesterday lol
Psychotrickser  [作者] 8 月 29 日 下午 12:25 
+added
Psychotrickser  [作者] 8 月 18 日 上午 12:13 
Ohh I see, so a gamemode cooldown. I can add that
FunnyBrother 8 月 17 日 下午 10:14 
This is intended to prevent players from playing only one mode throughout the day instead of multiple modes.
FunnyBrother 8 月 17 日 下午 10:13 
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  [作者] 8 月 13 日 上午 5:00 
What's wrong with having a round limit?
FunnyBrother 8 月 12 日 下午 11:21 
gamemode play time limit pls
Psychotrickser  [作者] 8 月 8 日 上午 10:38 
This mapvote should now overwrite the fretta mapvote systems of other gamemodes. I hope it works
Psychotrickser  [作者] 8 月 7 日 下午 9:48 
I'm working on it.
A version that works for sure is the prophunt enhanced plus ulx version in my workshop objects
cranium smasher 8 月 7 日 下午 2:23 
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  [作者] 7 月 31 日 下午 11:40 
+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 7 月 31 日 下午 10:41 
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 7 月 31 日 下午 7:33 
Recent updates broke thumbnails.
Psychotrickser  [作者] 7 月 26 日 下午 2:38 
+fixed
Mofker 7 月 26 日 上午 11:47 
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  [作者] 7 月 26 日 上午 1:13 
lol
not_cyan 7 月 25 日 下午 3:50 
this is the most confusing mapvote addon in the world, it doesnt work at all.
Psychotrickser  [作者] 7 月 15 日 上午 5:52 
I'll think about it.
The next update will add a player limit for maps
FunnyBrother 7 月 14 日 上午 6:19 
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 月 7 日 下午 9:41 
So I believe this addon is causing issues with Prophunt enhanced plus somehow, it's preventing the game from starting completely.
Kanjuro 7 月 5 日 上午 2:42 
Can confirm, works again. :steamthumbsup:
Psychotrickser  [作者] 7 月 3 日 下午 11:51 
The last updates only changed http requests which have nothing to do with ttt rounds
Hikawa Kaguya 7 月 3 日 下午 10:55 
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  [作者] 7 月 3 日 下午 10:03 
Please provide details or error messages
Hikawa Kaguya 7 月 3 日 下午 9:00 
This update has caused my server's ttt mode to malfunction. Can you revert back to the previous version for me to troubleshoot?