daily pastebin goal
33%
SHARE
TWEET

Untitled

a guest Jan 23rd, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. @echo off
  3. echo ==============================
  4. echo Starting the Altis Life Server
  5. echo ==============================
  6. echo.
  7.  
  8. set svExe=arma3server.exe
  9. set svPort=2302
  10. set svMod=@life_server;@extDB3;@POPLIFE_METROPOLIS_V2;@ace;@acex
  11.  
  12. IF not exist "basic.cfg" (
  13.   echo ==============================
  14.   echo    Creating basic.cfg file
  15.   echo ==============================
  16.   echo.
  17.  
  18.   echo MaxMsgSend = 128; >> basic.cfg
  19.   echo MaxSizeGuaranteed = 512; >> basic.cfg
  20.   echo MaxSizeNonguaranteed = 256; >> basic.cfg
  21.   echo MinBandwidth = 131072; >> basic.cfg
  22.   echo MaxBandwidth = 2097152000; >> basic.cfg
  23.   echo MinErrorToSend = 0.001; >> basic.cfg
  24.   echo MinErrorToSendNear = 0.01; >> basic.cfg
  25.   echo MaxCustomFileSize = 1310720; >> basic.cfg
  26.   echo class sockets{maxPacketSize = 1400;}; >> basic.cfg
  27.   echo adapter=-1; >> basic.cfg
  28.   echo 3D_Performance=1; >> basic.cfg
  29.   echo Resolution_W=0; >> basic.cfg
  30.   echo Resolution_H=0; >> basic.cfg
  31.   echo Resolution_Bpp=32; >> basic.cfg
  32.   echo terrainGrid=25; >> basic.cfg
  33.   echo viewDistance=2000; >> basic.cfg
  34.   echo Windowed=0; >> basic.cfg
  35.  
  36.   PING -n 2 127.0.0.1>nul
  37. )
  38.  
  39. IF not exist "config.cfg" (
  40.   echo ==============================
  41.   echo    Creating config.cfg file
  42.   echo ==============================
  43.   echo.
  44.  
  45.  
  46.   echo hostName = "ArmaLife Server -- Altis"; >> config.cfg
  47.   echo password = ""; >> config.cfg
  48.   echo passwordAdmin = "123456"; >> config.cfg
  49.   echo serverCommandPassword = ""; >> config.cfg
  50.   echo logFile = ""; >> config.cfg
  51.   echo motd[] = { >> config.cfg
  52.   echo }; >> config.cfg
  53.   echo. >> config.cfg
  54.   echo motdInterval = 3; >> config.cfg
  55.   echo maxPlayers = 75; >> config.cfg
  56.   echo kickduplicate = 1; >> config.cfg
  57.   echo verifySignatures = 2; >> config.cfg
  58.   echo allowedFilePatching = 0; >> config.cfg
  59.   echo requiredSecureId = 0; >> config.cfg
  60.   echo voteMissionPlayers = 3; >> config.cfg
  61.   echo voteThreshold = 1.5; >> config.cfg
  62.   echo disableVoN = 0; >> config.cfg
  63.   echo vonCodecQuality = 10; >> config.cfg
  64.   echo persistent = 1; >> config.cfg
  65.   echo timeStampFormat = "none"; >> config.cfg
  66.   echo BattlEye = 1; >> config.cfg
  67.   echo. >> config.cfg
  68.   echo doubleIdDetected = ""; >> config.cfg
  69.   echo onUserConnected = ""; >> config.cfg
  70.   echo onUserDisconnected = ""; >> config.cfg
  71.   echo onHackedData = ""; >> config.cfg
  72.   echo onDifferentData = ""; >> config.cfg
  73.   echo onUnsignedData = ""; >> config.cfg
  74.   echo regularCheck = ""; >> config.cfg
  75.   echo. >> config.cfg
  76.   echo class Missions >> config.cfg
  77.   echo { >> config.cfg
  78.   echo  class Mission_1 >> config.cfg
  79.   echo  { >> config.cfg
  80.   echo      template = "Altis_Life.Altis"; >> config.cfg
  81.   echo      difficulty = "regular"; >> config.cfg
  82.   echo  }; >> config.cfg
  83.   echo }; >> config.cfg
  84.  
  85.   PING -n 2 127.0.0.1>nul
  86. )
  87.  
  88. :folder
  89. set Folder=ServerProfiles
  90. IF not exist %Folder% (
  91.   echo ==============================
  92.   echo Creating ServerProfiles Folder
  93.   echo ==============================
  94.   echo.
  95.  
  96.   mkdir %Folder%
  97.  
  98.   PING -n 2 127.0.0.1>nul
  99. )
  100.  
  101. echo ==============================
  102. echo Server .exe: %svExe%
  103. echo ==============================
  104. echo.
  105.  
  106.  
  107. start "" "%svExe%" "POP" /min /high  -port=2302 "-config=config.cfg" "-cfg=basic.cfg" "-servermod=@life_server;@extDB3;@POPLIFE_METROPOLIS_V2;@ace;@acex" -malloc=system -high -enableHT "-profiles=C:\Program Files (x86)\Steam\steamapps\common\Arma 3 Server5\POP" -name=POP -autoInit
  108. PING -n 2 127.0.0.1>nul
  109.  
  110. echo ==============================
  111. echo Listening to port: %svPort%
  112. echo ==============================
  113. echo.
  114.  
  115. PING -n 2 127.0.0.1>nul
  116.  
  117. echo ==============================
  118. echo Mods: %svMod%
  119. echo ==============================
  120. echo.
  121.  
  122. PING -n 8 127.0.0.1>nul
  123. @exit
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top