summaryrefslogtreecommitdiff
path: root/lite.py
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-07-24 21:40:04 -0300
committerJesusaves <cpntb1@ymail.com>2021-07-24 21:40:04 -0300
commit9de17d74a28003cffd01e4edf8a8c8baeded6d69 (patch)
tree6ff4d9c141e53546c8e24f562dfeb9d1597a28e3 /lite.py
parent97dba2a0205cb5ea9baf2e82272e7b15c3b289a7 (diff)
downloadrenpy-9de17d74a28003cffd01e4edf8a8c8baeded6d69.tar.gz
renpy-9de17d74a28003cffd01e4edf8a8c8baeded6d69.tar.bz2
renpy-9de17d74a28003cffd01e4edf8a8c8baeded6d69.tar.xz
renpy-9de17d74a28003cffd01e4edf8a8c8baeded6d69.zip
Prepare to migrate from Moubootaur Legends to The Mana World
aka. Moving from Alpha to Beta
Diffstat (limited to 'lite.py')
-rwxr-xr-xlite.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/lite.py b/lite.py
index 7b8506b..38ecff7 100755
--- a/lite.py
+++ b/lite.py
@@ -18,13 +18,14 @@ serverlist = []
#VAULT_HOST = "https://localhost:13370"
#VAULT_CERT = "http://localhost/launcher/cert.pem"
#SERVERLIST = "http://localhost/launcher"
-VAULT_HOST = "https://api.tmw2.org:13370"
-VAULT_CERT = "https://tmw2.org/launcher/cert.pem"
+VAULT_HOST = "https://api.themanaworld.org:13370"
+VAULT_CERT = False #"https://tmw2.org/launcher/cert.pem"
SERVERLIST = "https://tmw2.org/launcher"
# Vault SSL wrapper
vault=requests.Session()
-vault.cert = "cert.pem"
-vault.verify = "cert.pem"
+if VAULT_CERT:
+ vault.cert = "cert.pem"
+ vault.verify = "cert.pem"
#####################################
def stdout(message, bd=False):
@@ -171,7 +172,7 @@ os.environ["APPIMAGELAUNCHER_DISABLE"]="1"
#################################################################################
## Build the Vault interface (infinite loop)
-while True:
+while VAULT_CERT:
try:
######################################
# Fetch a new PEM Certificate
@@ -232,7 +233,6 @@ try:
print("exit - Closes the program")
print("connect <world> - Connects to <world>")
print("")
- print("Type the world name and it'll be run.")
print("You need ManaPlus installed for Evol2 worlds.")
elif cmd in ["list", "servers"]:
for w in serverlist: