Re: patch rej in comm.c (from oasis.patch)

From: Daniel Koepke (dkoepke@california.com)
Date: 01/20/97


On Mon, 20 Jan 1997, Anthony J rye wrote:

> --------------{SNIP}-----------------------	
> 	d->showstr_page, d->showstr_count);
> 	write_to_discriptor(d->descriptor, prompt);
> 	} else if (!d->character) {
> 	write_to_discriptor(d_>descriptor) prompt_str(d->character));
> -------------{SNIP}------------------------
> i even tried adding this in by hand and got a compile error
> i am not quit sure what is wrong here or what i am doing wrong, or if i am
> just a plain idiot and should give up the whole idea of coding :P
> oh well thanks for all your help :)

That's because OasisOLC changed the order of the make_prompt() code,
and thus new_prompt can't find the right context.  You essentially
want to remove the code from between the braces starting at the

  } else if (d->character) {

(NOTE, that is *not* a '!d->character', that will crash the MUD), then
just add:

  write_to_descriptor(d->descriptor, prompt_str(d->character));

Ta'da.


--
Daniel Koepke
dkoepke@california.com
Forgive me father, for I am sin.


+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



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