say /login your-password-here
say /admin spam_maxlen 80
In the game press console and type include fix.cfg to reset the settings.
For this to work I added || message.StartsWith("/") to the message test in se_AppendChat of ePlayer.cpp so that text starting with commands are not truncated.
Code: Select all
// appends chat message to something
template< class TARGET >
void se_AppendChat( TARGET & out, tString const & message )
{
if ( message.Len() <= se_SpamMaxLen*2 || message.StartsWith("/"))
out << message;
else
{
tString cut( message );
cut.SetLen( se_SpamMaxLen*2 );
out << cut;
}
}