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

[UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)


Post New Thread Reply   
 
Thread Tools Display Modes
KniL
Senior Member
Join Date: Jun 2012
Old 02-10-2014 , 14:03   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #3961

I'm receiving this in 3.4.6, TF2 server (The error also happens in 3.4.5, but this logs are from 3.4.6)
This happens when an End Vote is triggered or when I use sm_umc_vote command.
The vote just doesn't start and the map changes to a normal valve map (Maps that I don't have in my umc_mapcycle)

Code:
16:46:41 L 02/10/2014 - 15:46:16: [umc-core.smx] VOTING: No map groups found in rotation. Vote menu was not built.
16:46:41 L 02/10/2014 - 15:46:16: [umc-core.smx] DEBUG: Deleting Vote Parameters
16:46:41 <03>[UMC]<01> Could not start vote. See log for details.
This is from the UMC log when the End vote fails
Spoiler


This is from the errors log
Code:
L 02/10/2014 - 15:12:11: [umc-core.smx] VOTING: No map groups found in rotation. Vote menu was not built.
L 02/10/2014 - 15:16:25: [umc-core.smx] VOTING: No map groups found in rotation. Vote menu was not built.
L 02/10/2014 - 15:23:20: [umc-core.smx] RANDOM MAP: Cannot pick a random map, no available map groups found in rotation.

This happen SOMETIMES. It's very random, but sometimes the votes just work OK.


My umc_mapcycle is Ok. (It's a multimod server)

Spoiler


This is what I get in the console when I run the "sm_umc_vote 0" command:
Spoiler


Notice this lines
Code:
16:46:29 L 02/10/2014 - 15:46:01: [umc-nominate.smx] DEBUG: Opening Mapcycle File umc_mapcycle.txt
16:46:29 L 02/10/2014 - 15:46:01: [umc-nominate.smx] DEBUG: Fetching first line.
16:46:29 L 02/10/2014 - 15:46:01: [umc-nominate.smx] DEBUG: Checking first line for UMC header: ""umc_mapcycle""
16:46:29 L 02/10/2014 - 15:46:01: [umc-nominate.smx] DEBUG: Header was not found. Aborting.
WTF?

Thanks

Last edited by KniL; 02-10-2014 at 14:36.
KniL is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-10-2014 , 15:00   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #3962

Quote:
Originally Posted by KniL View Post
I'm receiving this in 3.4.6 beta, TF2 server (The error also happens in 3.4.5, but this logs are from 3.4.6)
This happens when an End Vote is triggered or when I use sm_umc_vote command.
The vote just doesn't start and the map changes to a normal valve map (Maps that I don't have in my umc_mapcycle)

This is from the errors log
Code:
L 02/10/2014 - 15:12:11: [umc-core.smx] VOTING: No map groups found in rotation. Vote menu was not built.
L 02/10/2014 - 15:16:25: [umc-core.smx] VOTING: No map groups found in rotation. Vote menu was not built.
L 02/10/2014 - 15:23:20: [umc-core.smx] RANDOM MAP: Cannot pick a random map, no available map groups found in rotation.
This happen SOMETIMES. It's very random, but sometimes the votes just work OK.

My umc_mapcycle is Ok. (It's a multimod server)

Notice this lines
Code:
16:46:29 L 02/10/2014 - 15:46:01: [umc-nominate.smx] DEBUG: Opening Mapcycle File umc_mapcycle.txt
16:46:29 L 02/10/2014 - 15:46:01: [umc-nominate.smx] DEBUG: Fetching first line.
16:46:29 L 02/10/2014 - 15:46:01: [umc-nominate.smx] DEBUG: Checking first line for UMC header: ""umc_mapcycle""
16:46:29 L 02/10/2014 - 15:46:01: [umc-nominate.smx] DEBUG: Header was not found. Aborting.
WTF?

Thanks
Those DEBUG messages can likely be ignored... UMC appears to attempt to read an older version of its mapcycle format first and construct a KeyValues structure from it. If it fails at this parsing, it calls the KeyValues parser to read the mapcycle.

Having said that, the only reason I can see that it wouldn't find any groups is that it eliminated all available groups.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
cssBOT
Senior Member
Join Date: Apr 2009
Old 02-13-2014 , 16:51   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #3963

Hmm, UMC crashed SM today. First time this has ever happened. sourcemod_fatal.log:

L 02/13/2014 - 09:54:19: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "umc/umc-core.smx")
L 02/13/2014 - 09:54:19: [SM] Unloading plugin to free 4210 handles.
L 02/13/2014 - 09:54:19: [SM] Contact the author(s) of this plugin to correct this error.

Server running:
linux
MM 1.10.1-875
SM 1.5.3-3954

Last edited by cssBOT; 02-13-2014 at 16:53. Reason: add info
cssBOT is offline
Rusty Shackleford
SourceMod Donor
Join Date: Jun 2013
Old 02-26-2014 , 16:30   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #3964

How could I go about changing the rtv delay (sm_umc_rtv_initialdelay) based on the map? I tried changing it in specific map cfgs but that didn't work. What would be the format for doing this in the umc mapcycle?
Rusty Shackleford is offline
ClassicGuzzi
Veteran Member
Join Date: Oct 2013
Location: Argentina
Old 02-26-2014 , 17:06   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #3965

Quote:
Originally Posted by Rusty Shackleford View Post
How could I go about changing the rtv delay (sm_umc_rtv_initialdelay) based on the map? I tried changing it in specific map cfgs but that didn't work. What would be the format for doing this in the umc mapcycle?
That's because your umc-rockthevote.cfg overrides map-specific .cfg (I think)
Try this in your umc-mapcycle :

Quote:
mapname
{
"command" "exec mapname.cfg"
}
or

Quote:
mapname
{
"command" "exec something.cfg"
}
This should exec your cfg after the plugin's one (You can use only 2 or more cfg instead of map specific ones and reuse it for every map.
ClassicGuzzi is offline
Rusty Shackleford
SourceMod Donor
Join Date: Jun 2013
Old 02-26-2014 , 17:31   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #3966

Quote:
Originally Posted by ClassicGuzzi View Post
That's because your umc-rockthevote.cfg overrides map-specific .cfg (I think)

This should exec your cfg after the plugin's one (You can use only 2 or more cfg instead of map specific ones and reuse it for every map.
Could I ditch having map configs completely? I currently use them to set different mp_timelimits and a cvar for forcing teams.

PHP Code:
"Map group 1" 
    
{
        
"ctf_2fort"
        
{
            
"weight"    "0.5"
            "command" "mp_timelimit 30"
            "command" "mp_humans_must_join_team blue"
        


Last edited by Rusty Shackleford; 02-26-2014 at 17:33.
Rusty Shackleford is offline
ClassicGuzzi
Veteran Member
Join Date: Oct 2013
Location: Argentina
Old 02-26-2014 , 17:45   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #3967

Quote:
Originally Posted by Rusty Shackleford View Post
Could I ditch having map configs completely? I currently use them to set different mp_timelimits and a cvar for forcing teams.

PHP Code:
"Map group 1" 
    
{
        
"ctf_2fort"
        
{
            
"weight"    "0.5"
            "command" "mp_timelimit 30"
            "command" "mp_humans_must_join_team blue"
        

I'm not sure if you can use 2 commands in the same map, try using just one with the exec commmand.
ClassicGuzzi is offline
deathcurse
Senior Member
Join Date: Jun 2006
Location: UK
Old 03-01-2014 , 09:33   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #3968

I've tried using the command option for certain maps with UMC, however it doesn't seem to be working.

For example, I've tried setting a different timelimit of 20 minutes for the koth map below, however the map is still using the timelimit I set in the server.cfg. I have the umc-mapcommands.smx plugin loaded. Any ideas?

Code:
"umc_mapcycle"
{
    "Default"
    {
        "maps_invote"   "5"

		"pl_toy_fort_cod_blue_v2" {}
		"cp_toy_fort_3_conquest" {}
		"plr_toy_fort_cod_v6" {}
		"cp_orange_toyfort_tbrv2" {}
		"koth_toy_fort_cod_v4" 
		{
			"command"	"mp_timelimit 20"
		}
		"cp_toy_fort_alt2" {}
		"pl_toy_fort_cod_red_v5" {}
		"cp_bellas_roomz_v3" 
		{
			"min_players"   "8"
		}
		"ctf_toy_fort_cod_v1" {}
		"cp_toy_fort_cod_elite_v1" {}
    }
}
__________________
Clan of Doom: www.clanofdoom.co.uk
deathcurse is offline
Wliu
Veteran Member
Join Date: Apr 2013
Old 03-01-2014 , 11:20   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #3969

I've currently set our server to have a map vote once the round ends (5 minutes before the map ends). Map vote warnings work perfectly (I have it set to output "Map vote on round end"), but once the round actually ends, I get the following in the UMC log:
Quote:
L 03/01/2014 - 10:36:43: [umc-endvote.smx] Starting an end of map vote.
L 03/01/2014 - 10:36:43: [umc-core.smx] Initiating Vote Type: Map
L 03/01/2014 - 10:36:43: [umc-endvote.smx] Could not start UMC vote.
In the console, I get L 03/01/2014 - 10:37:14: [umc-endvote.smx] Unable to create end of map
vote time-trigger, trigger time already passed.

The map vote does not appear (umc-randomcycle sets it to a random map).
Attached Files
File Type: cfg umc-endvote.cfg (5.2 KB, 141 views)
__________________
~Wliu

Last edited by Wliu; 03-01-2014 at 11:24. Reason: Don't parse smilies...
Wliu is offline
ClassicGuzzi
Veteran Member
Join Date: Oct 2013
Location: Argentina
Old 03-01-2014 , 13:14   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #3970

Quote:
Originally Posted by Wliu View Post
I've currently set our server to have a map vote once the round ends (5 minutes before the map ends). Map vote warnings work perfectly (I have it set to output "Map vote on round end"), but once the round actually ends, I get the following in the UMC log:

In the console, I get L 03/01/2014 - 107:14: [umc-endvote.smx] Unable to create end of map
vote time-trigger, trigger time already passed.

The map vote does not appear (umc-randomcycle sets it to a random map).
This:
Quote:
// Determines whether End of Map Votes should be delayed until the end of the round in which they were triggered.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_endvote_onroundend "1"
And this:
Quote:
// Specifies when to start the vote based on rounds remaining. Use 0 on TF2 to start vote during bonus round time
// -
// Default: "2"
// Minimum: "0.000000"
sm_umc_endvote_startrounds "0"
I use sm_umc_endvote_onroundend in zero and sm_umc_endvote_startrounds in one, with that, the end vote will be triggered on the set-up time of the last round.

Edit: I you want the vote at the end of the last round, put "1" on both CVars, but a vote at round-end could fail if the map changes before the end-vote ends, because of that, I prefer to have it on set-up time / round start.

Last edited by ClassicGuzzi; 03-01-2014 at 13:19.
ClassicGuzzi 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 17:37.


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