[Code] Eliza

From: Hydragon (doogie@amnesiac.NMSU.Edu)
Date: 12/16/96


In comm.c

void act(char *str, int hide_invisible, struct char_data *ch,
         struct obj_data *obj, void *vict_obj, int type)
{
  struct char_data *to;
  int sleep, chat_check;

  if (!str || !*str)
    return;
[..snip..]
  if (type == TO_VICT) {
    if ((to = (struct char_data *) vict_obj) && SENDOK(to)) {
      char *text = perform_act(str, ch, obj, vict_obj, to);
      if (chat_check)
        chatperform(to, ch, text);
    }
    return;
  }
[..snip..]

make ../bin/circle
make[1]: Entering directory `/home/Mud/circle/src'
gcc -c -g -O -Wall -fno-strict-prototypes  comm.c
comm.c: In function `act':
comm.c:1873: void value not ignored as it ought to be
make[1]: *** [comm.o] Error 1
make[1]: Leaving directory `/home/Mud/circle/src'
make: *** [default] Error 2

I am attempting to add the Eliza code found on the circlemud ftp site
and am encountring the above problem.  Has anyone successfully 
implemented this code?  If so maybe that person can give me the 
insight to correct this problem.  I don't think I missed anything, but
at this point anything is possible.  Any help on this delema would be
greatly appreciated.


   _/  _/  _/  _/  _/_/    _/_/      _/_/     _/_/_/    _/_/   _/_/  _/
   _/  _/  _/  _/  _/ _/   _/ _/    _/  _/  _/_/   _/  _/  _/  _/ _/ _/
   _/_/_/   _/_/   _/  _/  _/_/    _/_//_/  _/         _/  _/  _/ _/ _/
   _/  _/    _/    _/  _/  _/ _/   _/   _/  _/  _/_/   _/  _/  _/  _/_/
   _/  _/    _/    _/__/   _/  _/  _/   _/   _/_/_/     _/_/   _/   _/_

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



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