Difference between revisions of "ConsoleWrapper"

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:

Revision as of 21:56, 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.

Retrieved from "https://help.tcadmin.com/index.php?title=ConsoleWrapper&oldid=2158"