mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 04:02:40 -06:00
37 lines
1 KiB
Batchfile
37 lines
1 KiB
Batchfile
@echo off
|
|
|
|
rem Define some constants for our AI server:
|
|
set MAX_CHANNELS=999999
|
|
set STATESERVER=4002
|
|
set ASTRON_IP=127.0.0.1:7100
|
|
set EVENTLOGGER_IP=127.0.0.1:7198
|
|
|
|
rem Get the user input:
|
|
set /P DISTRICT_NAME="District name (DEFAULT: Nuttyboro): " || ^
|
|
set DISTRICT_NAME=Nuttyboro
|
|
set /P BASE_CHANNEL="Base channel (DEFAULT: 401000000): " || ^
|
|
set BASE_CHANNEL=401000000
|
|
|
|
echo ===============================
|
|
echo Starting Toontown Stride AI server...
|
|
echo ppython: "C:\Panda3D-1.10.0\python\ppython.exe"
|
|
echo District name: %DISTRICT_NAME%
|
|
echo Base channel: %BASE_CHANNEL%
|
|
echo Max channels: %MAX_CHANNELS%
|
|
echo State Server: %STATESERVER%
|
|
echo Astron IP: %ASTRON_IP%
|
|
echo Event Logger IP: %EVENTLOGGER_IP%
|
|
echo ===============================
|
|
|
|
cd ../../
|
|
|
|
:main
|
|
"C:\Panda3D-1.10.0\python\ppython.exe" ^
|
|
-m toontown.ai.ServiceStart ^
|
|
--base-channel %BASE_CHANNEL% ^
|
|
--max-channels %MAX_CHANNELS% ^
|
|
--stateserver %STATESERVER% ^
|
|
--astron-ip %ASTRON_IP% ^
|
|
--eventlogger-ip %EVENTLOGGER_IP% ^
|
|
--district-name "%DISTRICT_NAME%"
|
|
goto main
|