My mud seems to randomly crash on this.... I think it has something to do with the stat editor I added. I'm running bpl17 w/ OasisOlc patch from ftp site. I was gonna paste the stat editor code in here but I wanted to see if it was a common problem with OlcPlus first before I spam everyone with the code. Any help would be nice. Thank you. Should I send the stat editor code? (gdb) bt #0 0x4009dee9 in chunk_free (ar_ptr=0x40132040, p=0x82c84b8) at malloc.c:3047 #1 0x4009dd75 in __libc_free (mem=0x82c84c0) at malloc.c:2959 #2 0x806e8fc in process_input (t=0x82c5f28) at comm.c:1706 #3 0x806d52b in game_loop (mother_desc=4) at comm.c:676 #4 0x806cd68 in init_game (port=7000) at comm.c:355 #5 0x806cce5 in main (argc=1, argv=0xbffffd94) at comm.c:319 I think it has something to do with this code: case CON_QCLASS: load_result = parse_class(*arg); if (load_result == CLASS_UNDEFINED) { SEND_TO_Q("\r\nThat's not a class.\r\nClass: ", d); return; } else GET_CLASS(d->character) = load_result; roll_dice(d); disp_stats(d); STATE(d) = CON_QSTATS; break; case CON_QSTATS: if (parse_stats(d,arg) < 1) disp_stats(d); else{ if (GET_PFILEPOS(d->character) < 0) GET_PFILEPOS(d->character) = create_entry(GET_PC_NAME(d->character)); /* Now GET_NAME() will work properly. */ init_char(d->character); save_char(d->character, NOWHERE); SEND_TO_Q(motd, d); SEND_TO_Q("\r\n*** PRESS RETURN: ", d); STATE(d) = CON_RMOTD; sprintf(buf, "%s [%s] new player.", GET_NAME(d->character), d->host); mudlog(buf, NRM, LVL_IMMORT, TRUE); } -= Majere =- +------------------------------------------------------------+ | 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