Re: score cmd not working right

From: Alex (fletchra@qsilver.queensu.ca)
Date: 09/07/01


>   sprintf(buf, "*                *\r\n");
>   sprintf(buf + strlen(buf), "*   %s %s (%d)        %s *\r\n",
>                 GET_NAME(ch), GET_TITLE(ch), GET_LEVEL(ch), RACE_ABBR(ch));
>   sprintf(buf, "*                *\r\n");
notice the 2nd and 3rd sprintf() lines?  specifically the initial buffer
argument?  try making them all 'buf + strlen(buf)' (except the very first
that is), and see if it works.

ae.

ps.  you should begin your .sig with the string '-- \n' on the line before
the sig, such as:
--
>     "Religion is Religion, there is no right or wrong, do not let others
> tell you different. Believe in what you personally believe, and when the
> time comes, the decision will be made.." quoted by:
> Drakona Shijtan WolvenMoon

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/06/01 PST