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...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | '''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. | |
− | 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: | 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. | + | * Copy TCAdminConsoleWrapper.exe from Program Files\TCAdmin2\Monitor\Tools to the game server's folder. You may use an additional game script to do this. |
* Create this batch script for the after started event with "Execute as the service's user" checked. | * Create this batch script for the after started event with "Execute as the service's user" checked. | ||
Line 16: | Line 15: | ||
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. |
Latest revision as of 21:57, 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 game 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.