Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CF: Re: Problem with highscores?



> is there a problem with the new highscore code, or did the stupid sun
> mess up things during the compile? First of all, I don't get any
> highscore output --- instead, the logfile reports

The following patch worked for me.

	Walter

*** server/hiscore.c.old        Sun Feb 15 21:49:06 1998
--- server/hiscore.c    Sun Feb 15 21:47:26 1998
***************
*** 106,112 ****
    strncpy(sc.name,cp,BIG_NAME);
    sc.name[BIG_NAME - 1] = '\0';
  
!   if ((cp = spool(bp, "title")) == NULL)
      return NULL;
    strncpy(sc.title,cp,BIG_NAME);
    sc.title[BIG_NAME - 1] = '\0';
--- 106,112 ----
    strncpy(sc.name,cp,BIG_NAME);
    sc.name[BIG_NAME - 1] = '\0';
  
!   if ((cp = spool(NULL, "title")) == NULL)
      return NULL;
    strncpy(sc.title,cp,BIG_NAME);
    sc.title[BIG_NAME - 1] = '\0';


[to unsubscribe etc., send mail to crossfire-request@ifi.uio.no]