=VG= SemlerPDX Posted May 27, 2020 at 10:29 PM Report Share Posted May 27, 2020 at 10:29 PM Profile: AVCS4 BMS - Immersive Voice Control RadiosIssue: Save File issues related to any game profileProfile Version: 1.3.8VoiceAttack Version: 1.8.5 Steps to reproduce: set wingman as human || AI COMMS - ALT All-Humans Mode - Computer Player Callsigns f_sfs_to_file || Script Functions - Save File System Expected Behavior: default functional operation Observed Behavior: (potential save file system issue - LastRequestedSave does not equal LastRequestedChanged) (see attached error log file, if available) Personal Testing: (AVCS Automated Debug and Reporting used) Comments:Session Command Count:11 RAM(total):34271133696 RAM(available):27919384576LastCMD:yes PreviousCMD:set wingman as humanPlayback:VoiceMeeter Input (VB-Audio VoiceMeeter VAIO) Playback(comms):VoiceMeeter Input (VB-Audio VoiceMeeter VAIO)Playback Volume:100 Playback Mute:0Microphone:Microphone (Logitech G933 Gaming Headset) Microphone(comms):Microphone (Logitech G933 Gaming Headset)Microphone Volume:70 Microphone Mute:0Speech Device Volume:70 Speech Device Mute:0JOYSTICK1:0 JOYSTICK2:0 JOYSTICK3:0 JOYSTICK4:0GAMEPAD1:0 GAMEPAD2:0 GAMEPAD3:0 GAMEPAD4:0 04/19/2020 00:26:48 -NULL OPERAND_1 or OPERATOR_1 ENTRY at function_NM = calculate 04/19/2020 02:19:05 -NULL OPERAND_1 or OPERATOR_1 ENTRY at function_NM = calculate 05/12/2020 14:38:15 -NULL OPERAND_1 or OPERATOR_1 ENTRY at function_NM = calculate 05/12/2020 14:38:20 -NULL OPERAND_1 or OPERATOR_1 ENTRY at function_NM = calculate 05/21/2020 17:05:46 -NULL OPERAND_1 or OPERATOR_1 ENTRY at function_NM = calculate 152726738 CID:3388 -DEBUG-000- || IS:0 || ACT:Profile || CMD:F_CORE_INITIALIZE 152726744 CID:3388 -DEBUG-000- || RID:500 || CAT:Script Functions - AVCS CORE Systems 152727526 CID:3388 -DEBUG-19- || INFO: Executing Sub-Command (F_CORE_SFS) with RID:2077 - valid Return should == 2311 152727578 CID:1791 -DEBUG-000- || IS:1 || ACT:Profile || CMD:f_core_sfs 152727584 CID:1791 -DEBUG-000- || RID:2077 || CAT:Script Functions - AVCS CORE Systems 152728288 CID:1791 -DEBUG-03- || INFO: SFS Path Loaded - C:\Program Files (x86)\VoiceAttack\Apps\AVCS\save_files\core_save\80\save.txt 152728555 CID:3388 -DEBUG-20b- || INFO: Sub-Command (F_CORE_SFS) COMPLETE -- Return equals 2311 152728678 CID:3388 -DEBUG-30- || INFO: BEGIN CORE INIT 152729313 CID:3388 -DEBUG-39- || INFO: Checking Update ID Path -- ~update_ID_path = C:\Program Files (x86)\VoiceAttack\Apps\AVCS\CORE\CORE\80\avcs_core_versionID.core 152729741 CID:3388 -DEBUG-41b- || INFO: Executing Sub-Command (F_CORE_APP) with RID:1909 - valid Return should == 2143 152729899 CID:2053 -DEBUG-000- || IS:1 || ACT:Profile || CMD:f_core_app 152729905 CID:2053 -DEBUG-000- || RID:1909 || CAT:Script Functions - AVCS CORE Systems 152731338 CID:3388 -DEBUG-42b- || INFO: Sub-Command (F_CORE_APP) COMPLETE -- Return equals 2143 152731381 CID:3388 -DEBUG-44- || INFO: CORE IS ONLINE 152731735 CID:3388 -DEBUG-46- || INFO: SUCCESS -- at 'Log current CORE Update ID' ~module_update_ID = 20051521 || ~update_ID_text = 20051521 152732468 CID:3388 -DEBUG-49- || INFO: Online Update ID - ~online_update_ID = 20051521 152732940 CID:3388 -DEBUG-62- || INFO: REPEAT USER RUN INIT - (CFG) ~profile_to_init = CORE 152734356 CID:3388 -DEBUG-75- || INFO: DATA LOAD - ~profile_to_init = CORE || ~data_index = 0 152734865 CID:3388 -DEBUG-75- || INFO: DATA LOAD - ~profile_to_init = CORE || ~data_index = 1 152735179 CID:3388 -DEBUG-77- || INFO: FIRST DEPMOD INIT - ~profile_to_init = CORE || ~primary_init_profile = CORE 152735517 CID:3388 -DEBUG-78- || INFO: DEPMOD INIT LOOP - ~profile_to_init = CORE 152735807 CID:3388 -DEBUG-79- || INFO: DEPMOD INIT LOOP 2 - DEPMOD NAME ~profile_to_init = VAS 152736238 CID:3388 -DEBUG-39- || INFO: Checking Update ID Path -- ~update_ID_path = C:\Program Files (x86)\VoiceAttack\Apps\AVCS\CORE\VAS\80\avcs_vas_versionID.core 152736573 CID:3388 -DEBUG-46- || INFO: SUCCESS -- at 'Log current CORE Update ID' ~module_update_ID = 20031222 || ~update_ID_text = 20031222 152737022 CID:3388 -DEBUG-49- || INFO: Online Update ID - ~online_update_ID = 20031222 152737384 CID:3388 -DEBUG-62- || INFO: REPEAT USER RUN INIT - (CFG) ~profile_to_init = VAS 152738035 CID:3388 -DEBUG-75- || INFO: DATA LOAD - ~profile_to_init = VAS || ~data_index = 0 152738602 CID:3388 -DEBUG-75- || INFO: DATA LOAD - ~profile_to_init = VAS || ~data_index = 1 152739161 CID:3388 -DEBUG-75- || INFO: DATA LOAD - ~profile_to_init = VAS || ~data_index = 2 152739560 CID:3388 -DEBUG-78- || INFO: DEPMOD INIT LOOP - ~profile_to_init = VAS 152739879 CID:3388 -DEBUG-81- || INFO: COMPLETE - CORE AND MODULE INITIALIZED 152739887 CID:3388 -DEBUG-81b- || INFO: AVCS_CORE_INIT = True || AVCS_BMS_INIT = Not set || AVCS_VAS_INIT = True || AVCS_SFS_INIT = True 152740350 CID:3388 -DEBUG-93- || INFO: Executing Sub-Command (F_SFS_LOAD_ALL) with RID:4355 - valid Return should == 4589 152740420 CID:4061 -DEBUG-000- || IS:1 || ACT:Profile || CMD:f_sfs_load_all 152740426 CID:4061 -DEBUG-000- || RID:4355 || CAT:Script Functions - Save File System 152740970 CID:4061 -DEBUG-07- || INFO: Executing AVCS Inline "LoadAll" and subsequent SFS TO PROFILE command 152740976 CID:4061 -DEBUG-07b- || INFO: Executing Sub-Command (Inline LoadAll) with RID:1277 - valid Return should == 1511 152741230 CID:4061 -DEBUG-08b- || INFO: Sub-Command (Inline LoadAll) COMPLETE -- Return equals 1511 152741262 CID:4061 -DEBUG-09- || INFO: SFS File Loaded from C:\Program Files (x86)\VoiceAttack\Apps\AVCS\save_files\core_save\80\save.txt 152741898 CID:3388 -DEBUG-94b- || INFO: Sub-Command (F_SFS_LOAD_ALL) COMPLETE -- Return equals 4589 152741948 CID:3388 -DEBUG-99- || INFO: Executing Sub-Command (F_SFS_TO_FILE) with RID:3896 - valid Return should == 4130 152742041 CID:1657 -DEBUG-000- || IS:1 || ACT:Profile || CMD:f_sfs_to_file 152742046 CID:1657 -DEBUG-000- || RID:3896 || CAT:Script Functions - Save File System 152742052 CID:1657 -DEBUG-01- || INFO: AVCS_SFS_DELETE_saved = False || AVCS_SFS_BACKUP_bypass = True 152743122 CID:1657 -DEBUG-11- || INFO: COMPLETE -- should have sent text to: C:\Program Files (x86)\VoiceAttack\Apps\AVCS\save_files\core_save\80\save.txt 152743131 CID:1657 -DEBUG-11b- || INFO: FINAL WRITE REQUEST -- AVCS_Version_Full_tester=0.87 AVCS_STATE_GearDown=False AVCS_RAS_CurrentGroupNumber=42 AVCS_PREFERRED_PROFILE=Falcon BMS AVCS 152743620 CID:1657 -DEBUG-15- || INFO: SFS Variable(s) Saved to C:\Program Files (x86)\VoiceAttack\Apps\AVCS\save_files\core_save\80\save.txt 152743954 CID:3388 -DEBUG-100b- || INFO: Sub-Command (F_SFS_TO_FILE) COMPLETE -- Return equals 4130 152743983 CID:3388 -DEBUG-101- || INFO: ----------RESERVED FOR CORE PROFILE ------------- ONE TIME FULLY LOADED CHECK RESETS ONLY HERE!!! ONE TIME !!!------- 152744583 CID:3388 -DEBUG-104x- || INFO: Marker AVCS_CORE_END -- (exiting core cmd) 152744701 CID:3270 -DEBUG-000- || IS:0 || ACT:ProfileUnloadChange || CMD:F_CORE_INITIALIZE 152744707 CID:3270 -DEBUG-000- || RID:500 || CAT:Script Functions - AVCS CORE Systems 152744707 CID:3270 -DEBUG-000- || RID:500 || CAT:Script Functions - AVCS CORE Systems 152745283 CID:3270 -DEBUG-00- || INFO: RELOAD CORE is true so Jumping to End of CORE INIT (bypass main/exit) 152745622 CID:3270 -DEBUG-104x- || INFO: Marker AVCS_CORE_END -- (exiting core cmd) 152746329 CID:2277 -DEBUG-000- || IS:0 || ACT:Profile || CMD:F_CORE_INITIALIZE 152746335 CID:2277 -DEBUG-000- || RID:500 || CAT:Script Functions - AVCS CORE Systems 152747072 CID:2277 -DEBUG-21- || INFO: RELOAD CORE == TRUE (jumping to title marker) --------------- RESERVED FOR AVCSCORE ------------------------------------------ 152747561 CID:2277 -DEBUG-103- || INFO: Switching to PREFERRED PROFILE at FINAL OPPORTUNITY 152748234 CID:4300 -DEBUG-000- || IS:0 || ACT:ProfileUnloadChange || CMD:F_CORE_INITIALIZE 152748239 CID:4300 -DEBUG-000- || RID:500 || CAT:Script Functions - AVCS CORE Systems 152749307 CID:4300 -DEBUG-24- || INFO: --------------------------------RESERVED FOR NON CORE PROFILES------------------------------------------ 152749311 CID:4300 -DEBUG-24b- || INFO: -----> ~check_switchto_profile = BMS <------------ 152749780 CID:4300 -DEBUG-25- || INFO: ------> SWITCH TO AVCS PROFILE THAT IS NOT INITIALIZED <------------ 152750154 CID:4300 -DEBUG-31- || INFO: ---------------------------------RESERVED FOR NON CORE PROFILES------------------------------------------ 152750162 CID:4300 -DEBUG-31b- || INFO: BEGIN MODULE INIT 152750168 CID:4300 -DEBUG-31c- || ERROR: "OOPS" AVCS_CORE_INIT = True and also AVCS_INIT_PROFILE = BMS (dev) 152750805 CID:4300 -DEBUG-33- || INFO: ----------------------------------RESERVED FOR NON CORE PROFILES------------------------------------------ 152751312 CID:4300 -DEBUG-39- || INFO: Checking Update ID Path -- ~update_ID_path = C:\Program Files (x86)\VoiceAttack\Apps\AVCS\CORE\BMS\80\avcs_bms_versionID.core 152751807 CID:4300 -DEBUG-41b- || INFO: Executing Sub-Command (F_CORE_APP) with RID:1871 - valid Return should == 2105 152751970 CID:3516 -DEBUG-000- || IS:1 || ACT:ProfileUnloadChange || CMD:f_core_app 152751976 CID:3516 -DEBUG-000- || RID:1871 || CAT:Script Functions - AVCS CORE Systems 152753607 CID:4300 -DEBUG-42b- || INFO: Sub-Command (F_CORE_APP) COMPLETE -- Return equals 2105 152753653 CID:4300 -DEBUG-44- || INFO: CORE IS ONLINE 152754149 CID:4300 -DEBUG-46- || INFO: SUCCESS -- at 'Log current CORE Update ID' ~module_update_ID = 20031607 || ~update_ID_text = 20031607 152754654 CID:4300 -DEBUG-49- || INFO: Online Update ID - ~online_update_ID = 20031607 152755196 CID:4300 -DEBUG-62- || INFO: REPEAT USER RUN INIT - (CFG) ~profile_to_init = BMS 152756411 CID:4300 -DEBUG-75- || INFO: DATA LOAD - ~profile_to_init = BMS || ~data_index = 0 152757005 CID:4300 -DEBUG-75- || INFO: DATA LOAD - ~profile_to_init = BMS || ~data_index = 1 152757603 CID:4300 -DEBUG-75- || INFO: DATA LOAD - ~profile_to_init = BMS || ~data_index = 2 152758149 CID:4300 -DEBUG-75- || INFO: DATA LOAD - ~profile_to_init = BMS || ~data_index = 3 152758516 CID:4300 -DEBUG-77- || INFO: FIRST DEPMOD INIT - ~profile_to_init = BMS || ~primary_init_profile = BMS 152758884 CID:4300 -DEBUG-81- || INFO: COMPLETE - CORE AND MODULE INITIALIZED 152758890 CID:4300 -DEBUG-81b- || INFO: AVCS_CORE_INIT = True || AVCS_BMS_INIT = True || AVCS_VAS_INIT = True || AVCS_SFS_INIT = True 152759388 CID:4300 -DEBUG-83- || INFO: [~next_avcs_profile] Does Not Equal '' AND [AVCS_CORE_FULLYLOADED] Equals True) 152759397 CID:4300 -DEBUG-83b- || INFO: -(switching to 'next_avcs_profile')----------------------------------RESERVED FOR NON CORE PROFILES------------------------------------------ 152759404 CID:4300 -DEBUG-83c- || INFO: CORE INITIALIZE COMPLETE - PROFILE SWITCH BEGIN 152800010 CID:4300 -DEBUG-84- || INFO: Executing Sub-Command (F_CORE_SFS) with RID:2123 - valid Return should == 2357 152800062 CID:2235 -DEBUG-000- || IS:1 || ACT:ProfileUnloadChange || CMD:f_core_sfs 152800069 CID:2235 -DEBUG-000- || RID:2123 || CAT:Script Functions - AVCS CORE Systems 152800812 CID:2235 -DEBUG-03- || INFO: SFS Path Loaded - C:\Program Files (x86)\VoiceAttack\Apps\AVCS\save_files\bms_save\80\save.txt 152801171 CID:4300 -DEBUG-85b- || INFO: Sub-Command (F_CORE_SFS) COMPLETE -- Return equals 2357 152801197 CID:4300 -DEBUG-86- || INFO: SAVE FILE PATH IS VALID == 1 152801701 CID:4300 -DEBUG-87- || INFO: SAVE FILE PATH HAS DATA TO LOAD -------- 152802031 CID:4300 -DEBUG-88- || INFO: Executing Sub-Command (F_SFS_LOAD_ALL) with RID:2376 - valid Return should == 2610 152802100 CID:4017 -DEBUG-000- || IS:1 || ACT:ProfileUnloadChange || CMD:f_sfs_load_all 152802106 CID:4017 -DEBUG-000- || RID:2376 || CAT:Script Functions - Save File System 152802754 CID:4017 -DEBUG-07- || INFO: Executing AVCS Inline "LoadAll" and subsequent SFS TO PROFILE command 152802760 CID:4017 -DEBUG-07b- || INFO: Executing Sub-Command (Inline LoadAll) with RID:3778 - valid Return should == 4012 152802812 CID:4017 -DEBUG-08b- || INFO: Sub-Command (Inline LoadAll) COMPLETE -- Return equals 4012 152802843 CID:4017 -DEBUG-09- || INFO: SFS File Loaded from C:\Program Files (x86)\VoiceAttack\Apps\AVCS\save_files\bms_save\80\save.txt 152803618 CID:4300 -DEBUG-89b- || INFO: Sub-Command (F_SFS_LOAD_ALL) COMPLETE -- Return equals 2610 152803648 CID:4300 -DEBUG-91- || INFO: -(switching to 'next_avcs_profile')----------------------------------RESERVED FOR NON CORE PROFILES------------------------------------------ 152804153 CID:4300 -DEBUG-93- || INFO: Executing Sub-Command (F_SFS_LOAD_ALL) with RID:3431 - valid Return should == 3665 152804222 CID:2862 -DEBUG-000- || IS:1 || ACT:ProfileUnloadChange || CMD:f_sfs_load_all 152804228 CID:2862 -DEBUG-000- || RID:3431 || CAT:Script Functions - Save File System 152804873 CID:2862 -DEBUG-07- || INFO: Executing AVCS Inline "LoadAll" and subsequent SFS TO PROFILE command 152804879 CID:2862 -DEBUG-07b- || INFO: Executing Sub-Command (Inline LoadAll) with RID:2037 - valid Return should == 2271 152804930 CID:2862 -DEBUG-08b- || INFO: Sub-Command (Inline LoadAll) COMPLETE -- Return equals 2271 152804964 CID:2862 -DEBUG-09- || INFO: SFS File Loaded from C:\Program Files (x86)\VoiceAttack\Apps\AVCS\save_files\bms_save\80\save.txt 152805744 CID:4300 -DEBUG-94b- || INFO: Sub-Command (F_SFS_LOAD_ALL) COMPLETE -- Return equals 3665 152805794 CID:4300 -DEBUG-99- || INFO: Executing Sub-Command (F_SFS_TO_FILE) with RID:1509 - valid Return should == 1743 152805886 CID:3265 -DEBUG-000- || IS:1 || ACT:ProfileUnloadChange || CMD:f_sfs_to_file 152805891 CID:3265 -DEBUG-000- || RID:1509 || CAT:Script Functions - Save File System 152805897 CID:3265 -DEBUG-01- || INFO: AVCS_SFS_DELETE_saved = False || AVCS_SFS_BACKUP_bypass = True 152806930 CID:3265 -DEBUG-11- || INFO: COMPLETE -- should have sent text to: C:\Program Files (x86)\VoiceAttack\Apps\AVCS\save_files\bms_save\80\save.txt 152806940 CID:3265 -DEBUG-11b- || INFO: FINAL WRITE REQUEST -- AVCS_All_Humans=True AVCS_BMS_Audio_On=False AVCS_BMS_HumanAs_Element=True AVCS_BMS_HumanAs_Wingman=True AVCS_BMS_HumanOnly_ 152807454 CID:3265 -DEBUG-15- || INFO: SFS Variable(s) Saved to C:\Program Files (x86)\VoiceAttack\Apps\AVCS\save_files\bms_save\80\save.txt 152807792 CID:4300 -DEBUG-100b- || INFO: Sub-Command (F_SFS_TO_FILE) COMPLETE -- Return equals 1743 152807989 CID:4300 -DEBUG-104x- || INFO: Marker AVCS_CORE_END -- (exiting core cmd) 152822956 CID:2331 -DEBUG-000- || IS:1 || ACT:Profile || CMD:f_sfs_backup 152822962 CID:2331 -DEBUG-000- || RID:1743 || CAT:Script Functions - Save File System 152823346 CID:2331 -DEBUG-01- || INFO: AVCS_SFS_SaveFileBackupCount=10 || AVCS_SFS_CurrentBackupIndex=5 152823352 CID:2331 -DEBUG-01b- || INFO: NEW Backup of Save File created at C:\Program Files (x86)\VoiceAttack\Apps\AVCS\save_files\bms_save\80\backup\save_backup_5.txt 152854824 CID:1940 -DEBUG-000- || IS:1 || ACT:Spoken || CMD:f_sfs_to_file 152854830 CID:1940 -DEBUG-000- || RID:2297 || CAT:Script Functions - Save File System 152854836 CID:1940 -DEBUG-01- || INFO: AVCS_SFS_DELETE_saved = False || AVCS_SFS_BACKUP_bypass = True 152855371 CID:1940 -DEBUG-14- || INFO: COMPLETE -- No Variables Changed for requests numbering 1 152855377 CID:1940 -DEBUG-14b- || INFO: AVCS_SFS_BACKUP_LastRequested == AVCS_BMS_HumanAs_Wingman 152855744 CID:1940 -DEBUG-15- || INFO: SFS Variable(s) Saved to C:\Program Files (x86)\VoiceAttack\Apps\AVCS\save_files\bms_save\80\save.txt Severity / Status: Resolved (please download new profile version) View full bug report Link to comment Share on other sites More sharing options...
=VG= SemlerPDX Posted May 27, 2020 at 10:52 PM Author Report Share Posted May 27, 2020 at 10:52 PM *I know this area of the forums is currently hidden for most members, but if anyone sees this, the above is the very first ACTUAL report made using my voice controlled bug reporting and debugging -- previous reports have be format testing and such, but that's done now and figured I'd debug a current issue with this new system. I need to move the LastCommand and Previous Command up before the choices in voice debugging, but other than that, it's complete. I simply said, 'create a bug report', and my system asked me to run the commands I had problems with, told me to say, 'Save Report', when done... then it opened this website, to a new bug report form, asked me select the text area with the cursor, then say, 'ready' or 'done' to paste the report.The entire post above was created by my system, I didn't do anything except say, 'done', and press "Save" to post the report, which also posts to these forums. Of particular note, the automated debugging system noticed that the save file system may not be functioning correctly, and added a note to the Observed Behavior section of the report. I almost forgot about that, and was delighted to see it! Sometimes I have ideas to implement, far more than ever make it in, and I had thought perhaps this one was not crossed off the list yet. It even handles any Sub-Command failure and will toss up information if any had not executed properly or had thrown any errors during execution. Sometimes I impress even myself! I will now use the above report to find out why my new command "Set my Wingman as Human" doesn't save to file correctly. It works in profile, but once I close VoiceAttack and reload, it's like I never set Wingman to Human. (not yet implemented, this would be a new general command concept irrespective of callsign, sets the words "2" and "Wingman" to be recognized as Human, and therefore NOT press any in-game ai Radio Commands for Wingman if/when these words are recognized by my voice control system) This report is particularly long because it includes debugging of the profile restart and initialization, where I believe the problem lies. After CORE initializes itself, and then it's dependent 'modules' (like voice authorization system), and then if preferred profile is set, it will switch to and initialize that end-game profile ... in this case, AVCS4 BMS - Immersive Voice Control Radios (and it's dependent 'modules', if any) - but it must load the AVCS4 BMS save file before switching to the profile, or rather before arriving at it, or else any customized settings will not be available including commands that the user created by voice control using the Quick Command Creator module (as opposed to traditional command creating/editing).This new debugging and bug reporting system adds quite a bit of content to any command that needs it, unfortunately sometimes even commands that had only one single line, one single action... but it does not at all effect the speed of standard execution (when not debugging or creating a bug report), and that's all that matters. The information gained, and the ease of use for the user (and for me, the developer), far outweighs any negatives from the added bloat to the commands in my many AVCS profiles. Link to comment Share on other sites More sharing options...
=VG= SemlerPDX Posted June 10, 2020 at 03:26 AM Author Report Share Posted June 10, 2020 at 03:26 AM Changed Severity / Status to Resolved (for upcoming download version) fixed - issue in F_SFS_TO_FILE, in the AVCS_SaveToFile inline function. The way I had used .Contains has issues comparing when the item to change is at the beginning or end of a string, needs to account for those cases if needed. if not(entry(1).Contains(requestVarValue)) changed to: if ((not(entry(1).StartsWith(requestVarValue))) or (not(entry(1).Contains(requestVarValue))) or (not(entry(1).EndsWith(requestVarValue)))) Link to comment Share on other sites More sharing options...
Recommended Posts