00一键开启(重启).bat 580 B

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