Page 1 of 1
Increase the scroll history of the message console
Posted: Sun Apr 01, 2018 1:46 am
by harpy eagle
Is there any way to increase the amount you can scroll up on the F1 message console? It gets filled up with "adding trigger" spam and I can't get to the debug messages I want to see.
Re: Increase the scroll history of the message console
Posted: Sun Apr 01, 2018 3:45 am
by sven
harpy eagle wrote:Is there any way to increase the amount you can scroll up on the F1 message console? It gets filled up with "adding trigger" spam and I can't get to the debug messages I want to see.
The history length is hardcoded in C++; but the better fix here is probably to take out some of the unnecessary console spam. Commenting out triggered_attacks.lua:124 is probably the way to go here.
(Also, to figure out where message spam is coming from, you can flip the 'console_debug' or 'print_debug' bools in print.lua -- that will let you trace back to the source file/line responsible for any output that appears in the F1 console.)
Re: Increase the scroll history of the message console
Posted: Sun Apr 01, 2018 5:16 am
by harpy eagle
Thanks, for some reason I wasn't able to find the source of those prints by searching strings, and thought they might have been coming from C++.