cfrag Posted July 7, 2022 Posted July 7, 2022 DCS has a convenient feature that allows me to go to the 'Messages History' panel, and scroll back through all messages that have appeared on the screen. This can be quite helpful, especially if you are trying to debug a mission. Now, for the life of me, I can't figure out how to select and copy the text in that history log. Does anyone know if this is even possible? It would be a great boon for me if I could simply copy the text and then paste it into a text editor for further analysis (many, many lines of text when debugging a long mission). Can anyone enlighten me what I am missing? Thank you so much, -ch 2
PravusJSB Posted July 9, 2022 Posted July 9, 2022 You could just add a log output line into Scripts/UI/messagesHistory.lua > addMessage function? 1 Creator & Developer of XSAF ::An AI model that wants to kill you, and needs no help from humans. Discord: PravusJSB#9484 twitch.tv/pravusjsb https://www.patreon.com/XSAF https://discord.gg/pC9EBe8vWU https://bmc.link/johnsbeaslu Work with me on Fiverr: https://www.fiverr.com/pravusjsb
cfrag Posted July 10, 2022 Author Posted July 10, 2022 On 7/9/2022 at 11:00 AM, PravusJSB said: You could just add a log output line into Scripts/UI/messagesHistory.lua > addMessage function? Ha! Interesting idea. So this would then dump the entirety of the messages until now into to the log, and I can open the log and cut'n'paste from there. Thanks! Not entirely what I was hoping for but it should work in a pinch. Thank you so much! -ch 1
PravusJSB Posted July 15, 2022 Posted July 15, 2022 To make it much easier I would create a dedicated log file just for that output. 1 Creator & Developer of XSAF ::An AI model that wants to kill you, and needs no help from humans. Discord: PravusJSB#9484 twitch.tv/pravusjsb https://www.patreon.com/XSAF https://discord.gg/pC9EBe8vWU https://bmc.link/johnsbeaslu Work with me on Fiverr: https://www.fiverr.com/pravusjsb
TEMPEST.114 Posted December 19, 2022 Posted December 19, 2022 If I have a script that is loaded on mission start, can I address it directly in the messageHistory.lua with a function call to pass in the message as it's added? Or do I have to de-sanitise 'os_execute' so I can write out to a file that my script can read?
Recommended Posts