one last question for now, about messages

Post here if you need help setting up your server, etc.
Post Reply
User avatar
2020
Outside Corner Grinder
Posts: 1322
Joined: Thu Dec 29, 2005 9:21 pm
Location: the present, finally

one last question for now, about messages

Post by 2020 »

wtf

i have tried to write up
>ROUND_CENTER_MESSAGE 0x00ffffa different challenge every night
which works
but
>ROUND_CONSOLE_MESSAGE 0xff0000if you read this, email me because i can't
i have never seen this print anything
and when i use
>MESSAGE_OF_DAY \
>0x3333ffmonday - rip or world domination through tron - discuss\n\
>0x33cccctuesday - simulate the settings of the tron film\n\
>0x33ff33wednesday - tronic monkey open challenge\n\
>0xcc33ccthursday - incam night... stick an i on your name\n\
>0xff3333friday - kings of the grid\n\
>0xcc33ccsaturday - team-play - no zones\n\
>0xffffffsunday - tournament night, spoon, ladle, four-team, world cup whatever
it doesn't work
but if i write
>MESSAGE_OF_DAY how are you?
it does

how can i write up that big chunk of writing i see on other servers?

again
thanks in advance
hold the line
User avatar
ed
Match Winner
Posts: 613
Joined: Mon Feb 13, 2006 12:34 pm
Location: UK

Post by ed »

an example..

Code: Select all

ROUND_CONSOLE_MESSAGE \n0xe9fd06Crazy Tronners Capture The Flag.\n0xe9fd06Capture the Enemies Flag and take it back to your base.\n0xe9fd06Your own flag must be on it's spot to score.\n0xe9fd06No Respawn\n0xff0000You have 60 seconds to return the flag to your base.\nRounds 1-3 CTF. Rounds 4-6 Zombies and Shooting.
User avatar
2020
Outside Corner Grinder
Posts: 1322
Joined: Thu Dec 29, 2005 9:21 pm
Location: the present, finally

Post by 2020 »

thanks again
it seems i wrote
>ROUND_CONSOLE_MESSAGE \0x3333ffmonday
missing the n
hold the line
User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft »

probably \0 gets expanded to a binary 0, which marks the end of a string, so the rest of the line was ignored.
There's no place like ::1
User avatar
2020
Outside Corner Grinder
Posts: 1322
Joined: Thu Dec 29, 2005 9:21 pm
Location: the present, finally

Post by 2020 »

wrtlprnft wrote:probably \0 gets expanded to a binary 0, which marks the end of a string, so the rest of the line was ignored.
uhu...
right...
ok...
hold the line
Post Reply