Вы используете устаревший браузер. Этот и другие сайты могут отображаться в нём некорректно. Вам необходимо обновить браузер или попробовать использовать другой.
Всем привет! Решаю вопрос установки карт днем и ночью! В одно время загружается конфиг для голосования за дневные карты, в другое время за ночные карты! Создавл два конфига день и ночь, сделал расписание exec конфиг дневной и тоже самое ночной! Но это работает только если использовать коллекции воркшопа! Как можно сделать так, чтобы это работало с картами, которые на сервере, может есть какой то плагин для этого или мапчусер! Голосование ставил стандартное
Я установил данный плагин, по времени сделал настройку загрузки мапцикла
sc_addjob 25 10 * * * "sm_cvar mapcyclefile day_maps.txt"
Вот что пишет мне в консоли при выполнении данной команды по времени:
[basecommands.smx] "Console<0><Console><Console>" console command (cmdline "mapcyclefile day_maps.txt")
Файл day_maps.txt лежит в корне сервера там же где и обычный мапцикл.
Суть такова что карты меняет в разноброс, ставит даже те, которых в файле day_maps.txt нет.
Куда еще можно капнуть? Думаю что maplist.cfg еще править нужно.
Вот мой
/**
* Use this file to configure map lists.
*
* Each section is a map list that plugins can use. For example, the Admin Menu
* requests an "admin menu" map list, and you can control which maps appear via
* this file.
*
* Each section must have a property that explains where to read the maps from.
* There are two properties:
*
* target - Redirect the request to another section.
* file - Read a file of map names, in mapcycle.txt format.
*
* There is one section by default, called "mapcyclefile" - it is mapped to the
* mapcycle.txt file, or whatever the contents of your mapcyclefile cvar is.
*
* If a plugin requests a map list file which doesn't exist, or is empty, SourceMod
* tries the "default" section, and then the "mapcyclefile" section.
*/
"MapLists"
{
/**
* Default requests go right to the mapcyclefile.
*/
"default"
{
"target" "mapcyclefile"
}
Такой вопрос к тебе, вот каждый раз после обновления сбивается motd, maplist.txt, mapcycle.txt
С создал для motd отдельный файл, и прописал в server.cfg - motdfile "mymotd.txt"
После обновления motd перестал сбиваться, возможно провернуть такое же для maplist.txt, mapcycle.txt?
Если да, не мог бы помочь.
Я установил данный плагин, по времени сделал настройку загрузки мапцикла
sc_addjob 25 10 * * * "sm_cvar mapcyclefile day_maps.txt"
Вот что пишет мне в консоли при выполнении данной команды по времени:
[basecommands.smx] "Console<0><Console><Console>" console command (cmdline "mapcyclefile day_maps.txt")
Файл day_maps.txt лежит в корне сервера там же где и обычный мапцикл.
Суть такова что карты меняет в разноброс, ставит даже те, которых в файле day_maps.txt нет.
Куда еще можно капнуть? Думаю что maplist.cfg еще править нужно.
Вот мой
/**
* Use this file to configure map lists.
*
* Each section is a map list that plugins can use. For example, the Admin Menu
* requests an "admin menu" map list, and you can control which maps appear via
* this file.
*
* Each section must have a property that explains where to read the maps from.
* There are two properties:
*
* target - Redirect the request to another section.
* file - Read a file of map names, in mapcycle.txt format.
*
* There is one section by default, called "mapcyclefile" - it is mapped to the
* mapcycle.txt file, or whatever the contents of your mapcyclefile cvar is.
*
* If a plugin requests a map list file which doesn't exist, or is empty, SourceMod
* tries the "default" section, and then the "mapcyclefile" section.
*/
"MapLists"
{
/**
* Default requests go right to the mapcyclefile.
*/
"default"
{
"target" "mapcyclefile"
}
Я установил данный плагин, по времени сделал настройку загрузки мапцикла
sc_addjob 25 10 * * * "sm_cvar mapcyclefile day_maps.txt"
Вот что пишет мне в консоли при выполнении данной команды по времени:
[basecommands.smx] "Console<0><Console><Console>" console command (cmdline "mapcyclefile day_maps.txt")
Файл day_maps.txt лежит в корне сервера там же где и обычный мапцикл.
Суть такова что карты меняет в разноброс, ставит даже те, которых в файле day_maps.txt нет.
Куда еще можно капнуть? Думаю что maplist.cfg еще править нужно.
Вот мой
/**
* Use this file to configure map lists.
*
* Each section is a map list that plugins can use. For example, the Admin Menu
* requests an "admin menu" map list, and you can control which maps appear via
* this file.
*
* Each section must have a property that explains where to read the maps from.
* There are two properties:
*
* target - Redirect the request to another section.
* file - Read a file of map names, in mapcycle.txt format.
*
* There is one section by default, called "mapcyclefile" - it is mapped to the
* mapcycle.txt file, or whatever the contents of your mapcyclefile cvar is.
*
* If a plugin requests a map list file which doesn't exist, or is empty, SourceMod
* tries the "default" section, and then the "mapcyclefile" section.
*/
"MapLists"
{
/**
* Default requests go right to the mapcyclefile.
*/
"default"
{
"target" "mapcyclefile"
}
Такой вопрос к тебе, вот каждый раз после обновления сбивается motd, maplist.txt, mapcycle.txt
С создал для motd отдельный файл, и прописал в server.cfg - motdfile "mymotd.txt"
После обновления motd перестал сбиваться, возможно провернуть такое же для maplist.txt, mapcycle.txt?
Если да, не мог бы помочь.
Такой вопрос к тебе, вот каждый раз после обновления сбивается motd, maplist.txt, mapcycle.txt
С создал для motd отдельный файл, и прописал в server.cfg - motdfile "mymotd.txt"
После обновления motd перестал сбиваться, возможно провернуть такое же для maplist.txt, mapcycle.txt?
Если да, не мог бы помочь.
/**
* Use this file to configure map lists.
*
* Each section is a map list that plugins can use. For example, the Admin Menu
* requests an "admin menu" map list, and you can control which maps appear via
* this file.
*
* Each section must have a property that explains where to read the maps from.
* There are two properties:
*
* target - Redirect the request to another section.
* file - Read a file of map names, in mapcycle.txt format.
*
* There is one section by default, called "mapcyclefile" - it is mapped to the
* mapcycle.txt file, or whatever the contents of your mapcyclefile cvar is.
*
* If a plugin requests a map list file which doesn't exist, or is empty, SourceMod
* tries the "default" section, and then the "mapcyclefile" section.
*/
"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"
}
}
/**
* Use this file to configure map lists.
*
* Each section is a map list that plugins can use. For example, the Admin Menu
* requests an "admin menu" map list, and you can control which maps appear via
* this file.
*
* Each section must have a property that explains where to read the maps from.
* There are two properties:
*
* target - Redirect the request to another section.
* file - Read a file of map names, in mapcycle.txt format.
*
* There is one section by default, called "mapcyclefile" - it is mapped to the
* mapcycle.txt file, or whatever the contents of your mapcyclefile cvar is.
*
* If a plugin requests a map list file which doesn't exist, or is empty, SourceMod
* tries the "default" section, and then the "mapcyclefile" section.
*/
"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"
}
}