Raised This Month: $51 Target: $400
 12% 

MapChooser Extended 1.10.2 (Updated 2014-02-05)


Post New Thread Reply   
 
Thread Tools Display Modes
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-08-2011 , 14:11   Re: MapChooser Extended 1.6.3 (Updated 2011-06-22)
Reply With Quote #91

Quote:
Originally Posted by BartholomewPSkibbenheims View Post
I use the old Zuko version of this plugin on my server. This afternoon I am going to upgrade. Seems you have made a lot of good changes.
One more thing to note: Sounds were moved into a separate plugin. Some people don't realize that when upgrading.

Quote:
Originally Posted by BartholomewPSkibbenheims View Post
One thing I would like to be able to do and maybe someone can help me. (Be warned I am a noob when it comes to modifying plugins.) I run this plugin with slots blocked so 4 is the first button that can be used to cast a vote. I wish I could figure out how to make 4 be the slot for extend. Any clue?
I haven't tested it, but the attached SMX file (Get Plugin won't work, so I attached the SMX too) should move Extend and Don't Change (for rtv) to the top.

Quote:
Originally Posted by BartholomewPSkibbenheims View Post
I would also like to be able to remove the (custom) tag from the map vote menu. I should be able to modify the css.txt file to add the maps I don't want marked as custom correct? Ideally I would like maps like de_losttemple to not be labled as custom and de_losttemple_pro to be labled as custom.

Thanks guys.
As for the Custom tag, an easier way to fix it would be to use the attached mapchooser.phrases.txt (assuming you meant the English translation). All it does is change line 60 from this:

Code:
        "en"        "{1} (Custom)"
to this:
Code:
        "en"        "{1}"
Actually, both of these changes might be useful to have as cvars in version 1.7.

Lets see... we could name them... sm_mapvote_extendattop and sm_mapvote_showcustommaptag
Attached Files
File Type: smx mapchooser_extended.smx (18.2 KB, 116 views)
File Type: sp Get Plugin or Get Source (mapchooser_extended.sp - 114 views - 39.7 KB)
File Type: txt mapchooser_extended.phrases.txt (1.7 KB, 240 views)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 07-08-2011 at 14:18.
Powerlord is offline
BartholomewPSkibbenheims
Member
Join Date: Aug 2010
Old 07-08-2011 , 14:20   Re: MapChooser Extended 1.6.3 (Updated 2011-06-22)
Reply With Quote #92

Quote:
Originally Posted by Powerlord View Post
One more thing to note: Sounds were moved into a separate plugin. Some people don't realize that when upgrading.



I haven't tested it, but the attached SMX file (Get Plugin won't work, so I attached the SMX too) should move Extend and Don't Change (for rtv) to the top.


As for the Custom tag, an easier way to fix it would be to use the attached mapchooser.phrases.txt (assuming you meant the English translation). All it does is change line 60 from this:

Code:
        "en"        "{1} (Custom)"
to this:
Code:
        "en"        "{1}"
Actually, both of these changes might be useful to have as cvars in version 1.7.

Lets see... we could name them... sm_mapvote_extendattop and sm_mapvote_showcustommaptag
KICK ASS MAN!!!!!! Thanks a ton!

Those options would make nice cvars. There are bound to be other people wanting those same options.

I am at work right now (and shouldn't be doing what I am doing haha), but when I go home in a few hours I will install all of this. I can't wait to get it up and going. Once I do I will post back at least to confirm that it all worked out good and to tell ya thanks again.
BartholomewPSkibbenheims is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-08-2011 , 14:27   Re: MapChooser Extended 1.6.3 (Updated 2011-06-22)
Reply With Quote #93

Quote:
Originally Posted by BartholomewPSkibbenheims View Post
I am at work right now (and shouldn't be doing what I am doing haha), but when I go home in a few hours I will install all of this. I can't wait to get it up and going. Once I do I will post back at least to confirm that it all worked out good and to tell ya thanks again.
You access this site from work?!?!?!?!?!

*checks clock* 2 more hours until I can go home and start working on more Steam sale achievements... er... I am definitely not checking this from work or anything! ;)
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
BartholomewPSkibbenheims
Member
Join Date: Aug 2010
Old 07-08-2011 , 15:27   Re: MapChooser Extended 1.6.3 (Updated 2011-06-22)
Reply With Quote #94

Yeah only worthless employees check forums at work and stuff. Hehehe.

BTW, I might now be able to install the new plugin until late tonight. I got about 15 people in my server atm (generally once I get a few people its populated until midnight at least) and I am anal about installing new plugins and whatnot when the server has people in it. Only time I like to restart it when people are in it is when CSS is patched. But I will be installing the plugin asap and am super grateful you did that for me.
BartholomewPSkibbenheims is offline
BartholomewPSkibbenheims
Member
Join Date: Aug 2010
Old 07-08-2011 , 20:47   Re: MapChooser Extended 1.6.3 (Updated 2011-06-22)
Reply With Quote #95

Woot!

I went ahead and loaded it with people in the server and everything is working great!

Thanks again man.
BartholomewPSkibbenheims is offline
bluechester
AlliedModders Donor
Join Date: Nov 2008
Old 07-10-2011 , 04:09   Re: MapChooser Extended 1.6.3 (Updated 2011-06-22)
Reply With Quote #96

Code:
L 07/10/2011 - 04:08:21: SourceMod error session started
L 07/10/2011 - 04:08:21: Info (map "ctf_2fort") (file "errors_20110710.log")
L 07/10/2011 - 04:08:21: [SM] Native "CreateNative" reported: Fatal error creating dynamic native!
L 07/10/2011 - 04:08:21: [SM] Displaying call stack trace for plugin "mapchooser_extended.smx":
L 07/10/2011 - 04:08:21: [SM]   [0]  Line 240, D:\Projects\SourceMod\svn\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::AskPluginLoad2()
bluechester is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-10-2011 , 10:45   Re: MapChooser Extended 1.6.3 (Updated 2011-06-22)
Reply With Quote #97

Quote:
Originally Posted by bluechester View Post
Code:
L 07/10/2011 - 04:08:21: SourceMod error session started
L 07/10/2011 - 04:08:21: Info (map "ctf_2fort") (file "errors_20110710.log")
L 07/10/2011 - 04:08:21: [SM] Native "CreateNative" reported: Fatal error creating dynamic native!
L 07/10/2011 - 04:08:21: [SM] Displaying call stack trace for plugin "mapchooser_extended.smx":
L 07/10/2011 - 04:08:21: [SM]   [0]  Line 240, D:\Projects\SourceMod\svn\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::AskPluginLoad2()
Do you have the SourceMod Mapchooser also loaded? If so, move it to disabled; this plugin is a superset of it.

The only reason I can think of that CreateNative could fail is if there are natives with the same name(s) loaded from other plugins.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Into
Junior Member
Join Date: Jun 2011
Old 07-14-2011 , 07:39   Re: MapChooser Extended 1.6.3 (Updated 2011-06-22)
Reply With Quote #98

Hi Powerlord! I do not get your plug-in voting include bonus time for TF2 though the value of sm_mapvote_startround "0" voting will join only when running out of time on the map at a value sm_mapvote_start "5.0" can be made so that the voting was included in the bonus time after a half-time which is already passed on the card? Below is my config.

Code:
// This file was auto-generated by SourceMod (v1.4.0-dev)
// ConVars for plugin "mapchooser_extended.smx"


// Specifies how many more frags are allowed when map is extended.
// -
// Default: "10"
// Minimum: "5.000000"
sm_extendmap_fragstep "10"

// Specifies how many more rounds each extension makes
// -
// Default: "5"
// Minimum: "1.000000"
sm_extendmap_roundstep "5"

// Specifies how much many more minutes each extension makes
// -
// Default: "15"
// Minimum: "5.000000"
sm_extendmap_timestep "15"

// Block slots to prevent accidental votes.  Only applies when Voice Command style menus are in use.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_blockslots "1"

// Specifies if a 'Don't Change' option should be added to early votes
// -
// Default: "1"
// Minimum: "0.000000"
sm_mapvote_dontchange "1"

// Specifies if MapChooser should run an end of map vote
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_endvote "1"

// Specifies how many past maps to exclude from the vote.
// -
// Default: "5"
// Minimum: "0.000000"
sm_mapvote_exclude "10"

// Number of extensions allowed each map.
// -
// Default: "0"
// Minimum: "0.000000"
sm_mapvote_extend "2"

// Specifies how many maps to include in the vote.
// -
// Default: "5"
// Minimum: "2.000000"
// Maximum: "6.000000"
sm_mapvote_include "6"

// Number of run off votes allowed each map.
// -
// Default: "1"
// Minimum: "0.000000"
sm_mapvote_maxrunoffs "1"

// Menu Style.  0 is the game's default, 1 is the older Valve style that requires you to press Escape to see the menu, 2 is the newer 1-9 button Voice Command style.  Style 2 is unavailable in some games.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "2.000000"
sm_mapvote_menustyle "0"

// Specifies whether or not MapChooser should pick a map if no votes are received.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_novote "1"

// Hold run off votes if winning choice has less than a certain percentage of votes
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_runoff "1"

// If winning choice has less than this percent of votes, hold a runoff
// -
// Default: "50"
// Minimum: "0.000000"
// Maximum: "100.000000"
sm_mapvote_runoffpercent "50"

// Warning time for runoff vote in seconds.
// -
// Default: "5.0"
// Minimum: "0.000000"
// Maximum: "30.000000"
sm_mapvote_runoffvotewarningtime "5.0"

// Specifies when to start the vote based on time remaining.
// -
// Default: "10.0"
// Minimum: "1.000000"
sm_mapvote_start "5.0"

// Specifies when to start the vote based on percents.
// -
// Default: "35.0"
// Minimum: "0.000000"
// Maximum: "100.000000"
sm_mapvote_start_percent "35.0"

// Enable or Disable percentage calculations when to start vote.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_start_percent_enable "0"

// Specifies when to start the vote base on frags remaining.
// -
// Default: "5.0"
// Minimum: "1.000000"
sm_mapvote_startfrags "5.0"

// Specifies when to start the vote based on rounds remaining. Use 0 on TF2 to start vote during bonus round time
// -
// Default: "2.0"
// Minimum: "0.000000"
sm_mapvote_startround "0"

// MapChooser Extended Version
// -
// Default: "1.6.3"
sm_mapvote_version "1.6.3"

// Specifies how long the mapvote should be available for.
// -
// Default: "20"
// Minimum: "5.000000"
sm_mapvote_voteduration "20"

// Warning time in seconds.
// -
// Default: "15.0"
// Minimum: "0.000000"
// Maximum: "60.000000"
sm_mapvote_warningtime "15.0"

// Location for the warning timer text. 0 is HintBox, 1 is Center text, 2 is Chat.  Defaults to HintBox.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "2.000000"
sm_mapvote_warningtimerlocation "1"
Into is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-14-2011 , 08:48   Re: MapChooser Extended 1.6.3 (Updated 2011-06-22)
Reply With Quote #99

Quote:
Originally Posted by Into View Post
Hi Powerlord! I do not get your plug-in voting include bonus time for TF2 though the value of sm_mapvote_startround "0" voting will join only when running out of time on the map at a value sm_mapvote_start "5.0" can be made so that the voting was included in the bonus time after a half-time which is already passed on the card? Below is my config.

Code:
// This file was auto-generated by SourceMod (v1.4.0-dev)
// ConVars for plugin "mapchooser_extended.smx"


// Specifies how many more frags are allowed when map is extended.
// -
// Default: "10"
// Minimum: "5.000000"
sm_extendmap_fragstep "10"

// Specifies how many more rounds each extension makes
// -
// Default: "5"
// Minimum: "1.000000"
sm_extendmap_roundstep "5"

// Specifies how much many more minutes each extension makes
// -
// Default: "15"
// Minimum: "5.000000"
sm_extendmap_timestep "15"

// Block slots to prevent accidental votes.  Only applies when Voice Command style menus are in use.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_blockslots "1"

// Specifies if a 'Don't Change' option should be added to early votes
// -
// Default: "1"
// Minimum: "0.000000"
sm_mapvote_dontchange "1"

// Specifies if MapChooser should run an end of map vote
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_endvote "1"

// Specifies how many past maps to exclude from the vote.
// -
// Default: "5"
// Minimum: "0.000000"
sm_mapvote_exclude "10"

// Number of extensions allowed each map.
// -
// Default: "0"
// Minimum: "0.000000"
sm_mapvote_extend "2"

// Specifies how many maps to include in the vote.
// -
// Default: "5"
// Minimum: "2.000000"
// Maximum: "6.000000"
sm_mapvote_include "6"

// Number of run off votes allowed each map.
// -
// Default: "1"
// Minimum: "0.000000"
sm_mapvote_maxrunoffs "1"

// Menu Style.  0 is the game's default, 1 is the older Valve style that requires you to press Escape to see the menu, 2 is the newer 1-9 button Voice Command style.  Style 2 is unavailable in some games.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "2.000000"
sm_mapvote_menustyle "0"

// Specifies whether or not MapChooser should pick a map if no votes are received.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_novote "1"

// Hold run off votes if winning choice has less than a certain percentage of votes
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_runoff "1"

// If winning choice has less than this percent of votes, hold a runoff
// -
// Default: "50"
// Minimum: "0.000000"
// Maximum: "100.000000"
sm_mapvote_runoffpercent "50"

// Warning time for runoff vote in seconds.
// -
// Default: "5.0"
// Minimum: "0.000000"
// Maximum: "30.000000"
sm_mapvote_runoffvotewarningtime "5.0"

// Specifies when to start the vote based on time remaining.
// -
// Default: "10.0"
// Minimum: "1.000000"
sm_mapvote_start "5.0"

// Specifies when to start the vote based on percents.
// -
// Default: "35.0"
// Minimum: "0.000000"
// Maximum: "100.000000"
sm_mapvote_start_percent "35.0"

// Enable or Disable percentage calculations when to start vote.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_start_percent_enable "0"

// Specifies when to start the vote base on frags remaining.
// -
// Default: "5.0"
// Minimum: "1.000000"
sm_mapvote_startfrags "5.0"

// Specifies when to start the vote based on rounds remaining. Use 0 on TF2 to start vote during bonus round time
// -
// Default: "2.0"
// Minimum: "0.000000"
sm_mapvote_startround "0"

// MapChooser Extended Version
// -
// Default: "1.6.3"
sm_mapvote_version "1.6.3"

// Specifies how long the mapvote should be available for.
// -
// Default: "20"
// Minimum: "5.000000"
sm_mapvote_voteduration "20"

// Warning time in seconds.
// -
// Default: "15.0"
// Minimum: "0.000000"
// Maximum: "60.000000"
sm_mapvote_warningtime "15.0"

// Location for the warning timer text. 0 is HintBox, 1 is Center text, 2 is Chat.  Defaults to HintBox.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "2.000000"
sm_mapvote_warningtimerlocation "1"
Bonus time votes were a feature of the original SourceMod Mapchooser. Unfortunately, they may not work correctly in Mapchooser Extended because of its extra features.

I will have to look into this further, specifically into how bonus time interacts with the warning timer.

I do know that bonus time votes will not work correctly unless you set
Code:
sm_mapvote_runoff "0"
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 07-14-2011 at 08:54.
Powerlord is offline
Into
Junior Member
Join Date: Jun 2011
Old 07-14-2011 , 09:30   Re: MapChooser Extended 1.6.3 (Updated 2011-06-22)
Reply With Quote #100

Quote:
Originally Posted by Powerlord View Post
Bonus time votes were a feature of the original SourceMod Mapchooser. Unfortunately, they may not work correctly in Mapchooser Extended because of its extra features.

I will have to look into this further, specifically into how bonus time interacts with the warning timer.

I do know that bonus time votes will not work correctly unless you set
Code:
sm_mapvote_runoff "0"
Well, as you can then vote that would begin after the first winning / losing a round? Now I can begin to get votes by the variable sm_mapvote_startround "3" but I have different cards for different number of rounds of voting, and sometimes does not appear.
Into is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:06.


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