diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-12-23 14:11:25 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-12-23 14:11:25 -0300 |
commit | b7aa6668739c8fc8f745d0bb47b11aba4041ff5e (patch) | |
tree | bc73daaa5f43c23da9ea2240b61ab2d1bde185d3 | |
parent | df5594789d3bf63b82e64d329a61f80610b5895b (diff) | |
download | client-b7aa6668739c8fc8f745d0bb47b11aba4041ff5e.tar.gz client-b7aa6668739c8fc8f745d0bb47b11aba4041ff5e.tar.bz2 client-b7aa6668739c8fc8f745d0bb47b11aba4041ff5e.tar.xz client-b7aa6668739c8fc8f745d0bb47b11aba4041ff5e.zip |
Increase timeout time.
-rw-r--r-- | game/01_init.rpy | 2 | ||||
-rw-r--r-- | game/04_init.rpy | 4 |
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 |