Re: [Code] Adding more exits and auto patching

From: Karl B Buchner (
Date: 02/09/02

> In function `do_auto_exits':
> /home/Maria Bonita/SphereMUD/src/act.informative.c:348: undefined
> reference
> to `
> AEdirs'

All that I can think of is making sure that AEdoors is 1) there 2)
and 3) complete.

I don't see any other problems with the code right off.

Also, I would change slen += sprintf(buf, "%s%s ", buf, AEdirs[door]);
to slen += sprintf(buf + slen, "%s ", AEdirs[door]);
you are already keeping track of the length of buf, you might as well use
that info and save some processor time.

Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:

   | FAQ: |
   | Archives: |
   | Newbie List:   |

This archive was generated by hypermail 2b30 : 06/25/03 PDT