Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :Backup
- @echo off
- echo Waiting for backup to Start! /t 10 sec
- timeout /t 10
- echo Thanks for waiting
- title Ark Server Batch Backup Started!
- For /f "tokens=1-3 delims=//" %%a in ('date /t') do (set mydate=%%c-%%a-%%b)
- For /f "tokens=1-2 delims=/:" %%a in ('time /t') do (set mytime=%%a%%b)
- xcopy /s "B:\arkservers\server2\ShooterGame\Saved" "G:\Backup\Automatic\Server2\%mydate%_%mytime%\"
- echo Backup created!
- @echo off
- echo backup Completed! /t 10 sec
- timeout /t 10
- echo Thanks for waiting!
- goto :UPDATE
- :UPDATE
- echo Starting game update!
- echo %time%: Starting game update>>restartlog.txt
- cd %steamcmd_path%
- start B:\arkservers\SteamCMD\Win64\steamcmd.exe +login anonymous +force_install_dir B:\arkservers\server2\ +app_update 376030 validate +quit
- goto :WAITFORUPDATE
- :WAITFORUPDATE
- @echo off
- echo Waiting for update to finish! /t 1000 sec
- timeout /t 1000
- echo Thanks for waiting.. Starting Server in 10 sec!
- timeout /t 10
- goto :START
- :START
- start ShooterGameServer "ScorchedEarth_P?SessionName=Un Monde De Merde?AltSaveDirectoryName=Save2?Port=7777?QueryPort=27018?FastDecayUnsnappedCoreStructures=true?AllowAnyoneBabyImprintCuddle=true?AllowCrateSpawnsOnTopOfStructures=true?DestroyUnconnectedWaterPipes=true?OverrideStructurePlatformPrevention=true?TribeLogDestroyedEnemyStructures=true?ShowFloatingDamageText=true?" -webalarm -servergamelog -EnableIdlePlayerKick -d3d10 -automanagedmods -UseBattlEye -nosteamclient -vday -game -server -ForceAllowCaveFlyers -log -NoTransferFromFiltering -ClusterDirOverride=B:\arkservers\clusters\CrazyCluster -clusterid=clusterservers
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement