![]() |
Auto-restarting CloD server with AutoIt
AutoIt is a popular windows automation toolbox which can be scripted to do various tasks. BigRepa created a script for it to restart Repka servers.
What it does: 1. Checks if launcher process exists 2. Checks if there is no Steam disconnect window pop-up. If 1 or 2 is not true, it runs reboot.cmd which restarts Windows. Code:
#Include <WinAPIEx.au3> APIConstants.au3 WinAPIEx.au3 Get them at AutoIt site. AutoIt forums provide a lot of help and instructions. I personally did not install or ran it. Just spread some useful info. |
Update.
reboot.cmd restarts Windows Code:
shutdown /r /t 5 1) AutoIt script 2) Steam 3) .cmd file starting launcher and mission in it with tst10.exe program (scripted telnet ?) Code:
timeout 180 All 2 Repka servers are running a desktop versions of Windows (Win7-64 probably) for compatibility with some online missions (e.g. 2nd campaign by stillborn). All 3 are run on one physical server on virtual machines that allows running 3 copies of Steam on the same hardware at the same time. |
|
Current version by BigRepa
Code:
#Include <WinAPIEx.au3> |
Hi Ataros, there seems to be problem with that latest script. I am getting error:
Code:
>"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\autocod\back\error.au3" |
Hi!
sukhoi.ru is down and I can not contact BigRepa. AFAIK he does not use these scripts any more as Small_Bee wrote a server commander which is being beta-tested. You can ask at AutoIt forums I think. They have a great community there. BigRepa learned everything from their forum. |
All times are GMT. The time now is 04:01 PM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.