summaryrefslogtreecommitdiff
path: root/lite.py
diff options
context:
space:
mode:
Diffstat (limited to 'lite.py')
-rwxr-xr-xlite.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/lite.py b/lite.py
index b4a5516..d552572 100755
--- a/lite.py
+++ b/lite.py
@@ -20,7 +20,7 @@ serverlist = []
#SERVERLIST = "http://localhost/launcher"
VAULT_HOST = "https://api.themanaworld.org:13370"
VAULT_CERT = False #"https://tmw2.org/launcher/cert.pem"
-SERVERLIST = "https://tmw2.org/launcher"
+SERVERLIST = "https://updates.tmw2.org/launcher"
# Vault SSL wrapper
vault=requests.Session()
if VAULT_CERT:
@@ -164,9 +164,8 @@ def launch_game(idx):
return -1
## Handle server type
- if serverlist[idx]["Type"].lower() == "evol2":
- CMD="manaplus"
- OPT="-s %s -y evol2 -p %s -S" % (HOST, PORT)
+ CMD="manaplus"
+ OPT="-s %s -y %s -p %s -S" % (HOST, serverlist[idx]["Type"], PORT)
## Execute the app
app=execute(san("%s %s%s" % (CMD, OPT, PWD)), shell=True) # nosec