Hiya,
If you change the following I think you should get the act prog
going. :)
#############
# mobprog.c #
#############
Change mprog_act_trigger to this:
void mprog_act_trigger(char *buf, struct char_data *mob, struct char_data *ch,
struct obj_data *obj, void *vo)
{
if (IS_NPC(mob) && (mob_index[mob->nr].progtypes & ACT_PROG))
mprog_wordlist_check(buf, mob, ch, NULL, NULL, ACT_PROG);
return;
}
##########
# comm.c #
##########
Change SENDOK define from the one bolow to the one below that.
/*
#define SENDOK(ch) ((ch)->desc && (AWAKE(ch) || sleep) && \
!PLR_FLAGGED((ch), PLR_WRITING))
*/
#define SENDOK(ch) ((AWAKE(ch) || sleep) && !PLR_FLAGGED((ch), PLR_WRITING))
I think that was about all I did. It works fine for me now. Hope this helps.
Send me another mail if you're still having problems and I'll see if I can
help.
Fionn
+-----------------------------------------------------------+
| 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