PDA

View Full Version : Dannyboy1121's Chat-In-Console Guide


rudedog
02-25-2005, 09:33 PM
This guide will show you how to allow text from public, team, and wisper messages to be displayed in the console window of the dedicated server machine

This is helpful to the admins of the server, so they can monitor lines of text without having to actually join the server.




Open your server.cfg file, and add the following lines below the MOTD line:
set developer 2
set chat 1
seta sv_chatter 1
seta logfile 3
seta g_logsync 1

If any of these commands appear in your MOHAA_SERVER.EXE or SPEARHEAD_SERVER.EXE target path, remove them.
Here's what these commands do:



The Developer, Chat, and Chatter lines are what actually allow the text to be inserted into the console. Now, in the console window for the dedicated server, all public messages will start with the number 0, followed by dmmessage. This indicates its a chat message, broadcasted to all players. After this is the text message as in appears in MOH. If the number is a -1, then it is a team message, and 1 is a wisper or private message.


The Logfile & Logsync commands are the commands that a) Send ALL messages & text from the console into a file in your MOH directory called "qconsole.log" so you can view it with a notepad. The logsync command writes the text line by line, rather then just in big chunks so it's easier to read. So you don't even need to monitor your server, you can come back later, and kick/ban people who were being disruptive!
Well, that's about it. If you need any help with this, please email me at dan.keating@dsl.pipex.com . Just make sure to state that it's in regards to the Chat-Console Guide. Thanks!

dannyboy1121

-Slick-cRiSsI
12-11-2006, 04:12 PM
Thanks! I would like to see this file qconsole.log. Where can I find it??

rudedog
12-11-2006, 04:23 PM
this is an old guide, my name is on it because I moved/posted/added this from the older MOHadmin.com site.

I would email the author via his email address in the first post

-Slick-cRiSsI
12-11-2006, 08:54 PM
Ok Thanks. But its not that important...