summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-23 14:11:25 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-23 14:11:25 -0300
commitb7aa6668739c8fc8f745d0bb47b11aba4041ff5e (patch)
treebc73daaa5f43c23da9ea2240b61ab2d1bde185d3
parentdf5594789d3bf63b82e64d329a61f80610b5895b (diff)
downloadclient-b7aa6668739c8fc8f745d0bb47b11aba4041ff5e.tar.gz
client-b7aa6668739c8fc8f745d0bb47b11aba4041ff5e.tar.bz2
client-b7aa6668739c8fc8f745d0bb47b11aba4041ff5e.tar.xz
client-b7aa6668739c8fc8f745d0bb47b11aba4041ff5e.zip
Increase timeout time.
-rw-r--r--game/01_init.rpy2
-rw-r--r--game/04_init.rpy4
2 files changed, 5 insertions, 1 deletions
diff --git a/game/01_init.rpy b/game/01_init.rpy
index 6f654de..03420da 100644
--- a/game/01_init.rpy
+++ b/game/01_init.rpy
@@ -54,7 +54,7 @@ init -3 python:
FAILUREMSG="Request failed, Please try again"
OFFLINEMSG="401 Unauthorized"
OKMSG="200 OK"
- TIMEOUT_INTERVAL=3.0
+ TIMEOUT_INTERVAL=5.0
MAX_IRC_BUFFER=50
SSL_IS_BROKEN=False
CERT_NONE=0
diff --git a/game/04_init.rpy b/game/04_init.rpy
index 8384682..a8e7545 100644
--- a/game/04_init.rpy
+++ b/game/04_init.rpy
@@ -142,6 +142,10 @@ init python:
try:
renpy.call_screen("msgbox", "Error Code: %d\n\nApplication timeout, click to try again" % (ERR_TIMEOUT))
timeout=0.0
+ # TODO: Maybe we should, like, _resent_ the packet?
+ # Or just allow user to be booted to main menu?
+ # Or even yet, send ERR_INVALID and let the game handle it?
+ # Sooo use confirm instead of msgbox?
except:
stdout("ERROR: Timeout and retry failure")
break