diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-08-30 15:16:43 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-08-30 15:16:43 -0300 |
commit | bd36c692357c85de7058a28abc63ab9abc228a58 (patch) | |
tree | 714b3c539b8180006c4de4e76c5f834ac3f1fe5f /sast/renpy.rpy-sast.py | |
parent | 0909dac3c032f23bf6335ae00f36f89e1f8408dd (diff) | |
download | renpy-bd36c692357c85de7058a28abc63ab9abc228a58.tar.gz renpy-bd36c692357c85de7058a28abc63ab9abc228a58.tar.bz2 renpy-bd36c692357c85de7058a28abc63ab9abc228a58.tar.xz renpy-bd36c692357c85de7058a28abc63ab9abc228a58.zip |
Add sast/ folder so I can test if the fault is the YML or the poor tool I'm using
Diffstat (limited to 'sast/renpy.rpy-sast.py')
-rw-r--r-- | sast/renpy.rpy-sast.py | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sast/renpy.rpy-sast.py b/sast/renpy.rpy-sast.py new file mode 100644 index 0000000..d49c2bf --- /dev/null +++ b/sast/renpy.rpy-sast.py @@ -0,0 +1,34 @@ +if True: + if persistent.steam: + stdout("Steam Module verification...") + try: + steam.init() + except: + import _renpysteam as steam + statusmsg=_("Validating SSL Certificates...") + stdout("Before menu OK") + build_vault() + stdout("Vault PEM OK") + renpy.invoke_in_thread(CONFIGURE_LAUNCHER) + stdout("Thread start OK") + # Block the main thread until the socket connection is done + stdout("Thread finish OK") + status_update(_("{color=#F00}Failure! Vault ID could not be set.{/color}")) + stdout("Connection established! User ID %d" % vaultId) + persistent.vaultId = vaultId + renpy.block_rollback() + stdout("Good bye!") + renpy.quit() + stdout("V0id") + statusmsg=_("Now loading...") + renpy.invoke_in_thread(launch_game, _return) + stdout("Program died - unsucessful game launch") + stdout("MLP Destination is set") + try: + _return=dl_search_idx(persistent.serverlist, "UUID", MLP_DEST) + _return=int(_return) + except: + traceback.print_exc() + _return=-1 + MLP_DEST=None + stdout("WID Target: %d" % (_return)) |