summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--game/defs.rpy2
-rw-r--r--game/options.rpy8
-rw-r--r--game/script.rpy11
3 files changed, 12 insertions, 9 deletions
diff --git a/game/defs.rpy b/game/defs.rpy
index 0fce7c1..fed7788 100644
--- a/game/defs.rpy
+++ b/game/defs.rpy
@@ -38,7 +38,7 @@ init -3 python:
# Configuration
config.autoreload = False
config.save_on_mobile_background = False
- persistent.release_name = "Renewal"
+ persistent.release_name = "Christmas"
if persistent.host is None:
persistent.host="spheres.tmw2.org"
# FIXME: Set good defaults (=bad) for Android
diff --git a/game/options.rpy b/game/options.rpy
index d17cb93..06713f2 100644
--- a/game/options.rpy
+++ b/game/options.rpy
@@ -12,7 +12,7 @@
##
## The _() surrounding the string marks it as eligible for translation.
-define config.name = _("Spheres")
+define config.name = _("Mana Spheres")
## Determines if the title given above is shown on the main menu screen. Set
@@ -23,7 +23,7 @@ define gui.show_name = True
## The version of the game.
-define config.version = "2.0.6.18"
+define config.version = "2.0.12.15"
## Text that is placed on the game's about screen. Place the text between the
## triple-quotes, and leave a blank line between paragraphs.
@@ -41,7 +41,7 @@ Card framework: {a=http://www.jewel-s.jp/}http://www.jewel-s.jp/{/a}
## distribution. This must be ASCII-only, and must not contain spaces, colons,
## or semicolons.
-define build.name = "Spheres"
+define build.name = "M.Spheres"
## Sounds and music ############################################################
@@ -153,7 +153,7 @@ define _game_menu_screen="history"
## This generally should not be changed, and if it is, should always be a
## literal string, not an expression.
-define config.save_directory = "Spheres-1574430323"
+define config.save_directory = "Mana-Spheres"
## Icon ########################################################################
diff --git a/game/script.rpy b/game/script.rpy
index f5fc1af..7769112 100644
--- a/game/script.rpy
+++ b/game/script.rpy
@@ -50,15 +50,18 @@ init python:
return
def onopen(self):
- global tr_busy, tr_load, tr_val
- print("Opening connection")
+ global tr_busy, tr_load, tr_val, HOST
+ print("Opening connection to %s" % HOST)
tr_load=True
tr_val=""
tr_busy=False
self.send("Ping")
def onerror(self, err):
- print("ERROR RECEIVED")
+ stdout("ERROR RECEIVED")
+ stdout("More details: %s" % repr(err))
+ stdout("An error happened: %s" % str(err))
+ renpy.full_restart()
raise err
# Inform you are now ingame
@@ -96,7 +99,7 @@ label start:
# on_open=None, on_message=None, on_error=None,
# on_close=None, on_ping=None, on_pong=None,
# on_data=None):
- ws = wsock.WebSocketApp("wss://localhost:61000",
+ ws = wsock.WebSocketApp("wss://"+HOST+":61000",
on_data=ondata, on_error=onerror, on_open=onopen,
on_message=onmsg)
print repr(ws)