Write the impossible activities in a text file

Started by Luca Dangelo, December 26, 2019, 11:34:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Luca Dangelo

Hi,
Could you please let me know the most straightforward way of changing the code to write the impossible activities in a file (instead of showing in the command prompt) when we use the command-line case?

Thanks in advance.

Liviu Lalescu

Hello,

I am not sure I understand correctly, because I tried and the difficult activities are not written on the command line, but in logs/difficult_activities.txt.

Luca Dangelo

#2
I meant the messages like attached that make the simulation impossible.
In other words, I want to know the most straightforward way to write these messages into a file (instead of just showing in the command prompt).

Regards.

Liviu Lalescu

Oh, I see. See:

interface/fet.cpp, lines 1355, 1377, 1394.
engine/messageboxes.h & cpp.
interface/longtextmessagebox.h & cpp.

I think you can modify these last two files.


Liviu Lalescu