Difference between revisions of "ConsoleWrapper"
(Created page with " TCAdminConsoleWrapper.exe reads the output of a console application without redirecting. This is useful if the process crashes with 'Control console's output' enabled. Make s...") |
|||
Line 16: | Line 16: | ||
Save and click on update existing services. | Save and click on update existing services. | ||
+ | |||
+ | You can run TCAdminConsoleWrapper.exe without a command line to see all available parameters. |
Revision as of 21:52, 8 June 2020
TCAdminConsoleWrapper.exe reads the output of a console application without redirecting. This is useful if the process crashes with 'Control console's output' enabled. Make sure 'Control console's output' is disabled in the game settings.
Usage:
- Copy TCAdminConsoleWrapper.exe from Program Files\TCAdmin2\Monitor\Tools to the game server's folder. You may use an additional script to do this.
- Create this batch script for the after started event with "Execute as the service's user" checked.
start TCAdminConsoleWrapper.exe -pid=%ThisService_Pid% -output=console.log -followcursor -max
- In the game's web console configuration:
- Web Console Output Source: Log file
- Log File: console.log
- If the game allows writing commands in the console:
- Web Console Input Source: Console commands
Save and click on update existing services.
You can run TCAdminConsoleWrapper.exe without a command line to see all available parameters.