You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
295 B

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