[NEWBIE] score

From: Shaun Bourque (GraspCHAOS@aol.com)
Date: 05/06/99


just wanted to add a line to my score sheet, didnt think i'd hafta call
congress for a vote.
when compiling gives me these errors
warning: format argument is not a pointer (arg 5)
warning: format argument is not a pointer (arg 6)
warning: format argument is not a pointer (arg 7)

and refers to this line of code

sprintf(buf, "%s: You are a %d year old %s %s %s. Your level is %d.",
 GET_NAME(ch), GET_AGE(ch), GET_SEX(ch), GET_RACE(ch), GET_CLASS(ch),
GET_LEVEL(ch));
send_to_char(buf, ch);

what am i doing wrong? cant even find arg 7. these GET_'s appear in other
parts of the do_score, and in db.c the st->sex = GET_SEX(ch); st->class =
GET_CLASS(ch); st->race = GET_RACE(ch) etc, and GET_SEX(ch) = st->sex;
GET_CLASS(ch) =st->class; GET_RACE(ch) = st->race;etc    all exist.
any help would be appreciated.


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



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