#Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Icon=Assets\Textures\Icon.ico #AutoIt3Wrapper_Compression=0 #AutoIt3Wrapper_Change2CUI=y #AutoIt3Wrapper_Res_Description=Handles all server sided requests. Non-graphical for speed #AutoIt3Wrapper_Res_Fileversion=0.1.0.0 #AutoIt3Wrapper_Res_Fileversion_AutoIncrement=p #AutoIt3Wrapper_Res_ProductName=Rawblocks Server Sided Compute #AutoIt3Wrapper_Res_ProductVersion=0.001 #AutoIt3Wrapper_Res_CompanyName=Rawblocks #AutoIt3Wrapper_Res_LegalCopyright=None #AutoIt3Wrapper_Res_LegalTradeMarks=None #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.15.3 (Beta) Author: myName Script Function: Template AutoIt script. #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here #include "../IncludeAll.au3" Local $SupportedOses[3] = ["WIN_2012R2","WIN_2012","WIN_2008R2"] If @OSVersion == $SupportedOses[1] Then If $CmdLine[0] > 0 Then If $CmdLine[1] == "" Then ConsoleWriteError("Startservice failed. Try using -test to see if rssc works") Sleep("5000") _exit() ElseIf $CmdLine[1] == "-test" Then ConsoleWriteError("Test complete") Loadgraphics("296", "306", "Renderer", "") Sleep("5000") _exit() EndIf Else ConsoleWriteError("Startservice failed. Try using -test to see if rssc works") Sleep("500") EndIf Else ConsoleWriteError("Bricks online server only works with " & $SupportedOses[1]) Sleep("500") Exit EndIf