Topic: MOTD limit
Is there character a limit to the sv_motd
because when i run my servers it only displays the first 30 characters or so.
is there a way around this?
You are not logged in. Please login or register.
Teeworlds Forum → Support → MOTD limit
Is there character a limit to the sv_motd
because when i run my servers it only displays the first 30 characters or so.
is there a way around this?
You are probably using a modification of the server where the limit of characters is set to 30.
The Vanilla server supports more than 30 characters.
In 0.5.2, the MOTD is limited to 900 characters.
Maybe you want to make a new line.
I thin you have to write \n to create a new line.
not using a mod. alias I think you are right. but what is the limit for 1 line?
the limit is Dune wrote... And you have to write the whole MOTD in one line in the config.
sv_motd "Hi\n\nblabla blub hehe\n:)"
will be like this on the server:
Hi
blabla blub hehe
:)
Btw, this also works with chat messages
Btw, this also works with chat messages
shouldnt be possible with current trunk
// check for invalid chars
unsigned char *pMessage = (unsigned char *)pMsg->m_pMessage;
while (*pMessage)
{
if(*pMessage < 32)
*pMessage = ' ';
pMessage++;
}
SendChat(ClientId, Team, pMsg->m_pMessage);
Ok thanks but what is the limit of characters to 1 line
there are no lines... so u can say its the same as the whole motd limit.
But it will look like shit if the text is overlapping the motd text box (not sure if it will linebreak automatically)
again:
You have to write the motd message in the config file in one single line!
you CANNOT do something like this in the config file:
sv_motd "Hi
blabla blub
:)"
If you want to use linebreaks you have to use \n in that single motd line in config file like mentioned before!
He means how many characters will be able to be displayed on the MOTD in-game before it begins to cut off..
Why don't you check yourself?
The limit for a "parsed" line should be the same as sv_motd. If nothing has changed it should be 900 as Dune said.
If it doesn't work, just post your config.
Then we can help you much better than now.
Teeworlds Forum → Support → MOTD limit
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.