Hi all A friend of mine is trying to set up a circle30bpl17 with oasisolc = v2.0+, and it works ok then he downloaded the code to make abbreviations from = developer.circlemud.org and put it in the code the code was to go into handler.c and looks like this: #define WHITESPACE " \t" int isname(char *str, char *namelist) { char *newlist; char *curtok; newlist =3D strdup(namelist); for(curtok =3D strtok(newlist, WHITESPACE); curtok; curtok =3D = strtok(NULL, WHITESPACE)) if(curtok && is_abbrev(str, curtok)) { free(newlist); return 1; } free(newlist); return 0; } but in bpl17 the int isname() had to look like this int isname(const char *str, const char *namelist) the code compiles fine, but in the game the implementor can use it like tell sla(for slayer) message but everyone else get this message: No-one by that name here when trying to use short names. anyone have any idea why it dont work with bpl17 +------------------------------------------------------------+ | 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