Garry's Mod

Garry's Mod

Mapvote
47 kommentarer
party 23. feb. 2022 kl. 10:23 
@TheTrueLor
party 23. feb. 2022 kl. 10:23 
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. mar. 2015 kl. 2:20 
<game>\garrysmod\data\ttt_mapcycle thanks, found
Lourie Parker 28. mar. 2015 kl. 2:17 
where should i put maplist.txt and how should I format it?
Twitch BringBackLucky 24. mar. 2015 kl. 9:35 
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. nov. 2014 kl. 19:28 
where is the BLAHBLAH_mapcycle.txt found?
checkmate 28. nov. 2014 kl. 14:54 
oh ok, thank you!
TheTrueLor  [ophavsmand] 28. nov. 2014 kl. 11:49 
The sandbox script included features time notification, and could easily be adapted to spacebuild.
checkmate 28. nov. 2014 kl. 11:11 
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  [ophavsmand] 13. nov. 2014 kl. 12:49 
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. nov. 2014 kl. 17:01 
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  [ophavsmand] 1. sep. 2014 kl. 17:09 
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. sep. 2014 kl. 16:25 
By with it I mean what downloads when I press subscribe.
76561198071737837 1. sep. 2014 kl. 16:01 
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  [ophavsmand] 1. sep. 2014 kl. 15:16 
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. sep. 2014 kl. 14:53 
Also do I put the TTT Specific things in the Server config?
76561198071737837 1. sep. 2014 kl. 14:52 
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  [ophavsmand] 27. juni 2014 kl. 16:00 
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. juni 2014 kl. 12:38 
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  [ophavsmand] 19. juni 2014 kl. 17:17 
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. juni 2014 kl. 1:53 
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  [ophavsmand] 18. juni 2014 kl. 16:01 
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. juni 2014 kl. 5:15 
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  [ophavsmand] 28. apr. 2014 kl. 12:14 
Installing on the client running the server should work.
76561198116499621 28. apr. 2014 kl. 5:42 
any way to use this for a non dedicated server? (using tunngle)
Porter 14. apr. 2014 kl. 9:57 
Very nice Function! thx.
Raghna 23. mar. 2014 kl. 6:38 
Ooooh i thought that was less simple.Many thanks. Maybe you should put this tip in description
TheTrueLor  [ophavsmand] 23. mar. 2014 kl. 6:08 
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. mar. 2014 kl. 5:39 
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. jan. 2014 kl. 14:53 
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  [ophavsmand] 9. jan. 2014 kl. 21:41 
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. jan. 2014 kl. 7:06 
Works fantastically; any chance you could add blacklist functionality to prevent certain maps from appearing on the vote list?
LunarRay 8. aug. 2013 kl. 19:34 
Wiped the Data folder, and it is fixed. Thanks for the offer though.
TheTrueLor  [ophavsmand] 6. aug. 2013 kl. 17:35 
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. aug. 2013 kl. 16:42 
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  [ophavsmand] 27. juli 2013 kl. 15:02 
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. juli 2013 kl. 14:40 
how do u add maps
TheTrueLor  [ophavsmand] 24. juli 2013 kl. 11:44 
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. juli 2013 kl. 10:41 
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  [ophavsmand] 15. juli 2013 kl. 19:38 
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.
Stefut 14. juli 2013 kl. 10:36 
how run this addon , i subscribed and i make a PropHunt server and don't work rtv
LunarRay 30. juni 2013 kl. 9:54 
Thank you. Now if people get bored of gm_bigcity, I do not need to babysit the server.
TheTrueLor  [ophavsmand] 29. juni 2013 kl. 21:13 
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. juni 2013 kl. 18:24 
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  [ophavsmand] 29. juni 2013 kl. 17:22 
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. juni 2013 kl. 17:06 
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. juni 2013 kl. 20:07 
Thank you for the updates!