[ Problem ] Hmm How to send new prompt to char...

From: David Klasinc (bigwhale@CAPYBARA.SK-PTTSC.LJ.EDUS.SI)
Date: 08/29/97


Banzai!

Ok... It is like this...

 In limits.c char_update() I have this...

if ((GET_HIT(ch) < GET_MAX_HIT(ch)) ||
    (GET_MANA(ch) < GET_MAX_MANA(ch)) ||
    (GET_MOVE(ch) < GET_MAX_MOVE(ch)))
      send_to_char("\n\r", ch);

So that every tick prompt is redrawn, if char's points were updated...
Ok.. it's just that sending \n\r to the character send's two blank lines
to user... and then redraws the prompt... IMHO it looks UG-LEE! ;>

I've tried calling make_prompt(ch->desc); but it just crashes... In gdb
ouput looked like that there is no descriptor.. But that's a bit weird...

Any Ideas?


David!


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



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