Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.

Commit 1209243

Browse files
authored
Merge pull request #44 from T342guy/experimental
V10 HOTFIX DEBUG THRU FROST LOGIN ISSUE FIX
2 parents 578b8bd + 802d4c5 commit 1209243

File tree

1 file changed

+54
-30
lines changed

1 file changed

+54
-30
lines changed

VAIIYA terminal.py

Lines changed: 54 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def open_terminal():
291291

292292

293293
#BELOW IS THE DEBUG COMMANDLINE, DO NOT LEAVE ON FOR RELEASE!
294-
#elif text == 'DEBUG':
294+
elif text == 'DEBUG':
295295
DEBUG_COMMANDLINE()
296296

297297

@@ -330,32 +330,34 @@ def open_terminal():
330330

331331
#MAKE SURE THIS IS DISABLED BEFORE RELEASE!!!
332332
def DEBUG_COMMANDLINE():
333-
334-
while True:
335-
text = prompt('DEBUG COMMANDLINE >>> ')
333+
if DEBUG_ENABLE() == True:
336334

337-
if text == 'VRRALSA':
338-
VRRALSA_startup()
335+
while True:
336+
text = prompt('DEBUG COMMANDLINE >>> ')
339337

340-
elif text == 'WALKER':
341-
walker_entered()
338+
if text == 'VRRALSA':
339+
VRRALSA_startup()
342340

343-
elif text == 'FROST':
344-
frostbyte_entered()
341+
elif text == 'WALKER':
342+
walker_entered()
345343

346-
elif text == 'COMMANDS':
347-
print("commands:")
348-
print("VRRALSA")
349-
print("WALKER")
350-
print("FROST")
351-
print("EXIT")
352-
353-
elif text == 'EXIT':
354-
break
344+
elif text == 'FROST':
345+
frostbyte_entered()
355346

356-
else:
357-
print("use COMMANDS if you forgot")
347+
elif text == 'COMMANDS':
348+
print("commands:")
349+
print("VRRALSA")
350+
print("WALKER")
351+
print("FROST")
352+
print("EXIT")
353+
354+
elif text == 'EXIT':
355+
break
358356

357+
else:
358+
print("use COMMANDS if you forgot")
359+
if DEBUG_ENABLE() == False:
360+
print("hahaha good try ( ̄y▽, ̄)╭ ")
359361

360362

361363

@@ -460,9 +462,11 @@ def walker_entered():
460462

461463
# FROST EE STUFF OVER HERE!
462464
def frostbyte_login():
463-
userpassword = text = input_dialog(
465+
userpassword = input_dialog(
464466
title='frostbyte password input',
465-
text='frostbyte password:').run()
467+
text='frostbyte password:',
468+
password=True,
469+
).run()
466470

467471
userpassword = userpassword.encode('utf-8')
468472

@@ -473,6 +477,7 @@ def frostbyte_login():
473477

474478

475479

480+
476481
# 2nd part to the FROST EE
477482
def frostbyte_entered():
478483

@@ -626,21 +631,40 @@ def VRRALSA_COMMAND_PANEL():
626631
print("V.R.C.L. ERROR; KEYWORD DOES NOT LINK TO RECORD OR LOG. CHECK SPELLING, CAPS, OR OTHER.")
627632
#END OF THE VRCL COMMAND SYSTEM
628633

634+
#BELOW IS THE DEBUG COMMANDLINE ENABLE, SET TO TRUE FOR IT TO WORK. FALSE FOR RELEASE
635+
def DEBUG_ENABLE():
636+
return False
629637

638+
def DEBUG_STARTUP_DISABLE():
639+
return False
630640

641+
def STARTUP_DEBUG_CHECK():
642+
if DEBUG_STARTUP_DISABLE() == False:
643+
check_for_update_plz()
644+
startup_screen_ascii_roll()
645+
loading_bars_combined_startup()
646+
647+
if DEBUG_STARTUP_DISABLE() == True:
648+
pass
631649

632-
# Main system loop
633-
def game_loop():
634-
check_for_update_plz()
635-
startup_screen_ascii_roll()
636-
loading_bars_intro_1()
637-
loading_bars_intro_2()
638-
loading_bars_intro_3()
650+
651+
def terminal_startup_combined():
639652
main_menu()
640653
message_of_the_day()
641654
timefetch()
642655
terminal_start_message()
643656
open_terminal()
657+
658+
def loading_bars_combined_startup():
659+
loading_bars_intro_1()
660+
loading_bars_intro_2()
661+
loading_bars_intro_3()
662+
663+
664+
# Main system loop
665+
def game_loop():
666+
STARTUP_DEBUG_CHECK()
667+
terminal_startup_combined()
644668

645669
while True:
646670
#there is no code to run right before startup so there is a `pass` here.

0 commit comments

Comments
 (0)