Annoying update on MOBPROGS:

From: MUD Programmer (mud@user.centcon.com)
Date: 08/23/95


Dear Sirs:

I decided to comment out the response to that syntax error in db.c, namely

              sprintf(err_buf,"in mobprog file %s syntax error.", f);
              log(err_buf);
/*              exit(1);
            break; */
 
And when running the mud again (everything else the same), I got the 
following error:

----------------------------------------------
Wed Aug 23 03:18:53 :: in mobprog file act_prog syntax error.
Wed Aug 23 03:18:53 :: SYSERR: Fread_word: word too long.
----------------------------------------------

It bypassed the syntax error command, but then hit a SYSERR.

That occurred in db.c, under this routine:

---------------------------------------
 /*
  * Read one word (into static buffer).
  */
 char *fread_word(FILE *fp)
---------------------------------------

I commented the EXIT routine in that area, too.

Next, while compiling I got:

-------------------------------------------
db.c: In function `fread_word':
db.c:2515: warning: control reaches end of non-void function
-------------------------------------------

And while running, I got:

----------------------------------------------
Wed Aug 23 03:24:32 :: in mobprog file act_prog syntax error.
Wed Aug 23 03:24:32 :: mobprog file type error
----------------------------------------------

This should help....

-- Steve



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