Smart Auto—Restart

Smart Auto—Restart 1.4.1

Yooki

Добрая душа
Сообщения
473
Реакции
169
Оффтоп
 

Smirnovilua

Участник
Сообщения
25
Реакции
12
Вещь хорошая, но к примеру у владельца серера много плагинов, я бы сказал очень много работает, как система MULTIMOD. Так вот - у владельца много плагинов и сервер рестартится очень долго и игроков просто за большой "connect problem" просто выкинет с сервера. Возможно?
 

dvernoff

Добрая душа
Сообщения
638
Реакции
591
  • Автор ресурса
  • #83
Agos++ обновил(а) ресурс Smart Auto—Restart новой записью:

Обновление 1.4.0 | Рестарт в определённое время

В cfg добавлены новые квары:
• sm_sar_when | Когда делать рестарт?, 1-Каждые N минут, 2-В определённое время
• sm_sar_fixed_time | Во сколько времени делать рестарт сервера?, 05 = 05:00 | 23 = 23:00 (по Москве)

Добавлена новая команда
sm_srvtime — показывает время по МСК
_________________________________________________________________________________________________________________________________

Узнать больше об этом обновлении...
Сообщения автоматически склеены:

Оффтоп
Держи =)
Сообщения автоматически склеены:

Вещь хорошая, но к примеру у владельца серера много плагинов, я бы сказал очень много работает, как система MULTIMOD. Так вот - у владельца много плагинов и сервер рестартится очень долго и игроков просто за большой "connect problem" просто выкинет с сервера. Возможно?
1591444861235.png
 
Последнее редактирование:

Livis

Участник
Сообщения
82
Реакции
28
Вещь хорошая, но почти на всех хостах можно рестарт поставить в определенное время.
 
  • Фэйспалм
Реакции: xek

pracc

Быть, а не казаться.
Сообщения
946
Реакции
541
Вещь хорошая, но почти на всех хостах можно рестарт поставить в определенное время.

Да, если хост имеет панель управления, а если человек использует DS/VDS и не владеет какими то определёнными навыками настройки ОС.
Тем не менее тут автор реализовал не только тупо рестарт сервера, а некую настройку на вкус каждого владельца сервера, считаю осуждать его в этом нет смысла.
 

xek

Рыба клоун
Сообщения
1,652
Реакции
636
Еще бы авто-обновление сделать))) Не всегда ./csgoserver u работает
 

Felton

Участник
Сообщения
799
Реакции
59
А где взять include?
#include smart_auto_restart
#include unix_smart_time
 
  • Мне нравится
Реакции: l.st

Hamura

Участник
Сообщения
295
Реакции
22
Пишу рестарт, не рестартится
Сообщения автоматически склеены:

L 06/07/2020 - 13:29:28: Administrator Hamura initiated server restart.
L 06/07/2020 - 13:30:48: Administrator Hamura initiated server restart.
L 06/07/2020 - 13:32:59: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/07/2020 - 13:33:13: Automatic restart is enabled. The restart will be made at 5:00 server time.
 

dvernoff

Добрая душа
Сообщения
638
Реакции
591
  • Автор ресурса
  • #89
Пишу рестарт, не рестартится
Сообщения автоматически склеены:

L 06/07/2020 - 13:29:28: Administrator Hamura initiated server restart.
L 06/07/2020 - 13:30:48: Administrator Hamura initiated server restart.
L 06/07/2020 - 13:32:59: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/07/2020 - 13:33:13: Automatic restart is enabled. The restart will be made at 5:00 server time.
Скоро фикс будет
 

Hamura

Участник
Сообщения
295
Реакции
22
Рестартит в разное время, хотя в конфиге указано 5 00,
L 06/10/2020 - 09:05:56: [SUCCESSFULLY] The server was automatically restarted, there were 1 players on the server.
L 06/10/2020 - 09:07:35: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 09:08:00: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 09:09:36: After the restart, the server has 1 players left.
L 06/10/2020 - 09:25:54: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 09:48:55: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 09:56:47: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 09:59:50: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 10:09:02: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 10:27:26: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 10:32:51: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 10:36:49: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 10:53:54: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 11:02:04: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 00:33:17: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 00:35:17: After the restart, the server has 0 players left.
L 06/11/2020 - 00:35:42: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 08:34:47: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 08:35:57: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 08:45:13: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 09:11:22: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 09:39:15: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 09:40:18: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 09:42:29: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 10:55:06: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 11:15:59: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 11:25:36: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 11:40:07: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 11:46:26: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 12:17:19: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 12:22:10: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 13:01:24: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 13:34:44: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 13:36:44: After the restart, the server has 0 players left.
L 06/11/2020 - 13:39:11: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 13:39:43: [SUCCESSFULLY] The server was automatically restarted, there were 1 players on the server.
L 06/11/2020 - 13:49:20: Automatic restart is enabled. The restart will be made at 5:00 server time
Так же частенько после рестарта не запускается сервер.
 

dvernoff

Добрая душа
Сообщения
638
Реакции
591
  • Автор ресурса
  • #92
Рестартит в разное время, хотя в конфиге указано 5 00,
L 06/10/2020 - 09:05:56: [SUCCESSFULLY] The server was automatically restarted, there were 1 players on the server.
L 06/10/2020 - 09:07:35: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 09:08:00: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 09:09:36: After the restart, the server has 1 players left.
L 06/10/2020 - 09:25:54: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 09:48:55: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 09:56:47: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 09:59:50: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 10:09:02: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 10:27:26: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 10:32:51: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 10:36:49: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 10:53:54: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/10/2020 - 11:02:04: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 00:33:17: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 00:35:17: After the restart, the server has 0 players left.
L 06/11/2020 - 00:35:42: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 08:34:47: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 08:35:57: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 08:45:13: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 09:11:22: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 09:39:15: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 09:40:18: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 09:42:29: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 10:55:06: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 11:15:59: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 11:25:36: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 11:40:07: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 11:46:26: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 12:17:19: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 12:22:10: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 13:01:24: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 13:34:44: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 13:36:44: After the restart, the server has 0 players left.
L 06/11/2020 - 13:39:11: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 06/11/2020 - 13:39:43: [SUCCESSFULLY] The server was automatically restarted, there were 1 players on the server.
L 06/11/2020 - 13:49:20: Automatic restart is enabled. The restart will be made at 5:00 server time
Так же частенько после рестарта не запускается сервер.
Привет, если после рестарта не запускается сервер, тут уже с хостингом что то, это уже проверенно,
насчёт того что рестарт в разное время, это из за того чтобы был рестарт сделан на сервере должны играть люди,
ибо проверка на время идёт в конце раунда, а если никого на сервере нет, то само собой рестарта и не будет.

Конечно могу сделать это таймером, но лишняя нагрузка такое себе удовольствие.
 

Nekro

Терра инкогнита
Сообщения
4,025
Реакции
2,260
Отличный плагин, ещё бы добавить моментальный рестарт в возможности и по команде. Так как бывают бесконечные раунды и на гг и на дм.
 

dvernoff

Добрая душа
Сообщения
638
Реакции
591
  • Автор ресурса
  • #95
Вот я тоже не увидил, мало того, что оно тупо спамит и не работает, так ещё и инклудов нет. Снёс нафиг. Использую свой самописный.
Используй =)
Думаю насчёт флуда фикс сделать, но там только стабильно 1.3.1 работает, с последней проблемы могут быть
 

l.st

Участник
Сообщения
198
Реакции
68
Используй =)
Думаю насчёт флуда фикс сделать, но там только стабильно 1.3.1 работает, с последней проблемы могут быть
А, ну да, то есть инклуд показать ты не хочешь. Ок.
И таймеры, всё в таймерах, а гибернация штука такая всё-таки, предположу что из-за неё как раз плагин и не взлетел.
Ну и очень много почестей отдано чату и худу, хотел почистить, и нарвался на инклуд.
 

dvernoff

Добрая душа
Сообщения
638
Реакции
591
  • Автор ресурса
  • #97
Держите, если хотите внести правки свои
Сообщения автоматически склеены:

мб потом перепишу плагин, и сделаю по другому системы, щас просто нет времени
 

Вложения

  • smart_auto_restart.inc
    1.1 КБ · Просмотры: 32
  • unix_smart_time.inc
    6.1 КБ · Просмотры: 26

DOVE

GLite Inc.
Сообщения
296
Реакции
54
Что-то странное происходит. На 3х серверах стоит плагин и все перезагружаются в разное время (с 7 по 11). В кофниге стоит-
1600157098155.png
L 09/15/2020 - 07:02:13: [SUCCESSFULLY] The server was automatically restarted, there were 1 players on the server.
L 09/15/2020 - 07:02:29: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 09/15/2020 - 07:04:29: After the restart, the server has 1 players left.
 

dvernoff

Добрая душа
Сообщения
638
Реакции
591
  • Автор ресурса
  • #99
Что-то странное происходит. На 3х серверах стоит плагин и все перезагружаются в разное время (с 7 по 11). В кофниге стоит-
L 09/15/2020 - 07:02:13: [SUCCESSFULLY] The server was automatically restarted, there were 1 players on the server.
L 09/15/2020 - 07:02:29: Automatic restart is enabled. The restart will be made at 5:00 server time.
L 09/15/2020 - 07:04:29: After the restart, the server has 1 players left.
Привет,
время устанавливается по МСК, версия 1.4 по ссути нестабильная в работе поэтому может быть всякое,
сколько сейчас времени на сервере по мнению плагина который рестартит команда: sm_srvtime, и подобрать время уже отталкиваясь от этого.

Ну или использовать sm_sar_when 1, он работает без проблем.
В будушем будет глобальный перепис плагина, где уже будет всё окей.
 
Последнее редактирование:
Сверху Снизу