Poodletooth-iLand/linux/start-game-remotedb.sh

24 lines
642 B
Bash
Raw Normal View History

2015-03-03 22:10:12 +00:00
#!/bin/bash
cd ..
# Get the user input:
read -p "Username: " ttuUsername
read -s -p "Password: " ttuPassword
echo
read -p "Gameserver (DEFAULT: 167.114.28.238): " TTU_GAMESERVER
TTU_GAMESERVER=${TTU_GAMESERVER:-"167.114.28.238"}
# Export the environment variables:
export ttuUsername=$ttuUsername
export ttuPassword=$ttuPassword
export TTU_PLAYCOOKIE=$ttuUsername
export TTU_GAMESERVER=$TTU_GAMESERVER
echo "==============================="
2015-03-10 22:36:03 +00:00
echo "Starting Toontown United..."
2015-03-03 22:10:12 +00:00
echo "Username: $ttuUsername"
echo "Gameserver: $TTU_GAMESERVER"
echo "==============================="
/usr/bin/python2 -m toontown.toonbase.ClientStartRemoteDB