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
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