well, Seems i was misunderstood more than anything when i posted last, so i'll try to resend the error's. cl -c /nologo /I. /I\MSDEV\INCLUDE olc.c olc.c olc.c(194) : warning C4047: 'function' : 'struct descriptor_data *' differs in levels of indirection from 'int ' olc.c(194) : warning C4024: 'redit_save_to_disk' : different types for formal and actual parameter 1 olc.c(195) : warning C4047: 'function' : 'struct descriptor_data *' differs in levels of indirection from 'int ' olc.c(195) : warning C4024: 'zedit_save_to_disk' : different types for formal and actual parameter 1 olc.c(196) : warning C4047: 'function' : 'struct descriptor_data *' differs in levels of indirection from 'int ' olc.c(196) : warning C4024: 'oedit_save_to_disk' : different types for formal and actual parameter 1 olc.c(197) : warning C4047: 'function' : 'struct descriptor_data *' differs in levels of indirection from 'int ' olc.c(197) : warning C4024: 'medit_save_to_disk' : different types for formal and actual parameter 1 olc.c(198) : warning C4047: 'function' : 'struct descriptor_data *' differs in levels of indirection from 'int ' olc.c(198) : warning C4024: 'sedit_save_to_disk' : different types for formal and actual parameter 1 olc.c(258) : error C2143: syntax error : missing ';' before 'type' olc.c(260) : error C2143: syntax error : missing ';' before 'type' olc.c(267) : error C2065: 'entry' : undeclared identifier olc.c(267) : warning C4047: '=' : 'int ' differs in levels of indirection from 'struct olc_save_info *' olc.c(267) : error C2223: left of '->next' must point to struct/union olc.c(269) : error C2223: left of '->type' must point to struct/union olc.c(270) : error C2223: left of '->zone' must point to struct/union olc.c(293) : warning C4028: formal parameter 2 different from declaration olc.c(310) : warning C4028: formal parameter 2 different from declaration olc.c(420) : error C2065: 'ch' : undeclared identifier olc.c(420) : error C2223: left of '->char_specials' must point to struct/union olc.c(420) : error C2223: left of '->player' must point to struct/union olc.c(420) : error C2223: left of '->player' must point to struct/union olc.c(420) : error C2065: 'type' : undeclared identifier olc.c(422) : error C2223: left of '->player_specials' must point to struct/union olc.c(422) : error C2198: 'MAX' : too few actual parameters here is olc.c from 150 or so... if (!type) { send_to_char("Oops, I forgot what you wanted to save.\r\n", ch); return; } sprintf(buf, "Saving all %ss in zone %d.\r\n", type, zone_table[OLC_ZNUM(d)].number); send_to_char(buf, ch); sprintf(buf, "OLC: %s saves %s info for zone %d.", GET_NAME(ch), type, zone_table[OLC_ZNUM(d)].number); mudlog(buf, CMP, MAX(LVL_BUILDER, GET_INVIS_LEV(ch)), TRUE); switch (subcmd) { case SCMD_OLC_REDIT: redit_save_to_disk(OLC_ZNUM(d)); break; case SCMD_OLC_ZEDIT: zedit_save_to_disk(OLC_ZNUM(d)); break; case SCMD_OLC_OEDIT: oedit_save_to_disk(OLC_ZNUM(d)); break; case SCMD_OLC_MEDIT: medit_save_to_disk(OLC_ZNUM(d)); break; case SCMD_OLC_SEDIT: sedit_save_to_disk(OLC_ZNUM(d)); break; } free(d->olc); return; } OLC_NUM(d) = number; /*. Steal players descriptor start up subcommands .*/ switch (subcmd) { case SCMD_OLC_REDIT: if ((real_num = real_room(number)) >= 0) redit_setup_existing(d, real_num); else redit_setup_new(d); STATE(d) = CON_REDIT; break; case SCMD_OLC_ZEDIT: if ((real_num = real_room(number)) < 0) { If you need more code or something else, I'll try my best to supply it, but I really appreciate any feedback on this as I am personally stumped or too confused right now to understand the problem. baktor +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST