Garry's Mod

Garry's Mod

MapVote - Prop Hunt edition!
Počet komentářů: 22
AmbitiousRam 21. srp. v 9.13 
Does this work for prophunters or just prophunt
concrete shoes 13. dub. 2024 v 20.29 
I get this error:

[MapVote - Prop Hunt edition!] lua/mapvote/cl_mapvote.lua:47: attempt to call method 'SetMaps' (a nil value)
1. func - lua/mapvote/cl_mapvote.lua:47
2. unknown - lua/includes/extensions/net.lua:38
SirBrumble  [autor] 12. kvě. 2023 v 12.36 
I hope everyone is enjoying this plugin.

I intend to update soon for all current versions.
麻辣香锅 1. lis. 2020 v 3.55 
ok thanks:)
SirBrumble  [autor] 1. lis. 2020 v 3.28 
You'll have to change the config file and re-edit all the code in the lua files to work with the game mode :) but yes, it's possible.
麻辣香锅 31. říj. 2020 v 21.15 
Can MapVote be used in Homicide:)
SirBrumble  [autor] 9. zář. 2020 v 7.01 
Add me on steam, it'll be easier if you just send me the files so i can go through them for you :)
Bill 8. zář. 2020 v 11.56 
When i type !mapvote into the console it says that i've initiated a map vote and the screen comes up like it's gonna let me, but it says the countdown is zero and no maps show up. The weirdest thing is that after maybe thirty seconds it does switch to another prop hunt map. it just doesn't give me the option to choose which map. Also my config.txt looks like how you recommended to set it up in the description, although i can double check to make sure i didn't mess anything up.
SirBrumble  [autor] 7. zář. 2020 v 23.23 
Okay.

It's not actually the SetMaps thats causing the issue as that's literally just a function that's asking the addon to display a list of the maps.

"
MapVote.Panel = vgui.Create("VoteScreen")
MapVote.Panel:SetMaps(MapVote.CurrentMaps)
end)
"

Does the mapvote screen come up when you end round or activate it?
Did you change any of the lua files?
What does your config.txt look like?

Bill 7. zář. 2020 v 18.55 
Sure thing:

[MapVote - Prop Hunt edition!] lua/mapvote/cl_mapvote.lua:47: attempt to call method 'SetMaps' (a nil value)
1. func - lua/mapvote/cl_mapvote.lua:47
2. unknown - lua/includes/extensions/net.lua:32

SirBrumble  [autor] 7. zář. 2020 v 6.27 
Could you paste the entire error here please?
Bill 6. zář. 2020 v 10.07 
So i went into config and switched all that stuff, and it still doesn't work. Upon consulting the error that it creates in my console, it says that the program is trying to use something called "SetMaps", which is determined to be a nil value. Any thoughts?
SirBrumble  [autor] 6. zář. 2020 v 8.03 
So open the config.txt file and paste this
"{"RTVPlayerCount":1,"MapLimit":100,"TimeLimit":30,"AllowCurrentMap":true,"MapPrefixes":["ph_"],"MapsBeforeRevote":0,"EnableCooldown":false}"
SirBrumble  [autor] 6. zář. 2020 v 8.03 
Also bill - Don't forget if its just single player you're using, you'll need to create a listen server to be able to install any edits you've done to the addon - If its just single player, it'll just load the file from your /addons/ folder.
SirBrumble  [autor] 6. zář. 2020 v 8.01 
Hi Bill,

You need to edit the config.txt with the correct map format i.e. {"ph_"} if you're using prop hunt.
It should activate with just 1 person in the server.

The lua files have been setup to work for prop hunt and should work providing the config is edited to what you want, at the moment it's specifically setup for prop hunt maps only
Bill 5. zář. 2020 v 8.57 
Does this addon require multiple people in-game to work? I've been playing prop hunt with friends recently and so I've been trying to set this up on my own time in single player so that when we all play together it works. However, i'm able to actually initiate a mapvote, but no maps show up on the list when i do this. Any suggestions?
Amphy 16. čvn. 2020 v 20.42 
Hi, I'm currently trying to host a server on a Dedicated Linux environment that has multiple gamemodes (PropHunt, TTT, Murder, etc). Been trying for hours to figure out how to automatically change gamemodes when the map changes, based on the map's prefix. Can your addon do this? I wanted to ask before I spent hours trying to configure this too. Sent a friend request if you're alright helping me out in PMs!
SirBrumble  [autor] 16. čvn. 2020 v 7.19 
Run gmad to decompile the addon and put the entire folder into your gmod/addons/ folder on the FTP.

Make sure to edit the config.txt with teh config i provided
TheDoctor 15. čvn. 2020 v 21.17 
Where are the exact file locations for this add-on? I am trying to add it to a server and but no idea what files to actually move over.
SirBrumble  [autor] 10. kvě. 2020 v 8.05 
Hi, What you'll have to do is get the original config and copy and paste my custom config into it for it to run on both, also make sure you have gametype set to PH and TTT
TacticalNerd 9. kvě. 2020 v 4.38 
Is there any way to run this and the original map vote on the same server in the case I switch from TTT to PH? Like specifying a specific ph_config.txt and using the 'ph_' prefix in there, while specifying 'ttt_' prefix in the original config?
SirBrumble  [autor] 3. dub. 2020 v 12.52 
Don't forget to click the thumbs up!

There's more prop hunt content coming soon.