[Yet another bug] [NoHost] [Code]

From: Jeremy Maloney (vagabond@newhaven.orisis.net)
Date: 07/27/00


Hmmm interesting bug....
For some odd reason, I'm not getting a host address when I do a
last player, it's defaulting to (NOHOST) which is in the act.wizard.c
file around line 1668 in my code..

/* Here's the statement block, we added Ascii pfiles also */

  sprintf(buf, "[%5ld] [%2d %s] %-12s : %-18s : %-20s\r\n",
          GET_IDNUM(vict), (int) GET_LEVEL(vict),
          class_abbrevs[(int) GET_CLASS(vict)], GET_NAME(vict),
          vict->player_specials->host && *vict->player_specials->host
          ? vict->player_specials->host : "(NOHOST)",
          ctime(&vict->player.time.logon));
  send_to_char(buf, ch);



--,--'--,--'--,--'--,--'--,--'--,'--,--'--,--'--,--
The Vagabond Admin
(vagabond@newhaven.orisis.net)
newhaven.orisis.net 4202
http://newhaven.orisis.net/~vagabond/index.htm


     +------------------------------------------------------------+
     | 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 : 04/10/01 PDT