Search the Community

Showing results for tags 'restart'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Exile
    • Changelogs
    • Feedback
  • Exile Community
    • General Discussion
    • New Feature Voting
    • Problems & Bugs
    • Cat Walk
    • Recruitment
    • Small Talk
  • Exile Mod XM8 App
    • XM8 Server Administration
    • XM8 Android App
    • XM8 Discord Bot
  • Exile Mod Server Administration
    • Ask a Game Server Provider
    • Hosting
    • Operating Systems
    • Installation
    • Database
    • Security
    • Maintenance
  • Exile Mod Customization
    • Downloads & Releases
    • Content
    • Environment
    • Gameplay
    • Look & Feel
    • Tech Talk
  • Exile Life Mod
    • Visit forum on exilelifemod.com

Categories

  • Knowledge Base
  • Items
  • Constructions
  • Traders
  • Vehicles

Categories

  • Servers

Categories

  • Devblog

Found 37 results

  1. Servus, ich versuche seit Tagen das mein Exile Server (Linux) alle 4 stunden von alleine Restartet. Leider bin ich zu dämlich, so wie es aussieht. Habe es auf mehreren Methoden probiert, ob cron, task killer etc. Das ganze läuft über LGSM. mit dem Befehl "./arma3server r" stopppt der Server und startet gleich danach wieder neu. genau diesen Befehl versuche ich zu automatisieren, angenommen alle 4 Stunden. Könnte mir jemand helfen? Am besten Teamviewer, Teamspeak oder der gleichen ? Wäre euch sehr dankbar.
  2. As promised I'm releasing something i made a couple of weeks back that I found more effective then the "dll required" restart timers. Now, I won't be giving you a restart timer but I will show you how the code can be applied. Oh, and this requires extDB3 but can be modified for extDB2 I suppose or you might be able to use the original that comes with ExiLe. Override "ExileServer_system_database_connect.sqf" and find ExileServerStartTime = (parseSimpleArray ("extDB3" callExtension "9:LOCAL_TIME")) select 1; then after this line add publicVariable "ExileServerStartTime"; Save the file. Now go to where your restart timer is configured. Add this somewhere before where it checks the hour-startHour or whatever. _aOn = [0,3,6,9,12,15,18,21,24]; // Military Time startHour = ExileServerStartTime select 3; startMinute = ExileServerStartTime select 4; startSecond = ExileServerStartTime select 5; correcto = []; { if(startHour < _x and startHour != 24) then { correcto pushBack _x; }; } forEach _aOn; Now the correct amount of hours can be determined by ((correcto select 0) - startHour) and wala! You have a fully working exact restart timer. SO how the hell do you actually use this? Heres an ExAD example config that utilizes this. Config times here: https://github.com/Cloudhax23/Exile/blob/master/ExAdClient/StatsBar/customize.sqf#L35 Replace the old function with this: https://github.com/Cloudhax23/Exile/blob/master/ExAdClient/StatsBar/Functions/fn_getTimerStr.sqf And heres someone elses statusbar utilizing this. https://github.com/Cloudhax23/Exile/blob/master/SomeStatusBar/fn_Statusbar.sqf#L10-L31 https://github.com/Cloudhax23/Exile/blob/master/SomeStatusBar/fn_Statusbar.sqf#L87
  3. Hello @all, Can anyone Help me with my Code ? Every try it shows ANY in Statusbar.. This is the Original: This is my Modified:
  4. I just added the Extended Base Mod to my server and i noticed that the doors aren't opening after restarting the server. I know there is a thread on the forums with a fix for this bug (the one below). I have tried using the method in the thread below but without success. I hope someone can help me out. Im using a dedicated ubuntu 16.04 server if that helps. (Thread that i was talking about: )
  5. Hello I have a question regarding the restarts of a Exile server. Let´s say that we restart the server manually in between regular restart. How can you tell the server that the shutdown timer to consider the real time? As of now the visual countdown resets after every restart ex 3 H. But in the background the server will restart at time X. Or is just me who has missed something?
  6. I have an issue where about 1/4 of the content from RHS USAF and AFAF are disappearing on restart, or death and revive. I was wondering if anyone had any idea of where to look for the cause or has had experience with this issue and has resolved. i've heard of this happening with CUP however the answers on that thread seemed to lean towards an issue with the developers. as i have not really seen complaints about RHS content i was wondering if anyone running RHS has theirs running correctly. for now i simply have the gear removed, a temporary solution as i am more determined to get this fixed
  7. I couldn't get the built in auto restart to work nor any of the other user provided scripts so I pieced together one that works for me. It may or may not work for you but I figured I would share since this is a modding community. You can probably clean up the code since I am far from a programmer. With this batch file you can - Set the restart time down to the second It tells you when your server started and when it is going to restart automatically It tells you if/when your server crashed and restarts it for you Time stamps everything so you know when everything happened No need for BEC or anything else third party, just PowerShell and my server came with it Checks on your server every 3 seconds and restarts when needed Timer restarts if your server crashes This screenshot shows it running at 1 minute intervals to test and display the status messages. I killed the process manually to test the process checker and restart. Then I let it run for the 1 minute and you can see it notifies you that it is time for a restart and does so without user interaction. Usage - Set your restart timer (below is for 4 hour restarts) set hours="4" set minutes="0" set seconds="0" Set your launch parameters and folder paths REM // Launch parameters start "Exile" /high "arma3server.exe" -port=2302 "-config=@ExileServer\config.cfg" "-cfg=@ExileServer\basic.cfg" "-profiles=config_exile" -name=Exile "-servermod=@ExileServer;" "-mod=@Exile;" -malloc=tbbmalloc -autoinit -enableHT Run the batch file. Place the batch file in the same folder as arma3server.exe The Batch File (save as auto_restart.bat or anothername.bat) @echo off cls set gameserver=Arma Exile title %gameserver% Auto Restart / Process Checker :start REM How long until auto restart? set hours="4" set minutes="0" set seconds="0" REM // Launch parameters start "Exile" /high "arma3server.exe" -port=2302 "-config=@ExileServer\config.cfg" "-cfg=@ExileServer\basic.cfg" "-profiles=config_exile" -name=Exile "-servermod=@ExileServer;" "-mod=@Exile;" -malloc=tbbmalloc -autoinit -enableHT REM //////// You do not need to update anything else below this line //////// REM Pull, display and create some time functions for /f "delims=" %%G IN ('powershell "(get-date %time%).AddHours(%hours%).AddMinutes(%minutes%).AddSeconds(%seconds%).ToString('yyyyMMddHHmmss')"') do set endtime=%%G for /f "delims=" %%G IN ('powershell "(get-date %time%).ToString('HH:mm:ss')"') do set nowtimeclean=%%G for /f "delims=" %%G IN ('powershell "(get-date %time%).AddHours(%hours%).AddMinutes(%minutes%).AddSeconds(%seconds%).ToString('HH:mm:ss')"') do set endtimeclean=%%G echo %time% - %gameserver% Server started at %nowtimeclean% and will restart at %endtimeclean% :checkarma for /f "delims=" %%G IN ('powershell "(get-date %time%).ToString('yyyyMMddHHmmss')"') do set nowtime=%%G REM ////////// TIMER CHECK /////////// if "%nowtime%" gtr "%endtime%" ( echo %time% - It is time to restart %gameserver%! echo. echo. goto restartarma ) REM ////////// END TIMER CHECK /////////// REM ////////// PROCESS CHECK /////////// tasklist /FI "IMAGENAME eq arma3server.exe" 2>NUL | find /I /N "arma3server.exe">NUL if "%ERRORLEVEL%"=="1" ( echo %time% - The process is not running, restart %gameserver%! echo. echo. goto restartarma ) REM ////////// END PROCESS CHECK /////////// REM restart not needed. Check again in 3 seconds. TIMEOUT /T 3 /NOBREAK >NUL goto checkarma :restartarma REM Either the server crashed or it is time for a restart. Kill the process and go to start. START taskkill /f /im arma3server.exe 2>nul TIMEOUT /T 3 /NOBREAK >NUL goto start If you can improve on this then by all means please do and post your fixes / updates / optimizations. Enjoy!
  8. Everything in infiSTAR v0074 works just fine except for restart warnings and there's nothing I can see in the .rpt. My intention is to have the server restarted by the scheduler in my game panel, which works just fine, and to have infiSTAR to give players warning beforehand, which doesn't. In the end I set infiSTAR up to restart the server in the hope that it would fix the warnings part. It didn't. Here's the relevent part of EXILE_AHAT_CONFIG.hpp - can someone take a look at this and tell me if I messed something up? I should mention that the end of each session's .rpt shows infiSTAR restarting the server, so that part works OK. But there's nothing for the previous half hour to show it trying/failing to give the warnings.
  9. Hi, Using the V74 version of Infistar I am really struggling with the restart timer. The server restarts OK and the timer counts down towards restart but the sound part is not working. Something our players loved in the previous Tanoa server. If anyone is able to help me you make me a really happy man! Could it be that Alarm+air_raid sounds are not available on this map? If so, what would be the solution? Infistar : V74 Map : Lingor Ryans zombies and demons + Exile Z v2 CUP Terrains core A3XAI (0.21) EXILE_AHAT_CONFIG.hpp restart section: RPT: I really hope someone can help us. Thanks in advance!
  10. Hi, Is there a problem with the restart messages? i have checked the settings and they are correct as we have had them before, is this a bug? I didn't want to post config but happy for you to have it if you need it. Thanks Rob
  11. I suddenly have an issue where the last 30 minutes of gameplay before a restart are lost. Players will log in and their vehicles will be wherever they happened to be 30 min prior to restart. Mods that I've installed that modified the database are Virtual Garage (XM8) and AVS (Advanced Vehicle System). I don't know if either of those could be an issue. I talked to QGS who hosts my shared server and the support guy said it sounds like the db save period is set wrong but that he doesn't know where to set it. He's looking into it. Between that and my players getting glued to spawned vehicles (that's another topic ), my server has been a ghost town.
  12. Hello there, I have few questions about some sort of things that I cannot resolve after did researching here on forum and even finding answers.. But seems not work. FIRST QUESTION 1) Few days ago I've rented dedicated game server at one of hosting providers which I won't advertise. It's not topic about it. They have forum which probably got answers to my question but problem is, that they're all in German language, so... no clue And after setting up some mods / BEFilters to prevent kicking / adjusting few configs and so on.. I came across problem with restarting the server within six hours (6h).. In web configurator from hosting provider I changed and added proper lines to utilize this restarts.. Below is screenshot to prove it. After this it didn't worked. So after doing some research in FTP files and on forum topics I came across file - "@ExileServer/addons/exile_server_config.pbo/config.cpp". I changed the proper file "config.cpp" and adjusted the line "restartTimer[] = {6, 0};". It didn't worked. So going on I changed the "serverPassword=""" to fit in this file and "config.cfg". Still it doesn't work. Server keeps restarting within 3 hours even after saving this / uploading. I have no clue how to solve it SECOND QUESTION 2) On the other hand after playing few missions/random events in Exile using DMS / ZCP Missions / AI Roaming in Regular difficulty, I decided to change it to Veteran. So, after changing this in web configurator from hosting provider at file "server.cfg" which refers to "arma3/config/server.cfg" the line |difficulty = "Regular";| to |difficulty = "Veteran";| and restarting.. It did worked. But because of my friend and mostly people need I deciced to change the Veteran to use ThirdPersonView. After searching in cfg files in mpmissions / Exile / ExileServer / config and so on I couldn't find it. So I managed to find it in ArmA3 Profile on server side just like it works on client side. So I opened "/arma3/config/Users/arma3/arma3.ArmA3Profile" and changed variable from 0 to 1 at line |3rdPersonView=1;|. And this is how it looks in my file "arma3.ArmA3Profile". After restarting Veteran indeed works. There is no Enemy / Friendly markers and so on but... 3rdPersonView doesn't work... And again.. I have no clue why this isn't working THIRD-FOURTH QUESTION 3-4) And the last two questions are: Is there any possibility to change loot tables (like utilize some stuff to don't spawn or less) in more convenient way than #hashing each line of code? And the last question is... I don't remember Thank You for reading all this stuff and answering my probably dumb questions. Have a nice day/night, Aimovoria.
  13. Hi, we installed the cup weapons on our server but they are gone after server restart.... did someone have an idea how to fix it please? regards
  14. py3rcon Version: 0.2.1 | Authors: indepth666 (Basic protocol design), ole1986 (CLI) DOWNLOAD : GITHUB : LAST COMMITS py3rcon is a Python3 client for Battleye Rcon protocol. It's designed with ARMA2 and ARMA3 in mind but may also work with other implemenation of the protocol. How to use? Configuration example can be found in configexample.json. Usage: ./py3rcon.py <configfile> PLEASE NOTE: Since version 1.58.1* of Arma 3 it is REQUIRED to add the line RConPort <port> into the beserver.cfg Otherwise Rcon will possible not work. Configuration explained PLEASE NOTE: The configuration is stored JSON file. This format usually does not allow comments. Config entry | Example | Description ----------------------- | -------------- | ----------- logfile | pyrcon.log | File name of the pyrcon log loglevel | 10 | Loglevel (10 = show debug info, 20 = exclude debug info, 30 = display only error and warnings) server : host | 127.0.0.1 | Hostname of the armaX server server : port | 2402 | Port of the armaX server server : rcon_password | yourPW | Rcon password commands | commands.json | Commands configuration file in JSON format (rconcommand module) whitelist | whitelist.json | stores the whitelisted players used by rconwhitelist module restart : interval | 240 | Restart interval in minutes restart : delay | 15 | Wait x seconds until shutdown after players have been kicked restart : exitonrestart | true | End the application when restart interval has reached GUI Use the following command to display the GUI. To run the py3rcon GUI on WINDOWS an unofficial version of curses is REQUIRED: Download Link: http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses PLEASE NOTE: When using the --gui argument, schedules like repeating messages and restart become disabled Usage: ./py3rcon.py --gui <configfile> #---------------------------# #-------------------------------------------------------------------------------# | Refresh Players | | | | Manage Whitelist | | | | Restart Mission... | | | | Kick All | | | | Shutdown Server | | | | Restart Server (v1.65) | | | | Exit | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #---------------------------# #-------------------------------------------------------------------------------# #- Enter command --------------------------------------------------------------------------------------------# | | #-------------------------------------------------------------------------------------------------------------# #-------------------------------------------------------------------------------------------------------------# | 2016-12-01 21:20:11,927 INFO [Server: xxxxxxxxxxx.xx:10501]: Authenticated | | 2016-12-01 21:20:11,986 INFO [Server: xxxxxxxxxxx.xx:10501]: RCon admin #0 (xx.xx0.xx1.97:54410) logged in | | 2016-12-01 21:20:12,018 INFO [Server: xxxxxxxxxxx.xx:10501]: Players on server: | | [#] [IP Address]:[Port] [Ping] [GUID] [Name] | | -------------------------------------------------- | | (0 players in total) | #-------------------------------------------------------------------------------------------------------------#
  15. Hi Guys, got some trouble here.....for some reason nothing of my stuff i put into a supply box or into a safe, stays in it. everything is gone after server restart. Also, persistent vehicles are not staying in place after restart, or to be precise.....not after the first restart. Does somebody have an idea where to look for it? I´m new to exile server setup and i´m sitting here for hours now trying to figure out where the problem is....it seems to be a DB issue but i have no clue how sql works. if someone would have the spare time to show me 2-3 things involved and might be able to talk to me via TS....would be highly aprreciated......english or german no prob thx guys
  16. Description If you are looking for a solution to start / restart your server in windows here's a quick and easy way to do it. I have a .bat file that will start my exile server and keep it up when it crashes or restarts. In order for this to work you need to change a file in exile_server.pbo. You can of course use the overwrite in the mission file config for an easier implementation. The code that was added will shutdown your server after the restart messages. The bat will pickup on the fact that the server process no longer exists and will start it again. How to install Download the updated file from here http://highstrike.net/arma/files/ExileServer_system_rcon_thread_check.sqf Unpack your mission file and make a new folder called "restart" there and add ExileServer_system_rcon_thread_check.sqf in there. Next open your config.cpp from your mission and go to CfgExileCustomCode and add it there class CfgExileCustomCode { ExileServer_system_rcon_thread_check = "restart\ExileServer_system_rcon_thread_check.sqf"; ... other stuff here ... }My arma3server.exe is located in T:\Arma3\A3Master My .bat file is located in T:\Arma3 If you place your .bat next to your arma3server.exe you need to remove the 'cd A3Master' part from it. @echo off cls set version=0.9.19 set wat=Arma3 Exile title %wat% Watchdog cd A3Master :watchdog echo (%time%) %wat% started. start "Exile" /wait /high "arma3server.exe" -port=2302 "-serverMod=@ExileServer;@marma" "-mod=@Exile;" "-config=@ExileServer\config.cfg" "-cfg=@ExileServer\basic.cfg" -profiles=config_exile -name=exile -malloc=tbbmalloc -autoinit -enableHT echo (%time%) %wat% closed or crashed, restarting. goto watchdog
  17. Moin Moin alle Zusammen, Habt ihr auch Probleme mit BEC und automatische Restarts? Ein TuT für Windows D Server! Ich hab die Lösung! natürlich mit der Hilfe von Threads hier Im Forum! Zuerst das Thema wo AFC~Gagi2~ geholfen hat, wegen den Updaten der BEC Versionen! Nochmal zur Info - Geht in den Ordner C:\Windows\System32\drivers\etc\ - Dort ist eine "Host" Datei, die Öffnet ihr mit Notepad++ o.a - Fügt folgendes nach - Speichert dies ab! FERTIG Battleye Extended Controls [BEC] könnt ihr auf der Seite ibattle.org herunterladen! [Kurz zur Info! die Config.cfg müsst Ihr einstellen!] - Die Bec.rar entpacken und in das Arma 3 Server Verzeichnis einfügen [ z.B "C:\Users\Administrator\Desktop\Arma 3 Server\BEC" ] - Öffnet den Ordner BEC\Config und dann könnt ihr die Config.cfg - Admin.xml - Scheduler.xml sowie die TXT Dateien bearbeiten! [Commands sind sehr Hilfreich] - Nun seid ihr Fertig und könnt BEC.exe Starten [Server muss Online sein] [ALLE FEHLERMELDUNGEN FINDET IHR UNTER LOGS] Die berühmte Start-Restart.bat! ggf. Automatische Restart.bat - Ihr erstellt ein Textdokument auf eurem Desktop - Nun fügt ihr das ein! !!!! DIES MÜSST IHR AUCH AUF EUREN EINSTELLUNGEN EINSTELLEN !!!!!! Nun Speichert die Datei nur als Batch [z.B "Auto-Restart.bat"] Wenn ihr Alles eingestellt habt! Könnt ihr Ohne Probleme die Batch Starten und der Server + BEC + Restart laufen! Hoffe ich könnt Hiermit euch allen [Die es nicht wussten] Helfen! MfG ImPacT937
  18. some quick fixes for rebooting and restarted downed servers under linux If you are running multiple instances of arma3server this will require that you edit the name of the exec file - IE arma3server2 arma3server3 etc you CANNOT leave one of them named arma3server and just rename the next one arma3server2... it will assume all other servers fall under arma3server and never reboot the other servers if they drop. Set a cronjob for server restarts - https://help.ubuntu.com/community/CronHowto Setting start up on server boot /etc file name is rc.local http://ubuntuforums.org/showthread.php?t=1709280 (NOTE: the last entry into my Rc.local is a monitor script) and the monitor script #!/bin/bash #check if server is running by MassAsster while true; do if pgrep arma3server1 >/dev/null 2>&1 then echo "arma3server running" else echo "arma3server not running sending restart" cd /home/steam/steamcmd/arma3/ ./arma3server1 -maxmem=2047 -config=server.cfg -port="2302"& fi if pgrep arma3server2 >/dev/null 2>&1 then echo "arma3server2 running" else echo "arma3server2 not running sending restart" cd /home/steam/steamcmd/arma3server2/ ./arma3server2 -maxmem=2047 -config=server7.cfg -port=2315 -autoinit -mod="@Exile;@ryanzombies;@mas;@masvehicle;@tryk;@AllInArmaTerrainPackLite;" -servermod="@ExileServer;@A3XAI;@infistar;@AllInArmaTerrainPackLite;@mas;@masvehicle"& fi if pgrep arma3server3 >/dev/null 2>&1 then echo "arma3server3 running" else echo "arma3server3 not running sending restart" cd /home/steam/steamcmd/arma3server3/ ./arma3server3 -maxmem=2047 -config=server8.cfg -port=2330 -autoinit -mod="@Exile;@ryanzombies;@mas;@masvehicle;@tryk;@AllInArmaTerrainPackLite" -servermod="@ExileServer;@A3XAI;@infistar;@AllInArmaTerrainPackLite;@mas;@masvehicle"& fi echo "sleeping 2 minutes" sleep 2m done The echo was simply for debugging - as this runs without the console being open. do note that all this is rather redundant as you really can simply just run the monitor script on start up, rather then issuing the server startup commands - but, I like to be sure things fired off so I use redundant methods
  19. Procuro por ajuda em fazer restart automático no servidor, segui alguns tutoriais mas não entendi como fazer funcionar, se preciso podemos negociar o suporte.
  20. when server will restart not show message before restart . This bug happen after update to 0.98 class RCON { serverPassword = "password"; useAutoLock = 1; restartAutoLock = 10; restartTimer[] = {3, 0}; useAutoKick = 1; kickTime = 5; useRestartMessages = 1; restartWarningTime[] = {20, 15, 10, 5, 3}; useShutdown = 1; };
  21. I've an Exile server on linux vpn. I want use Infistar to kick player 3 min on restart, and lock server for loading server before restart. I set it on Infistar, but not work ..... anyone can help me?
  22. Mahlzeit, und zwar nach fast jeden restart, sind die Spieler Autos fast immer so hier...hatte mal im Forum dazu was gelesen^^ Würde gerne wissen wie man dieses Problem beheben kann, würde mich über ne Antwort freuen. Forum in Englisch
  23. Hey Guys, I got a little Problem with the restart. Just bought a Machinegun from the MAS mod and i mounted it inside my Base. (There is a possibility to lock the MG, just like the Taru pods.) I thought it would be still there after the restart. But somehow it disappeared. Any idea why? Freakylein
  24. MOIN MOIN, ich probiere es mal auf deutsch ^^ vllt könnte mir jemand helfen..... Es handelt sich um den prozesscheck und um einen automatischen restart. ich habe hier auf dem board ein restartskript gefunden was eigentlich super funktioniert... problem. Server startet 1. nicht nach angegebener zeit und 2. erkennt er die uhrzeit nicht woraus sich meinermeinung nach 1. ergibt ^^ Ich wäre euch für jede hilfe dankbar ich führe die .bat nicht mit powershell aus den da hab ich das problem das er die angegebene exe nicht findet. wird ganz normal mit CMD ausgeführt und da gibt es keine Uhrzeitausgabe.. es geht um diesen POST ! --> http://www.exilemod.com/topic/7565-my-arma-exile-auto-restart-process-checker/#comment-52804 The Batch File (save as auto_restart.bat or anothername.bat) @echo off cls set gameserver=Arma Exile title %gameserver% Auto Restart / Process Checker :start REM How long until auto restart? set hours="4" set minutes="0" set seconds="0" REM // Launch parameters start "Exile" /high "arma3server.exe" -port=2302 "-config=@ExileServer\config.cfg" "-cfg=@ExileServer\basic.cfg" "-profiles=config_exile" -name=Exile "-servermod=@ExileServer;" "-mod=@Exile;" -malloc=tbbmalloc -autoinit -enableHT REM //////// You do not need to update anything else below this line //////// REM Pull, display and create some time functions for /f "delims=" %%G IN ('powershell "(get-date %time%).AddHours(%hours%).AddMinutes(%minutes%).AddSeconds(%seconds%).ToString('yyyyMMddHHmmss')"') do set endtime=%%G for /f "delims=" %%G IN ('powershell "(get-date %time%).ToString('HH:mm:ss')"') do set nowtimeclean=%%G for /f "delims=" %%G IN ('powershell "(get-date %time%).AddHours(%hours%).AddMinutes(%minutes%).AddSeconds(%seconds%).ToString('HH:mm:ss')"') do set endtimeclean=%%G echo %time% - %gameserver% Server started at %nowtimeclean% and will restart at %endtimeclean% :checkarma for /f "delims=" %%G IN ('powershell "(get-date %time%).ToString('yyyyMMddHHmmss')"') do set nowtime=%%G REM ////////// TIMER CHECK /////////// if "%nowtime%" gtr "%endtime%" ( echo %time% - It is time to restart %gameserver%! echo. echo. goto restartarma ) REM ////////// END TIMER CHECK /////////// REM ////////// PROCESS CHECK /////////// tasklist /FI "IMAGENAME eq arma3server.exe" 2>NUL | find /I /N "arma3server.exe">NUL if "%ERRORLEVEL%"=="1" ( echo %time% - The process is not running, restart %gameserver%! echo. echo. goto restartarma ) REM ////////// END PROCESS CHECK /////////// REM restart not needed. Check again in 3 seconds. TIMEOUT /T 3 /NOBREAK >NUL goto checkarma :restartarma REM Either the server crashed or it is time for a restart. Kill the process and go to start. START taskkill /f /im arma3server.exe 2>nul TIMEOUT /T 3 /NOBREAK >NUL goto start
  25. MOIN MOIN, ich probiere es mal auf deutsch ^^ vllt könnte mir jemand helfen..... Es handelt sich um den prozesscheck und um einen automatischen restart. ich habe hier auf dem board ein restartskript gefunden was eigentlich super funktioniert... problem. Server startet 1. nicht nach angegebener zeit und 2. erkennt er die uhrzeit nicht woraus sich meinermeinung nach 1. ergibt ^^ Ich wäre euch für jede hilfe dankbar ich führe die .bat nicht mit powershell aus den da hab ich das problem das er die angegebene exe nicht findet. wird ganz normal mit CMD ausgeführt und da gibt es keine Uhrzeitausgabe.. es geht um diesen POST ! --> http://www.exilemod.com/topic/7565-my-arma-exile-auto-restart-process-checker/#comment-52804 The Batch File (save as auto_restart.bat or anothername.bat) @echo off cls set gameserver=Arma Exile title %gameserver% Auto Restart / Process Checker :start REM How long until auto restart? set hours="4" set minutes="0" set seconds="0" REM // Launch parameters start "Exile" /high "arma3server.exe" -port=2302 "-config=@ExileServer\config.cfg" "-cfg=@ExileServer\basic.cfg" "-profiles=config_exile" -name=Exile "-servermod=@ExileServer;" "-mod=@Exile;" -malloc=tbbmalloc -autoinit -enableHT REM //////// You do not need to update anything else below this line //////// REM Pull, display and create some time functions for /f "delims=" %%G IN ('powershell "(get-date %time%).AddHours(%hours%).AddMinutes(%minutes%).AddSeconds(%seconds%).ToString('yyyyMMddHHmmss')"') do set endtime=%%G for /f "delims=" %%G IN ('powershell "(get-date %time%).ToString('HH:mm:ss')"') do set nowtimeclean=%%G for /f "delims=" %%G IN ('powershell "(get-date %time%).AddHours(%hours%).AddMinutes(%minutes%).AddSeconds(%seconds%).ToString('HH:mm:ss')"') do set endtimeclean=%%G echo %time% - %gameserver% Server started at %nowtimeclean% and will restart at %endtimeclean% :checkarma for /f "delims=" %%G IN ('powershell "(get-date %time%).ToString('yyyyMMddHHmmss')"') do set nowtime=%%G REM ////////// TIMER CHECK /////////// if "%nowtime%" gtr "%endtime%" ( echo %time% - It is time to restart %gameserver%! echo. echo. goto restartarma ) REM ////////// END TIMER CHECK /////////// REM ////////// PROCESS CHECK /////////// tasklist /FI "IMAGENAME eq arma3server.exe" 2>NUL | find /I /N "arma3server.exe">NUL if "%ERRORLEVEL%"=="1" ( echo %time% - The process is not running, restart %gameserver%! echo. echo. goto restartarma ) REM ////////// END PROCESS CHECK /////////// REM restart not needed. Check again in 3 seconds. TIMEOUT /T 3 /NOBREAK >NUL goto checkarma :restartarma REM Either the server crashed or it is time for a restart. Kill the process and go to start. START taskkill /f /im arma3server.exe 2>nul TIMEOUT /T 3 /NOBREAK >NUL goto start