AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   Mapchooser - Extend not an option? (https://forums.alliedmods.net/showthread.php?t=82938)

hatchback19 01-01-2009 14:54

Mapchooser - Extend not an option?
 
Hi,
I'm running into a problem when using the plugin mapchooser.sp. It's working correctly with no problems that I can find other than "Extend" isn't coming up. When the map vote menu pops up at the end of the map, theres only new maps to switch to, not Extend X Rounds/Minutes. I can't seem to figure this out, as I've been working on this for hours. Here is my CVARs that are currently set.

"sm_mapvote_start", "3.0", "Specifies when to start the vote based on time remaining."
"sm_mapvote_startround", "0.0", "Specifies when to start the vote based on rounds remaining. Use 0 on TF2 to start vote during bonus round time"
"sm_mapvote_startfrags", "1.0", "Specifies when to start the vote base on frags remaining."
"sm_extendmap_timestep", "5", "Specifies how much many more minutes each extension makes"
"sm_extendmap_roundstep", "5", "Specifies how many more rounds each extension makes"
"sm_extendmap_fragstep", "10", "Specifies how many more frags are allowed when map is extended."
"sm_mapvote_exclude", "0", "Specifies how many past maps to exclude from the vote."
"sm_mapvote_include", "6", "Specifies how many maps to include in the vote."
"sm_mapvote_novote", "1", "Specifies whether or not MapChooser should pick a map if no votes are received."
"sm_mapvote_extend", "1", "Number of extensions allowed each map."
"sm_mapvote_dontchange", "1", "Specifies if a 'Don't Change' option should be added to early votes"
"sm_mapvote_voteduration", "20", "Specifies how long the mapvote should be available for."


I copied these from the mapchooser.sp, I change a few of them to fit my needs. The server is a TF2 Arena server if it makes a differance. I'm basically just trying to figure out why EXTEND is not an option. Any help is greatly appreciated! Thanks,
Matt

zerak 01-01-2009 16:07

Re: Mapchooser - Extend not an option?
 
Quote:

I copied these from the mapchooser.sp
have you even tried to change in the config file for mapchooser ($basedir/cfg/sourcemod/mapchooser.cfg) ? :o

also try going direct for the cvar with:
sm_cvar sm_mapvote_extend
and sm_cvar sm_mapvote_extend 2

hatchback19 01-01-2009 16:16

Re: Mapchooser - Extend not an option?
 
Quote:

Originally Posted by zerak (Post 736630)
have you even tried to change in the config file for mapchooser ($basedir/cfg/sourcemod/mapchooser.cfg) ? :o

also try going direct for the cvar with:
sm_cvar sm_mapvote_extend
and sm_cvar sm_mapvote_extend 2

Thanks for the reply zerak,
I am using Sourcemod v1.1.0 right now, and doesn't appear to be there in the directory structure. Perhaps that was in the older version before it was disabled? I never knew this file existed, this could be part of my problem. I will try changing the sm_mapvote_extend to 2 also. Thanks again!

zerak 01-01-2009 16:17

Re: Mapchooser - Extend not an option?
 
it should be there if you run mapchooser, otherwise it will automatically create such file

hatchback19 01-01-2009 16:33

Re: Mapchooser - Extend not an option?
 
Hi zerak,
I'm not able to find that file at all, which seems to be the issue I would assume. Here is a screen shot just to make sure I'm looking in the correct location. I'll search the internet and see if I can download it. Thanks,
Matt

http://i39.tinypic.com/25a6s0k.jpg

zerak 01-01-2009 16:38

Re: Mapchooser - Extend not an option?
 
is the plugin even enabled? did you move it from the disabled folder? (tf/adddons/sourcemod/plugins/disabled/mapchooser.smx to tf/addons/sourcemod/plugins/mapchooser.smx)

write "sm plugins list" to check if it is loaded

hatchback19 01-01-2009 16:45

Re: Mapchooser - Extend not an option?
 
I moved the file over, and configured it in the mapchooser.sp but just doesn't have extend option. It's working in the game no problems, menu pops up two rounds before the end, counts the votes, works fine so I assume it is working correctly in that aspect. Heres my list:

16:42:07 [SM] Listing 22 plugins:
01 "Fun Commands" (1.1.0) by AlliedModders LLC
02 "Admin loggin" (1.0) by vIr-Dan
03 "AdminSentinel" (1.0.108) by <eVa>StrontiumDog
04 "Basic Commands" (1.1.0) by AlliedModders LLC
05 "Basic Info Triggers" (1.1.0) by AlliedModders LLC
06 "Fun Votes" (1.1.0) by AlliedModders LLC
07 "Basic Comm Control" (1.1.0) by AlliedModders LLC
08 "Reserved Slots" (1.1.0) by AlliedModders LLC
09 "AddTime" (1.0.3) by bl4nk
10 "Client Preferences" (1.1.0) by AlliedModders LLC
11 "MapChooser" (1.1.0) by AlliedModders LLC
12 "Admin Menu" (1.1.0) by AlliedModders LLC
13 "Anti-Flood" (1.1.0) by AlliedModders LLC
14 "SlapSlay Commands" (1.1.0) by AlliedModders LLC
15 "TeamSwitch" (1.3) by MistaGee
16 "Admin Help" (1.1.0) by AlliedModders LLC
17 "Basic Chat" (1.1.0) by AlliedModders LLC
18 "Dead Alltalk" (1.0.102) by <eVa>StrontiumDog
19 "Nextmap" (1.1.0) by AlliedModders LLC
20 "Basic Votes" (1.1.0) by AlliedModders LLC
21 "Basic Ban Commands" (1.1.0) by AlliedModders LLC
22 "Admin File Reader" (1.1.0) by AlliedModders LLC

I must be missing something basic here, as it's showing up in the mods also. This has me stumped, but I also had no idea about the mapchooser.cfg. I certainly appreciate the help zerak, have been fighting with this for a while. Thanks!
Matt

hatchback19 01-01-2009 17:03

Re: Mapchooser - Extend not an option?
 
I just did the cvar changes from rcon and it fixed it, also noticed that none of the cvars that I changed were actually changing. This goes back to the lack of mapchooser.cfg I'm sure as it's simply going to default settings. I was going to simple make the mapchooser.cfg file and put the commands in there but I don't see any referance in mapchooser.sp to that config file, is it elsewhere? I wanted to make sure I put it in the correct place. My other option would be to put them in the config_arena.cfg, assuming that would work. Let me know what you think zarek. Thanks,
Matt

zerak 01-01-2009 17:08

Re: Mapchooser - Extend not an option?
 
autoexecconfig("mapchooser", true) or something like that :)

Lebson506th 01-01-2009 17:48

Re: Mapchooser - Extend not an option?
 
After you changed the ones you wanted in mapchooser.sp, did you recompile it?

What you should do instead of changing the .sp is to add those to the bottom of your sourcemod.cfg


Like so:

sm_mapvote_extend 1


All times are GMT -4. The time now is 21:40.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.