I am having two problems both of which i need addressed.
I am using 1st mud4.5.3 but one of the problems I am having is that when building and in the desc of Redit mode. when in the buffer any time you put in a string it acts as if you are trying to put in a command the writing still goes to the desc but my builders don’t like it. I checked at the place where I got the code but I couldn’t understand exactly what to do. i was told to put brackets nder the else and on the substitute_alias but i dont know what type of brackets or how to put them
else
crash_info.status = (CRASH_LIKELY);
strcpy(crash_info.logline, d->incomm);
crash_info.desc = d;
switch (d->connected)
{
case CON_PLAYING:
substitute_alias(d, d->incomm);
break;
default:
nanny(d, d->incomm);
break;
}
The other problem is that when people kill any thing I get a error that crashes the mud every time I have no clue what is causing this or how to fix it any help will be appreciated the errors are
---CRASH INFORMATION---
Signal 11 (Segmentation fault)
Log: kill cit
Details: It is VERY likely that this command caused the crash.
and
---CRASH INFORMATION---
Signal 11 (Segmentation fault)
Log: pulse_violence
Details: This crash occured while updating the above.
sincirly
Layal
I am using 1st mud4.5.3 but one of the problems I am having is that when building and in the desc of Redit mode. when in the buffer any time you put in a string it acts as if you are trying to put in a command the writing still goes to the desc but my builders don’t like it. I checked at the place where I got the code but I couldn’t understand exactly what to do. i was told to put brackets nder the else and on the substitute_alias but i dont know what type of brackets or how to put them
else
crash_info.status = (CRASH_LIKELY);
strcpy(crash_info.logline, d->incomm);
crash_info.desc = d;
switch (d->connected)
{
case CON_PLAYING:
substitute_alias(d, d->incomm);
break;
default:
nanny(d, d->incomm);
break;
}
The other problem is that when people kill any thing I get a error that crashes the mud every time I have no clue what is causing this or how to fix it any help will be appreciated the errors are
---CRASH INFORMATION---
Signal 11 (Segmentation fault)
Log: kill cit
Details: It is VERY likely that this command caused the crash.
and
---CRASH INFORMATION---
Signal 11 (Segmentation fault)
Log: pulse_violence
Details: This crash occured while updating the above.
sincirly
Layal