OK I was grateful for the help with alignment and now am working on classes ( I thought it would be just as easy lol ) but it wasn’t and now IM stuck I want my players to start with no class but found the code didn’t support that so I made a class called NONE and am trying to make the Nany.c set that automatically
This is what IM writhing in
Nanny_Fun(HANDLE_CON_GET_NEW_CLASS)
{
CharData *ch = CH(d);
ch->Class = NONE;
mud_info.stats.newbies++;
d_println(d, "{cWhat time zone do you live in? {x");
d->connected = CON_GET_TIMEZONE;
}
This is the error message IM getting when I compile
$ make install
20:24:53 : Compiling nanny.c...
nanny.c: In function `void HANDLE_CON_GET_NEW_CLASS(Descriptor*, const char*)':
nanny.c:638: error: `NONE' undeclared (first use this function)
nanny.c:638: error: (Each undeclared identifier is reported only once for each
function it appears in.)
make: *** [o/nanny.o] Error 1
IM guessing that I need to tell it to look in my class file to get NONE but I cant think of a way to do that. I may also have made a mistake or two in how IM setting it up too so any help and advice would be appreciated.
This is what IM writhing in
Nanny_Fun(HANDLE_CON_GET_NEW_CLASS)
{
CharData *ch = CH(d);
ch->Class = NONE;
mud_info.stats.newbies++;
d_println(d, "{cWhat time zone do you live in? {x");
d->connected = CON_GET_TIMEZONE;
}
This is the error message IM getting when I compile
$ make install
20:24:53 : Compiling nanny.c...
nanny.c: In function `void HANDLE_CON_GET_NEW_CLASS(Descriptor*, const char*)':
nanny.c:638: error: `NONE' undeclared (first use this function)
nanny.c:638: error: (Each undeclared identifier is reported only once for each
function it appears in.)
make: *** [o/nanny.o] Error 1
IM guessing that I need to tell it to look in my class file to get NONE but I cant think of a way to do that. I may also have made a mistake or two in how IM setting it up too so any help and advice would be appreciated.