10_开启游戏(mjtest).bat 527 B

12345678910111213141516171819
  1. echo -关服-
  2. taskkill /f /im xmds-battle-server.exe
  3. taskkill /f /im java.exe
  4. cd BattleServer
  5. start xmds-battle-server.exe
  6. cd ..
  7. xcopy .\config\wwwtest\GameConfig.conf .\GameServer\conf\ /g /e /q /y
  8. xcopy .\config\wwwtest\GameConfigExt.conf .\GameServer\conf\ /g /e /q /y
  9. cd GameServer
  10. title GameServer
  11. java -server -Xms512m -Xmx512m -XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCApplicationStoppedTime -XX:+HeapDumpOnOutOfMemoryError -Xloggc:gc.log -jar mmoarpg-game.jar&