Deja Augustine wrote: > int parse_get_spells(char *arg, struct descriptor_data *d) { does d get passed a value? maybe it's NULL? You are passing a descriptor_data type not a char_data (although you should get a compiler warning if you fo that so you probably ain't) > char cmd[MAX_INPUT_LENGTH]; > char spell[MAX_INPUT_LENGTH]; > int spell_num, check_skill; > > if(!*arg) probably want to check that d is not NULL as well. > return (0); > /*else <~~~If I comment here, it works > SEND_TO_Q("\r\nArgument\r\n",d); > > /*SEND_TO_Q(arg, d); <~~~If I comment here, it Seg Faults suggests that d is NULL, or invalid... [snip] Chris +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT