Skip to content

OTP server implementation written in Python designed for the 2003 historical version of Toontown Online.

License

Notifications You must be signed in to change notification settings

toontown-classic/toontown-otp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

aa9e6c2 · Mar 8, 2022
Mar 8, 2022
Feb 14, 2022
Feb 16, 2019
Jul 11, 2019
Feb 22, 2022
Feb 22, 2022
Feb 22, 2022
Feb 22, 2022
Feb 22, 2022
Jul 6, 2019
Feb 26, 2022
Feb 22, 2022

Repository files navigation

Toontown OTP Server


OTP server implementation designed specifically for the 2003 historical version of Disney's Toontown Online.

Dependencies

  • Python 2.7
  • Panda3D
  • coloredlogs
  • semidbm
  • simplejson
  • pyyaml
  • pytoml

Setup/Running Local Server

To setup your local environment for running the OTP server run the following commands from your terminal. This assumes that your current python command is Python 2.7

git clone https://github.com/toontown-classic/toontown-otp
cd toontown-otp
python -m pip install -r requirements.txt

To start the OTP server instance run the following command or use one of the provided startup scripts

python -m realtime

Performance Problems?

While the built in Python message director in the realtime OTP server can hold up for a small amount of districts/players for larger deployments we recommend building and using the C++ implementation found here https://github.com/toontown-classic/toontown-otp-cxx. This will greatly improve the capacity of the OTP server instance.

License

Toontown OTP is licensed under the "MIT License" for more info, refer to the LICENSE file.