orion98 Posted September 20, 2015 Share Posted September 20, 2015 (edited) How to make an automatic script to launch two dedicated servers, one of which with the mod Project-M and the second without mod?My bat-file to run a dedicated server with a profile PlayerDM1: @echo off cls echo Protecting ContractJackServer.exe from crashes... echo If you want to close ContractJackServer.exe and this script, close the it window title ContractJackServer DM1 Watchdog :serverDM1 echo (%time%) serverDM1 started. START/wait ContractJackServer.exe -profile PlayerDM1 ping -n 15 localhost > nul echo (%time%) WARNING: ContractJackServer DM1 closed or crashed, restarting. goto serverDM1 The problem is that the files to the classic game Contract Jackdisplay.cfglaunchcmds.txtMPMissions.txtDiffers from similar files to play with the mod Project-M ... and the server takes after the restart the game scenario of these files ...... Set 2 Contract JACK game on my computer? lol Edited September 20, 2015 by orion98 Quote Link to comment Share on other sites More sharing options...
orion98 Posted October 4, 2015 Author Share Posted October 4, 2015 Aha... I make it:( sistem Windows7SP1 x86) @echo offclsecho Protecting ContractJackServer.exe from crashes...echo If you want to close ContractJackServer.exe and this script, close the it windowtitle ContractJackServer CJ_ProjectM Watchdog:server1regedit /S CJ_ProjectM.regecho (%time%) serverCJ_ProjectM started.START/wait ContractJackServer.exe -profile PlayerCJ_ProjectMping -n 15 localhost > nulecho (%time%) WARNING: ContractJackServer CJ_ProjectM closed or crashed, restarting.goto server1HERE "CJ_ProjectM.reg" for mod Project-M is:Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Monolith Productions\Contract Jack\1.0]"SelectedMod"="Project-M" ...and for NO mod is: Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Monolith Productions\Contract Jack\1.0]"SelectedMod"="" Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.