-- SNIP -- > if ((_parse_name(arg2, tmp_name))||strlen(tmp_name) < 2 || > strlen(tmp_name) > MAX_NAME_LENGTH || !Valid_Name(tmp_name) || > fill_word(tmp_name) || reserved_word(tmp_name)) { > send_to_char("Illegal name, retry.\r\n", ch); > return; > } > -- SNIP -- Thats the only part of the code it hates. The solution is quite simple. Remove !Valid_Name(tmp_name) || from thr if statement, and add the following to the external function defines at the top of the file: int fill_word(char *argument); int reserved_word(char *argument); int find_name(char *name); int _parse_name(char *arg, char *name); And add the following in the external variables section: extern struct player_index_element *player_table; And lastly, where it says: log("BUG: error in player table for %s with idnum %d", change it to: log("BUG: error in player table for %s with idnum %ld", That should do the trick. -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT