[T1 HELP]Some Chat Options Gone?!?

Crom
01-08-2004, 08:31 PM
Sooooo

I am using Presto (no comment), and after i changed some text, all of a sudden *certain* chat options don't work...

I can still use the staples like yes/no/no problem...but all the colorful ones are gone. basically, all the ones presto/say.cs defines as "yellings"; no shazbot, no Doh!, no Ah Crap!, etc.

I can't find any code problems, as i didn't change anything other than the text.

here is the code from my presto/chat.cs

Menu::New(menuChatGlobal, "Global");
Menu::AddPublicChat(menuC hatGlobal,"z", yellDoh);
Menu::AddPublicChat(menuC hatGlobal,"o", yellOops);
Menu::AddPublicChat(menuC hatGlobal,"s", yellShazbot);
Menu::AddPublicChat(menuC hatGlobal,"q", yellDammit);
Menu::AddPublicChat(menuC hatGlobal,"c", yellCrap);
Menu::AddPublicChat(menuC hatGlobal,"e", yellDuh);
Menu::AddPublicChat(menuC hatGlobal,"x", yellYouIdiot);
and from presto/say.cs
// Yellings
Say::New( yellShazbot, "color2", "Shazbot!");
Say::New( yellDammit, "color6", "Dammit!");
Say::New( yellCrap, "color7", "Crap!");
Say::New( yellDuh, "dsgst1", "Duh!");
Say::New( yellYouIdiot, "dsgst2", "You idiot!"););


any help = good

NOVA|lam
01-08-2004, 08:34 PM
well, if you messed up the code, then when you open tribes and hit 'v' for your chat menu, the part that is screwed will be missing at the end of your chatmenu

for instance,

g. global
e. team

wherever it stops is where your problem is.

Mou$e
01-08-2004, 08:40 PM
theres a little smiley face in the end of ur coding there, did u put a ;) or somethin? Or did u mean to throw that in there while posting?

Crom
01-08-2004, 08:43 PM
right...i have all my "first layer" chat options (team, global, taunts, d, o , etc.)

it is when i open those "first layer" chat options that i am missing all the yell options. there is no text for any of them, but if i hit the key that *should correspond, it gives an empty chat (my name comes up in the chat widnow with nothing said)

NOVA|lam
01-08-2004, 09:33 PM
how about using 5150.cs for a quick fix then

Crom
01-08-2004, 09:41 PM
whataya mean?

just install 5150, then restart from there?

i'll try it.

Ixiterra
01-09-2004, 12:44 PM
theres a little smiley face in the end of ur coding there, did u put a ;) or somethin? Or did u mean to throw that in there while posting?
The smiley is required for code to run efficiently. Haven't you ever programmed before?

Timalis_
01-09-2004, 09:57 PM
Or maybe the smiley is marking a syntax error in the code.. aka if you notice none of the other lines have a spare ;) on them.. so one needs to stop and think of the ;) is the syntax error..
but eh what do I know