Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Steell
SourceMod Donor
Join Date: Mar 2009
Old 01-27-2011 , 11:15   Re: Ultimate Mapchooser v1.5.1 (Updated 1/26/11) [Now with vote sounds!]
Reply With Quote #151

That's odd, because the line of code that fetches the mapcycle file grabs the filename straight from the cvar. Use rcon to see the value of the sm_umc_file cvar on the server to make sure it is indeed set to "rotation/default.txt".
Steell is offline
Vathral
Member
Join Date: Oct 2010
Old 01-27-2011 , 13:05   Re: Ultimate Mapchooser v1.5.1 (Updated 1/26/11) [Now with vote sounds!]
Reply With Quote #152

What do I type through rcon? Well, in the logs it shows this atleast while I have the config set for rotation/default.txt

Code:
L 01/27/2011 - 12:04:29: [SM] Changed map to "pl_cranetop_b8"
L 01/27/2011 - 12:04:31: -------- Mapchange to pl_cranetop_b8 --------
L 01/27/2011 - 12:04:34: [ultimate-mapchooser.smx] KV file "umc_mapcycle.txt" successfully loaded.
L 01/27/2011 - 12:04:34: [ultimate-mapchooser.smx] Current Map Group: custom
L 01/27/2011 - 12:04:34: [ultimate-mapchooser.smx] Extensions left: 0
L 01/27/2011 - 12:04:34: [ultimate-mapchooser.smx] MIN_PLAYERS: 0, MAX_PLAYERS: 32
L 01/27/2011 - 12:04:34: [funcommandsX.smx] Disco mode enabled due to auto disco
L 01/27/2011 - 12:04:34: [ultimate-mapchooser.smx] KV file "addons/sourcemod/configs/vote_warnings.txt" successfully loaded.
L 01/27/2011 - 12:04:34: [ultimate-mapchooser.smx] Successfully parsed and set up 9 vote warnings.
L 01/27/2011 - 12:05:04: [funcommandsX.smx] Disco mode disabled due to auto disco time elapsed
L 01/27/2011 - 12:16:52: [ultimate-mapchooser.smx] Setting nextmap to: pl_boundary_rc4
L 01/27/2011 - 12:38:38: [SM] Changed map to "pl_boundary_rc4"
L 01/27/2011 - 12:38:40: -------- Mapchange to pl_boundary_rc4 --------
L 01/27/2011 - 12:38:42: [ultimate-mapchooser.smx] KV file "umc_mapcycle.txt" successfully loaded.
L 01/27/2011 - 12:38:42: [ultimate-mapchooser.smx] Current Map Group: custom
L 01/27/2011 - 12:38:42: [ultimate-mapchooser.smx] Extensions left: 0
L 01/27/2011 - 12:38:42: [ultimate-mapchooser.smx] MIN_PLAYERS: 0, MAX_PLAYERS: 32
L 01/27/2011 - 12:38:42: [funcommandsX.smx] Disco mode enabled due to auto disco
L 01/27/2011 - 12:38:43: [ultimate-mapchooser.smx] KV file "addons/sourcemod/configs/vote_warnings.txt" successfully loaded.
L 01/27/2011 - 12:38:43: [ultimate-mapchooser.smx] Successfully parsed and set up 9 vote warnings.
I removed rotation.txt and umc_mapcycle.txt from the directory and it complained that it couldn't find umc_mapcycle.txt. It didn't put up a mapvote in-game. I renamed rotation.txt to umc_mapcycle.txt and it works fine. Renamed it back to to rotation.txt and it stopped working with the whole Unable to load KV file thing.

Don't have any other mapchooser/mapvote addon enabled. Restarted the server, reloaded the plugins, etc and still nothing.

Just let me know what you meant by the cvar thing because it worked fine just before updating. I don't have any instance of rotation/default.txt anywhere else and deleted the files of the previous version to make it a clean install.

Code:
L 01/27/2011 - 01:37:35: -------- Mapchange to cp_coldfront --------
L 01/27/2011 - 01:37:38: [improved-randomizer.smx] KV file "rotation/default.txt" successfully loaded.
L 01/27/2011 - 01:37:38: [improved-randomizer.smx] Current Map Group: Stock
L 01/27/2011 - 01:37:38: [improved-randomizer.smx] Extensions left: 0
L 01/27/2011 - 01:37:38: [improved-randomizer.smx] MIN_PLAYERS: 0, MAX_PLAYERS: 32
Vathral is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 01-27-2011 , 13:26   Re: Ultimate Mapchooser v1.5.1 (Updated 1/26/11) [Now with vote sounds!]
Reply With Quote #153

Quote:
Originally Posted by Vathral View Post
[/code]
I removed rotation.txt and umc_mapcycle.txt from the directory and it complained that it couldn't find umc_mapcycle.txt. It didn't put up a mapvote in-game. I renamed rotation.txt to umc_mapcycle.txt and it works fine. Renamed it back to to rotation.txt and it stopped working with the whole Unable to load KV file thing.

Don't have any other mapchooser/mapvote addon enabled. Restarted the server, reloaded the plugins, etc and still nothing.

Just let me know what you meant by the cvar thing because it worked fine just before updating. I don't have any instance of rotation/default.txt anywhere else and deleted the files of the previous version to make it a clean install.


OK I looked a little closer and I found that there is a bug in the configuration file. The file setting is SUPPOSED TO BE "sm_umc_cyclefile", but I can't read and somehow it ended up "sm_umc_file."

Simple fix is to ignore the config file I packaged and have the plugin auto generate one, or just rename cvar in the config to the correct name. I'm repackaging the release with the correct name.

Last edited by Steell; 01-28-2011 at 11:07.
Steell is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 01-27-2011 , 13:51   Re: Ultimate Mapchooser v1.5.1 (Updated 1/26/11) [Now with vote sounds!]
Reply With Quote #154

For those of you interested, here is the warning file I'm using for TF2 (you will have to aquire some of these sounds on your own for now, I'm afraid):
PHP Code:
"vote_warnings"
{
    
"default"
    
{
        
"message"       "{TIME} seconds until vote."
        "notification"  "G"
        "sound"         ""
    
}
    
    
"60"    //Warning at 60 seconds.
    
{
        
//Override default message
        
"message"   "1 minute until vote."

        
//Play a sound
        
"sound"     "sourcemod/umc/tf_60s.mp3"
    
}
    
    
"30"    //Warning at 30 seconds
    
{
        
//Play a sound.
        
"sound"     "sourcemod/umc/tf_30s.mp3"
        
        
//Use default message.
    
}

    
"20"    //Warning at 20 seconds.
    
{
        
"sound"     "sourcemod/umc/tf_20s.mp3"
    
}

    
//Display default warning.
    
"19...11" { }

    
"10"    //Warning at 10 seconds.
    
{
        
"sound"     "sourcemod/umc/tf2/tf_10s.mp3"
    
}

    
//Display default warning.
    
"9...6" { }
    
    
"5...1" //Warnings for last 5 seconds
    
{
        
"sound"     "vo/announcer_ends_{TIME}sec.wav"
    
}

    
//Display default warning at 0.
    
"0" { }


Last edited by Steell; 01-28-2011 at 13:48.
Steell is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 01-27-2011 , 16:47   Re: Ultimate Mapchooser v1.5.1 (Updated 1/26/11) [Now with vote sounds!]
Reply With Quote #155

The next version of the plugin will have optional auto-updating, so that you do not have to keep checking back into this thread every time there is an update.

I wish I could give you a timeline for when the 2.0 release will be out, but there are a lot of features to be implemented and my workload is filled with other projects at the moment. Bug fixes I will try and get to immediately, but it's going to definitely be a bit of time before more features are fully implemented.
Steell is offline
away000
Veteran Member
Join Date: Sep 2010
Old 01-28-2011 , 04:26   Re: Ultimate Mapchooser v1.5.1 (Updated 1/26/11) [Now with vote sounds!]
Reply With Quote #156

Quote:
Originally Posted by Vathral View Post
Nice updates! Getting weird(?) behavior with the update.

Code:
L 01/27/2011 - 06:47:38: Info (map "cp_dustbowl") (file "errors_20110127.log")
L 01/27/2011 - 06:47:38: [ultimate-mapchooser.smx] Unable to load KV file: umc_mapcycle.txt
L 01/27/2011 - 06:47:38: [ultimate-mapchooser.smx] Mapcycle failed to load!
I have a folder with different text files but my default file is called rotation.txt as set in the cfg file but it's still looking for umc_mapcycle.txt

Code:
// File to use for random map rotation.
// -
// Default: "umc_mapcycle.txt"
sm_umc_file "rotation/default.txt"
U need to do the same way to config ur file like UMC but in "rotation.txt" and need to set the CVAR:

sm_umc_file "rotation/default.txt"

to

sm_umc_file "rotation.txt"[/blue]


With "rotation/default.txt" u are calling a file named "default.txt"...
Post if work...
away000 is offline
Zbeer
SourceMod Donor
Join Date: Aug 2010
Old 01-28-2011 , 06:22   Re: Ultimate Mapchooser v1.5.1 (Updated 1/26/11) [Now with vote sounds!]
Reply With Quote #157

It works in L4D2?
Zbeer is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 01-28-2011 , 11:06   Re: Ultimate Mapchooser v1.5.1 (Updated 1/26/11) [Now with vote sounds!]
Reply With Quote #158

Quote:
Originally Posted by Zbeer View Post
It works in L4D2?
I haven't tested it in L4D and I'm not sure if L4D actually lends itself to this plugin, but it should work.
Steell is offline
away000
Veteran Member
Join Date: Sep 2010
Old 01-28-2011 , 11:30   Re: Ultimate Mapchooser v1.5.1 (Updated 1/26/11) [Now with vote sounds!]
Reply With Quote #159

Stell, plz see my PM.
away000 is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 01-29-2011 , 05:31   Re: Ultimate Mapchooser v1.5.1 (Updated 1/26/11) [Now with vote sounds!]
Reply With Quote #160

New release should be out this weekend.
Steell 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 10:32.


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