View Single Post
  #3  
Old 03-13-2002, 10:27 AM
Stud
Sarnak
 
Join Date: Jan 2002
Posts: 44
Default

Okay, narrowed down a bit.... I think.... when it hits this chunk of code from WesQuest.cpp , is when the segmentation fault occurs...see anything non-linux friendly?

char * command;
char * temp;
temp = sep3.arghz[i];
if (temp == NULL) return;
Seperator sep(temp);
Seperator4 sep4(temp);
command = sep4.arghza[0];
if (!IsCommented(temp)) {
if (ps) {
char * nmessage = strreplace(sep4.arghza[1],"%CHARNAME%", this->GetName());

nmessage[strlen(nmessage) - 1] = '\0';
if (strstr(strupr(command),"SAY") != NULL) {
if (tt2 || ti2 || td) {
entity_list.Message(0, MT_Say, "%s says, '%s'", this->target->GetName(), nmessage);
}
Reply With Quote