Re: prompt

From: Josh Harris (jharris2@ACSU.BUFFALO.EDU)
Date: 01/19/02


btw I forgot to mention about the experience part.  That you can do in the
make_prompt command.

in comm.c search for:
if (PRF_FLAGGED(d->character, PRF_DISPHP))
    count += sprintf(prompt + count, "%d/%dH ",GET_HIT(d-
>character),GET_MAX_HIT(d->character));

right before this you would add:


  if (GET_LEVEL(d->character)< (LVL_IMMORT - 1))
    count += sprintf(prompt + strlen(prompt), "<EXP: %d/%d>\r\n",level_exp
(GET_CLASS(d->character), GET_LEVEL(d->character) + 1) - GET_EXP(d-
>character), level_exp(GET_CLASS(d->character), GET_LEVEL(d->character));

that should set you up for displaying your experience.  Hope this helped
also.

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT