Cortex - Viewing Instance's Server Console

Viewing and interacting directly with the server console can provide a bit more information than the rcon interface. In order to use these consoles you need root or administrator access to the system itself. Contact your system administrator if you don't have this access. Remember that anything you change directly on the game server may not be reflected in Cortex. Run the following steps if your server runs Microsoft Windows:

 

  • Log into your server's console.
  • When logged in you should see one console window for every instance running. Find the window for your instance and do what you need to do. If you accidentally close any of these windows Cortex will restart the server in 10 seconds.
  • When you're done go to Start->Shut Down and select the disconnect option to exit the server.

If you run Linux then do the following:

 

  • Log into your server. You must log in as root.
  • Run the following comamnds: (note that there are backticks around the word "tty", not quotation marks)

 

chown i365 `tty` 
su i365
cd /usr/local/i365
screen -wipe
screen -list

 

  • The last command should produce an output similar to:
       There is a screen on: 
14621.i365-user1-instance1 (Multi, detached)
14622.i365-user1-instance2 (Multi, detached)
14623.i365-user2-instance1 (Multi, detached)
3 Sockets in /usr/local/i365/.screen.

You should have one screen session per running instance. The screen session name has the following structure: <process id>.i365-<username>-<instance name>. To connect to one of the screen sessions run the following:

screen -r <screen_name>

For example run the command screen -r 14621.i365-user1-instance1 to view user1's instance1's server console.

 

  • Do what you need to do with the console
  • When you are finished use the key sequence ctrl+a, d (meaning hold down ctrl and a, let go of them then hit the d key) to exit the screen session
  • Run the exit command to log off the server.