Garry's Mod
Mapvote
47 bình luận
party 23 Thg02, 2022 @ 10:23am 
@TheTrueLor
party 23 Thg02, 2022 @ 10:23am 
whenever someone joins the server after its like 3/4 votes then it says vote has already passed and doesnt even show the vote in screen. Can you please help?
Lourie Parker 28 Thg03, 2015 @ 2:20am 
<game>\garrysmod\data\ttt_mapcycle thanks, found
Lourie Parker 28 Thg03, 2015 @ 2:17am 
where should i put maplist.txt and how should I format it?
The Wambulance 24 Thg03, 2015 @ 9:35am 
i had a problem with this addon it like didn't change the map, i had the server up a couple of hours:zombiehead:
checkmate 28 Thg11, 2014 @ 7:28pm 
where is the BLAHBLAH_mapcycle.txt found?
checkmate 28 Thg11, 2014 @ 2:54pm 
oh ok, thank you!
TheTrueLor  [tác giả] 28 Thg11, 2014 @ 11:49am 
The sandbox script included features time notification, and could easily be adapted to spacebuild.
checkmate 28 Thg11, 2014 @ 11:11am 
is there a place the time is displayed until the next map vote? and does this give some kind of warning say, 2 minutes before the map vote? Im hoping i can use this on a spacebuild server and i cant have it just suddenly switching maps because people need to save their work.
TheTrueLor  [tác giả] 13 Thg11, 2014 @ 12:49pm 
If the file is not being generated automatically, something is set up wrong. I suppose you could try manually creating the file as you described below, but drop the .bsp's. Ensure that the gamemode name is 'terrortown' and that Mapvote is being loaded (Check the server console on start up/map change)
TheHyp3rDr1ve 11 Thg11, 2014 @ 5:01pm 
Alright, so I don't have a ttt_mapcycle.txt in my data folder. Do I just create one? And how would it be formatted? Would it be a list of maps like
map1.bsp
map2.bsp
or do I leave off the .bsp?
TheTrueLor  [tác giả] 1 Thg09, 2014 @ 5:09pm 
Workshop should handle the installation automatically, I'm not sure what file you're referring to. If you want to install it without bothering with workshop, there are URL's for the standalone addon in the description, just extract it to 'addons' directory.
76561198071737837 1 Thg09, 2014 @ 4:25pm 
By with it I mean what downloads when I press subscribe.
76561198071737837 1 Thg09, 2014 @ 4:01pm 
One last question. I just got too it and I'm having a brainsnag. The file that comes with it goes just in the addons folder correct?
TheTrueLor  [tác giả] 1 Thg09, 2014 @ 3:16pm 
Try setting the cvar mapvote_forcechange to 1; this overrides the standard map change handling which usually fixes issues like the one you're server is having. Any of the settings controlled by cvars noted in the description should work if set in the server config.
76561198071737837 1 Thg09, 2014 @ 2:53pm 
Also do I put the TTT Specific things in the Server config?
76561198071737837 1 Thg09, 2014 @ 2:52pm 
You may have answered this already but, the mapvote comes up and everyone votes for a map but after that the map dosent change. Any idea how to fix this?
TheTrueLor  [tác giả] 27 Thg06, 2014 @ 4:00pm 
If you're running ttt, try setting mapvote_forcechange 1 -Otherwise I don't know what would cause the issue, one thing to try might be setting the cvar mapcyclefile to the file specified in Mapvote.mapFile, or implementing a manual map change, which can be seen on line 48 of sv_terrortown.lua: game.ConsoleCommand( "changelevel " .. Mapvote.winningMap .. "\n" ) following the end of voting. I suspect game.LoadNextMap(), or Garry's Mod itself might disregard the nextlevel cvar, and just pull off the mapcyclefile so hopefully one of these solutions would work for you.
Lykrast 27 Thg06, 2014 @ 12:38pm 
Strangely (while playing with this on my listen server), even though ttt_dark_corners won the vote (and it even said that the nextlevel cvar was set to it), when the map changed it was dm_lockdown.
TheTrueLor  [tác giả] 19 Thg06, 2014 @ 5:17pm 
Essentially. Look in the included implementations for how the tables detailing what maps to include in the vote are set up, and then all you should really need to do is call the startVote method, if I recall correctly. It's been a while since I've touched the code.
Lykrast 19 Thg06, 2014 @ 1:53am 
Is it safe to assume I just need to find the part of code that triggers at the end of the round and put for example "Mapvote.startVote( 24 )" ?
TheTrueLor  [tác giả] 18 Thg06, 2014 @ 4:01pm 
Yeah, but you will need to know a bit of lua to implement it. See the documentation and example links in the description.
Lykrast 18 Thg06, 2014 @ 5:15am 
Is it possible to have it for another gamemode than TTT or Sandbox ? If yes how do I do it (for a private listen server) ?
TheTrueLor  [tác giả] 28 Thg04, 2014 @ 12:14pm 
Installing on the client running the server should work.
76561198116499621 28 Thg04, 2014 @ 5:42am 
any way to use this for a non dedicated server? (using tunngle)
Porter 14 Thg04, 2014 @ 9:57am 
Very nice Function! thx.
Raghna 23 Thg03, 2014 @ 6:38am 
Ooooh i thought that was less simple.Many thanks. Maybe you should put this tip in description
TheTrueLor  [tác giả] 23 Thg03, 2014 @ 6:08am 
Go to your server's garrysmod/data folder, look for a file like ttt_mapcycle.txt, and remove the lines specifying css maps, then restart the server or wait for a map change.
Raghna 23 Thg03, 2014 @ 5:39am 
Hey, at first i want to thank you for this plugin. But I've got a problem : css maps appears everytime in mapvote, and i want to remove them. How can I do that ?
fatguy1121 23 Thg01, 2014 @ 2:53pm 
Mate, I swear by your addon, and prefer to use it in all of my servers, I would like to know if you are interested in adapting this to work with the Hide and Seek gamemode for either my community, or public release. I tried adding you on Steam about this, but you didn't accept my request.
TheTrueLor  [tác giả] 9 Thg01, 2014 @ 9:41pm 
A list of the maps in rotation can be found in your server's data folder, it should look like "ttt_mapcycle.txt." Modify that to add or remove maps.
VladiMatt 9 Thg01, 2014 @ 7:06am 
Works fantastically; any chance you could add blacklist functionality to prevent certain maps from appearing on the vote list?
LunarRay 8 Thg08, 2013 @ 7:34pm 
Wiped the Data folder, and it is fixed. Thanks for the offer though.
TheTrueLor  [tác giả] 6 Thg08, 2013 @ 5:35pm 
I just looked over the code for what could be causing the issue, and ran a test, however everything appears to be functioning properly with the latest version. ensure the addon is up to date, and that you haven't installed anything that might be conflicting with the object Mapvote.players or Global Int "Mapvote_State" Feel free to add me, and I'll see if I can be of any further help. Thank you.
LunarRay 6 Thg08, 2013 @ 4:42pm 
Your voting mod has helped with my sandbox server. However we have recently encountered a problem. !rtv works fine and calls up the list, but when we vote we are greeted with "you are unable to vote." As a result, a random map is picked. I suspect a voting database file is messed up and needs to be deleted. If so, I cannot find it. Any advise?
TheTrueLor  [tác giả] 27 Thg07, 2013 @ 3:02pm 
Look for a text file in the server's garrysmod/data/ folder ending with mapcycle (for example garrysmod/data/ttt_mapcycle.txt Add the map names in new lines in that file.
gangshit 27 Thg07, 2013 @ 2:40pm 
how do u add maps
TheTrueLor  [tác giả] 24 Thg07, 2013 @ 11:44am 
The map counts are controlled by the cvars mapvote_randommaps and mapvote_oldestmaps. The vote tally is from the GUI scripting example, linked in the description ( http://puu.sh/3KKdJ.zip ) Install it like any other legacy addon.
Stevens4709 24 Thg07, 2013 @ 10:41am 
How can you change the amount of maps that are allowed to be voted on, as in the picture it shows a total of 10 choices but when i host a server it only gives me and the players 5. Also how can you get the vote counter up on the side of each choice in the photo? Thanks! :B1:
TheTrueLor  [tác giả] 15 Thg07, 2013 @ 7:38pm 
I have changed the behaviour of the base addon to change the map automatically, shortly following an RTV vote. This should be coser to what the general user expects from the addon. Gamemode implementations will still override this functionality.
Ștefuț 14 Thg07, 2013 @ 10:36am 
how run this addon , i subscribed and i make a PropHunt server and don't work rtv
LunarRay 30 Thg06, 2013 @ 9:54am 
Thank you. Now if people get bored of gm_bigcity, I do not need to babysit the server.
TheTrueLor  [tác giả] 29 Thg06, 2013 @ 9:13pm 
Updated, includes an implementation for sandbox now. A vote will be triggered after an RTV has passed, and the map will change after a delay set by the cvar mapvote_delay (default 120). It also gives a notification for clients to save their contraptions.
LunarRay 29 Thg06, 2013 @ 6:24pm 
First off, nice response time. Second, that would be a great update considering that I do not know of any easy setup Gmod 13 plugins capable of calling rtv on sandbox. I have attempted to hard code in the past, though rather unsuccessfully exept in reverse engineering.
TheTrueLor  [tác giả] 29 Thg06, 2013 @ 5:22pm 
I could get an update out tonight that would allow for the map to be automatically changed following a vote. If you would want to script it for yourself, you could simply call game.ConsoleCommand( "changelevel " .. Mapvote.winningMap .. "\n" ) after the vote has occured.
LunarRay 29 Thg06, 2013 @ 5:06pm 
I am using this for sandbox. Since a game in Sandbox does not end without the admin's input, how might I force the map to change?
21 Thg06, 2013 @ 8:07pm 
Thank you for the updates!