2015-03-03 16:10:12 -06:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
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 ===============================
|
2015-05-16 20:04:41 -05:00
|
|
|
echo Starting Toontown Stride UberDOG server...
|
2015-06-16 21:59:19 -05:00
|
|
|
echo ppython: "C:\Panda3D-1.10.0\python\ppython.exe"
|
2015-03-03 16:10:12 -06:00
|
|
|
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 ===============================
|
|
|
|
|
2015-05-29 05:03:48 -05:00
|
|
|
cd ../../
|
|
|
|
|
2015-03-03 16:10:12 -06:00
|
|
|
:main
|
2015-06-16 21:59:19 -05:00
|
|
|
"C:\Panda3D-1.10.0\python\ppython.exe" ^
|
2015-05-24 18:42:26 -05:00
|
|
|
-m toontown.uberdog.ServiceStart ^
|
|
|
|
--base-channel %BASE_CHANNEL% ^
|
|
|
|
--max-channels %MAX_CHANNELS% ^
|
|
|
|
--stateserver %STATESERVER% ^
|
|
|
|
--astron-ip %ASTRON_IP% ^
|
|
|
|
--eventlogger-ip %EVENTLOGGER_IP%
|
2015-03-03 16:10:12 -06:00
|
|
|
goto main
|