mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 20:22:33 -06:00
cleanup
This commit is contained in:
parent
ae614c372f
commit
91aaef9383
11 changed files with 27 additions and 57 deletions
1
PPYTHON_PATH
Normal file
1
PPYTHON_PATH
Normal file
|
@ -0,0 +1 @@
|
||||||
|
"panda/python/ppython.exe"
|
2
astron/databases/air_cache/.gitignore
vendored
Executable file
2
astron/databases/air_cache/.gitignore
vendored
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
*
|
||||||
|
!.gitignore
|
|
@ -1,47 +0,0 @@
|
||||||
(dp1
|
|
||||||
I4000
|
|
||||||
(lp2
|
|
||||||
I236
|
|
||||||
aI34
|
|
||||||
aI250
|
|
||||||
aI67
|
|
||||||
aI13
|
|
||||||
asI1000
|
|
||||||
(lp3
|
|
||||||
I17
|
|
||||||
aI118
|
|
||||||
aI99
|
|
||||||
aI16
|
|
||||||
aI29
|
|
||||||
asI9000
|
|
||||||
(lp4
|
|
||||||
I222
|
|
||||||
aI104
|
|
||||||
aI121
|
|
||||||
aI59
|
|
||||||
aI93
|
|
||||||
asI2000
|
|
||||||
(lp5
|
|
||||||
I86
|
|
||||||
aI139
|
|
||||||
aI161
|
|
||||||
aI64
|
|
||||||
aI194
|
|
||||||
asI5000
|
|
||||||
(lp6
|
|
||||||
I41
|
|
||||||
aI130
|
|
||||||
aI85
|
|
||||||
aI100
|
|
||||||
aI251
|
|
||||||
asI3000
|
|
||||||
(lp7
|
|
||||||
I157
|
|
||||||
aI215
|
|
||||||
aI208
|
|
||||||
aI242
|
|
||||||
aI207
|
|
||||||
asS'day'
|
|
||||||
p8
|
|
||||||
I16579
|
|
||||||
s.
|
|
Binary file not shown.
Binary file not shown.
6
start-ai-server.bat → astron/win32/start-ai-server.bat
Normal file → Executable file
6
start-ai-server.bat → astron/win32/start-ai-server.bat
Normal file → Executable file
|
@ -1,5 +1,7 @@
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
set /P PPYTHON_PATH=<../../PPYTHON_PATH
|
||||||
|
|
||||||
rem Define some constants for our AI server:
|
rem Define some constants for our AI server:
|
||||||
set MAX_CHANNELS=999999
|
set MAX_CHANNELS=999999
|
||||||
set STATESERVER=4002
|
set STATESERVER=4002
|
||||||
|
@ -14,7 +16,7 @@ set BASE_CHANNEL=401000000
|
||||||
|
|
||||||
echo ===============================
|
echo ===============================
|
||||||
echo Starting Toontown Stride AI server...
|
echo Starting Toontown Stride AI server...
|
||||||
echo ppython: "panda/python/ppython.exe"
|
echo ppython: %PPYTHON_PATH%
|
||||||
echo District name: %DISTRICT_NAME%
|
echo District name: %DISTRICT_NAME%
|
||||||
echo Base channel: %BASE_CHANNEL%
|
echo Base channel: %BASE_CHANNEL%
|
||||||
echo Max channels: %MAX_CHANNELS%
|
echo Max channels: %MAX_CHANNELS%
|
||||||
|
@ -24,7 +26,7 @@ echo Event Logger IP: %EVENTLOGGER_IP%
|
||||||
echo ===============================
|
echo ===============================
|
||||||
|
|
||||||
:main
|
:main
|
||||||
"panda/python/ppython.exe" ^
|
%PPYTHON_PATH% ^
|
||||||
-m toontown.ai.ServiceStart ^
|
-m toontown.ai.ServiceStart ^
|
||||||
--base-channel %BASE_CHANNEL% ^
|
--base-channel %BASE_CHANNEL% ^
|
||||||
--max-channels %MAX_CHANNELS% ^
|
--max-channels %MAX_CHANNELS% ^
|
|
@ -1,4 +1,4 @@
|
||||||
@echo off
|
@echo off
|
||||||
cd astron/
|
cd ..
|
||||||
astrond --loglevel info config/cluster.yml
|
astrond --loglevel info config/cluster.yml
|
||||||
pause
|
pause
|
|
@ -1,5 +1,7 @@
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
set /P PPYTHON_PATH=<../../PPYTHON_PATH
|
||||||
|
|
||||||
rem Define some constants for our UberDOG server:
|
rem Define some constants for our UberDOG server:
|
||||||
set MAX_CHANNELS=999999
|
set MAX_CHANNELS=999999
|
||||||
set STATESERVER=4002
|
set STATESERVER=4002
|
||||||
|
@ -12,7 +14,7 @@ set BASE_CHANNEL=1000000
|
||||||
|
|
||||||
echo ===============================
|
echo ===============================
|
||||||
echo Starting Toontown Stride UberDOG server...
|
echo Starting Toontown Stride UberDOG server...
|
||||||
echo ppython: "panda/python/ppython.exe"
|
echo ppython: %PPYTHON_PATH%
|
||||||
echo Base channel: %BASE_CHANNEL%
|
echo Base channel: %BASE_CHANNEL%
|
||||||
echo Max channels: %MAX_CHANNELS%
|
echo Max channels: %MAX_CHANNELS%
|
||||||
echo State Server: %STATESERVER%
|
echo State Server: %STATESERVER%
|
||||||
|
@ -21,7 +23,7 @@ echo Event Logger IP: %EVENTLOGGER_IP%
|
||||||
echo ===============================
|
echo ===============================
|
||||||
|
|
||||||
:main
|
:main
|
||||||
"panda/python/ppython.exe" ^
|
%PPYTHON_PATH% ^
|
||||||
-m toontown.uberdog.ServiceStart ^
|
-m toontown.uberdog.ServiceStart ^
|
||||||
--base-channel %BASE_CHANNEL% ^
|
--base-channel %BASE_CHANNEL% ^
|
||||||
--max-channels %MAX_CHANNELS% ^
|
--max-channels %MAX_CHANNELS% ^
|
|
@ -642,10 +642,16 @@ class Avatar(Actor, ShadowCaster):
|
||||||
return Actor.loop(self, animName, restart, partName, fromFrame, toFrame)
|
return Actor.loop(self, animName, restart, partName, fromFrame, toFrame)
|
||||||
|
|
||||||
|
|
||||||
@magicWord(category=CATEGORY_COMMUNITY_MANAGER)
|
@magicWord(category=CATEGORY_COMMUNITY_MANAGER, types=[])
|
||||||
def target():
|
def target():
|
||||||
"""
|
"""
|
||||||
Returns the current Spellbook target.
|
Returns the current Spellbook target.
|
||||||
"""
|
"""
|
||||||
target = spellbook.getTarget()
|
target = spellbook.getTarget()
|
||||||
return 'Target: %s-%d [%d]' % (target.getName(), target.doId, target.getAdminAccess())
|
print 'called target'
|
||||||
|
print 'name: ' + target.getName()
|
||||||
|
thisdoid = str(int(target.doId))
|
||||||
|
print 'doId: ', thisdoid
|
||||||
|
thisadminacc = str(int(target.getAdminAccess()))
|
||||||
|
print 'admin access: ', thisadminacc
|
||||||
|
return 'Target: %s-%d [%d]' % (target.getName(), int(target.doId), int(target.getAdminAccess()))
|
||||||
|
|
2
start-all.bat
Executable file
2
start-all.bat
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
cd astron/win32
|
||||||
|
start-all
|
8
start-game.bat
Normal file → Executable file
8
start-game.bat
Normal file → Executable file
|
@ -1,5 +1,7 @@
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
set /P PPYTHON_PATH=<PPYTHON_PATH
|
||||||
|
|
||||||
title Toontown Stride Game Launcher
|
title Toontown Stride Game Launcher
|
||||||
|
|
||||||
echo Choose your connection method!
|
echo Choose your connection method!
|
||||||
|
@ -33,7 +35,7 @@ echo.
|
||||||
|
|
||||||
echo ===============================
|
echo ===============================
|
||||||
echo Starting Toontown Stride...
|
echo Starting Toontown Stride...
|
||||||
echo ppython: "panda/python/ppython.exe"
|
echo ppython: %PPYTHON_PATH%
|
||||||
|
|
||||||
if %INPUT%==2 (
|
if %INPUT%==2 (
|
||||||
echo Username: %ttsUsername%
|
echo Username: %ttsUsername%
|
||||||
|
@ -45,9 +47,9 @@ echo Gameserver: %TTS_GAMESERVER%
|
||||||
echo ===============================
|
echo ===============================
|
||||||
|
|
||||||
if %INPUT%==2 (
|
if %INPUT%==2 (
|
||||||
"panda/python/ppython.exe" -m toontown.toonbase.ClientStartRemoteDB
|
%PPYTHON_PATH% -m toontown.toonbase.ClientStartRemoteDB
|
||||||
) else (
|
) else (
|
||||||
"panda/python/ppython.exe" -m toontown.toonbase.ClientStart
|
%PPYTHON_PATH% -m toontown.toonbase.ClientStart
|
||||||
)
|
)
|
||||||
|
|
||||||
pause
|
pause
|
||||||
|
|
Loading…
Reference in a new issue