historical/toontown-classic.git/linux/start-ai-server.sh
2024-01-16 11:20:27 -06:00

19 lines
507 B
Bash

#!/bin/sh
cd ..
BASE_CHANNEL=401000000
MAX_CHANNELS=999999
STATE_SERVER=4002
ASTRON_IP="127.0.0.1:7199"
EVENT_LOGGER_IP="127.0.0.1:7197"
DISTRICT_NAME="Toon Valley"
while true
do
/usr/bin/python2 -m toontown.ai.AIStart --base-channel ${BASE_CHANNEL} \
--max-channels ${MAX_CHANNELS} --stateserver ${STATE_SERVER} \
--astron-ip ${ASTRON_IP} --eventlogger-ip ${EVENT_LOGGER_IP} \
--district-name "$DISTRICT_NAME"
sleep 5
done