Re: your mail

From: Brian Christopher Guilbault (
Date: 11/21/95

On Tue, 21 Nov 1995, Randy Karshner wrote:

> Greetings everyone,
>  I noticed something for the first time while playng as a mortal tonight...
> There is no way to know your stats! I could have sworn the old dikumuds would

This is easy to fix. In act.informative.c, look for do_score. Just add 
these few lines that get the players stats and add them to the buffer 
that gets displayed when they type "sc":


       "%sYou have %d(%d) hit, %d(%d) mana and %d(%d) movement points.\r\n",
          buf, GET_HIT(ch), GET_MAX_HIT(ch), GET_MANA(ch), GET_MAX_MANA(ch),
          GET_MOVE(ch), GET_MAX_MOVE(ch));

/* Add these lines here to display stats */

  if (GET_LEVEL(ch) >= 1)
  sprintf(buf, "%sStr(%d/%d) Int(%d) Wis(%d) Dex(%d) Con(%d) Cha(%d)\r\n",
          buf, GET_STR(ch), GET_ADD(ch), GET_INT(ch),GET_WIS(ch),
          GET_DEX(ch), GET_CON(ch), GET_CHA(ch));

/* End stat display */

  if (GET_LEVEL(ch) >= 1)
  sprintf(buf, "%sHitroll[%d] Damroll[%d].\r\n", buf,
          ch->points.hitroll, ch->points.damroll);


THere ya go. Instant stat display. Using the same method, you can display 
just about anything in the score screen. Have fun.

					-Dante, Area IMP of
					   QuarantineMUD 6969

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