#!/bin/bash source ./config.sh cd ${BIN_DIR} k for((i=1;i<=$BATTLE_COUNT;i++)) do ./SogLoader --id=${WORLD_ID}.${BATTLE_ID}.$i --cluster=${CFG_PATH}/cluster.json --name=BattleServer $@ done if [ "$1" = "stop" ] ; then wait_to_stop_svr BattleServer $BATTLE_ID 1 fi