Raised This Month: $32 Target: $400
 8% 

MapChooser Extended 1.10.2 (Updated 2014-02-05)


Post New Thread Reply   
 
Thread Tools Display Modes
wtfaatp
Senior Member
Join Date: Jul 2010
Old 04-19-2012 , 20:26   Re: MapChooser Extended 1.8.2 (Updated 2012-01-31)
Reply With Quote #321

Code:
L 04/19/2012 - 17:36:31: SourceMod error session started
L 04/19/2012 - 17:36:31: Info (map "gg_wolfenstein_3D") (file "errors_20120419.log")
L 04/19/2012 - 17:36:31: [SM] Native "GetArrayString" reported: Invalid index 0 (count: 0)
L 04/19/2012 - 17:36:31: [SM] Displaying call stack trace for plugin "mapchooser_extended.smx":
L 04/19/2012 - 17:36:31: [SM]   [0]  Line 905, D:\tf2server\plugins\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::InitiateVote()
L 04/19/2012 - 17:36:31: [SM]   [1]  Line 560, D:\tf2server\plugins\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::Timer_StartMapVote()
L 04/19/2012 - 18:58:37: Error log file session closed.
L 04/19/2012 - 19:23:47: SourceMod error session started
L 04/19/2012 - 19:23:47: Info (map "gg_wolfenstein_3D") (file "errors_20120419.log")
L 04/19/2012 - 19:23:47: [SM] Native "GetArrayString" reported: Invalid index 0 (count: 0)
L 04/19/2012 - 19:23:47: [SM] Displaying call stack trace for plugin "mapchooser_extended.smx":
L 04/19/2012 - 19:23:47: [SM]   [0]  Line 905, D:\tf2server\plugins\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::InitiateVote()
L 04/19/2012 - 19:23:47: [SM]   [1]  Line 560, D:\tf2server\plugins\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::Timer_StartMapVote()
Also only one map is showing up when useing Voice menu :\
__________________
SourceMod : 1.10.0 (Official) | MetaMod : 1.10.7 (Official)
Server : NFOservers - Windows
wtfaatp is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 04-20-2012 , 10:29   Re: MapChooser Extended 1.8.2 (Updated 2012-01-31)
Reply With Quote #322

Quote:
Originally Posted by FudgePoly View Post
Is there a way to give maps a custom pre-prefix or custom name? For example, if I want ctf_2fort to appear as [Gun Game] ctf_2fort to give my players a better idea of what mod it runs. Could that module be coded in with a config file?
This would require a rewrite of the current menu display code, as it's already rewriting the map name based on whether it's listed as an official map or not. While it'd be a nice feature to have, it's probably not on my priority list.

Quote:
Originally Posted by GDragon View Post
hi.
When voting at the side shows the number of votes and who voted for what.
these lines appear in one :( and I can not figure out how to disable this conclusion
SourceMod's vote display doesn't interact with HL2:DM that well (I'm assuming that's the game you're using). I'm not sure if there are any plans to fix this.

Quote:
Originally Posted by TITAN_GUCCI View Post
how do I delete items 1,2,3 ??
"Line One"
"en" "Consider which map you want to play..."
"Line Two"
"en" "...and don't hit buttons thoughtlessly ;-)"

as standard mapchooser
and how to extend the time of the vote
I use MapChooser Extended 1.8.2 + Mapchooser Extended Sounds (Updated 2011-11-03)
sorry for my english =)
mce_blockslots "0" will make options 1-3 go away.

If you just want to get rid of the text, you can set the translations to empty strings.

Quote:
Originally Posted by wtfaatp View Post
Code:
L 04/19/2012 - 17:36:31: SourceMod error session started
L 04/19/2012 - 17:36:31: Info (map "gg_wolfenstein_3D") (file "errors_20120419.log")
L 04/19/2012 - 17:36:31: [SM] Native "GetArrayString" reported: Invalid index 0 (count: 0)
L 04/19/2012 - 17:36:31: [SM] Displaying call stack trace for plugin "mapchooser_extended.smx":
L 04/19/2012 - 17:36:31: [SM]   [0]  Line 905, D:\tf2server\plugins\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::InitiateVote()
L 04/19/2012 - 17:36:31: [SM]   [1]  Line 560, D:\tf2server\plugins\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::Timer_StartMapVote()
L 04/19/2012 - 18:58:37: Error log file session closed.
L 04/19/2012 - 19:23:47: SourceMod error session started
L 04/19/2012 - 19:23:47: Info (map "gg_wolfenstein_3D") (file "errors_20120419.log")
L 04/19/2012 - 19:23:47: [SM] Native "GetArrayString" reported: Invalid index 0 (count: 0)
L 04/19/2012 - 19:23:47: [SM] Displaying call stack trace for plugin "mapchooser_extended.smx":
L 04/19/2012 - 19:23:47: [SM]   [0]  Line 905, D:\tf2server\plugins\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::InitiateVote()
L 04/19/2012 - 19:23:47: [SM]   [1]  Line 560, D:\tf2server\plugins\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::Timer_StartMapVote()
Also only one map is showing up when useing Voice menu :\
It looks like MCE is having problems finding enough maps to show in the list. Index 0 being invalid means that it populated the list of available maps with 0 maps after processing the exclude list.

How many maps are in your mapcycle.txt? (or whatever file mapchooser is set to read from in addons/sourcemod/configs/maplists.cfg) Also, what are the settings of mce_exclude and mce_include?
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 04-20-2012 at 10:30.
Powerlord is offline
Xilver266
Member
Join Date: Apr 2011
Old 04-20-2012 , 12:53   Re: MapChooser Extended 1.8.2 (Updated 2012-01-31)
Reply With Quote #323

Hi!

If i set:
mce_starttime "5.0"
mce_startfrags "0"
mce_startround "0"

I get error:
[mapchooser_extended.smx] Warning - Bonus Round Time shorter than Vote Time. Votes during bonus round may not have time to complete

Is it possible to start the vote based only on time remaining?
Game: CSS

Regards,
__________________
Xilver266 is offline
GDragon
Junior Member
Join Date: Apr 2012
Old 04-20-2012 , 13:37   Re: MapChooser Extended 1.8.2 (Updated 2012-01-31)
Reply With Quote #324

Quote:
SourceMod's vote display doesn't interact with HL2M that well (I'm assuming that's the game you're using). I'm not sure if there are any plans to fix this.
Nuclear Dawn (L4D2 Engine)
It features a standard plug-in?
How is it called?
GDragon is offline
wtfaatp
Senior Member
Join Date: Jul 2010
Old 04-21-2012 , 17:29   Re: MapChooser Extended 1.8.2 (Updated 2012-01-31)
Reply With Quote #325

Quote:
Originally Posted by Powerlord View Post
It looks like MCE is having problems finding enough maps to show in the list. Index 0 being invalid means that it populated the list of available maps with 0 maps after processing the exclude list.

How many maps are in your mapcycle.txt? (or whatever file mapchooser is set to read from in addons/sourcemod/configs/maplists.cfg) Also, what are the settings of mce_exclude and mce_include?
maplcyle.txt maplist.txt & "addons\sourcemod\configs\mapchooser_extended \maps\cstrike.txt"
Code:
angry_overpass
Dr3w_gg_deathmatch
dr3w_gg_paintabll_forrest
gg_ag_arena
gg_aim_dust2003_v2
gg_autumn
gg_aztec_mini_beta
gg_blue_arena
gg_BrokenWorld
gg_brokenworld_v2
gg_Cinema
gg_cirular
gg_deagle_phobia
gg_deagle5_4hm
gg_desertstorm_v3
gg_devvy_hdr
gg_dglknife_v4
gg_dipmap
gg_dust
gg_dusty_zs
gg_fortrush_bm
gg_funround
gg_fy_crates_v2
gg_fy_funtimes
gg_fy_funtimes_v2
gg_fy_snow
gg_gardenworld
gg_graveyard
gg_gswarm_sandbox
gg_gswarm_wall
gg_mini_house
gg_olympic_arena_ggn
gg_punishment_v2
gg_puttums
gg_wolfenstein_3D
gg_Resolve_1a
gg_simpsons_arena
gg_simpsons_forrest
gg_simpsons_house_v2
gg_simpsons_street
gg_smallcity_b1
gg_strategicthrust
gg_supadeth_b3
gg_toon_poolday
gg_tripoli
gg_tx_complex_v1
gg_tx_pillarz_arenabeta1
gg_ultradeth_b1
gg_usp_deagle
gg_vc2_inferno
maplist.cfg
Code:
"MapLists"
{
	/**
	 * Default requests go right to the mapcyclefile.
	 */
	"default"
	{
		"target"		"mapcyclefile"
	}
	
	/* Admin menu, map menu */
	"sm_map menu"
	{
		"file"			"addons/sourcemod/configs/adminmenu_maplist.ini"
	}
	
	/* Admin menu, map voting menu */
	"sm_votemap menu"
	{
		"file"			"addons/sourcemod/configs/adminmenu_maplist.ini"
	}
	
	/* For the "randomcycle" plugin */
	"randomcycle"
	{
		"target"		"default"
	}
	
	/* For the "mapchooser" plugin */
	"mapchooser"
	{
		"target"		"default"
	}
	
	/* For the "nominations" plugin */
	"nominations"
	{
		"target"		"default"
	}
}
mce_exclude "15"
mce_include "4"

As a side note the only map that shows up is gg_vc2_inferno
__________________
SourceMod : 1.10.0 (Official) | MetaMod : 1.10.7 (Official)
Server : NFOservers - Windows

Last edited by wtfaatp; 04-21-2012 at 17:30.
wtfaatp is offline
Floody
Member
Join Date: Jan 2012
Old 04-29-2012 , 09:42   Re: MapChooser Extended 1.8.2 (Updated 2012-01-31)
Reply With Quote #326

German translation.
Attached Files
File Type: zip mapchooser_extended_de.zip (854 Bytes, 295 views)

Last edited by Floody; 04-29-2012 at 17:37.
Floody is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-08-2012 , 11:44   Re: MapChooser Extended 1.8.2 (Updated 2012-01-31)
Reply With Quote #327

Man, I thought I already addressed the above posts, but apparently not (good thing I dropped by to look over previous posts)

Quote:
Originally Posted by Xilver266 View Post
Hi!

If i set:
mce_starttime "5.0"
mce_startfrags "0"
mce_startround "0"

I get error:
[mapchooser_extended.smx] Warning - Bonus Round Time shorter than Vote Time. Votes during bonus round may not have time to complete

Is it possible to start the vote based only on time remaining?
Game: CSS

Regards,
It is, but then you'd end up not having a vote if mp_maxrounds is reached before the time runs out.

Quote:
Originally Posted by GDragon View Post
Nuclear Dawn (L4D2 Engine)
It features a standard plug-in?
How is it called?
I'm not familiar with Nuclear Dawn.

This plugin assume the Hintbox uses the horizontal hint box present in DoD:S, CS:S, TF2, L4D, or L4D2. It sounds like Nuclear Dawn uses the vertical hint box, like HL2:DM does.

SourceMod itself manages the display of the votes using the sm_vote_progress cvars in sourcemod.cfg.

Quote:
Originally Posted by wtfaatp View Post
maplcyle.txt maplist.txt & "addons\sourcemod\configs\mapchooser_extended \maps\cstrike.txt"
Code:
angry_overpass
Dr3w_gg_deathmatch
dr3w_gg_paintabll_forrest
gg_ag_arena
gg_aim_dust2003_v2
gg_autumn
gg_aztec_mini_beta
gg_blue_arena
gg_BrokenWorld
gg_brokenworld_v2
gg_Cinema
gg_cirular
gg_deagle_phobia
gg_deagle5_4hm
gg_desertstorm_v3
gg_devvy_hdr
gg_dglknife_v4
gg_dipmap
gg_dust
gg_dusty_zs
gg_fortrush_bm
gg_funround
gg_fy_crates_v2
gg_fy_funtimes
gg_fy_funtimes_v2
gg_fy_snow
gg_gardenworld
gg_graveyard
gg_gswarm_sandbox
gg_gswarm_wall
gg_mini_house
gg_olympic_arena_ggn
gg_punishment_v2
gg_puttums
gg_wolfenstein_3D
gg_Resolve_1a
gg_simpsons_arena
gg_simpsons_forrest
gg_simpsons_house_v2
gg_simpsons_street
gg_smallcity_b1
gg_strategicthrust
gg_supadeth_b3
gg_toon_poolday
gg_tripoli
gg_tx_complex_v1
gg_tx_pillarz_arenabeta1
gg_ultradeth_b1
gg_usp_deagle
gg_vc2_inferno
maplist.cfg
Code:
"MapLists"
{
    /**
     * Default requests go right to the mapcyclefile.
     */
    "default"
    {
        "target"        "mapcyclefile"
    }
    
    /* Admin menu, map menu */
    "sm_map menu"
    {
        "file"            "addons/sourcemod/configs/adminmenu_maplist.ini"
    }
    
    /* Admin menu, map voting menu */
    "sm_votemap menu"
    {
        "file"            "addons/sourcemod/configs/adminmenu_maplist.ini"
    }
    
    /* For the "randomcycle" plugin */
    "randomcycle"
    {
        "target"        "default"
    }
    
    /* For the "mapchooser" plugin */
    "mapchooser"
    {
        "target"        "default"
    }
    
    /* For the "nominations" plugin */
    "nominations"
    {
        "target"        "default"
    }
}
mce_exclude "15"
mce_include "4"

As a side note the only map that shows up is gg_vc2_inferno
It sounds like the mapcycle.txt line endings are being misinterpreted by either SourceMod or srcds. This is usually caused by using Linux/Mac line endings on a Windows server. Mind you, that's just a guess.

Quote:
Originally Posted by Floody View Post
German translation.
Thanks. Now, I suppose you wouldn't be happy if I mention I plan on adding a new translation phrase to the next version of MapChooser Extended? :P
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-08-2012 at 13:23.
Powerlord is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-08-2012 , 14:39   Re: MapChooser Extended 1.8.2 (Updated 2012-01-31)
Reply With Quote #328

Here are the planned features for the 1.9.0 release:
  • Bugfixes:
    • Fixed bug where sm_setnextmap wasn't preventing the end of map vote. [Bug Report] (done)
    • The number of maps in a vote will be reduced if not enough maps are available to fill the list [Bug Report] (done)
    • Bonus Time length error is now only logged when mce_starttime is 0 [Bug Report] (done)
    • rtv is no longer blocked during the warning timer [Bug Report on the RUGC Midwest server] (done)
  • Features:
    • DoD:S bonus time is now supported. [Request] (done)
    • Map list is now loaded immediately before the warning timer starts instead of on map start [Requested in other threads] (done, needs testing as this feature changes code in many places) (this change may be rolled back if it causes issues)
    • New cvar mce_hidetimer to hide the warning timer display. The first warning will still display. However, if you have the Sounds plugin installed, sounds will still play for every second. Request (done)
      • Still no support for the announcer counting time down incorrectly. Sorry, that bug was fixed in 1.4 and is a PITA to duplicate in newer versions.
    • Possible controversial change: The first menu option is now No Vote, and blocked slots now only blocks slots 2 and 3. (done)
    • Removed mce_forcertv (see next section as to why)
    • New natives: IsOfficialMap and IsNominateAllowed. The latter returns false if the map vote has already completed or if the nomination list is currently full. (done)
  • New subplugins
    • RockTheVote Extended
      • Adds mce_forcertv with a bunch of fixes to make it work like the standard rtv. [Reported on the RUGC Midwest server] (planned)
    • Nominate Extended
      • Lists whether maps are official or not. (done)
      • When nominate is typed, checks whether nominations are currently allowed before bringing up the menu. (done)
      • Load the map list when the nomination menu is brought up. (planned) (this change may be rolled back if it causes issues)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-11-2012 at 11:59.
Powerlord is offline
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 05-08-2012 , 15:37   Re: MapChooser Extended 1.8.2 (Updated 2012-01-31)
Reply With Quote #329

It might just be me being a complete noob and missing a cvar setting, but could a cvar for preventing the map vote to happen if sm_setnextmap is used be added? Would be rather useful as it often happens that admins want to play a fun map that isn't included in the map cycle and the vote pops up after they've set it and denies their actions with a big trollface.
__________________
napalm00 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-08-2012 , 15:41   Re: MapChooser Extended 1.8.2 (Updated 2012-01-31)
Reply With Quote #330

Quote:
Originally Posted by napalm00 View Post
It might just be me being a complete noob and missing a cvar setting, but could a cvar for preventing the map vote to happen if sm_setnextmap is used be added? Would be rather useful as it often happens that admins want to play a fun map that isn't included in the map cycle and the vote pops up after they've set it and denies their actions with a big trollface.
I was under the impression that the map vote was supposed to be skipped when sm_setnextmap was used. It's probably a bug. I'll look into it.

Edit: At a guess, the bug is this line:
PHP Code:
    if (g_MapVoteCompleted && g_ChangeMapInProgress
which should actually be
PHP Code:
    if (g_MapVoteCompleted || g_ChangeMapInProgress
Edit 2: Nope, it's this line:
PHP Code:
    if (!GetArraySize(g_MapList) || (when == MapChange_MapEnd && (!GetConVarBool(g_Cvar_EndOfMapVote) || g_MapVoteCompleted)) || g_HasVoteStarted
I'll figure out the best way to change it. It was formerly
PHP Code:
    if (!GetArraySize(g_MapList) || !GetConVarBool(g_Cvar_EndOfMapVote) || g_MapVoteCompleted || g_HasVoteStarted
but was changed because of revotes.

Edit 3: Changed the order of parentheses. This should work because g_MapVoteCompleted isn't set before revotes:
PHP Code:
    if (!GetArraySize(g_MapList) || (when == MapChange_MapEnd && !GetConVarBool(g_Cvar_EndOfMapVote)) || g_MapVoteCompleted || g_HasVoteStarted
This fix will be pushed out with 1.9.0.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-08-2012 at 16:00. Reason: skipped, not skipping. Brain went on vacation for a moment.
Powerlord 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 23:21.


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