On Mon, 3 Jun 1996, Brian Williams wrote:
> here is what I got...
> if (GET_LEVEL(tch) >= LVL_IMPL) {
> sprintf(buf, "[Implementor] %s %s",
> GET_NAME(tch), GET_TITLE(tch)); ||
> } else { Normal who listings vv
> num_can_see++; <-----
^^^^^^^^^^^^^
Note this line isn't above
> sprintf(buf, "%s[%2d %s] %s %s", <-----
> (GET_LEVEL(tch) >= LVL_IMMORT ? CCYEL(ch, C_SPR) : ""), <-----
> GET_LEVEL(tch), CLASS_ABBR(tch), GET_NAME(tch), <-----
> GET_TITLE(tch)); <-----
>
> ... yet I can't see myself when I log on.. the test version... it says
> "No-one at all!" when I type who.. any ideas?
I'd say that this line here is giving you problems:
>> if (num_can_see == 0)
>> sprintf(buf, "\r\nNo-one at all!\r\n");
[etc]
To fix it: Just remember to num_can_see++
-George Greer
of Dragon'Spire MUD @ Dragon.ham.muohio.edu 5k
This archive was generated by hypermail 2b30 : 12/18/00 PST