strComputer = "."
strSvcName = "YOUR_SERVICE_NAME"
set objWMI = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
set objService = objWMI.Get("Win32_Service.Name='" & strSvcName & "'")
If objService.State= "Stopped" Then
objService.StartService()
End If
This is my new application: 4Story Server Assistant.
It's working with my own programmed PHP apis.
My PHP apis are scanning the database for bugs, in every 3 seconds. My PHP API is giving back a http response to the 4Story Server Assistant API Controller client, and if it's needed, it launches an other API to fix, and / or scan the database again. It's auto stopping the services when fixing a bug, and start them when it's done. It also have a very useful tool: service auto-starter. It auto detects if a service is stopped, and it's auto starting it in 5 seconds. It doesn't conflict while my program is working on fixing a bug, because it will not start the services in this case, because fixer API is auto starting them after the fix is done.
So yeah it's a very useful, and clever application. I can sleep, and be afk because I know, that a robot is automatically fixing well-known bugs instead of me
wow can't believe we were doing this kind of stuff 10 years ago *****
[Release] OffiFiles Auto Restarter 10/10/2011 - Flyff PServer Guides & Releases - 16 Replies http://s7.directupload.net/images/100103/93iymcq8. png
Da RoS atm down ist und RoS evtl. eh bald den Restarter von gPotato benutzt (falls RoS überhaupt nochmal on kommt), release ich mal meinen Restarter. Er ist nicht perfekt, weil ich in VB.net eher 'n Anfänger bin, aber funktioniert bestens x;
Der Restarter startet standardmäßig mit dem Pfad "C:\NeuroSpace\" und dem Status "gestoppt". Dies kann man aber durch Parameter ändern. Der Parameter "-autostart" startet den Auto Restarter mit...
[Release] Auto Restarter für Flyff (Source) 08/07/2011 - Flyff PServer Guides & Releases - 2 Replies Hallo Epvp
ich weiß nicht ob es hier irgendjemand braucht aber da ich keinen Flyff server mehr leiten werde und ich noch ein Projekt vom Anfang meiner Flyff Zeit auf Pc habe das noch NICHT fertig ist werde ich es mit euch teilen
Es ist der Source Code (geschrieben in C++) zu einem Auto restarter der in diesem zustand nur eine Exe restarten kann was man aber fast mit Copy und paste ändern kann ist im prinzip ja dasselbe nur ne andere exe
Der Code ist komplett selbsterklärend..ich weiß...