EmptyEpsilon
EmptyEpsilon copied to clipboard
Lua console output not logged on Windows
Reported by @HagenRo on Discord: There's no way to see the output of Lua print() commands with official builds on some Windows systems.
Only DEBUG builds open a console window/use the -mconsole flag, and some versions(?) of Windows launch EmptyEpsilon.exe but release control when run from cmd.exe.
The Logging function only logs what interacts with it, and the scripting interface doesn't appear to, so EmptyEpsilon.log exists and contains game-related messages, but not script output.
Note that in SP2 this is all proper, and I'm planning to fix this with all the changes I'm doing to the code right now on the ECS branch. Improving both logging/printing and error reporting of scripts.