Jump to content

erazeri

Member
  • Content Count

    61
  • Joined

  • Last visited

  • Medals

  • Medals

Everything posted by erazeri

  1. I have an issue that I have to restart TS completely to be able to hear anyone again. Reloading plugins isn`t enough and it happens for me with many versions of TS. Anyone else experience the issues I`m having?
  2. I will be more than happy to cooperate again and host a server :)
  3. Here`s a batch files that I created to monitor my Arma 3 dedicated servers and restart it if it had crashed. For one instance (old code): For running multiple server instances on the same server: What is a batch file you ask? Simply paste above code into a .txt file created for example with notepad and rename it for example "autorestarter.bat". After that you just run it. If you want a custom name for it, create a shortcut and rename it to what you want the window name to be. You can run it anywhere just check that the paths of the exe and config are correct. Also remember to change parameters accordingly. This also relies on that you`ve disabled your Windows Error reporting: For Vista / Win7 / Server 2008 etc: 1. Open start menu and type “gpedit.mscâ€. The Local Group Policy editor will appear. 2. Navigate to Computer Configuration / Administrative Templates / Windows Components / Windows Error Reporting 3. Edit the entry for “Prevent display of the user interface for critical errors†4. Set it to Enabled.
  4. Updated with support for multiple instances and new code calculates server crashes (NOTE: it will also count instant crashes)!
  5. Because I haven`t got proof that it doesn't work in ArmA 3, do you? Even if it lowers it to the maximum there`s no harm done. But really put in whatever you like, it`s there just for an example.
  6. Or you could just follow this: 1. Open start menu and type “gpedit.mscâ€. The Local Group Policy editor will appear. 2. Navigate to Computer Configuration / Administrative Templates / Windows Components / Windows Error Reporting 3. Edit the entry for “Prevent display of the user interface for critical errors†4. Set it to Enabled.
  7. Easiest would be to disable windows error reporting completely then it won`t hang. EDIT: Or you could add C:\Windows\System32\taskkill /im arma3.exe before the "goto start" line
  8. In a batch file named for example "autorestarter.bat". You can run it anywhere just check that the paths of the exe and config are correct. Also remember to change parameters accordingly.
  9. Here`s a nice little batch file that I created to auto-restart server if it has crashed: ::Made by eRazeri @echo off :start C:\Windows\System32\tasklist /FI "IMAGENAME eq arma3.exe" 2>NUL | C:\Windows\System32\find /I /N "arma3.exe">NUL if "%ERRORLEVEL%"=="0" goto loop echo Server monitored is not running, will be started now start "" /wait "C:\Steam\SteamApps\common\Arma 3\arma3.exe" -server -nosound -nosplash -nopause -config=C:\server.cfg -cpuCount=4 -maxMem=8192 -exThreads=7 echo Server started succesfully goto started :loop cls echo Server is already running, running monitoring loop :started C:\Windows\System32\timeout /t 10 C:\Windows\System32\tasklist /FI "IMAGENAME eq arma3.exe" 2>NUL | C:\Windows\System32\find /I /N "arma3.exe">NUL if "%ERRORLEVEL%"=="0" goto loop goto start
×