Poodletooth-iLand/astron/win32/start-uberdog-server.bat
Master Jumblespeed 91aaef9383 cleanup
2015-05-24 23:35:48 -04:00

33 lines
870 B
Batchfile

@echo off
set /P PPYTHON_PATH=<../../PPYTHON_PATH
rem Define some constants for our UberDOG 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 BASE_CHANNEL="Base channel (DEFAULT: 1000000): " || ^
set BASE_CHANNEL=1000000
echo ===============================
echo Starting Toontown Stride UberDOG server...
echo ppython: %PPYTHON_PATH%
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 ===============================
:main
%PPYTHON_PATH% ^
-m toontown.uberdog.ServiceStart ^
--base-channel %BASE_CHANNEL% ^
--max-channels %MAX_CHANNELS% ^
--stateserver %STATESERVER% ^
--astron-ip %ASTRON_IP% ^
--eventlogger-ip %EVENTLOGGER_IP%
goto main