Organize the repo a bit more

This commit is contained in:
John Cote 2015-05-22 23:47:35 -04:00
parent 459a68049a
commit 1fbd0602dc
13 changed files with 60 additions and 51 deletions

View file

@ -1,5 +0,0 @@
rem only use this with a non-remotedb
start astron
start ai
start ud
start client

1
ai.bat → astron/win32/start-ai-server.bat Executable file → Normal file
View file

@ -1,4 +1,5 @@
@echo off @echo off
cd ../..
rem Read the contents of PPYTHON_PATH into %PPYTHON_PATH%: rem Read the contents of PPYTHON_PATH into %PPYTHON_PATH%:
set /P PPYTHON_PATH=<PPYTHON_PATH set /P PPYTHON_PATH=<PPYTHON_PATH

View file

@ -0,0 +1,5 @@
rem Starts a Localhost server. This is meant for Windows. To connect to developer server, use the start-game-remotedb file for your OS.
start start-astron-cluster
start start-uberdog-server
start start-ai-server

3
astron.bat → astron/win32/start-astron-cluster.bat Executable file → Normal file
View file

@ -1,4 +1,5 @@
@echo off @echo off
cd astron cd..
astrond --loglevel info config/cluster.yml astrond --loglevel info config/cluster.yml
pause pause

1
ud.bat → astron/win32/start-uberdog-server.bat Executable file → Normal file
View file

@ -1,4 +1,5 @@
@echo off @echo off
cd ../..
rem Read the contents of PPYTHON_PATH into %PPYTHON_PATH%: rem Read the contents of PPYTHON_PATH into %PPYTHON_PATH%:
set /P PPYTHON_PATH=<PPYTHON_PATH set /P PPYTHON_PATH=<PPYTHON_PATH

View file

@ -36,10 +36,8 @@ def loadDNAFileAI(dnaStorage, file):
def setupDoor(a, b, c, d, e, f): def setupDoor(a, b, c, d, e, f):
try: try:
e = int(str(e).split('_')[0]) e = int(str(e).split('_')[0])
except: except:
print 'setupDoor: error parsing', e print 'setupDoor: error parsing', e
e = 9999 e = 9999
DNADoor.setupDoor(a, b, c, d, e, f) DNADoor.setupDoor(a, b, c, d, e, f)

16
client.bat → win32/start_game.bat Executable file → Normal file
View file

@ -1,19 +1,23 @@
@echo off @echo off
cd..
title TTS Game Launcher title TTS Game Launcher
rem Read the contents of PPYTHON_PATH into %PPYTHON_PATH%:
set /P PPYTHON_PATH=<PPYTHON_PATH set /P PPYTHON_PATH=<PPYTHON_PATH
echo Choose your game server! echo Choose your game server!
echo #1 - Localhost echo #1 - Localhost
echo #2 - Loudrob echo #2 - Custom
echo #3 - Steve echo #3 - Loudrob
echo #4 - Custom
echo. echo.
set /P INPUT= set /P INPUT=
set server=unset
if %INPUT%==1 set TTS_GAMESERVER=127.0.0.1 if %INPUT%==1 set TTS_GAMESERVER=127.0.0.1
if %INPUT%==2 set TTS_GAMESERVER=71.200.196.180 if %INPUT%==3 set TTS_GAMESERVER=71.200.196.180
if %INPUT%==3 set TTS_GAMESERVER=167.114.220.172
if %INPUT%==4 ( if %TTS_GAMESERVER%==unset (
echo. echo.
set /P TTS_GAMESERVER=Gameserver: set /P TTS_GAMESERVER=Gameserver:
) )

View file

@ -1,20 +1,21 @@
@echo off @echo off
cd..
title Toontown Stride RemoteDB Launcher
title TTS Remote DB Launcher
rem Read the contents of PPYTHON_PATH into %PPYTHON_PATH%: rem Read the contents of PPYTHON_PATH into %PPYTHON_PATH%:
set /P PPYTHON_PATH=<PPYTHON_PATH set /P PPYTHON_PATH=<PPYTHON_PATH
rem Get the user input: rem Get the user input:
set /P ttsUsername="Username: " set /P ttsUsername="Username: "
set /P ttsPassword="Password: " set /P ttsPassword="Password: "
echo Using Steve's dev server.
set TTS_GAMESERVER=167.114.220.172 set TTS_GAMESERVER=167.114.220.172
echo =============================== echo ===============================
echo Starting Toontown Stride... echo Starting Toontown Stride...
echo ppython: %PPYTHON_PATH% echo ppython: %PPYTHON_PATH%
echo Username: %ttsUsername% echo Username: %ttsUsername%
echo Gameserver: %TTS_GAMESERVER% echo Gameserver: %TTS_GAMESERVER% (Steve's Dev Server)
echo =============================== echo ===============================
%PPYTHON_PATH% -m toontown.toonbase.ClientStartRemoteDB %PPYTHON_PATH% -m toontown.toonbase.ClientStartRemoteDB

7
guieditor.bat → win32/start_gui_editor.bat Executable file → Normal file
View file

@ -1,7 +1,10 @@
@echo off @echo off
cd..
title GUI Editor title GUI Editor
rem Read the contents of PPYTHON_PATH into %PPYTHON_PATH%:
set /P PPYTHON_PATH=<PPYTHON_PATH set /P PPYTHON_PATH=<PPYTHON_PATH
:main
%PPYTHON_PATH% -m guieditor.EditorStart %PPYTHON_PATH% -m guieditor.EditorStart
goto main pause