Jump to content
DAYZ-CODE.RU - Создай свой игровой сервер

Search the Community

Showing results for tags 'script'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • THE MAIN SECTION OF THE FORUM
    • DAYZ-CODE.RU
    • АРБИТРАЖ DAYZ-CODE.RU
    • DAYZ STANDALONE GAME NEWS
  • SERVER BUILDING - DAYZ STANDALONE
    • GUIDES/MANUALS AND OTHER INSTRUCTIONS
    • HELP - DAYZ STANDALONE
  • PRIVATE SECTION OF THE SITE
    • PRIVATE SECTION
  • TRADE SECTION AND PROVISION OF SERVICES
    • PURCHASE OF GOODS AND SERVICES
    • PROVISION OF SERVICES
    • WORK
  • PRODUCT SUPPORT TOPICS
    • PRODUCT SUPPORT DAYZ STANDALONE
    • SUPPORT FOR "USEFUL SOFTWARE"
  • Different
    • FLAME ON VARIOUS TOPICS
  • JOINT PURCHASES
    • ALL JOINT PURCHASES
  • SITE ARCHIVE DAYZ-CODE.RU
    • SITE ARCHIVE
  • ARMA 3
    • ARMA 3 - GUIDES/MANUALS AND OTHER INSTRUCTIONS
    • HELP - ARMA 3
  • ARMA 3
    • ARMA 3 - Missions and Campaigns
  • ARMA 3
    • ARMA 3 - Online game
  • ARMA 3
    • ARMA 3 - Editor
  • ARMA 3 -BIS
    • ARMA 3 - BIS Bugtracker
  • DAYZ STANDALONE -BIS
    • DAYZ SA - BIS Bugtracker

Categories

  • Equipment
    • Shoes
    • Masks
    • Hats
    • Glasses
    • Gloves
    • Vests
    • Backpacks
    • Cloth
    • Belts
  • Craft
  • Food
    • Meat and Fish
    • Canned food
    • Mushrooms
    • Vegetables and fruits
    • Water and Drinks
  • Indicators
  • Construction
  • Ammo
  • Modules
    • Magazines and clips
    • Add. Modifications
    • Butts
    • Sights
    • Muzzle modifications
    • Handguard and Handles
  • Weapons
    • G. launchers
    • Auth. Rifles
    • Shotguns
    • Pistols M. guns
    • Rifles
    • Pistols
    • Throwing
  • Medicine
  • Grenades
  • Diseases
  • Instruments
  • Tents and Containers
  • Resources
    • Fuel
    • Extracted resources
    • Building Resources
    • Animal skins
  • Electrical apps
  • Means of communication
  • Sources of light
  • Repair
  • Other
  • Cooking
  • Explosives

Categories

  • DayZ STANDALONE
    • Server builds
    • Scripts, mods
    • Map modding
    • Transport
    • Weapons
    • Furniture
    • Items
    • Models
  • DayZ useful software
    • Software
    • Other

Product Groups

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Information


Paul


City


Member Title


VKontakte


Discord


Boosty


Mail


Skype


Steam ID

Found 10 results

  1. Просмотр файла Файл init.c, для спавна в рандомных сетах файл init.c, с уже готовыми 4-мя вариантами одежды при спавне на берегу, то есть после каждой смерти персонаж будет появляться в одном из 4-х этих сетов, в файле подписал какая строчка за что отвечает. the init.c file, with 4 ready-made clothing options when spawning on the shore, that is, after each death, the character will appear in one of these 4 sets, in the file signed which line is responsible for what. Добавил drofonest Добавлено 03.09.2023 Категория Скрипты, моды  
  2. Просмотр файла craft script. Скрипт работающий на момент 1.0 патча в архиве всё интуитивно всё понятно. приличное время назад ушёл из dayz как тех. админ И решил выложить в свободных доступ то что имеется у меня в недрах моего пк. Проверил скрипт на лвс, мод запускается, но в игре не проверял просьба кто запустит отписаться в личные сообщения чтобы удостовериться в работе скрипта для дальнейшего изменения описания. Если будут вопросы пишите в личные сообщения на форуме, постараюсь помочь The script running at the time of the 1.0 patch in the archive is all intuitively clear. I left dayz a good while ago as a tech. admin And I decided to put in free access what I have in the bowels of my PC. I checked the script on the LAN, the mod runs, but I did not check in the game , please who will start unsubscribe in private messages to make sure the script works for further changes in the description. If you have any questions, write in private messages on the forum, I will try to help Добавил shufi Добавлено 07.02.2024 Категория Скрипты, моды  
  3. Version 1.0.4

    131 downloads

    Описание: Серверный скрипт, осуществляющий автоматические рестарты сервера с уведомлениями в чате сервера о времени до рестартов, времени работы сервера, а также автоматической блокировкой возможности входа на сервер, киком игроков с сервера на момент блокировки сервера, а также выключением сервера. Для полноценного рестарта вам остается лишь включить сервер заново снова (например, из настроенного вами batch-файла или любой другой программы). Игра, для который подходит данный товар: DayZ Standalone Тип: серверный скрипт Авторство: (123new) Возможности: Автоматические уведомления в чате о времени до рестарта (можно отключить) Автоматические уведомления в чате о времени работы сервера с момента старта (можно отключить) Автоматические настраиваемые уведомления перед непосредственным рестартом сервера для игроков в чат. (можно отключить) Автоматическая блокировка входа на сервер за X минут до физического рестарта сервера (можно отключить) Автоматический кик всех играющих на сервере игроков с сервера за X минут до физического рестарта сервера. (можно отключить) К сожалению, возможности выводить причину кика на экран не возможно сделать без своего клиент-серверного мода (особенность языка игры). Сохранение персонажа при этом выполняется штатными системами сервера игры. Автоматический кик (имитация блокировки сервера) всех входящих на сервер игроков, если сервер заблокирован. (можно отключить) К сожалению, возможности выводить причину кика на экран не возможно сделать без своего клиент-серверного мода (особенность языка игры). Автоматическое выключение сервера в момент рестарта с корректным выключением сервера. (можно отключить) Настраиваемые тексты уведомлений и оповещений в чат перед каждым действием. Два типа рестартов с возможностью включения и настройки нужного режима: 1) рестарт фиксированный, по указанному времени (аналог sheduler BEC). 2) рестарт динамичный, через фиксированное время от момента запуска сервера. Команды, доступные извне для других скриптов через вызов кода Get_RestartServer_System() для исполнения в своих скриптах и службах. С их помощью возможна ручная блокировка, разблокировка сервера, кик всех игроков и перезагрузка сервера. Рекомендую для простоты програмку из способа 3. Важно: Работоспособность скрипта напрямую зависит от функции и исполнения игрой CallLater (отложенный запуск). Если вдруг после какой-то модификации или обновления игры функция будет сломана, либо заторможена, рестарт может быть задержан на какое-то время. На момент работы с патчем 1.07 такие зависания найдены после работы сервера 5.5 часов без перезагрузки (без модов), на более старых версиях игры таких проблем не наблюдалось. По этой причине не рекомендую ставить частоту рестартов выше 5 часов! Скрипт проверен на чистой версии игры на момент публикации и является работоспособным по сей день и час. Настройка: Настройка скрипта состоит из нескольких блоков, часть настроек в которых зависит друг от друга. Советую вам крайне внимательно отнестись к заполнению настроек! Общие настройки: Параметр Name_Block_Log_Script - метка, отображаемая в script.log файлах в моменты исполнения скриптовых команд данного скрипта, включая информацию об отправках сервера на рестарт и чат. Формат значений - Произвольные значения текста! Метка поможет отследить выполнение работы скрипта и исправлять ошибки. Параметр enable_work_script - включает и отключает работу всего скрипта. При false будет отключен, и не будет ничего делать в принципе вообще. Формат значений - true или false Параметр enable_shutdown_server_procedures - включает и отключает функционал рестартов сервера скриптом (при false отключится именно сам функционал рестартов, остальное будет работать) Параметр Enabled_Restarts_In_fixed_time - переключение режима рестартов сервера (true - по фиксированному времени, false - по времени от старта сервера) (параметр 'enable_shutdown_server_procedures' не влияет на это значение) (время используемое для кика игроков и блокировки сервера при 'true' используется фиксированное, при 'false' - динамическое от старта сервера) Далее для полноценной работы скрипта обязательно необходимо настроить один из 2 блоков ниже! Именно настроить, а не удалить, закомментировать!!! От них зависит работоспособность функционала блокировки сервера и кика игроков, даже если "enable_shutdown_server_procedures = false;" Блок 1 - фиксированное время выключений сервера: Параметр-массив Restarts_Fixed_Time - Фиксированное время для рестартов сервера (работает при Enabled_Restarts_In_fixed_time = true) (если enable_shutdown_server_procedures = false и Enabled_Restarts_In_fixed_time = true то от этого времени будет зависеть функционал блокировки и автокика с сервера) Блок 2 - динамическое время выключений сервера: Параметр time_format - Формат времени для динамических рестартов (по времени от старта сервера) для значения ниже. Возможные значения: seconds, minutes, hours. (работает при Enabled_Restarts_In_fixed_time = false) Параметр time_wait_autorestart - Время для динамического рестарта, которое сервер будет отсчитывать от момента запуска сервера. Значение указывается в формате по параметру time_format (например 3.2) (не рекомендуется ставить более 4 часов). Формат значений - число с точкой. Например, если указано 3.0 и hours то это значит что рестарт будет через 3.0 часа. (работает при Enabled_Restarts_In_fixed_time = false) Опциональный функционал скрипта: 1. Функционал, работающий только при включенной опции enable_shutdown_server_procedures = true; Параметр Time_Wait_AfterChatInformation_shutdown_server - тут указывается за столько секунд перед фактическим рестартом будет автоинформирование в чат сервера. Формат значений - простое число, без точки. Время в секундах! Параметр text_ChatInformation_shutdown_server - сообщение автоинформирования в чат перед непосредственно выполнением рестарта сервера, для параметра выше. Вместо %time% будет автоматически подставлено время скриптом. Формат значений - любой текст. Параметр enable_shutdown_server_chat_RestartInformation_functions - включение-отключение функционала уведомлений в чат перед скорым рестартом по указанному ниже времени. Формат значений - true или false Параметр-массив RestartsInformation_chat_minutes - время, за сколько будет отправлено каждое уведомление в чат о скором рестарте сервера. Формат значений - простое число, без точки. Время в минутах! Работает только при enable_shutdown_server_chat_RestartInformation_functions = true. Параметр text_RestartsInformation_chat - Уведомление в чат о скором рестарте сервера. Вместо %time% будет автоматически подставлено время скриптом. Формат значений - любой текст. Работает только при enable_shutdown_server_chat_RestartInformation_functions = true. 2. Функционал, отвечающий за фоновые уведомления в чат о времени до рестарта и времени работы сервера (uptime) Параметр enable_chat_info_restart_and_uptime - включение-отключение информирования в чат через равные промежутки времени о времени работы сервера и времени, оставшегося до рестарта сервера (true - вкл., false - откл.) Параметр text_chat_info_restart_and_uptime - Уведомление автоинформирования в чат. Вместо %time% и %uptime% будет автоматически подставлено время скриптом. Формат значений - любой текст. Работает только при enable_chat_info_restart_and_uptime = true. Параметр time_format_chat_info_restart_and_uptime - Формат времени, какое будет выводиться в сообщении выше. Может иметь только значения: 'seconds', 'minutes', 'hours'. Работает только при enable_chat_info_restart_and_uptime = true. Параметр match_time_chat_info_restart_and_uptime - включение-отключение округления времени в сообщении выше до целого числа (true - вкл., false - откл.). Работает только при enable_chat_info_restart_and_uptime = true. Параметр time_chat_information_autorestart - Время между повтором отправки в чат информации о том, сколько сервер работает и сколько времени осталось до рестарта.). Значение указывается в формате по параметру time_format_chat_info_restart_and_uptime. Формат значений - число с точкой. Например, если указано 0.10 и hours то значит каждые 0.10 часа (час напоминаю это 60 минут, т.е. значение 1.0 = 1 час, значит 0.10 от 1 часа (10% от 60 минут) это 6 минут). 3. Функционал, отвечающий за блокировки входа на сервер перед рестартом: Параметр enable_lock_server_in_restart - включение-отключение блокировки входа на сервер перед рестартом (true - вкл., false - откл.) Параметр text_lock_server_in_restart - сообщение в чат, отправляемое играющим в чат, когда вход на сервер заблокирован. Формат значений - любой текст. Работает только при enable_lock_server_in_restart = true. Параметр time_undo_lock_server - Время в минутах до того, как сервер закроется на рестарт и перестанет пускать игроков (т.е. за X минут до момента самого рестарта). Формат значений - число с точкой. Время до рестарта берется в зависимости от настроек 1 из 2 обязательных блоков настроек выше. Работает только при enable_lock_server_in_restart = true. 4. Функционал, отвечающий за кик всех игроков перед рестартом сервера: Параметр enable_kick_all_from_server_in_restart - включение-отключение кика всех игроков перед рестартом сервера (true - вкл., false - откл.) Параметр Time_kick_all_informationWait - время в секундах, за столько секунд перед фактическим киком с сервера будет автоинформирование в чат. Формат значений - простое число, без точки. Время в секундах! Работает только при enable_kick_all_from_server_in_restart = true. Параметр text_kick_all_from_server_in_restart - сообщение автоинформирования в чат перед непосредственно выполнением кика всех игроков с сервера, для параметра выше. Вместо %time% будет автоматически подставлено время скриптом. Формат значений - любой текст. Работает только при enable_kick_all_from_server_in_restart = true. Параметр time_undo_kick_all_from_server_after_lock - время в минутах, за столько будет запущен автокик всех игроков с сервера (перед фактическим рестартом сервера). Формат значений - число с точкой. Работает только при enable_kick_all_from_server_in_restart = true. Исправлена ошибка в логике определения времени до рестарта в скрипте при включенном функционале рестартов по фиксированному времени. (для случаев, когда время рестарта и текущее время почти совпадали, отличались лишь секунды) Добавлено дополнительное логирование по выбираемому режиму рестарта и времени рестарта в логах сервера Добавлено дополнительное логирование времени, которое выберет скрипт по окончании расчетов для будущего рестарта сервера Добавлено дополнительное логирование времени по оставшемуся до рестарта времени В случае возникновения каких-либо проблем в работе скрипта рестартов по фиксированному прописанному времени (функционал-альтернатива BEC) измените следующий параметр на указанное ниже значение. bool EnableDebugLogs = true; Это поможет мне отследить работу данного функционала и найти проблему! При обращении за помощью обязательно прикладывайте ваш script.log рабочего сервера на момент с проблемой и включенной данной опцией в скрипте! Description: A server script that performs automatic server restarts with notifications in the server chat about the time before restarts, server operation time, as well as automatic blocking of the possibility of logging on to the server, kicking players from the server at the time of server blocking, as well as turning off the server. For a full restart, you just need to turn on the server again (for example, from the batch file you configured or any other program). The game for which this product is suitable: DayZ Standalone Type: Server script Authorship: me (123new) Opportunities: Automatic chat notifications about the time before the restart (can be disabled) Automatic chat notifications about server operation time from the start (can be disabled) Automatic customizable notifications before the server restarts directly for players in the chat. (can be disabled) Automatic blocking of login to the server X minutes before the physical restart of the server (can be disabled) Automatic kick of all players playing on the server from the server X minutes before the physical restart of the server. (can be disabled) Unfortunately, it is not possible to display the reason for the kick on the screen without its client-server mod (a feature of the language of the game). The character is saved at the same time by the regular systems of the game server. Automatic kick (server lock imitation) of all players entering the server if the server is blocked. (can be disabled) Unfortunately, it is not possible to display the reason for the kick on the screen without its client-server mod (a feature of the language of the game). Automatic shutdown of the server at the time of restart with the correct shutdown of the server. (can be disabled) Customizable texts of notifications and alerts in the chat before each action. Two types of restarts with the ability to enable and configure the desired mode: 1) the restart is fixed, at the specified time (analogous to sheduler BEC). 2) the restart is dynamic, after a fixed time from the moment the server is started. Commands accessible from outside to other scripts via code call Get_RestartServer_System() for execution in their scripts and services. With their help, it is possible to manually lock, unlock the server, kick all players and restart the server. I recommend for simplicity a program from method 3. Important: The performance of the script directly depends on the function and execution of the game callLater (delayed launch). If suddenly, after some modification or update of the game, the function is broken or slowed down, the restart may be delayed for some time. At the time of working with patch 1.07, such freezes were found after the server had been running for 5.5 hours without restarting (without mods), no such problems were observed on older versions of the game. For this reason, I do not recommend setting the frequency of restarts above 5 hours! The script was tested on a clean version of the game at the time of publication and is operational to this day and hour. Customization: The script setup consists of several blocks, some of the settings in which depend on each other. I advise you to pay very close attention to filling in the settings! General Settings: The Name_Block_Log_Script parameter is a label displayed in script.log files at the time of execution of the script commands of this script, including information about server restart and chat dispatches. The format of values is Arbitrary text values! The label will help to ice the execution of the script and correct errors. The enable_work_script parameter enables and disables the operation of the entire script. If false, it will be disabled, and will not do anything in principle at all. The format of the values is true or false The enable_shutdown_server_procedures parameter - enables and disables the functionality of server restarts by script (if false, it is the restart functionality itself that will be disabled, the rest will work) The Enabled_Restarts_In_fixed_time parameter - switching the server restarts mode (true - by fixed time, false - by time from the server start) (the 'enable_shutdown_server_procedures' parameter does not affect this offset) (the time used for kicking players and blocking the server is fixed when 'true', dynamic from the server start when 'false') Next, for the script to work properly, you must configure one of the 2 blocks below! It is to configure, not delete, comment out!!! The operability of the server blocking and player kick functionality depends on them, even if "enable_shutdown_server_procedures = false;" Block 1 - fixed time of server shutdowns: Parameter-array Restarts_Fixed_Time - Fixed time for server restarts (works when Enabled_Restarts_In_fixed_time = true) (if enable_shutdown_server_procedures = false and Enabled_Restarts_In_fixed_time = true, then the functionality of blocking and auto-kicking from the server will depend on this time) Block 2 - Dynamic server shutdown time: The time_format parameter is the time format for dynamic restarts (according to the time from the server start) for the value below. Possible values: seconds, minutes, hours. (works when Enabled_Restarts_In_fixed_time = false) The time_wait_autorestart parameter is the time for a dynamic restart, which the server will count from the moment the server starts. The value is specified in the format by the time_format parameter (for example 3.2) (it is not recommended to set more than 4 hours). The format of the values is a number with a dot. For example, if 3.0 and hours are specified, it means that the restart will be in 3.0 hours. (works when Enabled_Restarts_In_fixed_time = false) Optional script functionality: 1. Functionality that works only when the enable_shutdown_server_procedures = true option is enabled; The Time_Wait_AfterChatInformation_shutdown_server parameter is specified here for as many seconds before the actual restart there will be auto-information in the server chat. The format of the values is a simple number, without a dot. Time in seconds! The text_ChatInformation_shutdown_server parameter is an auto-information message to the chat before the server restart is performed directly, for the parameter above. Instead of %time%, the time will be automatically substituted by the script. The format of the values is any text. The enable_shutdown_server_chat_RestartInformation_functions parameter is enabling or disabling the notification functionality in the chat before the fast restart at the time specified below. The format of the values is true or false Parameter-array RestartsInformation_chat_minutes - the time for how long each notification will be sent to the chat about the imminent restart of the server. The format of the values is a simple number, without a dot. Time in minutes! Works only when enable_shutdown_server_chat_RestartInformation_functions = true. The text_RestartsInformation_chat parameter is a notification to the chat about the imminent restart of the server. Instead of %time%, the time will be automatically substituted by the script. The format of the values is any text. Works only when enable_shutdown_server_chat_RestartInformation_functions = true. 2. The functionality responsible for background notifications in the chat about the time before the restart and the server's uptime The enable_chat_info_restart_and_uptime parameter - enables or disables informing the chat at regular intervals about the server's operating time and the time remaining before the server restart (true - on, false - off) The text_chat_info_restart_and_uptime parameter is an auto-information notification to the chat. Instead of %time% and %uptime%, the time will be automatically substituted by the script. The format of the values is any text. Works only when enable_chat_info_restart_and_uptime = true. The time_format_chat_info_restart_and_uptime parameter is the format of the time that will be displayed in the message above. It can only have the values: 'seconds', 'minutes', 'hours'. Works only when enable_chat_info_restart_and_uptime = true. The match_time_chat_info_restart_and_uptime parameter - enables or disables rounding the time in the message above to an integer (true - on, false - off). Works only when enable_chat_info_restart_and_uptime = true. The time_chat_information_autorestart parameter is the time between the repetition of sending information to the chat about how long the server is running and how much time is left before the restart.). The value is specified in the format by the time_format_chat_info_restart_and_uptime parameter. The format of the values is a number with a dot. For example, if 0.10 and hours are specified, then it means every 0.10 hours (an hour is 60 minutes, i.e. the value 1.0 = 1 hour, means 0.10 of 1 hour (10% of 60 minutes) it's 6 minutes). 3. The functionality responsible for blocking the entrance to the server before restarting: The enable_lock_server_in_restart parameter is enabling or disabling the server login lock before restarting (true - on, false - off) The text_lock_server_in_restart parameter is a chat message sent to the chat player when the server login is blocked. The format of the values is any text. Works only when enable_lock_server_in_restart = true. The time_undo_lock_server parameter is the time in minutes before the server closes for restart and stops letting players in (i.e. X minutes before the restart itself). The format of the values is a number with a dot. The time to restart is taken depending on the settings of 1 of the 2 mandatory settings blocks above. Works only when enable_lock_server_in_restart = true. 4. The functionality responsible for kicking all players before restarting the server: The enable_kick_all_from_server_in_restart parameter - enabling-disabling the kick of all players before restarting the server (true - on, false - off) The Time_kick_all_informationWait parameter is the time in seconds, so many seconds before the actual kick from the server there will be auto-information in the chat. The format of the values is a simple number, without a dot. Time in seconds! Works only when enable_kick_all_from_server_in_restart = true. The text_kick_all_from_server_in_restart parameter is an auto-information message to the chat before directly kicking all players from the server, for the parameter above. Instead of %time%, the time will be automatically substituted by the script. The format of the values is any text. Works only when enable_kick_all_from_server_in_restart = true. The time_undo_kick_all_from_server_after_lock parameter is the time in minutes for which the auto-kick of all players from the server will be launched (before the actual server restart). The format of the values is a number with a dot. Works only when enable_kick_all_from_server_in_restart = true. Fixed an error in the logic of determining the time to restart in the script when the fixed-time restart functionality is enabled. (for cases when the restart time and the current time almost coincided, only seconds differed) Additional logging was added according to the selected restart mode and restart time in the server logs Added additional time logging, which the script will select at the end of calculations for the future server restart. Added additional time logging for the time remaining before the restart In case of any problems in the operation of the restart script at a fixed prescribed time (functional alternative to BEC), change the following parameter to the value specified below. bool EnableDebugLogs = true; This will help me track the operation of this functionality and find the problem! When asking for help, be sure to attach your script.log of the working server at the time with the problem and this option enabled in the script!
    Free
  4. Version 1.0.0

    37 downloads

    Скрипт работающий на момент 1.0 патча в архиве всё интуитивно всё понятно. приличное время назад ушёл из dayz как тех. админ И решил выложить в свободных доступ то что имеется у меня в недрах моего пк. Проверил скрипт на лвс, мод запускается, но в игре не проверял просьба кто запустит отписаться в личные сообщения чтобы удостовериться в работе скрипта для дальнейшего изменения описания. Если будут вопросы пишите в личные сообщения на форуме, постараюсь помочь The script running at the time of the 1.0 patch in the archive is all intuitively clear. I left dayz a good while ago as a tech. admin And I decided to put in free access what I have in the bowels of my PC. I checked the script on the LAN, the mod runs, but I did not check in the game , please who will start unsubscribe in private messages to make sure the script works for further changes in the description. If you have any questions, write in private messages on the forum, I will try to help
    Free
  5. Просмотр файла Restart System with Autokick / Система рестартов с автокиком игроков Описание: Серверный скрипт, осуществляющий автоматические рестарты сервера с уведомлениями в чате сервера о времени до рестартов, времени работы сервера, а также автоматической блокировкой возможности входа на сервер, киком игроков с сервера на момент блокировки сервера, а также выключением сервера. Для полноценного рестарта вам остается лишь включить сервер заного снова (например, из настроенного вами batch-файла или любой другой программы). Игра, для который подходит данный товар: DayZ Standalone Тип: серверный скрипт Авторство: я (123new) Возможности: Автоматические уведомления в чате о времени до рестарта (можно отключить) Автоматические уведомления в чате о времени работы сервера с момента старта (можно отключить) Автоматические настраиваемые уведомления перед непосредственным рестартом сервера для игроков в чат. (можно отключить) Автоматическая блокировка входа на сервер за X минут до физического рестарта сервера (можно отключить) Автоматический кик всех играющих на сервере игроков с сервера за X минут до физического рестарта сервера. (можно отключить) К сожалению, возможности выводить причину кика на экран не возможно сделать без своего клиент-серверного мода (особенность языка игры). Сохранение персонажа при этом выполняется штатными системами сервера игры. Автоматический кик (иммитация блокировки сервера) всех входящих на сервер игроков, если сервер заблокирован. (можно отключить) К сожалению, возможности выводить причину кика на экран не возможно сделать без своего клиент-серверного мода (особенность языка игры). Автоматическое выключение сервера в момент рестарта с корректным выключением сервера. (можно отключить) Настраиваемые тексты уведомлений и оповещений в чат перед каждым действием. Два типа рестартов с возможностью включения и настройки нужного режима: 1) рестарт фиксированный, по указанному времени (аналог sheduler BEC). 2) рестарт динамичный, через фиксированное время от момента запуска сервера. Комманды, доступные извне для других скриптов через вызов кода Get_RestartServer_System() для исполнения в своих скриптах и службах. С их помощью возможна ручная блокировка, разблокировка сервера, кик всех игроков и перезагрузка сервера. Рекоммендую для простоты програмку из способа 3. Важно: Работоспособность скрипта напрямую зависит от функции и исполнения игрой CallLater (отложенный запуск). Если вдруг после какой-то модификации или обновления игры функция будет сломана, либо заторможена, рестарт может быть задержан на какое-то время. На момент работы с патчем 1.07 такие зависания найдены после работы сервера 5.5 часов без перезагрузки (без модов), на более старых версиях игры таких проблем не наблюдалось. По этой причине не рекоммендую ставить частоту рестартов выше 5 часов! Скрипт проверен на чистой версии игры на момент публикации и является работоспособным по сей день и час. Настройка: Настройка скрипта состоит из нескольких блоков, часть настроек в которых зависит друг от друга. Советую вам крайне внимательно отнестись к заполнению настроек! Общие настройки: Параметр Name_Block_Log_Script - метка, отображаемая в script.log файлах в моменты исполнения скриптовых комманд данного скрипта, включая информацию об отправках сервера на рестарт и чат. Формат значений - Произвольные значения текста! Метка поможет оледить выполнение работы скрипта и исправлять ошибки. Параметр enable_work_script - включает и отключает работу всего скрипта. При false будет отключен, и не будет ничего делать впринципе вообще. Формат значений - true или false Параметр enable_shutdown_server_procedures - включает и отключает функционал рестартов сервера скриптом (при false отключится именно сам функционал рестартов, остальное будет работать) Параметр Enabled_Restarts_In_fixed_time - переключение режима рестартов сервера (true - по фиксированному времени, false - по времени от старта сервера) (параметр 'enable_shutdown_server_procedures' не влияет на это зачение) (время используемое для кика игроков и блокировки сервера при 'true' используется фиксированное, при 'false' - динамическое от старта сервера) Далее для полноценной работы скрипта обязательно необходимо настроить один из 2 блоков ниже! Именно настроить, а не удалить, закомментировать!!! От них зависит работоспособность функционала блокировки сервера и кика игроков, даже если "enable_shutdown_server_procedures = false;" Блок 1 - фиксированное время выключений сервера: Параметр-массив Restarts_Fixed_Time - Фиксированное время для рестартов сервера (работает при Enabled_Restarts_In_fixed_time = true) (если enable_shutdown_server_procedures = false и Enabled_Restarts_In_fixed_time = true то от этого времени будет зависеть функционал блокировки и автокика с сервера) Блок 2 - динамическое время выключений сервера: Параметр time_format - Формат времени для динамических рестартов (по времени от старта сервера) для значения ниже. Возможные значения: seconds, minutes, hours. (работает при Enabled_Restarts_In_fixed_time = false) Параметр time_wait_autorestart - Время для динамического рестарта, которое сервер будет отсчитывать от момента запуска сервера. Значение указывается в формате по параметру time_format (например 3.2) (не рекоммендуется ставить более 4 часов). Формат значений - число с точкой. Например, если указано 3.0 и hours то это значит что рестарт будет через 3.0 часа. (работает при Enabled_Restarts_In_fixed_time = false) Опциональный функционал скрипта: 1. Функционал, работающий только при включенной опции enable_shutdown_server_procedures = true; Параметр Time_Wait_AfterChatInformation_shutdown_server - тут указывается за столько секунд перед фактическим рестартом будет автоинформирование в чат сервера. Формат значений - простое число, без точки. Время в секундах! Параметр text_ChatInformation_shutdown_server - сообщение автоинформирования в чат перед непосредственно выполнением рестарта сервера, для параметра выше. Вместо %time% будет автоматически подставлено время скриптом. Формат значений - любой текст. Параметр enable_shutdown_server_chat_RestartInformation_functions - включение-отключение функционала уведомлений в чат перед скорым рестартом по указанному ниже времени. Формат значений - true или false Параметр-массив RestartsInformation_chat_minutes - время, за сколько будет отправлено каждое уведомление в чат о скором рестарте сервера. Формат значений - простое число, без точки. Время в минутах! Работает только при enable_shutdown_server_chat_RestartInformation_functions = true. Параметр text_RestartsInformation_chat - Уведомление в чат о скором рестарте сервера. Вместо %time% будет автоматически подставлено время скриптом. Формат значений - любой текст. Работает только при enable_shutdown_server_chat_RestartInformation_functions = true. 2. Функционал, отвечающий за фоновые уведомления в чат о времени до рестарта и времени работы сервера (uptime) Параметр enable_chat_info_restart_and_uptime - включение-отключение информирования в чат через равные промежутки времени о времени работы сервера и времени, оставшегося до рестарта сервера (true - вкл., false - откл.) Параметр text_chat_info_restart_and_uptime - Уведомление автоинформирования в чат. Вместо %time% и %uptime% будет автоматически подставлено время скриптом. Формат значений - любой текст. Работает только при enable_chat_info_restart_and_uptime = true. Параметр time_format_chat_info_restart_and_uptime - Формат времени, какое будет выводиться в сообщении выше. Может иметь только значения: 'seconds', 'minutes', 'hours'. Работает только при enable_chat_info_restart_and_uptime = true. Параметр match_time_chat_info_restart_and_uptime - включение-отключение округления времени в сообщении выше до целого числа (true - вкл., false - откл.). Работает только при enable_chat_info_restart_and_uptime = true. Параметр time_chat_information_autorestart - Время между повтором отправки в чат информации о том, сколько сервер работает и сколько времени осталось до рестарта.). Значение указывается в формате по параметру time_format_chat_info_restart_and_uptime. Формат значений - число с точкой. Например, если указано 0.10 и hours то значит каждые 0.10 часа (час напоминаю это 60 минут, т.е. значение 1.0 = 1 час, значит 0.10 от 1 часа (10% от 60 минут) это 6 минут). 3. Функционал, отвечающий за блокировки входа на сервер переод рестартом: Параметр enable_lock_server_in_restart - включение-отключение блокировки входа на сервер перед рестартом (true - вкл., false - откл.) Параметр text_lock_server_in_restart - сообщение в чат, отправляемое играющим в чат, когда вход на сервер заблокирован. Формат значений - любой текст. Работает только при enable_lock_server_in_restart = true. Параметр time_undo_lock_server - Время в минутах до того, как сервер закроется на рестарт и перестанет пускать игроков (т.е. за X минут до момента самого рестарта). Формат значений - число с точкой. Время до рестарта берется в зависимости от настроек 1 из 2 обязательных блоков настроек выше. Работает только при enable_lock_server_in_restart = true. 4. Функционал, отвечающий за кик всех игроков перед рестартом сервера: Параметр enable_kick_all_from_server_in_restart - включение-отключение кика всех игроков перед рестартом сервера (true - вкл., false - откл.) Параметр Time_kick_all_informationWait - время в секундах, за столько секунд перед фактическим киком с сервера будет автоинформирование в чат. Формат значений - простое число, без точки. Время в секундах! Работает только при enable_kick_all_from_server_in_restart = true. Параметр text_kick_all_from_server_in_restart - сообщение автоинформирования в чат перед непосредственно выполнением кика всех игроков с сервера, для параметра выше. Вместо %time% будет автоматически подставлено время скриптом. Формат значений - любой текст. Работает только при enable_kick_all_from_server_in_restart = true. Параметр time_undo_kick_all_from_server_after_lock - время в минутах, за столько будет запущен автокик всех игроков с сервера (перед фактическим рестартом сервера). Формат значений - число с точкой. Работает только при enable_kick_all_from_server_in_restart = true. Исправлена ошибка в логике определения времени до рестарта в скрипте при включенном функционале рестартов по фиксированному времени. (для случаев, когда время рестарта и текущее время почти совпадали, отличались лишь секунды) Добавлено дополнительное логирование по выбираемому режиму рестарта и времени рестарта в логах сервера Добавлено дополнительное логирование времени, которое выберет скрипт по окончании расчетов для будущего рестарта сервера Добавлено дополнительное логирование времени по оставшемуся до рестарта времени В случае возникновения каких-либо проблем в работе скрипта рестартов по фиксированному прописанному времени (функционал-альтернатива BEC) измените следующий параметр на указанное ниже значение. bool EnableDebugLogs = true; Это поможет мне отследить работу данного функционала и найти проблему! При обращении за помощью обязательно прикладывайте ваш script.log рабочего сервера на момент с проблемой и включенной данной опцией в скрипте! Description: A server script that performs automatic server restarts with notifications in the server chat about the time before restarts, server operation time, as well as automatic blocking of the possibility of logging on to the server, kicking players from the server at the time of server blocking, as well as turning off the server. For a full restart, you just need to turn on the server again (for example, from the batch file you configured or any other program). The game for which this product is suitable: DayZ Standalone Type: Server script Authorship: me (123new) Opportunities: Automatic chat notifications about the time before the restart (can be disabled) Automatic chat notifications about server operation time from the start (can be disabled) Automatic customizable notifications before the server restarts directly for players in the chat. (can be disabled) Automatic blocking of login to the server X minutes before the physical restart of the server (can be disabled) Automatic kick of all players playing on the server from the server X minutes before the physical restart of the server. (can be disabled) Unfortunately, it is not possible to display the reason for the kick on the screen without its client-server mod (a feature of the language of the game). The character is saved at the same time by the regular systems of the game server. Automatic kick (server lock imitation) of all players entering the server if the server is blocked. (can be disabled) Unfortunately, it is not possible to display the reason for the kick on the screen without its client-server mod (a feature of the language of the game). Automatic shutdown of the server at the time of restart with the correct shutdown of the server. (can be disabled) Customizable texts of notifications and alerts in the chat before each action. Two types of restarts with the ability to enable and configure the desired mode: 1) the restart is fixed, at the specified time (analogous to sheduler BEC). 2) the restart is dynamic, after a fixed time from the moment the server is started. Commands accessible from outside to other scripts via code call Get_RestartServer_System() for execution in their scripts and services. With their help, it is possible to manually lock, unlock the server, kick all players and restart the server. I recommend for simplicity a program from method 3. Important: The performance of the script directly depends on the function and execution of the game callLater (delayed launch). If suddenly, after some modification or update of the game, the function is broken or slowed down, the restart may be delayed for some time. At the time of working with patch 1.07, such freezes were found after the server had been running for 5.5 hours without restarting (without mods), no such problems were observed on older versions of the game. For this reason, I do not recommend setting the frequency of restarts above 5 hours! The script was tested on a clean version of the game at the time of publication and is operational to this day and hour. Customization: The script setup consists of several blocks, some of the settings in which depend on each other. I advise you to pay very close attention to filling in the settings! General Settings: The Name_Block_Log_Script parameter is a label displayed in script.log files at the time of execution of the script commands of this script, including information about server restart and chat dispatches. The format of values is Arbitrary text values! The label will help to ice the execution of the script and correct errors. The enable_work_script parameter enables and disables the operation of the entire script. If false, it will be disabled, and will not do anything in principle at all. The format of the values is true or false The enable_shutdown_server_procedures parameter - enables and disables the functionality of server restarts by script (if false, it is the restart functionality itself that will be disabled, the rest will work) The Enabled_Restarts_In_fixed_time parameter - switching the server restarts mode (true - by fixed time, false - by time from the server start) (the 'enable_shutdown_server_procedures' parameter does not affect this offset) (the time used for kicking players and blocking the server is fixed when 'true', dynamic from the server start when 'false') Next, for the script to work properly, you must configure one of the 2 blocks below! It is to configure, not delete, comment out!!! The operability of the server blocking and player kick functionality depends on them, even if "enable_shutdown_server_procedures = false;" Block 1 - fixed time of server shutdowns: Parameter-array Restarts_Fixed_Time - Fixed time for server restarts (works when Enabled_Restarts_In_fixed_time = true) (if enable_shutdown_server_procedures = false and Enabled_Restarts_In_fixed_time = true, then the functionality of blocking and auto-kicking from the server will depend on this time) Block 2 - Dynamic server shutdown time: The time_format parameter is the time format for dynamic restarts (according to the time from the server start) for the value below. Possible values: seconds, minutes, hours. (works when Enabled_Restarts_In_fixed_time = false) The time_wait_autorestart parameter is the time for a dynamic restart, which the server will count from the moment the server starts. The value is specified in the format by the time_format parameter (for example 3.2) (it is not recommended to set more than 4 hours). The format of the values is a number with a dot. For example, if 3.0 and hours are specified, it means that the restart will be in 3.0 hours. (works when Enabled_Restarts_In_fixed_time = false) Optional script functionality: 1. Functionality that works only when the enable_shutdown_server_procedures = true option is enabled; The Time_Wait_AfterChatInformation_shutdown_server parameter is specified here for as many seconds before the actual restart there will be auto-information in the server chat. The format of the values is a simple number, without a dot. Time in seconds! The text_ChatInformation_shutdown_server parameter is an auto-information message to the chat before the server restart is performed directly, for the parameter above. Instead of %time%, the time will be automatically substituted by the script. The format of the values is any text. The enable_shutdown_server_chat_RestartInformation_functions parameter is enabling or disabling the notification functionality in the chat before the fast restart at the time specified below. The format of the values is true or false Parameter-array RestartsInformation_chat_minutes - the time for how long each notification will be sent to the chat about the imminent restart of the server. The format of the values is a simple number, without a dot. Time in minutes! Works only when enable_shutdown_server_chat_RestartInformation_functions = true. The text_RestartsInformation_chat parameter is a notification to the chat about the imminent restart of the server. Instead of %time%, the time will be automatically substituted by the script. The format of the values is any text. Works only when enable_shutdown_server_chat_RestartInformation_functions = true. 2. The functionality responsible for background notifications in the chat about the time before the restart and the server's uptime The enable_chat_info_restart_and_uptime parameter - enables or disables informing the chat at regular intervals about the server's operating time and the time remaining before the server restart (true - on, false - off) The text_chat_info_restart_and_uptime parameter is an auto-information notification to the chat. Instead of %time% and %uptime%, the time will be automatically substituted by the script. The format of the values is any text. Works only when enable_chat_info_restart_and_uptime = true. The time_format_chat_info_restart_and_uptime parameter is the format of the time that will be displayed in the message above. It can only have the values: 'seconds', 'minutes', 'hours'. Works only when enable_chat_info_restart_and_uptime = true. The match_time_chat_info_restart_and_uptime parameter - enables or disables rounding the time in the message above to an integer (true - on, false - off). Works only when enable_chat_info_restart_and_uptime = true. The time_chat_information_autorestart parameter is the time between the repetition of sending information to the chat about how long the server is running and how much time is left before the restart.). The value is specified in the format by the time_format_chat_info_restart_and_uptime parameter. The format of the values is a number with a dot. For example, if 0.10 and hours are specified, then it means every 0.10 hours (an hour is 60 minutes, i.e. the value 1.0 = 1 hour, means 0.10 of 1 hour (10% of 60 minutes) it's 6 minutes). 3. The functionality responsible for blocking the entrance to the server before restarting: The enable_lock_server_in_restart parameter is enabling or disabling the server login lock before restarting (true - on, false - off) The text_lock_server_in_restart parameter is a chat message sent to the chat player when the server login is blocked. The format of the values is any text. Works only when enable_lock_server_in_restart = true. The time_undo_lock_server parameter is the time in minutes before the server closes for restart and stops letting players in (i.e. X minutes before the restart itself). The format of the values is a number with a dot. The time to restart is taken depending on the settings of 1 of the 2 mandatory settings blocks above. Works only when enable_lock_server_in_restart = true. 4. The functionality responsible for kicking all players before restarting the server: The enable_kick_all_from_server_in_restart parameter - enabling-disabling the kick of all players before restarting the server (true - on, false - off) The Time_kick_all_informationWait parameter is the time in seconds, so many seconds before the actual kick from the server there will be auto-information in the chat. The format of the values is a simple number, without a dot. Time in seconds! Works only when enable_kick_all_from_server_in_restart = true. The text_kick_all_from_server_in_restart parameter is an auto-information message to the chat before directly kicking all players from the server, for the parameter above. Instead of %time%, the time will be automatically substituted by the script. The format of the values is any text. Works only when enable_kick_all_from_server_in_restart = true. The time_undo_kick_all_from_server_after_lock parameter is the time in minutes for which the auto-kick of all players from the server will be launched (before the actual server restart). The format of the values is a number with a dot. Works only when enable_kick_all_from_server_in_restart = true. Fixed an error in the logic of determining the time to restart in the script when the fixed-time restart functionality is enabled. (for cases when the restart time and the current time almost coincided, only seconds differed) Additional logging was added according to the selected restart mode and restart time in the server logs Added additional time logging, which the script will select at the end of calculations for the future server restart. Added additional time logging for the time remaining before the restart In case of any problems in the operation of the restart script at a fixed prescribed time (functional alternative to BEC), change the following parameter to the value specified below. bool EnableDebugLogs = true; This will help me track the operation of this functionality and find the problem! When asking for help, be sure to attach your script.log of the working server at the time with the problem and this option enabled in the script! Добавил nescafe Добавлено 20.11.2022 Категория Скрипты, моды  
  6. Version 1.0.0

    56 downloads

    файл init.c, с уже готовыми 4-мя вариантами одежды при спавне на берегу, то есть после каждой смерти персонаж будет появляться в одном из 4-х этих сетов, в файле подписал какая строчка за что отвечает. the init.c file, with 4 ready-made clothing options when spawning on the shore, that is, after each death, the character will appear in one of these 4 sets, in the file signed which line is responsible for what.
    Free
  7. Ищу мододела/скриптера, который сможет реализовать внутриигровой скрипт, который будет у прописанных в этот скрипт админов вызывать менюшку по кнопке с функционалом изменения в реальном времени таких параметров как: 1. Изменение скина персонажа в реальном времени. Тоесть человеку достаточно будет умереть, чтобы появиться в другом скине уже. 2. Изменение прописи человека в определенную фракцию с заданными параметрами начального прессета при возрождении и постоянной точки спавна. Так же ему достаточно будет умереть кепкой где-нибудь, чтобы его админ мог прописать сразу же в фракцию без перезагрузки сервера, и чтобы он постоянно спавнился, пока его оттуда не выпишут. 3. Восстановление персонажа по кнопке (К примеру человека любого убили не по правилам (RDM) и чтобы не восстанавливать ему вещи по его сохраненному его видеооткату(в лучшем случае, в худшем по словам восстанавливать), просто достаточно нажать на кнопку и на нем появятся вещи, которые были в момент его смерти. Так же этот скрипт должен давать запрет на самостоятельную возможность изменения внешности своего персонажа (Возвращаемся в пункт 1, таким образом админ будет вручную прописывать в реальном времени определенный скин человеку, чтобы в будущем он его не смог поменять, дабы не ломать атмосферу, а то человек где-то накосячил, потом умер и поменял себе персонажа, тем самым его уже не идентифицировать 🙂 ) Так же, если вы сможете выполнить этот функционал, сразу пишите свою точную цену и оставляйте контакты для связи с вами.
  8. Требуется исполнитель, для переработки механики респауна персонажей после смерти.Переработки системы лута с тел игроков. Разработка статичных ивентовых областей. Оплата труда договорная. Дискорд cookies.497
  9. Всем привет, не у кого нет мода или скрипта на car flip? толкание транспорта Только что бы его можно было спокойно использовать на сервере) или в мод паке
  10. Есть мод где можно сделать кастомный спавн персонажа
×
×
  • Create New...