EmptyEpsilon icon indicating copy to clipboard operation
EmptyEpsilon copied to clipboard

Lua console output not logged on Windows

Open oznogon opened this issue 2 years ago • 1 comments
trafficstars

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.

oznogon avatar Jan 07 '23 18:01 oznogon

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.

daid avatar Jan 12 '23 13:01 daid