Quote:
Originally Posted by szogun
Hello
I use the umc-mapcycle plugin to place a night map server on the server, but something does not work, does not change the map
I allowed myself to leave only the individual plugins from umc
umc-adminmenu.smx
umc-core.smx
umc-echonextmap.smx
umc-timelimits.smx
umc_mapcycle.txt
PHP Code:
"umc_mapcycle"
{
"daytime"
{
"min_time" "0601" //6:01
"max_time" "2059" //2059
"de_dust2"
}
"nighttime"
{
"min_time" "2100" //21:00
"max_time" "0600" //6:00
"de_dust2_night"
}
}
umc log
Code:
L 09/02/2017 - 17:30:53: [umc-core.smx] ---------------------MAP CHANGE: de_dust2---------------------
L 09/02/2017 - 17:59:14: [umc-core.smx] ---------------------MAP CHANGE: de_dust2---------------------
L 09/02/2017 - 18:33:54: [umc-core.smx] ---------------------MAP CHANGE: de_dust2---------------------
L 09/02/2017 - 19:14:20: [umc-core.smx] ---------------------MAP CHANGE: de_dust2---------------------
L 09/02/2017 - 20:00:45: [umc-core.smx] ---------------------MAP CHANGE: de_dust2---------------------
L 09/02/2017 - 20:48:34: [umc-core.smx] ---------------------MAP CHANGE: de_dust2---------------------
L 09/02/2017 - 21:39:11: [umc-core.smx] ---------------------MAP CHANGE: de_dust2---------------------
L 09/02/2017 - 22:43:41: [umc-core.smx] ---------------------MAP CHANGE: de_dust2---------------------
L 09/02/2017 - 23:08:20: [umc-core.smx] ---------------------MAP CHANGE: de_dust2---------------------
|
There's a couple of problems with what you are doing. The syntax is wrong for one. You try this:
"umc_mapcycle"
{
"de_dust2"
{
"min_time" "0601" //6:01
"max_time" "2059" //2059
}
"de_dust2_night"
{
"min_time" "2100" //21:00
"max_time" "0600" //6:00
}
}
but I doubt that will work either. UMC isn't a map changer, it's a voting plugin. Only having one choice isn't a vote. Use a cron plugin to do what you are trying to do. If you put more selections during the same time frames, like this:
"umc_mapcycle"
{
"de_dust"
{
"min_time" "0601" //6:01
"max_time" "2059" //2059
}
"de_dust2"
{
"min_time" "0601" //6:01
"max_time" "2059" //2059
}
"de_dust_night"
{
"min_time" "2100" //21:00
"max_time" "0600" //6:00
}
"de_dust2_night"
{
"min_time" "2100" //21:00
"max_time" "0600" //6:00
}
}
then it would probably work.
__________________