diff --git a/dev/win32/start-ai-server-winemod.bat b/dev/win32/start-ai-server-winemod.bat new file mode 100644 index 0000000..46b8c85 --- /dev/null +++ b/dev/win32/start-ai-server-winemod.bat @@ -0,0 +1,35 @@ +@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 + + +set DISTRICT_NAME=Poodletooth Island +set BASE_CHANNEL=401000000 + +echo =============================== +echo Starting 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 diff --git a/dev/win32/start-all-servers-winemod.bat b/dev/win32/start-all-servers-winemod.bat new file mode 100644 index 0000000..07a2d52 --- /dev/null +++ b/dev/win32/start-all-servers-winemod.bat @@ -0,0 +1,3 @@ +start start-astron-cluster.bat +start start-uberdog-server-winemod.bat +start start-ai-server-winemod.bat diff --git a/dev/win32/start-game-winemod.bat b/dev/win32/start-game-winemod.bat new file mode 100644 index 0000000..ba4669b --- /dev/null +++ b/dev/win32/start-game-winemod.bat @@ -0,0 +1,32 @@ +@echo off +color 0a +title Poodletooth isLand Game Launcher + +set TTS_GAMESERVER=127.0.0.1 + +set TTS_PLAYCOOKIE=offline + +echo. + +echo =============================== +echo Starting Poodletooth Island... +echo ppython: "C:\Panda3D-1.10.0\python\ppython.exe" + +if %INPUT%==2 ( + echo Username: %ttsUsername% +) else if %INPUT%==4 ( + echo Username: %ttsUsername% +) else ( + echo Username: %TTS_PLAYCOOKIE% +) + +echo Gameserver: %TTS_GAMESERVER% +echo =============================== + +cd ../../ + +:main +"C:\Panda3D-1.10.0\python\ppython.exe" -m toontown.toonbase.ToontownStart +pause +goto main + diff --git a/dev/win32/start-uberdog-server-winemod.bat b/dev/win32/start-uberdog-server-winemod.bat new file mode 100644 index 0000000..f2d24c3 --- /dev/null +++ b/dev/win32/start-uberdog-server-winemod.bat @@ -0,0 +1,32 @@ +@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 + + +set BASE_CHANNEL=1000000 + +echo =============================== +echo Starting UberDOG server... +echo ppython: "C:\Panda3D-1.10.0\python\ppython.exe" +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.uberdog.ServiceStart ^ + --base-channel %BASE_CHANNEL% ^ + --max-channels %MAX_CHANNELS% ^ + --stateserver %STATESERVER% ^ + --astron-ip %ASTRON_IP% ^ + --eventlogger-ip %EVENTLOGGER_IP% +goto main