Oasis OLC/Medit

lokar@hs.wisenet.com
Date: 06/22/96


ok
This is a very confusing bug....

When asked if you want to save changes to mobile...answering yes crashes
the mud...

So I went into the code and put some send_to_chars just to see about how
far it got before it crashed....

In teh code...
(Main_Menu state..)

(I am doing this from memory...)

if (OLC_VAL(d))    {     /* Has anything changed?*/
send_to_char("Do you want to save changes..yap yap"), d->char);
OLC_MODE(d) = MEDIT_CONFIRM_SAVESTRING
}


In the MEDIT_CONFIRM_SAVESTRING code...
I added

send_to_char("In MEDIT_CONFIRM_SAVESTRING", d->char);

If I answer no to 'Do you want to save changes?' then I get the proper
message of "In MEDIT...."
but if I answer yes...it crashes...w/o the message
The weird part is....that the code to do what you want depending on the
*arg is AFTER teh above statement..so it isn't the actual YES I WANT TO
SAVE THE MOB code....

I was going to give you the actual code..but I don't have access to it
right now..so I had to remember...if the real stuff would help..let me
know

I am desperate.



This archive was generated by hypermail 2b30 : 12/18/00 PST